When security officials emphasize Israel’s potential security threats, they generally point to Hamas in Gaza and jihadists in Sinai in the south, and Hezbollah and al-Qaeda on the northern front.

Luckily, the Israeli army’s men in green are ready to tackle enemies on any frontier, including the little green men descending from above.

The IAF’s Ofek cyber unit recently held a training exercise against aliens, in a simulation designed to push cadets to guard the cyber information more tightly then they would normally, Channel 2 reported.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

The exercise had the recruits hack an “alien” computing system, in order to uncover the loopholes in the software.

Lt. Col. Meir told the TV station the exercise was designed “to suit Generation Y, which loves challenges, and therefore we created a backstory of an alien invasion.”

The head of the cyber unit, Maj. Gil, said the soldiers were competing among themselves to gather information about the UFOs in order to crack the system.

“Of course, if the exercise corresponded to reality, we wanted them to understand how to protect the confidentiality of the professional material in the air force,” he said.