Skip to main content
Mallory
Malware1 associated actor2 associated CVEs

MgBot

Tracked since Nov 25, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns2Associated
Actors1Associated
ATT&CK36Techniques
IOCs25Tracked
Type
Backdoor
Capabilities
Credential theftSession hijackingKeyloggingReconnaissanceScanningDLL sideloading
Delivery
Fake update
Platforms
Windows

MgBot, also known as POCOSTICK, is a modular Windows backdoor framework uniquely associated with the China-linked Daggerfly threat actor, also tracked as Evasive Panda and Bronze Highland, since at least 2012. It comprises a dropper, DLL loader, and extensible plugins, and has been used in cyberespionage operations including attacks against telecommunications organizations in Africa and organizations in Asia. MgBot plugins support network and service scanning, Active Directory and local-account enumeration, browser-data and browser-cookie theft, credential theft from browsers, email clients, and file-transfer applications, process-memory credential dumping, keylogging, clipboard collection, removable-media collection, and audio capture. MgBot has been delivered to Windows systems through compromised insecure software-update workflows involving ISP-level DNS poisoning, and has also been observed alongside DLL side-loading and PlugX loader activity in Daggerfly intrusions.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2012-0158via symantec blogExploited in the wildMicrosoft Common Controls ActiveX Remote Code ExecutionDaggerfly used CVE-2012-0158 to drop its Trojan in 2014. Billbug also lists this vulnerability among its exploits.View vulnerability →Source ↗
CVE-2024-0012via wiz blogAuthentication Bypass in Palo Alto Networks PAN-OS Management Web InterfaceDaggerfly is known for exclusively using MgBot malware; the observed Linux implants attributed to the group function as backdoors embedding themselves in crond, sshd, and netstat binaries and services.View vulnerability →Source ↗
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Daggerfly

The installer eventually downloads either MGBot malware for Windows or MACMA for macOS. MgBOT is a modular framework with various plugins enabling network scanning, information stealing from browser, keylogging and password dumping.

via imda singaporeimda.gov.sg
MITRE ATT&CK

Techniques & procedures

36 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

2 techniques
T1195Supply Chain CompromiseEvidence2

StormBamboo targets software updates via HTTP that do not validate digital signatures of installers.

T1659Content InjectionEvidence1

StormBamboo controlled DNS responses and redirected HTTP software-update requests to an attacker-controlled server hosting a forged text file and malicious installer.

Execution

1 technique
T1203Exploitation for Client ExecutionEvidence1

The advisory maps StormBamboo's compromise of insecure automatic update mechanisms to T1203.

Persistence

2 techniques
T1543.003Windows ServiceEvidence1

Process Watchdog – ansecprocesskeep.dll Registered as service AnsecProcessKeep. Confirmed to be a watchdog that keeps a process running.

T1546.016Installer PackagesEvidence1

The attacker-controlled server hosted a malicious installer, and the installer eventually downloaded either MGBot malware for Windows or MACMA for macOS.

Privilege Escalation

3 techniques
T1055Process InjectionEvidence1

“developed an injector that allows them to execute their MgBot implant in memory by injecting it into legitimate processes.”

T1543.003Windows ServiceEvidence1

Process Watchdog – ansecprocesskeep.dll Registered as service AnsecProcessKeep. Confirmed to be a watchdog that keeps a process running.

T1546.016Installer PackagesEvidence1

The attacker-controlled server hosted a malicious installer, and the installer eventually downloaded either MGBot malware for Windows or MACMA for macOS.

Stealth

3 techniques
T1014RootkitEvidence1

The implant functions as a backdoor, embedding itself in key system binaries and services, including crond, sshd and netstat.

T1027Obfuscated Files or InformationEvidence1

“storing encrypted parts of the malware on attacker-controlled servers… employed hybrid encryption… implants unique to each victim… retrieving encrypted data… disguised as a PNG file…”

T1055Process InjectionEvidence1

“developed an injector that allows them to execute their MgBot implant in memory by injecting it into legitimate processes.”

Credential Access

8 techniques
T1003OS Credential DumpingEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules for dumping and capturing credentials from process memory.(Citation: Symantec Daggerfly 2023)

T1003.001LSASS MemoryEvidence1

MgBot includes modules for dumping and capturing credentials from process memory. Mustang Panda utilized "Hdump" to dump credentials from memory.

T1056.001KeyloggingEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes keylogger payloads focused on the QQ chat application.(Citation: ESET EvasivePanda 2023)(Citation: Symantec Daggerfly 2023)

T1539Steal Web Session CookieEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules that can steal cookies from Firefox, Chrome, and Edge web browsers.(Citation: ESET EvasivePanda 2023)

T1555Credentials from Password StoresEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules for stealing stored credentials from Outlook and Foxmail email client software.(Citation: ESET EvasivePanda 2023)(Citation: Symantec Daggerfly 2023)

T1555.003Credentials from Web BrowsersEvidence8

