Academics often compare terrorist organizations to a hydra, the serpent from Greek mythology.