Babar
- Type
- Spyware
- Capabilities
- KeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissanceProcess injection
- Platforms
- Windows
Babar is a Windows espionage malware platform associated with the Animal Farm intrusion set, also known as SNOWGLOBE, which has been publicly linked by multiple researchers to French state-aligned cyber operations. It has been described as one of the most sophisticated implants in that toolkit and was used as a second-stage surveillance platform after earlier validator or entry-stage components such as Tafacalou. Publicly discussed samples date from at least 2007, indicating long-term development and operational use.
Babar is designed for covert intelligence collection and remote post-compromise control. Reported capabilities include process injection, API hooking, keylogging, clipboard theft, screenshot capture, audio capture, collection of host and user profiling data, and exfiltration of stolen information to operator-controlled infrastructure. Analyses of older variants show persistence through Windows autorun mechanisms, storage of encrypted configuration and victim identifiers in the registry, injection into browser processes, and command support for downloading files, executing shell commands, listing and terminating processes, changing command-and-control parameters, rebooting or shutting down the system, and self-uninstalling. Some variants used encrypted XML configuration data and encrypted command-and-control traffic over HTTP.
Babar has been linked to a broader malware ecosystem that includes Dino, Bunny, Casper, NBot, and Tafacalou. Shared code, configuration styles, injection methods, antivirus enumeration logic, and infrastructure patterns across these families indicate coordinated development within a common espionage framework. Within that framework, Babar served as a high-value surveillance implant deployed against selected victims after initial compromise and validation.
Victimology associated with Animal Farm operations includes government entities, military contractors, humanitarian organizations, private companies, journalists, media organizations, and activists across multiple regions. Babar itself is therefore best understood as a nation-state espionage implant used in targeted intrusions rather than indiscriminate cybercrime. High-confidence reporting supports Windows as the primary platform for known Babar samples.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Babar – the most sophisticated espionage platform from the Animal Farm group.
Alrabaee et al. [4] obtain malware from their own Security Lab (Zeus and Citadel malware), from Contagio (Flame and Stuxnet malware) and from VirusSign (Bunny and Babar malware).
Techniques & procedures
22 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
To process some commands, the malware creates an anonymous pipe and a hidden instance of cmd.exe or command.com... The command line output gets redirected to the pipe, read into memory and later send back
Persistence
1 technique
Persistence
With this data, it checks if the malware's persistency is already present in the registry Run key and creates it if it's not the case: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
Privilege Escalation
2 techniques
Privilege Escalation
At last, it creates a suspended process of Internet Explorer and injects the payload DLL via the infamous CreateRemoteThread() method.
With this data, it checks if the malware's persistency is already present in the registry Run key and creates it if it's not the case: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
Stealth
5 techniques
Stealth
It contains an encrypted resource named XML which contains configuration data. The encryption algorithm RC4 is used with the key +37:*$pK#s.
This data is then used to create the following file paths with the hardcoded file names: ... \Microsoft\wmimgnt.dll ... \Microsoft\wmimgnt.exe
At last, it creates a suspended process of Internet Explorer and injects the payload DLL via the infamous CreateRemoteThread() method.
The malware also tries to delete any traces it was executed by deleting the corresponding entries in the following registry keys: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache ... MuiCache
The file attributes are changed to hidden and the file time is changed to make it look like an old file.
Credential Access
2 techniques
Credential Access
The Babar implant applies a global Windows hook... Babar installs hooks for types 2 and 3, which are WH_KEYBOARD and WH_GETMESSAGE.
Babar is a fully fledged piece of espionage software... log keystrokes... A summary of the capabilities is as follows: • Logging keystrokes
Discovery
5 techniques
Discovery
The dropped implant is not started by the dropper, merely a registry key for loading at boot time is created.
Possible malware commands: ... 19. listprocess Get list of current processes with PID
Then, it tries to get system information from the following registry keys... RegisteredOrganization ... RegisteredOwner ... CurrentVersion ... DefaultUserName ... USERNAME
Possible malware commands: 1. pwd Get current working directory 2. cd change directory to delivered string 3. part Get list and type of partitions
A summary of the capabilities is as follows: • Capture of system and user default language, keyboard layout
Collection
6 techniques
Collection
The Babar implant applies a global Windows hook... Babar installs hooks for types 2 and 3, which are WH_KEYBOARD and WH_GETMESSAGE.
Babar is a fully fledged piece of espionage software... log keystrokes... A summary of the capabilities is as follows: • Logging keystrokes
Tafacalou (aka “TFC”, “Transporter”) is perhaps of greatest interest here, because it acts as an entry point for the more sophisticated spy platforms Babar and Dino. Confirmed victims get upgraded to Dino or Babar.
A summary of the capabilities is as follows: • Taking screenshots
A summary of the capabilities is as follows: • Stealing of clipboard data
A summary of the capabilities is as follows: • Capture of audio streams from softphone applications
Command and Control
3 techniques
Command and Control
The sample also uses a compromised third party website as a C2 server like later versions... As can be seen, a third-party website was compromised as C2 server to host a script named outbase.php.
Possible malware commands: ... 6. download Download file < 512,000 bytes ... 7. big Download file > 512,000 bytes ... 8. wget Download file ... 9. fetch Download file via URLDownloadToFile()
The encrypted string gets then Base64 encoded and the characters '+', '/' and '=' URL encoded ('%2B', '%2F', '%3D').
Impact
1 technique
Impact
Possible malware commands: ... 20. killprocess Terminate process delivered via string
Observables
16 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.