[MgBot](https://attack.mitre.org/software/S1146) includes modules for stealing credentials from various browsers and applications, including Chrome, Opera, Firefox, Foxmail, QQBrowser, FileZilla, and WinSCP.(Citation: ESET EvasivePanda 2023)(Citation: Symantec Daggerfly 2023)

T1555.005Password ManagersEvidence1

Evilnum can collect email credentials from victims... Malteiro has obtained credentials from mail clients via NirSoft MailPassView... MgBot includes modules for stealing stored credentials from Outlook and Foxmail email client software... PLEAD has the ability to steal saved passwords from Microsoft Outlook.

T1557Adversary-in-the-MiddleEvidence1

“The group mainly performed adversary-in-the-middle (AitM) attacks… storing encrypted parts of the malware on attacker-controlled servers, which were resolved as a response to specific website DNS requests.” and “TokenFlare… serverless AiTM phishing…”

Discovery

10 techniques
T1018Remote System DiscoveryEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules for performing ARP scans of local connected systems.(Citation: Symantec Daggerfly 2023)

T1033System Owner/User DiscoveryEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules for identifying local users and administrators on victim machines.(Citation: Symantec Daggerfly 2023)

T1046Network Service DiscoveryEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules for performing HTTP and server service scans.(Citation: Symantec Daggerfly 2023)

T1057Process DiscoveryEvidence5

[MgBot](https://attack.mitre.org/software/S1146) includes a module for establishing a process watchdog for itself, identifying if the [MgBot](https://attack.mitre.org/software/S1146) process is still running.(Citation: Symantec Daggerfly 2023)

T1069Permission Groups DiscoveryEvidence2

The content notes checks for whether the current user is an administrator or privileged, including 'AsyncRAT can check if the current user of a compromised system is an administrator,' 'Gelsemium has the ability to distinguish between a standard user and an administrator,' and 'Wizard Spider has used whoami to identify the local user and their privileges.'

T1083File and Directory DiscoveryEvidence1

BADNEWS crawls the victim's local drives and collects documents with selected extensions; Machete searches the file system for files of interest; Rover searches for files on local drives based on a predefined list of file extensions.

T1087Account DiscoveryEvidence2

Examples include 'Caterpillar WebShell can obtain a list of user accounts from a victim's machine,' 'DRATzarus can obtain a list of users from an infected machine,' 'Woody RAT can retrieve a list of user accounts and usernames from an infected machine,' and 'TrickBot can identify the user and groups the user belongs to on a compromised host.'

T1087.001Local AccountEvidence4

[MgBot](https://attack.mitre.org/software/S1146) includes modules for identifying local administrator accounts on victim systems.(Citation: Symantec Daggerfly 2023)

T1087.002Domain AccountEvidence5

[MgBot](https://attack.mitre.org/software/S1146) includes modules for collecting information on Active Directory domain accounts.(Citation: Symantec Daggerfly 2023)

T1482Domain Trust DiscoveryEvidence4

[MgBot](https://attack.mitre.org/software/S1146) includes modules for collecting information on local domain users and permissions.(Citation: Symantec Daggerfly 2023)

Collection

9 techniques
T1005Data from Local SystemEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes modules for collecting files from local systems based on a given set of properties and filenames.(Citation: ESET EvasivePanda 2023)

T1025Data from Removable MediaEvidence5

[MgBot](https://attack.mitre.org/software/S1146) includes modules capable of gathering information from USB thumb drives and CD-ROMs on the victim machine given a list of provided criteria.(Citation: ESET EvasivePanda 2023)

T1056.001KeyloggingEvidence6

[MgBot](https://attack.mitre.org/software/S1146) includes keylogger payloads focused on the QQ chat application.(Citation: ESET EvasivePanda 2023)(Citation: Symantec Daggerfly 2023)

T1113Screen CaptureEvidence1

Screen and clipboard grabber – cbmrpa.dll

T1115Clipboard DataEvidence7

[MgBot](https://attack.mitre.org/software/S1146) can capture clipboard data.(Citation: ESET EvasivePanda 2023)(Citation: Symantec Daggerfly 2023)

T1123Audio CaptureEvidence5

[MgBot](https://attack.mitre.org/software/S1146) can capture input and output audio streams from infected devices.(Citation: ESET EvasivePanda 2023)(Citation: Symantec Daggerfly 2023)

T1213.002SharepointEvidence1

Data from Information Repositories: Databases

T1213.006DatabasesEvidence3

[MgBot](https://attack.mitre.org/software/S1146) includes a module capable of stealing content from the Tencent QQ database storing user QQ message history on infected devices.(Citation: ESET EvasivePanda 2023)

T1557Adversary-in-the-MiddleEvidence1

“The group mainly performed adversary-in-the-middle (AitM) attacks… storing encrypted parts of the malware on attacker-controlled servers, which were resolved as a response to specific website DNS requests.” and “TokenFlare… serverless AiTM phishing…”

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence1

The attacker redirects the HTTP request to a Command and Control (C2) server they control hosting a forged text file and a malicious installer.

T1105Ingress Tool TransferEvidence1

...has used BITSAdmin to retrieve files from remote locations to run on victim systems... Ingress Tool Transfer

T1659Content InjectionEvidence1

StormBamboo controlled DNS responses and redirected HTTP software-update requests to an attacker-controlled server hosting a forged text file and malicious installer.

Impact

1 technique
T1565.001Stored Data ManipulationEvidence2

"Evasive Panda ran DNS Poisoning campaign to deliver MgBot"; "EdgeStepper... reroutes DNS queries... hijacked software updates"

Indicators of compromise

Observables

25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

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 matching25Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities2CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping36Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.