Line a muffin tin with cupcake liners (I used these ones). Preheat oven. Prepare the cupcakes as directed on the box. Evenly divide the batter among the cupcake liners and bake as directed.
Spoon the orange frosting into a pastry bag. Set aside and create your witch hats with the black fondant. Mold the fondant into hats. Use picture for reference.
Once cupcakes are done, remove from oven. Allow cupcakes to completely cool before decorating them. Squeeze the pastry bag with the orange frosting onto the cupcakes then lightly top with the witch hats.