BabShell
BabShell is a C++ reverse shell used by the Mysterious Elephant APT in cyber-espionage campaigns targeting government entities and foreign affairs sectors in South Asia and the broader Asia-Pacific region, with reported focus on Pakistan, Afghanistan, Bangladesh, Nepal, India, and Sri Lanka. In the early 2025 campaign described in the source material, initial access was obtained through exploit kits, phishing emails, and malicious documents, after which a PowerShell script dropped BabShell onto compromised systems. BabShell enables attackers to connect to infected hosts, collects system information including username, computer name, and MAC address, executes attacker commands in separate threads, writes command results to files named in the format output_[timestamp].txt, and exfiltrates the output to command-and-control infrastructure. The malware is described as part of a broader toolchain used by Mysterious Elephant alongside MemLoader modules. Specifically, BabShell was reported to launch MemLoader HidenDesk, an in-memory loader that can execute a Remcos RAT payload, and MemLoader Edge, another loader that embeds a vxRat-derived backdoor referred to as VRat. The surrounding campaign objective included theft of sensitive data, including WhatsApp Desktop-shared files and Chrome browser data via other associated exfiltration modules. The provided content does not include BabShell-specific hashes or network indicators.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
BabShell is a C++ reverse shell used as an initial access tool to launch further payloads, including in-memory loaders and RATs.
Customized tool/module used by the Mysterious Elephant APT in recent campaigns (exact functionality not detailed in the content).
Named in the article tags and likely discussed as malware associated with the campaign, but no substantive details are visible in the provided content.
C++ reverse shell used for interactive command execution via C2; collects host identifiers (username, computer name, MAC), executes received commands in separate threads, writes output to timestamped files, and exfiltrates results back to C2. Also used to load additional modules (e.g., MemLoader variants).
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.