T1021 Remote Services
Lateral Movementon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0269 Behavioral Detection Strategy for Remote Service Logins and Post-Access Activity
AN0750 Windows
Logon via RDP or WMI by a user account followed by uncommon command execution, file manipulation, or lateral network connections.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4624, 4648 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0751 Linux
SSH session from new source IP followed by interactive shell or privilege escalation (e.g., sudo, su) and outbound lateral connection.
| MITRE log source | In Microsoft Sentinel |
|---|---|
linux:syslogsshd: Accepted password/publickey | Not mapped to Sentinel yet. |
auditd:SYSCALLexecve, USER_CMD | Not mapped to Sentinel yet. |
AN0752 macOS
Remote login via ARD or SSH followed by screensharingd process activity or modification of TCC-protected files.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogeventMessage CONTAINS 'screensharingd' or 'AuthorizationRefCreate' | Not mapped to Sentinel yet. |
macos:osqueryprocess_events | Not mapped to Sentinel yet. |
AN0753 IaaS
Use of cloud-based bastion or VM console session followed by commands that initiate outbound SSH or RDP sessions from the cloud instance to other environments.
| MITRE log source | In Microsoft Sentinel |
|---|---|
AWS:CloudTrailAWS ConsoleLogin, StartSession | Not mapped to Sentinel yet. |
AWS:VPCFlowLogsOutbound connections to port 22, 3389 | Not mapped to Sentinel yet. |
AN0754 ESXi
vSphere API logins (vimService) or SSH to ESXi host followed by unauthorized shell commands or lateral remote logins from the ESXi host.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:vmkernelvim.fault.*, DCUI login, SSH shell | Not mapped to Sentinel yet. |
esxi:shellCommand execution trace | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (78)
- ApexOne - Inbound remote access connection
- AWS Security Hub - Detect EC2 Security groups allowing unrestricted high-risk ports
- Canary alerts to incidents
- Cisco Cloud Security - Hack Tool User-Agent Detected
- Contrast ADR - DLP SQL Injection Correlation
- CYFIRMA - High Severity Asset based Vulnerabilities Rule Alert
- CYFIRMA - High Severity Attack Surface based Vulnerabilities Rule Alert
- CYFIRMA - High severity File Hash Indicators with Block Action and Malware
- CYFIRMA - Medium Severity Asset based Vulnerabilities Rule Alert
- CYFIRMA - Medium Severity Attack Surface based Vulnerabilities Rule
- CYFIRMA - Medium severity File Hash Indicators with Block Action and Malware
- Darktrace AI Analyst (Legacy)
- Darktrace Incident Event
- Darktrace Model Alert
- Darktrace Model Breach (Legacy)
- Dataverse - TI map IP to DataverseActivity
- DCOM Lateral Movement
- Detecting Macro Invoking ShellBrowserWindow COM Objects
- GCP Security Command Center - Detect Firewall rules allowing unrestricted high-risk ports
- Google SecOps - Detection Alerts
- Google SecOps - Multi-Event Correlated Alert
- Illusive Incidents Analytic Rule
- Lateral Movement via DCOM
- Multiple RDP connections from Single System
- New Sonrai Ticket
How the Content Hub rules for T1021 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
91 SigmaHQ community rules name it or one of its sub-techniques in their tags.
- HackTool - Potential Impacket Lateral Movement Activity
- OMIGOD HTTP No Authentication RCE - CVE-2021-38647
- Remote LSASS Process Access Through Windows Remote Management
- CobaltStrike Service Installations - System
- Potential DCOM InternetExplorer.Application DLL Hijack
- Potential DCOM InternetExplorer.Application DLL Hijack - Image Load
- Turla Group Lateral Movement
- Wmiprvse Wbemcomn DLL Hijack - File
- CobaltStrike Service Installations - Security
- DCOM InternetExplorer.Application Iertutil DLL Hijack - Security
- First Time Seen Remote Named Pipe
- First Time Seen Remote Named Pipe - Zeek
- HackTool - SharpMove Tool Execution
- Hermetic Wiper TG Process Patterns
- Impacket PsExec Execution
- MMC Spawning Windows Shell
- MMC20 Lateral Movement
- Metasploit Or Impacket Service Installation Via SMB PsExec
- Metasploit SMB Authentication
- OpenCanary - FTP Login Attempt
- OpenCanary - SMB File Open Request
- OpenCanary - SNMP OID Request
- OpenCanary - SSH Login Attempt
- OpenCanary - SSH New Connection Attempt
- OpenCanary - VNC Connection Attempt
Mitigations
M1018User Account ManagementM1027Password PoliciesM1032Multi-factor AuthenticationM1035Limit Access to Resource Over NetworkM1042Disable or Remove Feature or ProgramM1047Audit
Sub-techniques
T1021.001Remote Desktop ProtocolT1021.002SMB/Windows Admin SharesT1021.003Distributed Component Object ModelT1021.004SSHT1021.005VNCT1021.006Windows Remote ManagementT1021.007Cloud ServicesT1021.008Direct Cloud VM Connections
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.