Guildma
Table of Contents
Overview
Guildma (also tracked by cybersecurity researchers as Astaroth, Trojan:Win32/Guildma, and Trojan-Banker.Win32.Guildma) is a highly sophisticated, multi-stage modular banking trojan active since at least 2015. Coined by Kaspersky's Global Research and Analysis Team (GReAT) as one of the four infamous 'Tetrade' Latin American banking malware families (alongside Javali, Melcoz, and Grandoreiro), Guildma originated in Brazil and subsequently expanded operations globally across Latin America, North America, and Europe. Guildma is delivered through high-volume, localized spearphishing campaigns masquerading as tax notices, utility bills, and legal subpoenas carrying weaponized ZIP, LNK, or VBScript attachments. The infection chain relies heavily on Living-off-the-Land Binaries (LOLBins)โabusing BITSAdmin, certutil, and Windows Script Hostโand hides payload modules using NTFS Alternate Data Streams and DLL search-order hijacking. To orchestrate stealthy command-and-control communication, Guildma embeds encrypted C2 configurations directly into descriptions on legitimate platforms such as YouTube videos and Facebook profiles. Once active, the trojan monitors browser processes, deploying automated web-injects and hidden VNC (hVNC) sessions to hijack active banking and cryptocurrency sessions, intercepting multi-factor authentication (MFA) tokens in real time.
Known aliases
Threat reports may refer to this family under multiple names:
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Derived From / Upstream Ancestry: Brazilian Banking Trojans · Tetrade Group Malware
Known Derivatives & Downstream Variants: Guildma V1 · Astaroth Multi-Stage · Ghimob Mobile Rat
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
| Technique | Name | Tactic | Official Spec |
|---|---|---|---|
T1185 | Browser Session Hijacking | Collection | ATT&CK ↗ |
T1566.001 | Phishing: Spearphishing Attachment | Initial Access | ATT&CK ↗ |
T1056.004 | Input Capture: Credential API Hooking | Credential Access | ATT&CK ↗ |
T1197 | BITS Jobs | Defense Evasion | ATT&CK ↗ |
T1055 | Process Injection | Defense Evasion | ATT&CK ↗ |
T1105 | Ingress Tool Transfer | Command and Control | ATT&CK ↗ |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.004: Monitor for unauthorized keylogging, screen capturing, or web browser API hooking. Deploy EDR to detect API hooking.
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
- T1185: Enforce strong MFA and use browser isolation or hardened browsers for sensitive financial or administrative portals to defeat session hijacking.
- T1566.001: Scan email attachments for malicious macros, scripts, or suspicious archive files.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-PIAD | Process Injection Analysis & Detection | Detect | T1055 | Monitor cross-process thread creation (CreateRemoteThread) and asynchronous procedure calls (QueueUserAPC). |
D3-AHC | API Hook Detection | Detect | T1056.004 | Deploy kernel and userland EDR drivers to monitor SetWindowsHookEx and low-level keyboard hooks. |
D3-NTI | Network Traffic Inspection | Detect | T1105 | Inspect deep packet payloads for anomalous staging binaries and unauthorized egress protocols. |
D3-MitBA | Man-in-the-Browser Analysis | Detect | T1185 | Deploy browser extension whitelisting and hardware-backed session binding to prevent rogue DOM and socket injection. |
D3-FS | File Sandboxing (Attachment Detonation) | Isolate | T1566.001 | Detonate macro-enabled documents, ISOs, and password-protected archives inside an isolated hypervisor. |
Indicators of Compromise
Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.
File hashes (SHA-256, sample)
Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.
3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c
Delivery vectors
Spearphishing emails with malicious LNK or VBS attachments in ZIP archivesBITSAdmin and certutil payload downloading routines
Persistence mechanisms
HKCU\Software\Microsoft\Windows\CurrentVersion\Run\GuildmaLoaderNTFS Alternate Data Streams (ADS) staging scripts
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_GUILDMA_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Guildma"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "guildma" ascii wide nocase
$s2 = "trojan:win32/guildma" ascii wide nocase
$s3 = "astaroth" ascii wide nocase
$s4 = "guildma" ascii wide nocase
$s5 = "trojan-banker.win32.guildma" ascii wide nocase
$s6 = "win32/guildma" ascii wide nocase
$s7 = "tetrade.guildma" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Guildma (Banking Trojan) Execution & Triage
id: 7b0edae0-ef84-510c-8a4b-c4a64b9720fb
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Guildma malware family. Detects recon staging, certutil file payload staging,
and web-inject process proxying characteristic of banking trojan initial loaders.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/guildma
- https://malware-families-catalog.systemhelpdesk.com/defensive/banking-trojan-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.banking-trojan
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1566_001
- attack.t1055
- attack.t1197
- attack.t1056_004
- attack.t1185
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \svchost.exe
- \explorer.exe
- \msiexec.exe
- \certutil.exe
CommandLine|contains:
- -urlcache
- -split -f
- ipconfig /all
- route print
- netstat -ano
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_GUILDMA_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Guildma tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "guildma" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Immediately disconnect the endpoint from network and internet interfaces to sever active hVNC remote-control sessions.
- Contact corporate and personal financial institutions to freeze affected accounts, review recent transfers, and revoke session tokens.
- Capture a full volatile memory dump prior to rebooting to preserve decrypted web-inject rules and active C2 endpoints.
- Perform an exhaustive operating system reimaging, as Guildma embeds deep system hooks and NTFS alternate stream files.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not permit users to log in to online banking or corporate portals from an endpoint flagged with Guildma activity.
- Avoid rebooting endpoints before dumping RAM, as volatile web-inject configuration files reside purely in memory.
References & External Analysis
Frequently Asked Questions
What is the Guildma / Astaroth banking trojan?
Guildma (Astaroth) is an advanced Brazilian banking trojan belonging to the 'Tetrade' group that hijacks live online banking and cryptocurrency sessions.
How does Guildma abuse legitimate online platforms for C2?
It stores encrypted C2 configuration strings within public YouTube channel descriptions and Facebook profile pages to bypass network filtering.
What Living-off-the-Land techniques does Guildma utilize?
It abuses native Windows utilities such as BITSAdmin, certutil, and wscript.exe alongside NTFS Alternate Data Streams to execute fileless payloads.
How does Guildma defeat multi-factor authentication?
It leverages hidden VNC (hVNC) and web-injects to manipulate active user sessions after legitimate authentication has taken place.
What remediation is required following a Guildma compromise?
Immediately freeze banking accounts, isolate endpoints, perform full memory analysis to recover injects, and conduct clean OS rebuilds.
How do I remove the Guildma Banking_Trojan from Windows?
Manual removal of Guildma is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Guildma a virus or a Banking_Trojan?
Guildma is classified as a Banking_Trojan. Unlike traditional viruses that infect files, modern malware like Guildma typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Guildma infection?
Symptoms of Guildma can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Banking_Trojans
Want to prevent Guildma and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection for Businesses.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/guildma.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.