Building on this unanswered question: Under what circumstances could laying hacker "traps" cause civil or criminal liability for non-law enforcement civilians?

I was wondering if there was any place where hacking back is legal, and if would be possible for companies to base their operations there, so they have a legal basis to hack back at their attackers.

As far as I can tell, it is illegal in most places, but I'd like to make sure there isn't a country that permits it.

  • 2
    Usually, laws don't permit anything, they forbid something. If I re-state your question as "is there any country that does not have an explicit (criminal) law forbidding 'hacking'?" I think you get the result you want, and the answer might be "Yes, they never got around to it".
    – user6726
    Nov 3, 2020 at 21:31
  • This could also potentially be answered by finding a documented case where someone has done this, and it was either found to be legal in court or declared to be so by a relevant government official.
    – Ryan M
    Nov 5, 2020 at 3:41

1 Answer 1


This report summarizes the state of cyber-crime law in Africa, noting that 60% of African nations have no laws against hacking (much less laws against "hacking back"). It is 5 years old so there may be some changes.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .