T1021.004 - SSH
Sub-technique
Tactics:
Lateral Movement
Lateral Movement
Platforms:
ESXi Linux macOS
ESXi Linux macOS
Detection:
Not specified
Not specified
Description:
Adversaries may use [Valid Accounts](https://attack.mitre.org/techniques/T1078) to log into remote machines using Secure Shell (SSH). The adversary may then perform actions as the logged-on user.
SSH is a protocol that allows authorized users to open remote shells on other computers. Many Linux and macOS versions come with SSH installed by default, although typically disabled until the user enables it. On ESXi, SSH can be enabled either directly on the host (e.g., via `vim-cmd hostsvc/enable_ssh`) or via vCenter.(Citation: Sygnia ESXi Ransomware 2025)(Citation: TrendMicro ESXI Ransomware)(Citation: Sygnia Abyss Locker 2025) The SSH server can be configured to use standard password authentication or public-private keypairs in lieu of or in addition to a password. In this authentication scenario, the user’s public key must be in a special file on the computer running the server that lists which keypairs are allowed to login as that user (i.e., [SSH Authorized Keys](https://attack.mitre.org/techniques/T1098/004)).
SSH is a protocol that allows authorized users to open remote shells on other computers. Many Linux and macOS versions come with SSH installed by default, although typically disabled until the user enables it. On ESXi, SSH can be enabled either directly on the host (e.g., via `vim-cmd hostsvc/enable_ssh`) or via vCenter.(Citation: Sygnia ESXi Ransomware 2025)(Citation: TrendMicro ESXI Ransomware)(Citation: Sygnia Abyss Locker 2025) The SSH server can be configured to use standard password authentication or public-private keypairs in lieu of or in addition to a password. In this authentication scenario, the user’s public key must be in a special file on the computer running the server that lists which keypairs are allowed to login as that user (i.e., [SSH Authorized Keys](https://attack.mitre.org/techniques/T1098/004)).
Used by Actors (19)
FIN7
Criminal
Criminal
Lazarus Group
Nation-state
Nation-state
GCMAN
Unknown
Unknown
OilRig
Nation-state
Nation-state
APT5
Unknown
Unknown
INDRIK SPIDER
Unknown
Unknown
APT39
Unknown
Unknown
BlackTech
Unknown
Unknown
Rocke
Unknown
Unknown
Fox Kitten
Unknown
Unknown
TeamTNT
Unknown
Unknown
FIN13
Unknown
Unknown
Scattered Spider
Unknown
Unknown
UNC3886
Unknown
Unknown
Aquatic Panda
Unknown
Unknown
Leviathan
Unknown
Unknown
Storm-1811
Unknown
Unknown
menuPass
Unknown
Unknown
Salt Typhoon
Unknown
Unknown
Malware (4)
Metadata
| MITRE ID: | T1021.004 |
| STIX ID: | attack-pattern--2db31dcd-54da-... |
| Platforms: | ESXi, Linux, macOS |
| Created: | 13/01/2026 17:48 |
| Updated: | 06/03/2026 16:00 |