HyperStack
- Type
- Backdoor
- Capabilities
- PersistenceLateral movementReconnaissanceDefense evasionPost exploitation
- Platforms
- Windows
HyperStack is a custom Windows backdoor used by Turla for remote command execution and lateral movement within compromised networks. First observed in 2018, it was deployed alongside Carbon and Kazuar during an espionage intrusion against a European government organization investigated in 2020.
HyperStack uses named pipes to carry remote procedure calls between a controller and infected systems. It attempts connections to remote Windows interprocess communication shares using null sessions or default credentials and can enumerate account names on remote systems. Successful connections allow it to forward RPC commands to remote devices. A simpler variant supports command execution through a named pipe without remote-share enumeration.
HyperStack establishes persistence by installing itself as a Windows service running with system-level privileges. It modifies registry settings and named-pipe permissions to permit anonymous access to its communication pipe and relax restrictions on anonymous account and shared-resource enumeration. It also uses RSA cryptography to protect command-and-control communications, including session-key encryption. These capabilities support continued access and movement through Windows networks after compromise.
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.
Turla uses HyperStack, Carbon, and Kazuar to compromise government entity.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
[HyperStack](https://attack.mitre.org/software/S0537) can use default credentials to connect to IPC$ shares on remote machines.(Citation: Accenture HyperStack October 2020)
Execution
4 techniques
Execution
MITRE ATT&CK techniques Tactic Technique ID Technique name Execution T1059 ... Command-line Interface
[HyperStack](https://attack.mitre.org/software/S0537) can use Windows API's <code>ConnectNamedPipe</code> and <code>WNetAddConnection2</code> to detect incoming connections and connect to remote shares.(Citation: Accenture HyperStack October 2020)
[HyperStack](https://attack.mitre.org/software/S0537) can connect to the IPC$ share on remote machines.(Citation: Accenture HyperStack October 2020)
MITRE ATT&CK techniques Tactic Technique ID Technique name Execution T1059 T1569 Command-line Interface Service Execution
Persistence
3 techniques
Persistence
[HyperStack](https://attack.mitre.org/software/S0537) can use default credentials to connect to IPC$ shares on remote machines.(Citation: Accenture HyperStack October 2020)
[HyperStack](https://attack.mitre.org/software/S0537) can add the name of its communication pipe to <code>HKLM\SYSTEM\\CurrentControlSet\\Services\\lanmanserver\\parameters\NullSessionPipes</code>.(Citation: Accenture HyperStack October 2020)
The HyperStack backdoor first copies itself to C:\ADSchemeIntegrity.exe and then installs itself with system-level privileges as the service Active Directory Scheme Integrity Service.
Privilege Escalation
2 techniques
Privilege Escalation
[HyperStack](https://attack.mitre.org/software/S0537) can use default credentials to connect to IPC$ shares on remote machines.(Citation: Accenture HyperStack October 2020)
The HyperStack backdoor first copies itself to C:\ADSchemeIntegrity.exe and then installs itself with system-level privileges as the service Active Directory Scheme Integrity Service.
Stealth
1 technique
Stealth
[HyperStack](https://attack.mitre.org/software/S0537) can use default credentials to connect to IPC$ shares on remote machines.(Citation: Accenture HyperStack October 2020)
Defense Impairment
1 technique
Defense Impairment
[HyperStack](https://attack.mitre.org/software/S0537) can add the name of its communication pipe to <code>HKLM\SYSTEM\\CurrentControlSet\\Services\\lanmanserver\\parameters\NullSessionPipes</code>.(Citation: Accenture HyperStack October 2020)
Discovery
4 techniques
Discovery
MITRE ATT&CK techniques ... Discovery ... T1012 Query Registry ... Upon execution, HyperStack undergoes a similar registry key check ... and updates the same registry key to determine which named pipes can be accessed anonymously.
“actors used the following commands… to enumerate user accounts: net user >> %temp%\download; net user /domain >> %temp%\download … APT1 used the commands net localgroup, net user, and net group to find accounts… APT32 enumerated administrative users using the commands net localgroup administrators … OilRig has run net user, net user /domain, net group "domain admins" /domain …”
[HyperStack](https://attack.mitre.org/software/S0537) can enumerate all account names on a remote share.(Citation: Accenture HyperStack October 2020)
MITRE ATT&CK techniques ... Discovery T1135 ... Network Share Discovery ... HyperStack sets the registry key ... Restrict Anonymous value to 0 so anonymous logon users can list all account names and enumerate all shared resources on a remote share.
Lateral Movement
2 techniques
Lateral Movement
MITRE ATT&CK techniques ... Lateral Movement T1021 Windows Admin Shares ... To move laterally, the implant tries to connect to another remote device’s IPC$ share, either using a null session or default credentials.
"HermeticWizard can connect to remote shares using WNetAddConnection2W"; "HyperStack ... WNetAddConnection2 to ... connect to remote shares"
Command and Control
7 techniques
Command and Control
MITRE ATT&CK techniques ... Command and Control ... T1001 Data Obfuscation ... When accessing the Pastebin URL, an encrypted blob is downloaded that requires a corresponding RSA private key from the configuration file.
Accenture researchers recently identified novel command and control (C&C) configurations for Turla’s Carbon and Kazuar backdoors on the same victim network.
attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors including HyperStack
To compromise the organization's network, the attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors including HyperStack
the attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[HyperStack](https://attack.mitre.org/software/S0537) has used RSA encryption for C2 communications.(Citation: Accenture HyperStack October 2020)
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.