IT Security: Check your BITS, because deleting malware might not be enough
Rogue Windows Background Intelligent Transfer Service jobs can linger after malware clean-up and re-infect systems
Attackers are abusing the Windows Background Intelligent Transfer Service (BITS) to re-infect computers with malware after the machines have been already cleaned by antivirus products.
The technique was observed in the wild last month by researchers while responding to a malware incident for a customer. The antivirus software installed on a compromised computer detected and removed a malware program, but the computer was still showing signs of malicious activity at the network level.
Upon further investigation, the researchers found two rogue jobs registered in BITS, a Windows service that is used by the OS and other apps to download updates or transfer files. The two malicious jobs periodically downloaded and attempted to reinstall the deleted malware.
Even though it is not very common, attackers have abused BITS to download malware since as far back as 2007. An advantage of using this approach is that BITS is a trusted service and is not blocked by the computer’s firewall.
However, the new Trojan program discovered by researchers — part of the DNSChanger malware family — also abuses a little-known BITS feature to execute the downloaded file. This removes the need for malware to already exist on the system.
After completing the transfer, the rogue job executes a command as a BITS “notification” action. The command creates and launches a batch script called x.bat, which completes the BITS job, checks if the file has been saved and loads it in the computer’s memory as a DLL.
Another problem is that while the Windows event log showed information about the previous BITS malicious transfers, the logged information about the pending tasks was limited. The researchers had to use other tools to parse the BITS jobs database to see the full details.
BITS jobs expire after 90 days but can potentially be renewed. In the case investigated, the computer had been infected on March 4 and was cleaned by antivirus software 10 days later. The BITS job remained until it was discovered in May.
Companies should consider enumerating active BITS tasks on computers that continue to generate network or host security alerts after malware remediation, the researchers said. One way to do this is to execute the bitsadmin client from a cmd.exe session with elevated privileges by typing: bitsadmin /list /allusers /verbose.
For more information and a personalized IT Solutions business offer, please contact us.
Source: www.computerworld.com