After initial access, attackers pivot with SMB, WMI, RDP and remote service execution — often via Impacket (wmiexec/psexec/smbexec) and pass-the-hash. This pack lists the Windows events and behaviours that reveal it. Lateral movement uses valid credentials, so detection is behavioural: unusual source-to-destination admin access, remote execution, and credential reuse.
Signals at a Glance
| Technique | Primary signal | ATT&CK |
|---|---|---|
| PsExec-style | Service install (Event 7045 / 4697); binary written to ADMIN$ | T1569.002 |
| wmiexec | Remote WMI process create; output file in ADMIN$ with epoch name | T1047 |
| Remote logon | Event 4624 type 3 (network) / type 10 (RDP) from unusual source | T1021 |
| Explicit credentials | Event 4648 (runas/explicit cred) from a workstation | T1021.002 |
| Pass-the-hash/ticket | NTLM logon with anomalous auth package; forged-ticket anomalies | T1550 |
Remote Execution
The clearest signals are a service appearing on a target (PsExec) and a remote WMI process create (wmiexec). Alert on service installs with random or odd names and on wmiprvse.exe spawning cmd.exe/powershell.exe:
title: Potential wmiexec Remote Execution
logsource:
category: process_creation
product: windows
detection:
selection:
ParentImage|endswith: '\WmiPrvSE.exe'
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
cmd:
CommandLine|contains: '\127.0.0.1\ADMIN$' # output redirect artifact
condition: selection and cmd
level: high
Access Patterns
- Build a baseline of which hosts legitimately perform admin logons to which, then alert on new source-to-destination admin access (4624 type 3 with privileged accounts) and on a workstation using explicit credentials (4648) to reach servers.
- Hunt for the Impacket wmiexec output artifact — a file in the target’s ADMIN$ named with an epoch timestamp — and for RDP (type 10) from hosts that do not normally initiate it.
- Detect pass-the-hash by correlating NTLM network logons with accounts that should use Kerberos, and watch LSASS access for credential theft that precedes reuse.
SigmaHQ ships the “Impacket Lateral Movement” and PsExec service rules; the MITRE CAR and Elastic cover remote-execution and lateral-movement analytics.
Catch Attackers Moving Sideways
Mjolnir Security helps organisations detect lateral movement before it reaches crown-jewel systems.
- Detection Engineering Building lateral-movement detections from Windows telemetry.
- Managed Detection and Response Monitoring for remote execution and credential reuse.
- 24/7 Incident Response Containment when lateral movement is detected. Call +1 833 403 5875.
Stay ahead of emerging threats. Get notified when we publish new intelligence reports and advisories.
Subscribe to Alerts