Slenfbot is a Microsoft Windows malware family first observed in 2007 that functions as a worm, backdoor, botnet client, and downloader. It primarily spreads through social-engineering links and ZIP archives sent over instant messaging platforms including MSN/Windows Live Messenger, AOL Instant Messenger, Yahoo Messenger, Google Chat, Facebook Chat, ICQ, and Skype. It also propagates via removable drives and accessible network shares, and some variants reportedly spread by exploiting Microsoft vulnerabilities MS06-040 and MS10-061. After execution, Slenfbot copies itself into the Windows system directory using variant-dependent filenames, sets files as read-only, hidden, and system, and establishes persistence through registry modifications such as HKLM\Software\Microsoft\Windows\CurrentVersion\Run; some variants also install themselves as a debugger for ctfmon.exe. Reported defense-evasion and anti-remediation behavior includes deleting the original sample, authorizing itself through Windows Firewall, injecting into explorer.exe to monitor and restore the malware if removed, replacing the hosts file to block antivirus and security-related domains, and disabling or interfering with System Restore, Task Manager, Registry Editor, hidden-file viewing, antivirus, firewall protections, and DEP; some variants also terminate security processes and stop, disable, or delete services. Slenfbot contains IRC-based command-and-control functionality, connecting to IRC servers over variant-specific TCP ports and joining channels where operators can issue commands to delete the malware, join other channels, download and execute files, or continue propagating. It spreads through instant messaging by sending lure messages and ZIP archives to victims’ contacts, and through removable media by creating RECYCLER directory structures, copying itself under names such as folderopen.exe, and creating autorun.inf files; some variants use names such as ~secure on removable media. Slenfbot is also used as a first-stage payload to download additional malware, including spam bots, spyware, information stealers, and other malicious tools. One cited domain associated with Slenfbot activity is potenzmittelapotheke24.de, described in the content as a pill-spam domain heavily spammed by the Slenfbot botnet. The content also notes that Slenfbot’s codebase appears closely controlled, suggesting either a single operator group or substantial code sharing among related actors.
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Below is a list of recent spamming, phishing and botnet domains that have been registered in DENIC's ccTLD .de space: ... diazepamrezeptfrei.de Spammer domain (pillz gang) ... archimagazine.de Italian spammer gang ... hochzeit-im-garten.de Snowshoe spam
Slenfbot may spread to removable drives by creating a directory called “RECYCLER” in the root directory of the removable drive.
Slenfbot primarily spreads by luring users to follow links to websites, which contain a malicious payload.
Some Slenfbot variants may create a file (e.g. "RemoveMexxxx.bat") in the %TEMP% directory, which is a batch file that tries to delete the copy after execution to prevent detection.
In some cases, variants may instead modify the registry to install the malicious payload as a debugger for the benign system file ctfmon.exe so that ctfmon.exe executes on system startup, which leads to the execution of the malware.
The worm then makes changes to the registry to maintain persistence so that the malware executes a duplicate copy on each subsequent startup of the system (e.g. copying the malicious executable to the HKLM\Software\Microsoft\Windows\CurrentVersion\Run subkey).
Certain Slenfbot variants may inject a thread into explorer.exe, which periodically checks for the presence of the malware in the System folder.
Slenfbot may also create an autorun.inf file in the root directory of the drive so that the worm may execute if the drive is connected to another system.
The worm then makes changes to the registry to maintain persistence so that the malware executes a duplicate copy on each subsequent startup of the system (e.g. copying the malicious executable to the HKLM\Software\Microsoft\Windows\CurrentVersion\Run subkey).
If Slenfbot is launched from a removable drive, some variants may open Windows Explorer and display the contents of the affected drive.
Certain Slenfbot variants may inject a thread into explorer.exe, which periodically checks for the presence of the malware in the System folder.
Slenfbot runs commands to delete files named *.zip and *.com in the current directory as well as the user's "Received Files" directory.
When executed, Slenfbot copies a duplicate of the malicious payload to the %SYSTEM% folder ... and sets the attributes for the copy to read only, hidden and system to hide the contents in Windows Explorer.
In some cases, variants may instead modify the registry to install the malicious payload as a debugger for the benign system file ctfmon.exe so that ctfmon.exe executes on system startup, which leads to the execution of the malware.
Slenfbot deletes various registry keys ... in order to disable system restore, task manager, the use of the Windows Registry Editor ... the worm may also disable antivirus, firewall as well as attempt to disable Data Execution Prevention (DEP).
Slenfbot propagates via instant messaging applications, removable drives and/or the local network via network shares.
Some Slenfbot variants may, on initial execution, test to see if MSN/Windows Live Messenger is currently running by looking for a window with the class name "MSBLWindowClass".
Slenfbot may spread to removable drives by creating a directory called “RECYCLER” in the root directory of the removable drive.
The worm may also spread to file and print shares by exploiting known vulnerabilities such as MS06-040 or MS10-061, which pertain to issues with the Server and Print Spooler services, respectively.
Slenfbot attempts to connect to an Internet Relay Chat (IRC) server via a particular TCP port ... joins a channel and then waits for commands.
Slenfbot may download and install additional malware to relay spam, steal information, install spyware toolbars as well as propagate other malicious campaigns. | If the file is not found, the malware downloads a new copy from a specified server and launches the new copy.
Slenfbot may terminate security-related processes as well as stop, disable and delete services on the compromised system in order to remain undetected and maintain persistence.
Slenfbot makes modifications to the hosts file by replacing %SYSTEM%\drivers\etc.\hosts with a file of its own; the modified host file may contain several entries to point various anti-virus and security related domains to localhost.
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.