Preheat oven to 350 degrees and line cupcake pan with liners
In a standing mixer beat sugar and butter until creamed
Add egg and mix until fully incorporated
Beat in vanilla extract, salt, baking soda, baking powder.
Combine the heavy cream into the wet mixture
Add in flour, a little at a time.
Add in the sour cream
Mix in the candy canes
Spoon batter about 1/2 full.
Bake in oven for about 22 minutes or until the center of the cupcake comes out clean with a toothpick.
Combine all ingredients, except cookies, shredded coconut, and M&M's into a standing mixer and mix on low speed until combined and stiff peaks form.
Pour coconut into a bowl and set aside
Using a butterknife, frost the cupcakes and set aside
Dip cupcakes into shredded coconut
Place a cookie onto the lower part of the cupcake
Place 3 M&M's for the toes of the cupcakes