Thunder Mayhem's origins trace back to two different mad experiments. The first involved the living weapon Toxitron, who'd been made in the image of Optimus Prime himself. At some point, a scientist (either Shockwave or someone working under him) attempted to recreate the Creation Matrix inside the creature. The result was not entirely successful, but did give the Decepticons a shell, later dubbed the Matrix of Malice.