Preheat the oven to the temperature specified on the brownie mix package. Line the bottom and sides of a 9×9-inch baking pan with parchment paper, leaving an overhang to help remove the brownies.
Mix the brownie batter according to the package directions, stirring in the peppermint extract if using.
Spread the batter into the pan and bake according to the package instructions. Allow the brownies to cool completely in the pan before adding the chocolate layers.
Combine the semi-sweet chocolate chips and butter in a microwave-safe bowl. Microwave in 20-second intervals, stirring between each, until melted and smooth.
Spread the melted chocolate mixture evenly over the cooled brownies. Refrigerate for 10 minutes to let the chocolate firm up slightly, but no longer than 15 minutes. The layer should be set enough to support the white chocolate without becoming hard.
Place the white chocolate chips in a separate microwave-safe bowl. Microwave in 15- to 20-second intervals, stirring frequently, until melted and smooth. Let the white chocolate cool slightly so it doesn't melt the chocolate layer underneath, but keep it soft enough to spread.
Gently spread the white chocolate over the semi-sweet chocolate layer, being careful not to disturb the chocolate underneath.
Immediately sprinkle the crushed candy canes evenly over the white chocolate. Press them gently into the surface to help them stick.
Let the brownies sit at room temperature until the white chocolate is partially set but still soft enough to score. Use a sharp knife to lightly score the topping where you plan to cut the brownies.
Allow the chocolate topping to finish setting completely at room temperature. Lift the brownies out of the pan using the parchment paper and slice along the scored lines. Do not refrigerate after adding the white chocolate, as the topping will become too hard to cut.