By 2020, there are expected to be 1.5 million unfilled jobs in cybersecurity, according to the 2015 (ISC)2 Global Information Security Workforce Study, released in April. Some universities, such as New York University's Tandon School of Engineering, are moving to take advantage of that boom by offering programs in the field.
"We have classes like computer security where we try to encourage an attacker mindset in younger students," said Kevin Chung, a 2015 graduate of NYU, using an industry term that means viewing IT with the perspective of a potential hacker.
Chung now works as a security analyst at IT consulting firm Bishop Fox. He also mentors current students, helping them learn the skills they will need on the job. While at NYU, Chung was one of the most recruited students on campus, receiving multiple job offers.
"This attacker mindset is very valuable to companies and to individuals because it's very difficult to cultivate," he said.
Read MoreThe growing need for more women cybersleuths