TRITON
- Type
- Trojan
- Capabilities
- ReconnaissanceScanningPrivilege escalationDefense evasionPost exploitation
- Delivery
- Lure
- Platforms
- Windows
TRITON, also known as TRISIS and HatMan, is industrial-control-system malware designed to compromise Schneider Electric Triconex Tricon safety instrumented systems. Associated with the threat group XENOTIME, it was deployed in the 2017 attack against a Saudi Arabian petrochemical facility. The attackers executed the malware on a Windows-based engineering workstation to communicate with and reprogram safety controllers. The attack targeted systems responsible for bringing industrial processes to a safe state; the affected installation shut down safely, with no reported harm to people or the environment.
TRITON uses the proprietary TriStation protocol to discover controllers and issue commands. Its TsLow Python module probes controllers as part of its reconnaissance functionality. The malware can modify controller programs and memory, undermining safety functions and enabling unauthorized control. It targets memory-handling vulnerabilities CVE-2018-8872 and CVE-2018-7522 in Tricon MP Model 3008 firmware versions 10.0–10.4, enabling arbitrary memory modification and supervisor-level access. It also attempts to write a dummy program into controller memory if a controller reset fails, providing an evasion mechanism.
Successful payload deployment requires unrestricted access to the safety network and the controller's physical key switch to be in PROGRAM mode. TRITON is therefore a specialized post-compromise tool for manipulating industrial safety systems, rather than a demonstrated initial-access mechanism. Its documented operational use concerned petrochemical infrastructure.
Associated vulnerabilities
3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Xenotime is the group behind the Triton attack against oil and gas facilities in the Middle East in 2017. The attackers deployed Triton on a Windows-based workstation to reprogram the controllers.
TRITON malware (also known as TRISIS and HatMan) was used against a Middle East–based petrochemical facility’s safety controllers. TRITON malware was designed to target a specific SIS controller model... used in critical infrastructure facilities to initiate immediate shutdown procedures in the event of an emergency.
For example, industrial attack techniques employed by Triton and Industroyer were used by actors ranging from FIN11 to FIN6 during ransomware deployment, extortion and other activities.
For example, industrial attack techniques employed by Triton and Industroyer were used by actors ranging from FIN11 to FIN6 during ransomware deployment, extortion and other activities.
Another key finding in the leak is confirmation of the existence of another delivery vector called 'Triton', which can target devices with Samsung Exynos with baseband exploits, forcing 2G downgrades to lay the ground for infection.
"Once on the SIS network, the attacker used their pre-built TRITON attack framework to interact with the SIS controllers using the TriStation protocol."
Techniques & procedures
42 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
In 2019, the attackers behind the Triton malware were also reported to be scanning and probing at least 20 electric utilities in the United States for vulnerabilities.
Resource Development
2 techniques
Resource Development
Using the intelligence collected about the control system’s design, a cyber actor may procure systems that are similar to the target and configure them as mock-up versions for practice purposes.
Russian state-sponsored APT actors have developed and deployed malware, including ICS-focused destructive malware.
Initial Access
5 techniques
Initial Access
Perimeter VPN compromise for initial access to target network
The attack began with penetration of the IT network using well-documented [9], easily-detected attack methods.
A package called torchtriton was uploaded to the PyPI repository with the exact same name as a package shipped on the PyTorch nightly package index. The attacker took advantage of pip’s behavior, which prioritizes packages listed on PyPI over other available versions when using the extra-index-url argument.
The HatMan malware requires unrestricted access to the safety network via remote network or physical access.
The infection probably used a social engineering technique whereby the engineer received or downloaded a file with a legitimate file name, in this case “trilog.exe”.
Execution
4 techniques
Execution
The dropper was developed in Python and compiled inside the trilog.exe executable.
Soon after the execution, the dropper connected to the targeted Triconex, injecting the real malware payload inside its memory.
Successful exploitation of these vulnerabilities could misinform or control the safety instrumented system which could result in arbitrary code execution, system shutdown, or the compromise of safety systems.
1. 攻撃コード実行と同期失敗 / 三重化冗長コントローラー ... 3つのプロセッサ間で処理結果に不一致が発生。
Persistence
6 techniques
Persistence
reg add " ... HKLM\ ... Software\Microsoft\Windows\CurrentVersion\Policies\System ... " /v EnableLUA /t REG_DWORD /d 0 /f
Perimeter VPN compromise for initial access to target network
Component Firmware (T1542.002, Persistence/Defense Evasion) : модификация прошивки контроллера - наиболее серьёзный сценарий, реализованный в атаке TRITON/TRISIS группировкой XENOTIME
SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Aleksandr Matrosov know better than me this threat go have a look his article: http://blog.eset.com/2012/12/19/win32spy-ranbyus-modifying-java-code-in-rbs
Privilege Escalation
4 techniques
Privilege Escalation
One of the actions taken by the dropper was to read, inject and execute these files into the memory of the Triconex.
imain.bin contained the final code that allows a remote user to gain full control of the SIS device.
SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Stealth
6 techniques
Stealth
Existing vulnerabilities in industrial equipment often allow threat groups to install persistent rootkits... Siemens disclosed a vulnerability in its PLC... may overwrite core PLC functions with a rootkit.
"Action RAT's commands, strings, and domains can be Base64 encoded within the payload." / "ADVSTORESHELL... strings... encrypted with an XOR-based algorithm; some strings are also encrypted with 3DES and reversed." / "APT29 has used encoded PowerShell commands." / "APT41 used VMProtected binaries..."
actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.
One of the actions taken by the dropper was to read, inject and execute these files into the memory of the Triconex.
ComSpec ... /c del --%s--
Component Firmware (T1542.002, Persistence/Defense Evasion) : модификация прошивки контроллера - наиболее серьёзный сценарий, реализованный в атаке TRITON/TRISIS группировкой XENOTIME
Defense Impairment
2 techniques
Defense Impairment
reg add " ... HKLM\ ... Software\Microsoft\Windows\CurrentVersion\Policies\System ... " /v EnableLUA /t REG_DWORD /d 0 /f
Aleksandr Matrosov know better than me this threat go have a look his article: http://blog.eset.com/2012/12/19/win32spy-ranbyus-modifying-java-code-in-rbs
Credential Access
2 techniques
Credential Access
Decoded strings (some, not everything): ... [VK_END] ... Password: ... username=.*&password=.* ... auth-attr-\d+-param1=(.*)&auth-attr-\d+-param2=([^&]*)
Aleksandr Matrosov know better than me this threat go have a look his article: http://blog.eset.com/2012/12/19/win32spy-ranbyus-modifying-java-code-in-rbs
Discovery
4 techniques
Discovery
The malicious binary appears to be designed to collect information from target systems, including ... nameservers from /etc/resolv.conf.
The malicious binary appears to be designed to collect information from target systems, including ... hostname from gethostname(). | The malicious binary appears to be designed to collect information from target systems, including ... current username from getlogin().
The malicious binary appears to be designed to collect information from target systems, including ... environment variables.
The malicious binary appears to be designed to collect information from target systems, including ... current working directory name from getcwd().
Lateral Movement
2 techniques
Lateral Movement
TRITON malware’s design gave the attackers complete remote control of the SIS, providing them the capability to cause significant physical damage and loss of life if the plant were to enter an unsafe state. | In the 2017 attack, the actor gained initial access and then moved laterally through the information technology (IT) and operational technology (OT) networks onto the safety system and installed TRITON malware.
The attackers moved to the OT (Operational Technology) network through systems that were accessible to both environments.
Collection
5 techniques
Collection
Additionally, it copies information from the following files: /etc/hosts, /etc/passwd, $HOME/*, $HOME/.gitconfig, $HOME/.ssh/.
Decoded strings (some, not everything): ... [VK_END] ... Password: ... username=.*&password=.* ... auth-attr-\d+-param1=(.*)&auth-attr-\d+-param2=([^&]*)
&scrn=1 ... Statistics: Active bots with smartcard: Screenshots (SR): ... A screenshot took by the bot
After the August 2017 cyberattack, the actors again obtained unauthorized access to a file server to collect information on how the facility responded to the incident.
&files=1 ... Filelist (FL): File (F): Keys (K): ... logs
Command and Control
3 techniques
Command and Control
It contains the implementation of the TriStation protocol reverse-engineered by the threat actors and used to interact with the targeted device.
The malware then uploads all this information, including file contents, via DNS tunneling to the domain .h4ck[.]cfd using the DNS server wheezy[.]io.
The main purpose of the dropper file was to deliver the malicious payload into the target, in this case the SIS controller.
Exfiltration
1 technique
Exfiltration
Content-type: multipart/form-data, boundary=%s ... Content-Disposition: form-data; name="data"; filename="1" ... %s?id=%s&session=%u&v=%u&name=%s ... http://e71koapi.org/lc5dx/index.php ... http://pulden376-seven3.in/doEst71beG/index.php
Impact
4 techniques
Impact
Cyberattacks on operational technology (OT) systems have shifted from data theft and ransom demands toward outright physical destruction.
SeShutdownPrivilege
7. Impact - Data Destruction ( T1485 ) / Data Manipulation ( T1565 ) ... Изменение уставок регулятора (FC16 на нужные регистры Modbus), останов ПЛК, манипуляция показаниями датчиков.
атакующий, получивший доступ к инженерной станции, может модифицировать логику PLC так, что оператор на HMI не увидит изменений - значения на экране будут подменяться (техника Transmitted Data Manipulation, T1565.002, Impact). Именно так работал TRITON
Observables
49 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
97 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.