Bony Beetle

A Bony Beetle is an undead skeletal version of a Buzzy Beetle that has made minor appearances throughout the Mario series.

Super Mario World
They first appear in Super Mario World and its remake, where they walk around, then stop and stick out spikes. They can be defeated with the swing of a cape, but are immune to Fireballs. If Mario stomps one, it will fall apart and reassemble seconds later, similar to a Dry Bones. Due to graphical limitations, Bony Beetles appear to turn into Dry Bones whenever they collapse. Bony Beetles are first seen in the depths of Vanilla Fortress.

Super Mario Advance 4: Super Mario Bros. 3
Bony Beetles also appear in the World-e level Swinging Bars of Doom from Super Mario Advance 4: Super Mario Bros. 3. They look and act the same exact way as in Super Mario World.

New Super Mario Bros. U
Bony Beetles reappear in the Wii U title New Super Mario Bros. U, making their first 2.5D appearance. In behavior, they do exactly the same as in Super Mario World, where they walk around and suddenly stop to stick out their spikes, and when stomped they fall apart and reform a few seconds later. Immediately after reforming, they will always stick their spikes out before walking around again. Notably, they now resemble their Paper Mario: Sticker Star appearance and are quadrupedal. They typically appear at the latter Towers and Castles, but they can also appear in volcanic and subterranean levels as well. Bony Beetles can be defeated with an Ice Flower or hitting elastic platforms underneath them.

Paper Mario
They are later seen in Paper Mario in an underground section of Bowser's Castle (and several other places), with a complete makeover. They're defeated basically the same way as Dry Bones, but harder, so the player must whack them with the Hammer often when fighting them. They engage battle with Mario in different ways depending on if their back spikes are extended. If their spikes stick out, they jump onto Mario, doing five damage; they are also naturally spiked. If their spikes are retracted, they simply use a basic Shell Toss attack for three damage instead. They sometimes retract their spikes in or out after being attacked.

Paper Mario: Sticker Star
Bony Beetles appear as enemies in the Nintendo 3DS game Paper Mario: Sticker Star. Their appearance now closely resembles Buzzy Beetles more than their previous iterations. Just like in Paper Mario, Bony Beetles can protrude and retract their spikes at will, and are also immune to fire-based attacks. They cannot be jumped on unless Mario uses an Iron Jump sticker; if he uses one when the spikes are not displayed, they simply do so and repel the attack. A Bony Beetle's main attack is protruding their spikes (if they have not already) and then jumping on Mario.

They would later have the same design in New Super Mario Bros. U.

Trivia

 * In Super Mario World, Bony Beetles have red feet, but the one showed in the credits cutscene for the game had blue feet.