Hackers redirect victims’ internet traffic and deliver malware as part of the intelligence-gathering operation.