LATERAL MOVEMENT
WMIEXEC
PSEXEC
PASS-THE-HASH
DetectionBlue TeamSOCOctober 12, 2026•9 min read

Detecting Lateral Movement: SMB, WMI, RDP and Remote Execution

The intrusion rarely stays on the first host. Remote execution and credential reuse leave a consistent trail in Windows logs, if you are watching the right event IDs.

Scroll

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

TechniquePrimary signalATT&CK
PsExec-styleService install (Event 7045 / 4697); binary written to ADMIN$T1569.002
wmiexecRemote WMI process create; output file in ADMIN$ with epoch nameT1047
Remote logonEvent 4624 type 3 (network) / type 10 (RDP) from unusual sourceT1021
Explicit credentialsEvent 4648 (runas/explicit cred) from a workstationT1021.002
Pass-the-hash/ticketNTLM logon with anomalous auth package; forged-ticket anomaliesT1550

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

Vetted sources

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 EngineeringManaged Detection & ResponseActive Directory SecurityThreat HuntingIncident Response
  • 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.
Written by: Mjolnir Security Intelligence Analyst  |  Published: October 12, 2026  |  Last reviewed: October 12, 2026