Stantinko
- Type
- Botnet
- Capabilities
- Credential theftExfiltrationPersistenceDefense evasionReconnaissanceBrute force
- Delivery
- Cracked software
- Platforms
- WindowsLinux
Stantinko is a modular, financially motivated malware ecosystem and botnet active since at least 2012. Primarily affecting Windows systems, it also includes Linux proxy malware deployed on compromised servers. Historical investigations estimated approximately 500,000 infected computers, concentrated in Russia and Ukraine, with additional victims in Belarus and Kazakhstan. Its activities include ad injection, click fraud, social-network fraud, password-stealing attacks, unauthorized cryptocurrency mining, and remote backdoor access.
A documented infection chain uses the FileTour downloader, distributed as pirated software or torrent-like installers, to deploy Adstantinko and subsequently Stantinko services. On Windows, mutually reinforcing persistent services can reinstall one another after removal. Dedicated components download plugins for in-memory execution and install malicious browser extensions, notably The Safe Surfing and Teddy Protection. These extensions masquerade as protective tools while injecting advertisements, replacing search-result links, and redirecting browsing traffic to monetized destinations. Additional modules provide remote administration, reconnaissance, data exfiltration, distributed Google searches, dictionary attacks against Joomla and WordPress administrator accounts, and automated Facebook activity.
Stantinko uses extensive string obfuscation, control-flow flattening, encrypted components, per-infection decryption keys, registry-stored code, and in-memory execution to hinder detection and analysis. Its Monero-mining capability, observed since at least August 2018, uses a heavily modified xmr-stak miner that retrieves mining-proxy configuration from YouTube video descriptions and loads hashing code at runtime. The miner can suspend competing miners and pause its own activity when task-management tools are detected or the computer is running on battery power. Associated Linux components provide proxy infrastructure; earlier variants also support host-information reporting, file receipt, and self-updating.
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.
we have discovered a new version of a Linux proxy trojan related to Stantinko group ... We have identified a new version of this Linux trojan masqueraded as httpd
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
To infect a system, they trick users looking for pirated software into downloading executable files sometimes disguised as torrents.
Persistence
4 techniques
Persistence
Another trick used to avoid detection is to hide the malicious code in the Windows Registry... In this family... the code responsible for the communication with the C&C is encrypted. However, it is stored in the Windows Registry instead of in a different DLL file.
Stantinko’s main functionality is to install malicious browser extensions named The Safe Surfing and Teddy Protection.
After a successful compromise, the victim’s machine has two malicious Windows services installed, which are launched at system startup.
the victim’s machine has two malicious Windows services installed, which are launched at system startup.
Privilege Escalation
2 techniques
Privilege Escalation
After a successful compromise, the victim’s machine has two malicious Windows services installed, which are launched at system startup.
the victim’s machine has two malicious Windows services installed, which are launched at system startup.
Stealth
4 techniques
Stealth
The scripts, written entirely in Python, deal with Stantinko's unique control-flow-flattening (CFF) and string obfuscation techniques
The scripts, written entirely in Python, deal with Stantinko's unique control-flow-flattening (CFF) and string obfuscation techniques
they trick users looking for pirated software into downloading executable files sometimes disguised as torrents.
Each service has the ability to reinstall the other in case one of them is deleted from the system.
Defense Impairment
1 technique
Defense Impairment
Another trick used to avoid detection is to hide the malicious code in the Windows Registry... In this family... the code responsible for the communication with the C&C is encrypted. However, it is stored in the Windows Registry instead of in a different DLL file.
Credential Access
2 techniques
Credential Access
a tool performing brute-force attacks on Joomla and WordPress administrator panels in an attempt to compromise and potentially resell them.
Stantinko [[URL_0d2909ed_36]], which is a botnet performing click fraud, ad injection, social network fraud, password stealing attacks and cryptomining.
Discovery
1 technique
Discovery
Remote Administrator Backdoor that implements a full-range of actions from reconnaissance to data exfiltration.
Collection
1 technique
Collection
when installed by Stantinko, the extensions receive a different configuration containing rules to perform click fraud and ad injection.
Command and Control
1 technique
Command and Control
We’ve seen them being used to send a fully featured backdoor...
Exfiltration
1 technique
Exfiltration
Remote Administrator Backdoor that implements a full-range of actions from reconnaissance to data exfiltration.
Impact
1 technique
Impact
Stantinko ... is a botnet performing click fraud, ad injection, social network fraud, password stealing attacks and cryptomining
Observables
722 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.