While the government sometimes has difficulty tracking down malicious hackers, it had no trouble sending law enforcement after a security consultant who may have ventured into a legal gray area.