Astaroth
- Type
- Banking trojan
- Capabilities
- Credential theftSession hijackingKeyloggingExfiltrationPersistenceDefense evasionReconnaissance
- Delivery
- PhishingMalspamCloaking
- Platforms
- Windows
Astaroth, also known as Guildma, is a Windows banking trojan primarily associated with financially motivated attacks against Brazilian banking customers. It combines remote-access, spyware, and credential-stealing functionality to facilitate financial account compromise and fraud. Its collection capabilities include banking credentials, one-time passwords, browser cookies, and keystrokes. It also uses the external password-recovery utility NetPass to recover stored passwords and exfiltrates collected information to command-and-control infrastructure.
Astaroth is distributed through phishing emails containing malicious attachments or download links, including Brazilian Portuguese messages impersonating document-signing communications. Observed infection chains deliver ZIP archives containing Windows shortcuts that retrieve additional components, conceal payload content in NTFS alternate data streams, and install persistent AutoIt-based malware. Some delivery infrastructure checks the requesting system’s location, language, and regional settings, serving malware to Brazilian targets while returning legitimate software to other visitors. Other campaigns distribute malicious ZIP attachments through WhatsApp and propagate by abusing victims’ WhatsApp Web sessions to retrieve contacts and automatically send further malicious messages.
Astaroth employs concealed execution and legitimate Windows utilities to load malicious components. It discovers running processes, checks for security software, and uses alternate data streams to hide payload content. Its communications can include Base64-encoded data, ngrok tunnels for command and control, and public repositories hosting configuration data.
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.
TA2725 is a threat actor Proofpoint tracked since March 2022 that is known for using Brazilian banking malware (including Mispadu, Astaroth, and historically Grandoreiro) and credential phishing to target organizations mainly in Brazil, Mexico, and Spain.
...another set of attacks has led to the deployment of the Astaroth banking trojan. Sophos is tracking the second cluster under the moniker STAC3150 since September 24, 2025.
Techniques & procedures
101 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
2 techniques
Reconnaissance
The script performs the following actions: Retrieves all contacts ... Maps each contact into a list containing the contact’s display name (nome), phone number (fone), and assigned number (numero)
The spam messages appear more personal in an attempt to be more effective at phishing.
Initial Access
4 techniques
Initial Access
The campaign spreads via phishing emails posing as invoices, tax reports, invitations and similar types of messages containing a ZIP archive attachment with a malicious LNK file.
[Astaroth](https://attack.mitre.org/software/S0373) has been delivered via malicious e-mail attachments.(Citation: Securelist Brazilian Banking Malware July 2020)
“Guildma (Astaroth) malware infection from Brazilian Portuguese email”
by shifting from traditional email-based spam propagation to leveraging trusted social messaging platforms ... Executes the script via the WebDriver that sends three messages: a greeting, a malware ZIP file attachment, and a body message
Execution
14 techniques
Execution
[Astaroth](https://attack.mitre.org/software/S0373) uses WMIC to execute payloads. (Citation: Cofense Astaroth Sept 2018)
The LNK file opens a minimized Windows Management Instrumentation Command-line tool (wmic.exe) using the Command Shell (cmd.exe) to download and execute a next stage XSL file with a malicious payload.
Command from Windows shortcut in Windows Startup folder on the infected Windows host: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -Command C:\W45784602214\Asus.CertificateValidation.2022.1728.641.AutoIt3.exe C:\W45784602214\Asus.CertificateValidation.2022.1728.641.AutoIt3.log
[Astaroth](https://attack.mitre.org/software/S0373) spawns a CMD process to execute commands. (Citation: Cybereason Astaroth Feb 2019)
[Astaroth](https://attack.mitre.org/software/S0373) has used malicious VBS e-mail attachments for execution.(Citation: Securelist Brazilian Banking Malware July 2020)
The WhatsApp Spreader: This is a new piece of code written in Python (a file named zapbiu.py) that steals your contact list and starts sending out copies of the virus to everyone you know.
[Astaroth](https://attack.mitre.org/software/S0373) uses JavaScript to perform its core functionalities. (Citation: Cofense Astaroth Sept 2018)(Citation: Securelist Brazilian Banking Malware July 2020)
The AutoIt3.exe pattern from %TEMP%\IXP000.TMP\ is recurrent.
[Astaroth](https://attack.mitre.org/software/S0373) uses the LoadLibraryExW() function to load additional modules. (Citation: Cybereason Astaroth Feb 2019)
The deobfuscated download function uses the BITSAdmin tool to download the payload.
has attempted to get victims to launch malicious Microsoft Word attachments delivered via spearphishing emails... has required user execution of a malicious MSI installer... has been executed through user installation of an executable disguised as a flash installer.
[Astaroth](https://attack.mitre.org/software/S0373) has used malicious files including VBS, LNK, and HTML for execution.(Citation: Securelist Brazilian Banking Malware July 2020)
...uses the LoadLibraryExW() function to load additional modules... execute additional plugins by loading the respective DLLs... loaded and executed DLLs in memory during runtime... loads a dynamic library (.dylib file) using dlopen() and obtains a function pointer... using dlopen() and dlsym()... calls LoadLibrary then executes exports from a DLL.
[Astaroth](https://attack.mitre.org/software/S0373) can launch itself via DLL Search Order Hijacking.(Citation: Securelist Brazilian Banking Malware July 2020)
Persistence
5 techniques
Persistence
T1112 Modify Registry ✅ ✅ ✅ ✅ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
The deobfuscated download function uses the BITSAdmin tool to download the payload.
Persistence T1543 Create or Modify System Process
[Astaroth](https://attack.mitre.org/software/S0373) creates a startup item for persistence. (Citation: Cofense Astaroth Sept 2018)
[Astaroth](https://attack.mitre.org/software/S0373)'s initial payload is a malicious .LNK file. (Citation: Cofense Astaroth Sept 2018)(Citation: Cybereason Astaroth Feb 2019)
Privilege Escalation
5 techniques
Privilege Escalation
The primary purpose of this module is to inject the GX module into one of the targeted files.
[Astaroth](https://attack.mitre.org/software/S0373) can create a new process in a suspended state from a targeted legitimate process in order to unmap its memory and replace it with malicious code.(Citation: Cybereason Astaroth Feb 2019)(Citation: Securelist Brazilian Banking Malware July 2020)
Persistence T1543 Create or Modify System Process
[Astaroth](https://attack.mitre.org/software/S0373) creates a startup item for persistence. (Citation: Cofense Astaroth Sept 2018)
[Astaroth](https://attack.mitre.org/software/S0373)'s initial payload is a malicious .LNK file. (Citation: Cofense Astaroth Sept 2018)(Citation: Cybereason Astaroth Feb 2019)
Stealth
32 techniques
Stealth
The malicious JavaScript code is slightly obfuscated with the fromCharCode function or using public web-based obfuscators.
[Astaroth](https://attack.mitre.org/software/S0373) uses a software packer called Pe123\RPolyCryptor.(Citation: Cybereason Astaroth Feb 2019)
Later, in October 2025, it was found abusing GitHub to hide its backup files inside images.
[Astaroth](https://attack.mitre.org/software/S0373) has obfuscated and randomized parts of the JScript code it is initiating.(Citation: Cybereason Astaroth Feb 2019)
[Astaroth](https://attack.mitre.org/software/S0373) has used an XOR-based algorithm to encrypt payloads twice with different keys.(Citation: Securelist Brazilian Banking Malware July 2020)
Link from email leads to web page pretending to be from Docusign that provides malicious zip archive for download.
T1036.005 Masquerading: Match Legitimate Name or Location ❌ ✅ ✅ ✅ ❌ ❌ ❌ ✅ ❌ ❌ ❌ ✅
UTF-16LE is a deliberate choice... The encoding turns every naive byte-pattern signature into a miss.
The primary purpose of this module is to inject the GX module into one of the targeted files.
[Astaroth](https://attack.mitre.org/software/S0373) can create a new process in a suspended state from a targeted legitimate process in order to unmap its memory and replace it with malicious code.(Citation: Cybereason Astaroth Feb 2019)(Citation: Securelist Brazilian Banking Malware July 2020)
The algorithm searches for the files created by module F ( *.lig , *.deslig ) and deletes them if they exist.
This is followed by a registry cleanup – these values are removed from the Run registry
[Astaroth](https://attack.mitre.org/software/S0373) uses a fromCharCode() deobfuscation method to avoid explicitly writing execution commands and to hide its code. (Citation: Cybereason Astaroth Feb 2019)(Citation: Securelist Brazilian Banking Malware July 2020)
The deobfuscated download function uses the BITSAdmin tool to download the payload.
The complex attack chain, which involves the use of multiple living-off-the-land binaries (LOLBins), results in the eventual loading of the Astaroth malware directly in memory. | The script then uses a LOLBin not previously seen in Astaroth attacks to load the first-stage malware code: ExtExport.exe, which is a legitimate utility shipped as part of Internet Explorer.
[Astaroth](https://attack.mitre.org/software/S0373) uses ActiveX objects for file execution and manipulation. (Citation: Cofense Astaroth Sept 2018)
the LNK file executes wmic.exe with the ‘/format’ option and a remote address to download and execute an XSL
installutil.exe is a Microsoft-signed .NET Framework utility... Because it is signed by Microsoft, it is trusted by default in AppLocker and WDAC policies... The malware abuses this trust to load arbitrary .NET code.
we uncovered this campaign in mid-July, when suspicious patterns in the anomalous usage of MSHTA.exe emerged... Like the Astaroth campaign, every step of the infection chain only runs legitimate LOLBins, either from the machine itself ( mshta.exe , powershell.exe )
[Astaroth](https://attack.mitre.org/software/S0373) can be loaded through regsvr32.exe.(Citation: Cybereason Astaroth Feb 2019)
T1218.011 Signed Binary Proxy Execution: Rundll32 ❌ ✅ ❌ ✅ ❌ ❌ ❌ ✅ ❌ ❌ ❌ ✅
[Astaroth](https://attack.mitre.org/software/S0373) executes embedded JScript or VBScript in an XSL stylesheet located on a remote domain. (Citation: Cybereason Astaroth Feb 2019)
Log32.dll will perform multiple anti-debugging, anti-vm and a series of system verification
[Astaroth](https://attack.mitre.org/software/S0373) can check for Windows product ID's used by sandboxes and usernames and disk serial numbers associated with analyst environments.(Citation: Securelist Brazilian Banking Malware July 2020)
MITRE ATT&CK ID Technique Implementation... T1497.003 Time Based Evasion Start-Sleep -Seconds 5 delays between stages
Further probing revealed that the malware hides its main files in a very specific spot on the computer: C:\Public\MicrosoftEdgeCache_6.60.2.9313.
[Astaroth](https://attack.mitre.org/software/S0373) loads its module with the XSL script parameter <code>vShow</code> set to zero, which opens the application with a hidden window. (Citation: Cybereason Astaroth Feb 2019)
[Astaroth](https://attack.mitre.org/software/S0373) can abuse alternate data streams (ADS) to store content for malicious payloads.(Citation: Securelist Brazilian Banking Malware July 2020)
...uses the LoadLibraryExW() function to load additional modules... execute additional plugins by loading the respective DLLs... loaded and executed DLLs in memory during runtime... loads a dynamic library (.dylib file) using dlopen() and obtains a function pointer... using dlopen() and dlsym()... calls LoadLibrary then executes exports from a DLL.
[Astaroth](https://attack.mitre.org/software/S0373) can launch itself via DLL Search Order Hijacking.(Citation: Securelist Brazilian Banking Malware July 2020)
The newly formed DLL is the second-stage malware code and is loaded in the same process using the reflective DLL loading technique.
Log32.dll will perform multiple anti-debugging, anti-vm and a series of system verification
Defense Impairment
3 techniques
Defense Impairment
T1112 Modify Registry ✅ ✅ ✅ ✅ ❌ ❌ ❌ ❌ ❌ ❌ ❌ ❌
The decoded DLL embeds 14 SHA256 certificate fingerprints hardcoded as string constants... When Astaroth detects a TLS handshake whose server certificate matches one of these hashes, it interposes on the connection to capture banking credentials.
As mentioned, Astaroth also finds installed security products. It then attempts to disable these security products.
Credential Access
12 techniques
Credential Access
Operators need to react to this situation and manually command the malware to display the fake pop-up window and take control of the victim’s machine
[Astaroth](https://attack.mitre.org/software/S0373) logs keystrokes from the victim's machine. (Citation: Cofense Astaroth Sept 2018)
to steal credentials, they tend to use either fake pop-up windows or keyloggers
The second timer tries to access the content of the window and parse the HTML. The content is matched against various element IDs, element options, or expected inputs. If anything matches these rules, the corresponding data is extracted and immediately sent to the second-level C&C server.
In February 2025, a version of Astaroth was found that could bypass two-factor authentication to steal Gmail and Microsoft logins.
It copies the victim’s browser profile, which can include session cookies and saved information, then opens WhatsApp Web without displaying a visible browser window.
[Astaroth](https://attack.mitre.org/software/S0373) uses an external software known as NetPass to recover passwords. (Citation: Cybereason Astaroth Feb 2019)
T1552.001 Unsecured Credentials: Credentials In Files ❌ ✅ ✅ ✅ ❌ ❌ ❌ ✅ ❌ ❌ ❌ ❌
[Astaroth](https://attack.mitre.org/software/S0373) uses an external software known as NetPass to recover passwords. (Citation: Cybereason Astaroth Feb 2019)
It also steals email contacts from desktop email clients like Outlook, TheBat, Thunderbird, Apple Mail and others.
The second one corresponds to NirSoft’s WebBrowserPassView (a recovery tool for passwords stored in a browser).
In February 2025, a version of Astaroth was found that could bypass two-factor authentication to steal Gmail and Microsoft logins.
Discovery
15 techniques
Discovery
Guildma uses window discovery to find and terminate older versions of itself and to detect when interesting programs ... are running.
This step ends up with the process assigning high priority to itself and subsequently hiding the window... a file named trusted.certs ... is checked for a string called appj.bb.
[Astaroth](https://attack.mitre.org/software/S0373) collects the external IP address from the system. (Citation: Cofense Astaroth Sept 2018)
[Astaroth](https://attack.mitre.org/software/S0373) searches for different processes on the system.(Citation: Cybereason Astaroth Feb 2019)
[Astaroth](https://attack.mitre.org/software/S0373) collects the machine name and keyboard language from the system. (Citation: Cofense Astaroth Sept 2018)(Citation: Cybereason Astaroth Feb 2019)
The module checks for predefined, desktop email client related files and tries to steal saved contacts
[Astaroth](https://attack.mitre.org/software/S0373) collects the timestamp from the infected machine. (Citation: Cofense Astaroth Sept 2018)
Log32.dll will perform multiple anti-debugging, anti-vm and a series of system verification
[Astaroth](https://attack.mitre.org/software/S0373) can check for Windows product ID's used by sandboxes and usernames and disk serial numbers associated with analyst environments.(Citation: Securelist Brazilian Banking Malware July 2020)
MITRE ATT&CK ID Technique Implementation... T1497.003 Time Based Evasion Start-Sleep -Seconds 5 delays between stages
The module also checks for installed software (antiviruses and “interesting” applications)
[Astaroth](https://attack.mitre.org/software/S0373) checks for the presence of Avast antivirus in the <code>C:\Program\Files\</code> folder. (Citation: Cofense Astaroth Sept 2018)
“The link from the email is geofenced for Brazil, meaning that it would only deliver the malware if I checked it from a Brazil-based IP address. Otherwise, it would send a legitimate installer.”
“my web browser and operating system needed to use Brazilian Portuguese language settings and Brazil regional settings.”
Log32.dll will perform multiple anti-debugging, anti-vm and a series of system verification
Collection
12 techniques
Collection
Collection T1005 Data from Local System
Operators need to react to this situation and manually command the malware to display the fake pop-up window and take control of the victim’s machine
[Astaroth](https://attack.mitre.org/software/S0373) logs keystrokes from the victim's machine. (Citation: Cofense Astaroth Sept 2018)
to steal credentials, they tend to use either fake pop-up windows or keyloggers
The second timer tries to access the content of the window and parse the HTML. The content is matched against various element IDs, element options, or expected inputs. If anything matches these rules, the corresponding data is extracted and immediately sent to the second-level C&C server.
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[Astaroth](https://attack.mitre.org/software/S0373) collects data in a plaintext file named r1.log before exfiltration. (Citation: Cofense Astaroth Sept 2018)
Depending on the inner state, a screenshot of the focused window, parent window, or Form B is made.
[Astaroth](https://attack.mitre.org/software/S0373) collects information from the clipboard by using the OpenClipboard() and GetClipboardData() libraries. (Citation: Cybereason Astaroth Feb 2019)
The malware checks that WhatsApp Web is fully loaded and that the victim is already signed in before collecting contacts.
It uses a legitimate session already connected to WhatsApp Web and automatically reaches people who may know the victim.
The image is then compressed with zlib, encoded with Base64.
Command and Control
12 techniques
Command and Control
Traffic generated by Windows shortcut or batch file from the downloaded zip archive ... HEAD /?... GET /?...
“Domains the infected Windows host communicated with over HTTPS (TCP port 443).”
The attackers have established a series of YouTube channels and are leveraging the channel descriptions to establish and communicate a list of C2 domains the nodes in the botnet should communicate with.
[Astaroth](https://attack.mitre.org/software/S0373) can store C2 information on cloud hosting services such as AWS and CloudFlare and websites like YouTube and Facebook.(Citation: Securelist Brazilian Banking Malware July 2020)
[Astaroth](https://attack.mitre.org/software/S0373) uses [certutil](https://attack.mitre.org/software/S0160) and [BITSAdmin](https://attack.mitre.org/software/S0190) to download additional malware. (Citation: Cofense Astaroth Sept 2018)(Citation: Cybereason Astaroth Feb 2019)(Citation: Securelist Brazilian Banking Malware July 2020)
ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.
[Astaroth](https://attack.mitre.org/software/S0373) encodes data using Base64 before sending it to the C2 server. (Citation: Cofense Astaroth Sept 2018)
custom encryption algorithms are favored over established ones
Guildma is powerful combination of a RAT (remote access tool), spyware , password stealer and banker malware
- hundreds of DNS queries to different domains following the same format ad the four used below
[Astaroth](https://attack.mitre.org/software/S0373) has used a DGA in C2 communications.(Citation: Cybereason Astaroth Feb 2019)
Astaroth (also known as Guildma) has been observed using ngrok for command and control (C2) and public repositories to maintain access to its configuration data.
Exfiltration
2 techniques
Exfiltration
[Astaroth](https://attack.mitre.org/software/S0373) exfiltrates collected information from its r1.log file to the external C2 server. (Citation: Cybereason Astaroth Feb 2019)
they do not exfiltrate all harvested data to the C&C server, but use different locations as well
Impact
1 technique
Impact
When the file pblqxx<time dd.mm>.ini does not exist, the following command is executed: cmd /k shutdown -r -t 0 -f
Observables
368 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
153 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.