The Spanish Civil Guard has arrested an 18-year-old man suspected of hacking into the computer systems of the U.S. Naval base.