Loki.Rat
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.
The task executes the AdobeReaderUpdate script, a customized version of the open-source Loki.Rat which has been used by the El Machete APT group in an ongoing campaign since 2020.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
El Machete was spotted sending spear-phishing emails to financial organizations in Nicaragua, with an attached Word document titled “Dark plans of the neo-Nazi regime in Ukraine.”
Execution
4 techniques
Execution
The malware sets up persistence via a scheduled task that runs every 5 minutes, pretending to be an update task for Adobe Reader named UpdateAdobeReader.
the backdoor supports commands that allow it to download/upload files and execute shell commands.
The malicious macro inside the document drops a base64-encoded file named ~djXsfwEFYETE.txt, uses the built-in certutil.exe to decode it to ~djXsfwEFYETE.vbe, an encoded VBScript file. The macro then launches the wscript.exe to execute the .vbe file
Many of these lure documents utilize malicious macros or template injection to gain an initial foothold into the targeted organizations
Persistence
1 technique
Persistence
The malware sets up persistence via a scheduled task that runs every 5 minutes, pretending to be an update task for Adobe Reader named UpdateAdobeReader.
Privilege Escalation
1 technique
Privilege Escalation
The malware sets up persistence via a scheduled task that runs every 5 minutes, pretending to be an update task for Adobe Reader named UpdateAdobeReader.
Stealth
3 techniques
Stealth
Each of the Python script files is obfuscated using base64 encoding... The malicious Office document executes a macro code when the document is closed. The macro deobfuscates an executable embedded in the document
which masquerades itself as Adobe software... The Python executables are disguised as JavaHosts.exe, JavaExt.exe and JavaAdd.exe
which is set as hidden to make sure users do not see it when they open the ProgramData folder in File Explorer.
Credential Access
2 techniques
Credential Access
Malware capabilities include: Keylogging – The keylogger runs as a separate process and script
Collect credentials stored in Chrome and Firefox browsers.
Discovery
1 technique
Discovery
Collect information about the files on each drive – collect file names and file sizes for all the files with the extensions from the list
Collection
3 techniques
Collection
Malware capabilities include: Keylogging – The keylogger runs as a separate process and script
Take screenshots... Screenshot ( LIST module) – The module saves screenshots
Collect clipboard data... Clipboard stealer ( SCAN module) – Posts the data directly to the C&C server
Command and Control
2 techniques
Command and Control
The data is submitted to the C&C server in a somewhat obfuscated but consistent JSON format... Stage 1 – Connectivity check... sends an empty HTTP POST request to the URI /GO/1.php of the C&C server.
whose primary objective is to execute msiexec.exe with a remotely hosted .msi file titled Adobe.msi... If deemed worthwhile, the actors execute a command to download and install another malware, JavaOracle.msi
Exfiltration
1 technique
Exfiltration
BOX module – This iterates over files in the system and uploads files of interest... Screenshot... uploads the screenshot to the C&C server
Observables
24 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.