Bunny
- Type
- Trojan
- Capabilities
- Defense evasionReconnaissancePost exploitation
- Delivery
- Spearphishing
- Platforms
- Windows
Bunny is a Windows malware family associated with the Animal Farm espionage toolkit, a cluster of implants also including Babar, Dino, Casper, NBot, and Tafacalou. It has been described as an older validator-style Trojan and as a multi-threaded bot with an embedded Lua 5.1 scripting engine, allowing operators to download and execute Lua scripts to modify functionality at runtime and introduce polymorphic behavior. Bunny is linked to targeted intrusion activity against a broad range of victims, including government entities, military contractors, humanitarian organizations, private companies, journalists, media organizations, and activists.
Bunny was observed in a spearphishing campaign in late 2011 in which a malicious PDF exploited CVE-2011-4369 to install the malware. Its behavior includes anti-analysis checks aimed at emulators and sandboxes, environmental awareness such as checking process counts and hooked timing APIs, and WMI-based enumeration of installed antivirus products so that infection behavior can be adapted to the host. The family uses encrypted XML configuration data for command-and-control settings and can retrieve remote tasking in the form of Lua scripts.
Within the broader Animal Farm ecosystem, Bunny appears to have served as a flexible, scriptable implant used in targeted operations, distinct from the more fully featured Babar and Dino espionage platforms but sharing development lineage and operational tradecraft with them. Reported overlaps across the toolkit include common configuration approaches, code and technique reuse, and infrastructure patterns consistent with a coordinated state-grade espionage capability.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
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.
Bunny – an old “validator”-style Trojan used with a PDF zero-day attack in 2011.
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
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Bunny – an old “validator”-style Trojan used with a PDF zero-day attack in 2011.
Execution
3 techniques
Execution
The bot supports a total of 20 commands... Can install managed tasks (named ‘crontask’) for its integrated engine.
Bunny incorporates a Lua interpreter and downloads and executes Lua scripts to reach a certain level of polymorphism. The Lua scripts can call back into the C++ code of the malware and alter its behaviour at runtime.
In 2014, researchers at Kaspersky Lab discovered and reported on three zero-days that were being used in cyberattacks in the wild.
Persistence
2 techniques
Persistence
The bot supports a total of 20 commands... Can install managed tasks (named ‘crontask’) for its integrated engine.
The dropped implant is not started by the dropper, merely a registry key for loading at boot time is created... Regsvr32.exe, along with the according parameters to load the Babar implant, will be invoked through a registry key at startup.
Privilege Escalation
3 techniques
Privilege Escalation
The bot supports a total of 20 commands... Can install managed tasks (named ‘crontask’) for its integrated engine.
As a means of stealth, the bots create an svchost.exe process and inject a remote thread to execute their binary payload in the context of svchost.exe... The Babar implant will inject itself into a randomly chosen desktop process... Casper infector spawns a svchost.exe process and injects its malicious payload.
The dropped implant is not started by the dropper, merely a registry key for loading at boot time is created... Regsvr32.exe, along with the according parameters to load the Babar implant, will be invoked through a registry key at startup.
Stealth
3 techniques
Stealth
As a means of stealth, the bots create an svchost.exe process and inject a remote thread to execute their binary payload in the context of svchost.exe... The Babar implant will inject itself into a randomly chosen desktop process... Casper infector spawns a svchost.exe process and injects its malicious payload.
Bunny shows a number of interesting anti-analysis features, most of which seem intended for evasion of anti-virus engine emulators and sandboxes.
Using the EnumProcesses API, Bunny checks whether fewer than 15 processes are running on the system. If that is the case, execution is aborted... Bunny performs hook detection on time retrieval APIs... if any of the three deltas is below 998 milliseconds, execution will abort.
Discovery
3 techniques
Discovery
The dropped implant is not started by the dropper, merely a registry key for loading at boot time is created.
Bunny shows a number of interesting anti-analysis features, most of which seem intended for evasion of anti-virus engine emulators and sandboxes.
Using the EnumProcesses API, Bunny checks whether fewer than 15 processes are running on the system. If that is the case, execution is aborted... Bunny performs hook detection on time retrieval APIs... if any of the three deltas is below 998 milliseconds, execution will abort.
Command and Control
2 techniques
Command and Control
The bots connect to a C&C server and exchange data in clear text via HTTP... All three of these URLs served as C&C contacts, sending commands or Lua scripts to the infected host... Babar comes with two hard-coded C&C server domains.
All three of these URLs served as C&C contacts, sending commands or Lua scripts to the infected host... Can send and receive files via HTTP... Plainly spoken, Casper is reconnaissance malware aiming to gather sensitive information about the target system and loading second-stage malware should the target be of interest.
Observables
15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.