T1210 Sumo Logic CSE · Sumo

Detect Exploitation of Remote Services in Sumo Logic CSE

Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network. Exploitation occurs when an adversary takes advantage of a programming error in a program, service, or OS kernel to execute adversary-controlled code. Common targets include SMB (EternalBlue/MS17-010 — used by WannaCry, NotPetya, Emotet, QakBot, Bad Rabbit, APT28, Ember Bear), RDP (BlueKeep CVE-2019-0708 — used by InvisiMole, Fox Kitten), Active Directory Netlogon (ZeroLogon CVE-2020-1472 — used by Wizard Spider, Earth Lusca), Windows Print Spooler (PrintNightmare CVE-2021-1675/CVE-2021-34527 — used in ransomware operations), and VMware vCenter (VMSA-2024-0019 — ESXi hypervisor takeover). Post-exploitation typically manifests as unexpected child processes spawned from the exploited service (e.g., spoolsv.exe spawning cmd.exe), remote thread injection into privileged processes, or new services installed via SMB pipes. Successful exploitation may yield SYSTEM-level access, enabling further lateral movement, credential theft, or ransomware deployment.

MITRE ATT&CK

Tactic
Lateral Movement
Technique
T1210 Exploitation of Remote Services
Canonical reference
https://attack.mitre.org/techniques/T1210/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=*windows* OR _sourceCategory=*sysmon* OR _sourceCategory=*wineventlog*
| where (%"EventID" = "1" OR %"EventID" = "4688" OR %"EventID" = "8")
| if(%"EventID" = "8", %"SourceImage", %"ParentImage") as NormalizedParent
| if(%"EventID" = "8", %"TargetImage", %"Image") as NormalizedChild
| where (
    (%"EventID" in ("1","4688") AND
      (
        NormalizedParent matches "*\\spoolsv.exe" OR
        NormalizedParent matches "*\\lsass.exe" OR
        NormalizedParent matches "*\\services.exe" OR
        NormalizedParent matches "*\\winlogon.exe" OR
        NormalizedParent matches "*\\w3wp.exe" OR
        NormalizedParent matches "*\\sqlservr.exe" OR
        NormalizedParent matches "*\\vmtoolsd.exe"
      ) AND
      (
        NormalizedChild matches "*\\cmd.exe" OR
        NormalizedChild matches "*\\powershell.exe" OR
        NormalizedChild matches "*\\pwsh.exe" OR
        NormalizedChild matches "*\\net.exe" OR
        NormalizedChild matches "*\\net1.exe" OR
        NormalizedChild matches "*\\whoami.exe" OR
        NormalizedChild matches "*\\certutil.exe" OR
        NormalizedChild matches "*\\mshta.exe" OR
        NormalizedChild matches "*\\wscript.exe" OR
        NormalizedChild matches "*\\cscript.exe" OR
        NormalizedChild matches "*\\regsvr32.exe" OR
        NormalizedChild matches "*\\rundll32.exe" OR
        NormalizedChild matches "*\\msiexec.exe"
      )
    )
    OR
    (%"EventID" = "8" AND
      (
        NormalizedParent matches "*\\spoolsv.exe" OR
        NormalizedParent matches "*\\lsass.exe" OR
        NormalizedParent matches "*\\services.exe" OR
        NormalizedParent matches "*\\w3wp.exe" OR
        NormalizedParent matches "*\\sqlservr.exe" OR
        NormalizedParent matches "*\\vmtoolsd.exe"
      )
    )
  )
| if(%"EventID" = "8", "RemoteThreadInjection", "ServiceChildExploit") as DetectionBranch
| if(NormalizedParent matches "*\\spoolsv.exe", "PrintSpooler-PrintNightmare-CVE-2021-1675",
    if(NormalizedParent matches "*\\lsass.exe", "LSASS-ZeroLogon-CVE-2020-1472",
    if(NormalizedParent matches "*\\w3wp.exe", "IIS-WebServer-Exploitation",
    if(NormalizedParent matches "*\\sqlservr.exe", "SQLServer-Exploitation",
    if(NormalizedParent matches "*\\vmtoolsd.exe", "VMware-Exploitation",
    if(NormalizedParent matches "*\\winlogon.exe", "AuthService-Exploitation",
    "ServiceProcess-Exploitation")))))) as ExploitType
