NEW YORK (TheStreet) -- On CNBC's "Cramer's Mad Dash" segment, Jim Cramer said CyberArk (CYBR) - Get Report and FireEye (FEYE) - Get Report shares go up every time there's a hacking incident. With President Obama addressing cybersecurity in Silicon Valley Friday, these are two stocks to watch.

Cramer said he had pushed CyberArk on Mad Money after people in the banking business told him it was really good. But investors didn't catch on because these companies' businesses are hard to understand. But banks need CyberArk when they are hacked, he said, and FireEye for their forensic work.

He said CyberArk, an Israeli company, doesn't do a good job communicating what it does. He said it's like MobilEye (MBLY) in that way. Both companies work under the radar. But what counts is that bankers know who to call.

Cramer said CyberArk provides great security. The stock had a big run and investors thought it couldn't deliver, but it totally delivered. The CyberArk and FireEye conference calls were fantastic, he added. Cisco's (CSCO) - Get Report shares also get a blip when there's hacking news, but it's not identified as much with fighting cybercrime.

CyberArk and FireEye are the two companies people need when they are in a cyber jam, Cramer said. "If you're a bank, you want a key that opens the whole thing so that you know what's going on. You call CyberArk."

When you have a forensics problem, you call FireEye, he said.

-- Written by Anthony Buccino

At the time of publication, Cramer's Action Alerts PLUS had a position in CSCO.