You can defend against nukular attack by playing a few bars of heavy metal.
And to be fair to all genres of music, banjos (strummed, of course) are good defense weapons as well.
Probably defend against alien attack if everybody plays thrash. They’d think we’re all crazy.