| count by _messageTime, Computer, User, NormalizedParent, NormalizedChild, %"CommandLine", ExploitType, DetectionBranch
| fields - _count
| sort by _messageTime desc
critical severity high confidence

Sumo Logic CSE query detecting T1210 remote service exploitation from Windows Sysmon and Security Event Log sources. Matches Sysmon EID 1 and Windows Security EID 4688 process creation events where exploitable service parent processes (Print Spooler, LSASS, IIS, SQL Server, VMware Tools) spawn shells or LOLBins, and Sysmon EID 8 CreateRemoteThread events from those same parents. Classifies each hit by exploit type based on the parent process name.

Data Sources

Sysmon (Windows Event Forwarding)Windows Security Event LogSumo Logic Installed Collector (Windows)

Required Tables

Windows Sysmon logs (_sourceCategory=*sysmon*)Windows Event Logs (_sourceCategory=*wineventlog*)

False Positives & Tuning

  • Scheduled tasks that run under services.exe context and legitimately execute PowerShell or cmd.exe for automation, backup, or reporting jobs during business hours
  • IIS-hosted web applications (w3wp.exe) that invoke certutil.exe or msiexec.exe as part of documented certificate renewal workflows or self-updating application packages
  • SQL Server jobs using CmdExec step type that execute system commands via sqlservr.exe spawning cmd.exe — especially common in legacy DBA automation scripts
Download portable Sigma rule (.yml)

Other platforms for T1210


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1EternalBlue SMB Vulnerability Scan (MS17-010 Detection)

    Expected signal: Sysmon EventID 3 (Network Connection): outbound TCP connections from nmap to <target_lab_ip>:445. On the target Windows host: Security Event ID 5145 (network share access) and potentially IDS/IPS alerts on SMB probe patterns. On the scanning host: no Sysmon events (Linux), but EDR network telemetry shows port 445 probe.

  2. Test 2ZeroLogon Vulnerability Check via Impacket (CVE-2020-1472)

    Expected signal: Network connections from testing host to DC on TCP 135 (RPC endpoint mapper) and the dynamically assigned Netlogon RPC port. On the DC: Security Event ID 4742 (Computer Account Changed) if exploitation proceeds, Security Event ID 4625 (Logon Failure) for failed authentication attempts, and Netlogon EventID 5829/5827 (vulnerable Netlogon secure channel connection denied if patch is applied). Windows Defender will generate Alert: Zerologon exploitation attempt if Defender ATP is active.

  3. Test 3PrintNightmare Exploitation via Impacket CVE-2021-1675

    Expected signal: On the target host: Sysmon EventID 1 (Process Create) with ParentImage=C:\Windows\System32\spoolsv.exe spawning rundll32.exe or the payload process. Sysmon EventID 7 (Image Load) showing spoolsv.exe loading a DLL from a UNC path (\\attacker\share\nightmare.dll). Security Event ID 316 (Print Spooler: driver installation) in Microsoft-Windows-PrintService/Admin log. File creation event (Sysmon EventID 11) for the DLL written to C:\Windows\System32\spool\drivers\x64\3\.

  4. Test 4BlueKeep RDP Vulnerability Check (CVE-2019-0708)

    Expected signal: Sysmon EventID 3 (Network Connection): outbound TCP connections to <target_lab_ip>:3389. On the target: Security Event ID 4625 (Logon Failure) for the authentication probe packets. IDS/IPS alerts for RDP scan signatures. Windows Defender ATP may generate a BlueKeep vulnerability detection alert on the target host based on the probe packet signatures. On the target, Security Event ID 4625 with LogonType=3 and unusual source IP.

Unlock Pro Content

Get the full detection package for T1210 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections