Loki Bot
- Type
- Infostealer
- Capabilities
- Credential theftExfiltrationPersistenceDefense evasion
- Delivery
- PhishingMalspamLanding pageLure
- Platforms
- Windows
Loki Bot is a long-running Windows credential-stealing malware family widely known for harvesting passwords and other sensitive data from infected systems. It is commonly characterized as an infostealer and has been advertised in criminal forums as a password and cryptocurrency-wallet stealer. Its collection scope includes credentials and data from web browsers, messaging applications, email clients, FTP clients, password managers, cryptocurrency wallets, and numerous other desktop applications. Reported variants have also stolen configuration data from Microsoft Outlook and files associated with note-taking applications such as Stickies.
Loki Bot is typically delivered through phishing and malspam campaigns using social-engineering lures such as invoices, payment notices, fake notifications, orders, and commercial offers. Observed delivery mechanisms include malicious PDF lures that direct victims to download an executable, ISO attachments sent to corporate mailboxes, and exploit-document campaigns in which builder kits such as ThreadKit distribute Loki Bot through Microsoft Office vulnerabilities. The malware has also appeared as a payload concealed by .NET packers such as Hectobmp, reflecting its use in broader crimeware distribution ecosystems.
Once executed, Loki Bot variants have been observed establishing persistence by copying themselves into user-profile locations and creating startup-launched scripts. Some samples employ runtime API resolution and other anti-analysis measures to hinder reverse engineering. After collecting host information and stolen credentials or files, Loki Bot exfiltrates the data to operator-controlled infrastructure, commonly via HTTP POST, with some observed traffic using compression. The malware has been used extensively in financially motivated campaigns and has frequently targeted business users and corporate environments because of the value of harvested authentication material and related sensitive information.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
The perpetrators have used phishing and malicious spam, including forged business emails, in their pursuit of confidential corporate information
The messages discovered so far contain an attachment with an .iso extension that Kaspersky Lab solutions detect as Loki Bot.
Execution
1 technique
Execution
if you want to access the contents of the file, all you need to do is double-click. Malicious spam uses this type of file as a container for delivering malware
Persistence
1 technique
Persistence
The VBS file is added into the system Start Menu so it can automatically run whenever the system starts.
Privilege Escalation
1 technique
Privilege Escalation
The VBS file is added into the system Start Menu so it can automatically run whenever the system starts.
Stealth
2 techniques
Stealth
All the APIs being called in this malware are hidden, which will be restored before calling. This increases the difficulty for researchers to analyze it.
When this malware is executed the very first time, it copies itself to “%AppData%\subfolder”, and renames it as “citrio.exe” in my test enviroment.
Credential Access
5 techniques
Credential Access
Loki-Bot is advertised as a Password and CryptoCoin Wallet Stealer on several hacker forums
The author of the malware has written a number of functions for stealing credentials from a victim’s machine.
Browser software: Mozilla Firefox, IceDragon, Safari, K-Meleon, Mozilla SeaMonkey, Mozilla Flock, NETGATE Black Hawk, Lunascape, Comodo Dragon, Opera Next, QtWeb, QupZilla, Internet Explorer, Opera, 8pecxstudios, Mozilla Pale Moon, Mozilla Waterfox.
Password manager software: mSecure, KeePass, EnPass, RoboForm, 1Password.
The malware’s key objective is to steal passwords from browsers, messaging applications, mail and FTP clients, and cryptocurrency wallets.
Discovery
2 techniques
Discovery
The malware is able to read them from here by calling the API “SHQueryValueExW”.
It also collects system information from the victim’s machine, such as computer name, user name, processor property, etc.
Collection
4 techniques
Collection
The malware steals png and rtf files from the sub-folders “\stickies\images” and “\stickies\rtf” in several system directories, such as %AppData%, %UserProfile%.
Loki-Bot is advertised as a Password and CryptoCoin Wallet Stealer on several hacker forums
To do this, It goes through three sub-keys (for three different versions) in the system registry to get saved email accounts, email addresses, username, password, SMTP, POP3, IMAP related information, and so on.
And the data is delivered in a kind of compression format.
Command and Control
2 techniques
Command and Control
"Some of the packets contain data being exfiltrated that is compressed with aPLib. The script will decompress that data"
"Destination Port" : 80 ... "HTTP Method" : " POST " ... "HTTP URI" : " /danielsden/ver.php "
Exfiltration
2 techniques
Exfiltration
After all collected information is ready, it sends them to its C&C server using a HTTP POST request, the body of which is the data stolen from the victim’s machine.
"Traffic Purpose" : " Exfiltrate Application/Credential Data " ... "Destination Port" : 80 ... "HTTP Method" : " POST " ... "HTTP URI" : " /danielsden/ver.php "
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.