Amadey Bot
- Type
- Loader
- Capabilities
- Credential theftExfiltrationPersistenceReconnaissanceDefense evasion
- Delivery
- PhishingLure
- Platforms
- Windows
Amadey Bot is a Windows malware loader with information-stealing capabilities, first discovered in 2018 and sold on underground forums. It collects host information, communicates with command-and-control infrastructure, and downloads and executes additional malware in response to operator commands. It has been used to deliver LockBit ransomware, FlawedAmmyy, and Lumma Stealer.
Amadey commonly copies itself into a temporary directory and establishes persistence through scheduled tasks. Analyzed samples use mutexes to prevent duplicate execution, check their execution location, enumerate installed security products, and transmit host details through HTTP POST requests. Packing and obfuscated strings complicate analysis. Its information-stealing functionality includes credential harvesting.
Distribution methods include phishing, malicious Word documents that retrieve external templates containing VBA macros, and executables disguised as documents or legitimate applications. Document-based infection chains have used malicious shortcuts and PowerShell to download and launch Amadey. Observed campaigns have targeted companies in South Korea using job-application and copyright-themed lures, while campaigns involving Amadey and Lumma Stealer have targeted manufacturing organizations.
Amadey is used by multiple threat actors rather than a single operator. TA505 has used it to install FlawedAmmyy, and GandCrab-associated attackers have used it for ransomware delivery. Separately, Secret Blizzard has commandeered existing Amadey infections to deploy a custom reconnaissance tool and identify devices of intelligence interest.
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.
Secret Blizzard has done this by commandeering third-party infections, like the multipurpose Amadey bots, to download a custom reconnaissance tool.
The ASEC analysis team has confirmed that attackers are using Amadey Bot to install LockBit. Amadey Bot, a malware that was first discovered in 2018, is capable of stealing information and installing additional malware by receiving commands from the attacker.
Techniques & procedures
27 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Threat actors often re-use the same hosting providers when deploying multiple servers for malicious purposes.
Initial Access
2 techniques
Initial Access
malware disguised as a KakaoTalk installation file (KakaoTalkUpdate.zip etc.) is being distributed via email.
The e-mail used in the attack has not been confirmed yet, but the file was run as “Resume.exe.” It was also disguised as an innocuous Word file icon and created by a compression program. Judging from its characteristics above, it appears that Amadey was installed via an e-mail attachment.
Execution
6 techniques
Execution
Amadey that is run through the process above copies itself into the Temp directory, registers to the task scheduler and allows it to run even after a reboot.
The LNK file is a downloader that runs powershell command to download and run Amadey.
before executing the following command. cmd.exe /c rundll32.exe “C:\users\public\srms.dat” Run cmd.exe /C timeout /t 5 /nobreak & Del /f /q “C:\Users\[Username]\Desktop\kakaotalk_update.exe”
As an external Word file, it downloads a Word file that contains a malicious VBA macro from the following URL when run.
The LNK file is created in the “C:\Users\Public\skeml.lnk” pathway and is executed via the following command. > rundll32 url.dll,OpenURL C:\Users\Public\skeml.lnk
The text body contains an image that prompts the user to click “Enable Content” to enable the VBA macro. When the user clicks “Enable Content,” the downloaded VBA macro (the one that installs the malicious LNK file) is executed.
Persistence
1 technique
Persistence
Amadey that is run through the process above copies itself into the Temp directory, registers to the task scheduler and allows it to run even after a reboot.
Privilege Escalation
2 techniques
Privilege Escalation
Amadey that is run through the process above copies itself into the Temp directory, registers to the task scheduler and allows it to run even after a reboot.
Upon initial execution of the kakaotalk_update.exe malware which is seen to have been attached to emails, it runs recursion on the process and injects itself into the process.
Stealth
9 techniques
Stealth
This revealed a very area of high entropy within the file. This is a strong indication that the file is a packed loader and not the final payload.
This malware has the same filename and icon as the actual messenger program, which prompts ordinary users to launch it.
Upon initial execution of the kakaotalk_update.exe malware which is seen to have been attached to emails, it runs recursion on the process and injects itself into the process.
cmd.exe /C timeout /t 5 /nobreak & Del /f /q “C:\Users\[Username]\Desktop\kakaotalk_update.exe” ... then deletes itself.
We decided to investigate the string decryption using X32dbg... Eventually, the constant breakpoint + execute until the return combination got tiring... This revealed some c2 information.
cmd.exe /c rundll32.exe “C:\users\public\srms.dat” Run ... Afterward, using rundll32.exe, it creates and runs the AmadeyBot with the filename “tapi32.dll”
At a location of 003e9870 - was a function responsible for checking the location of the current running file. If the location did not match C:\users\<user>\appdata\local\temp\595f021478\oneetx.exe - then the malware would terminate... If the mutex creation returned a value of 0xb7 (Already Exists) - then the malware would terminate itself.
In the original post on Amadey bot, conditional breakpoints were used to extract decrypted strings and obtain the address of a command and control (C2) server.
After the directory check is performed - the malware enters FUN_003e7b70 attempts to create a mutex with a value of 006700e5a2ab05704bbb0c589b88924d
Discovery
7 techniques
Discovery
Eventually, it eventually returned a value of Startup... Hitting again revealed a registry path of SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
Practical queries for identifying malware infrastructure with FOFA.
the executed Amadey Bot transmits information from the user PC including the infected system’s ID, Amadey version, admin privilege status, architecture, Windows version, PC name, and username to the C2 server.
downloads a zip file with additional compressed malware to a shared folder path
At a location of 003e9870 - was a function responsible for checking the location of the current running file. If the location did not match C:\users\<user>\appdata\local\temp\595f021478\oneetx.exe - then the malware would terminate... If the mutex creation returned a value of 0xb7 (Already Exists) - then the malware would terminate itself.
Eventually - The names of some security products was also observed. Likely the malware was scanning for the presence of these tools.
After the directory check is performed - the malware enters FUN_003e7b70 attempts to create a mutex with a value of 006700e5a2ab05704bbb0c589b88924d
Collection
1 technique
Collection
downloads a zip file with additional compressed malware to a shared folder path
Command and Control
3 techniques
Command and Control
In the original post on Amadey bot, conditional breakpoints were used to extract decrypted strings and obtain the address of a command and control (C2) server.
This revealed some c2 information... '/plays/chapter/index.php' ... 'https://' ... 'http://' ... 'POST'
The injected process connects to the C2 server and downloads a zip file with additional compressed malware to a shared folder path
Observables
38 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.