Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Malware

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.

Share:
For your environment

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.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.

BabShell | Mallory