TMPN Stealer
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.
Skuld, also known as TMPN Stealer, is an information-stealing malware written in Golang (Go) that emerged in May 2023.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Persistence
4 techniques
Persistence
it opens a " AppData\Roaming\DiscordTokenProtector\config.json " file and changes the next values...
This function sets the malware path to the fodhelper.exe utility registry key: HKCU\\Software\\Classes\\ms-settings\\shell\\open\\command\\DelegateExecute
It adds a registry key to ‘Software\Microsoft\Windows\CurrentVersion\Run’ to persist on the victim's systems.
This script will set up hooks and intercept such data as login, register and 2FA requests... Discord has a mechanism... The file ‘discord_backup_codes.txt’ contains codes that can be used in such situations.
Privilege Escalation
2 techniques
Privilege Escalation
This function sets the malware path to the fodhelper.exe utility registry key: HKCU\\Software\\Classes\\ms-settings\\shell\\open\\command\\DelegateExecute
It adds a registry key to ‘Software\Microsoft\Windows\CurrentVersion\Run’ to persist on the victim's systems.
Stealth
5 techniques
Stealth
The old process then will clear the Fodhelper registry key and terminate.
"%s\\Windows Defender\\MpCmdRun.exe", os.Getenv("ProgramFiles")), "-RemoveDefinitions", "-All
Skuld checks if the sample is running on a Virtual Machine. To do this it checks the hostname, username, MAC address, IP address and HWID... If any string matches, it will terminate execution.
To hide itself from user eyes, Skuld uses an ‘ attrib +h +s ’ command, which will give sample ‘ hidden ’ and ‘system ’ attributes.
Next, it checks if any debugger is attached to the process.
Defense Impairment
3 techniques
Defense Impairment
it opens a " AppData\Roaming\DiscordTokenProtector\config.json " file and changes the next values...
This script will set up hooks and intercept such data as login, register and 2FA requests... Discord has a mechanism... The file ‘discord_backup_codes.txt’ contains codes that can be used in such situations.
Finally, it tries to evade antivirus software. Here, it excludes its own path from Microsoft Windows Defender scanning and uses PowerShell commands to disable it
Credential Access
5 techniques
Credential Access
This script will set up hooks and intercept such data as login, register and 2FA requests, PayPal credits and email / password changes.
Functions that extract data, such as logins, cookies, credit cards, downloads and history, are the same for all browsers.
Functions that extract data, such as logins, cookies, credit cards, downloads and history, are the same for all browsers.
This script will set up hooks and intercept such data as login, register and 2FA requests... Discord has a mechanism... The file ‘discord_backup_codes.txt’ contains codes that can be used in such situations.
To get Discord tokens, Skuld again checks browsers and searches particular strings in their databases. Then, results are passed to the function that will interact with the Discord API and check if the found tokens are valid.
Discovery
3 techniques
Discovery
Skuld starts obtaining system information... CPU, disks, GPU, Network, OS, Windows license keys, RAM and others.
Skuld checks if the sample is running on a Virtual Machine. To do this it checks the hostname, username, MAC address, IP address and HWID... If any string matches, it will terminate execution.
Next, it checks if any debugger is attached to the process.
Collection
4 techniques
Collection
Common files This function will search for files with particular keywords in their names and extensions... the file will be copied to the new folder... archived with a password... uploaded to the server
This script will set up hooks and intercept such data as login, register and 2FA requests, PayPal credits and email / password changes.
It uses multiple regex values to filter clipboard data... if there is a match, it will replace this data with its own cryptocurrency wallet address.
This folder will then be archived with a password, which contains 16 random symbols. The archive will be uploaded to the server
Command and Control
1 technique
Command and Control
Next, it downloads the file ‘injection.js’ from Skuld Github. The file name will be changed to ‘coreinedex.js’ and written to the previously found Discord path.
Exfiltration
1 technique
Exfiltration
The first one is ‘webhook’, and the second one contains the URL... This refers to Discord webhooks... When any info is captured, it will send the result in JSON format to the server.
Observables
8 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.