Connect with us

Hi, what are you looking for?


Malware & Threats

Guildma Malware Expands Targets Beyond Brazil

Researchers at Avast have published a detailed analysis of a banking trojan they call Guildma. This is almost certainly the same malware as that described by Cybereason as Astaroth, but analyzed here in greater detail.

Researchers at Avast have published a detailed analysis of a banking trojan they call Guildma. This is almost certainly the same malware as that described by Cybereason as Astaroth, but analyzed here in greater detail. Noticeably, the new report confirms that Astaroth/Guildma’s use of the Avast binary aswrundll.exe as a LOLBin to aid its ‘Living off the Land’ stealth functions is no longer possible.

Guildma originates in Brazil. In an analysis of the Brazilian hacking scene, Recorded Future noted that cultural (language isolation) and stringent banking rules have largely kept Brazilian banking malware within Brazil; but warned that this would probably not last forever. Guildma seems to be a case in point. Avast has detected around 155,000 infection attempts this year alone. Ninety-eight percent are still in Brazil, but the malware is now also targeting 130 banks and web services such as Netflix, Facebook, Amazon, and Google Mail, around the world — although still avoiding computers running in English.

Guildma Malware Detections began to spike in May 2019, peaking in June 2019, but ongoing. It was in May that the hackers expanded their pool of bank targets, and also began targeting around 75 other web services around the world.

Guildma is distributed through targeted phishing, with victims addressed by name. The emails include a ZIP archive attachment containing a malicious LNK file. If this is opened, it uses WMI to silently download an XSL file, which in turn downloads all Guildma’s modules via BITSAdmin, and executes a first stage loader that loads the modules.

The phishing is delivered from hacked or purchased websites that have been compromised with malicious PHP code with mass mailing functions.

Guildma is complex and stealthy malware that is a combination of RAT, spyware, password stealer and banking malware. It remains primarily banking malware. “Guildma is highly modular and complex malware supporting a wide range of functionalities, and is currently undergoing rapid development, expanding the range of targeted banks, from Brazil to banks used in other Latin American countries,” comments Adolf Streda, malware researcher at Avast and one of the authors of the analysis.

It is frequently updated by its authors and is currently at version 140. While other researchers believe it has been around since late 2017, the Avast researchers believe it is older. “We estimate that the first versions of Guildma were created in 2015,” they say. They note that one of the seeds used to generate the keys for module encryption has remained unchanged since late 2015.

Once activated, the malware waits for either a command from the C&C server, or an anticipated user interaction — such as opening a webpage of one of the targeted banks. All the core modules are written in Borland Delphi and they are probably based on well-known open source RATs like Delphi Remote Access PC, AmigoRAT or PureRAT.

Advertisement. Scroll to continue reading.

Guildma first searches for banking application files, windows that may belong to these applications, and open e-banking browser windows. If none of these are found, it searches for certain desktop email clients, and services including Netflix, Amazon and Facebook. If it finds anything it is looking for, it can steal login credentials, take screenshots, and intercept mouse and keyboard clicks. It can close interesting browser windows, forcing the user to restart the connection and log in again — at which point it can steal the credentials as they are entered

It can also control the PC remotely, clicking keys, mouse clicking and manipulating files — and can download and execute further malware.

The report presents a full history of the development of Guildma over the last four years, with a detailed analysis of its components. “The malware authors have used large amounts of domains, various infection and stealing techniques, and programming languages (Delphi, JS, VBS,..) during Guildma’s long existence,” explain the researchers; “but, on the other hand, they also used the same or very similar code patterns like encryption algorithm and seeds, URL path format, variables or file names. With these patterns, we have been able to track the entire campaign with high accuracy, even if some parts of the malware or modules have been changed.”

Related: Hackers Add Security Software Removal to Banload Banking Malware 

Related: Brazilian Financial Malware Spreads Beyond National Boundaries 

Related: Meet Torii, a Stealthy, Versatile and Highly Persistent IoT Botnet 

Related: Czech Antivirus Targets London’s Biggest Tech Float

Written By

Kevin Townsend is a Senior Contributor at SecurityWeek. He has been writing about high tech issues since before the birth of Microsoft. For the last 15 years he has specialized in information security; and has had many thousands of articles published in dozens of different magazines – from The Times and the Financial Times to current and long-gone computer magazines.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join security experts as they discuss ZTNA’s untapped potential to both reduce cyber risk and empower the business.


Join Microsoft and Finite State for a webinar that will introduce a new strategy for securing the software supply chain.


Expert Insights

Related Content


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Malware & Threats

Threat actors are increasingly abusing Microsoft OneNote documents to deliver malware in both targeted and spray-and-pray campaigns.

Malware & Threats

Unpatched and unprotected VMware ESXi servers worldwide have been targeted in a ransomware attack exploiting a vulnerability patched in 2021.


The recent ransomware attack targeting Rackspace was conducted by a cybercrime group named Play using a new exploitation method, the cloud company revealed this...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Malware & Threats

A vulnerability affecting IBM’s Aspera Faspex file transfer solution, tracked as CVE-2022-47986, has been exploited in attacks.