Often, seasoned hackers generally work over Tor, VPNs, or a public network to conceal their identity. In most cases, hackers get caught because they make careless mistakes, use the same code on multiple hacks, and brag about their actions on online forums.