It's something computer security professionals don't want to talk about, and companies won't admit to doing.
It's called a "hack back," when the victim of a cyberattack turns the tables and actively fights back against their attacker.
"This literally is a wild west out there," Greg Hoglund, a cypersecurity specialist, told CNBC.
Hoglund is the founder and former CEO of HBGary and has worked on cybersecurity for the Pentagon and the U.S. intelligence community.
(Read More: Hacker Claims Airplanes Vulnerable at 30,000 Feet)
"When I think of hack back, I think of more of a counterstrike, or a mitigative action to stop an imminent or ongoing attack. You're not going out and trying to find trouble, you're in trouble and trying to stop the pain right then," he said.