T1108 Sumo Logic CSE · Sumo

Detect Redundant Access in Sumo Logic CSE

Adversaries may use more than one remote access tool with varying command and control protocols or credentialed access to remote services so they can maintain access if an access mechanism is detected or mitigated. If one type of tool is detected and blocked or removed as a response but the organization did not gain a full understanding of the adversary's tools and access, then the adversary will be able to retain access to the network. This deprecated technique has been superseded by T1136 (Create Account), T1505/003 (Web Shell), and T1133 (External Remote Services), but the underlying adversary behavior — establishing backup access channels in parallel — remains a critical detection target. Observable patterns include simultaneous deployment of web shells alongside account creation, installation of multiple remote access services within a short window, and evidence of access from multiple distinct toolsets or protocols to the same target environment.

MITRE ATT&CK

Tactic
Defense Evasion Persistence
Canonical reference
https://attack.mitre.org/techniques/T1108/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
_sourceCategory=windows* ("EventCode=4720" OR "EventCode=4726" OR "EventCode=4738" OR "EventCode=7045" OR "EventCode=4697" OR "EventCode=1" OR "EventCode=11" OR "EventCode=13")
| parse "Computer=\"*\"" as DeviceName nodrop
| parse "EventCode=*" as EventCode nodrop
| parse "Image=*\\\\*" as _dummy, ProcImage nodrop
| parse "TargetFilename=*" as TargetFilename nodrop
| parse "TargetObject=*" as RegistryKey nodrop
| parse "Details=*" as RegistryValue nodrop
| parse "ServiceName=*" as ServiceName nodrop
| parse "TargetUserName=*" as TargetUser nodrop
// Assign signal type per event
| if (EventCode in ("4720","4726","4738"), "AccountCreatedOrModified",
    if (EventCode == "1" and (
      ProcImage matches "*ngrok*" or ProcImage matches "*frpc*" or ProcImage matches "*chisel*"
      or ProcImage matches "*AnyDesk*" or ProcImage matches "*TeamViewer*"
      or ProcImage matches "*ScreenConnect*" or ProcImage matches "*plink*"
      or ProcImage matches "*vncviewer*" or ProcImage matches "*psexec*"
    ), "RemoteAccessToolExecution",
    if (EventCode in ("7045","4697") and (
      ServiceName matches "*vnc*" or ServiceName matches "*rdp*" or ServiceName matches "*ssh*"
      or ServiceName matches "*anydesk*" or ServiceName matches "*teamviewer*" or ServiceName matches "*remote*"
    ), "RemoteServiceInstalled",
    if (EventCode == "11" and (
      (TargetFilename matches "*\\inetpub\\*" or TargetFilename matches "*\\wwwroot\\*" or TargetFilename matches "*\\htdocs\\*")
      and (TargetFilename matches "*.asp" or TargetFilename matches "*.aspx" or TargetFilename matches "*.php"
        or TargetFilename matches "*.jsp" or TargetFilename matches "*.jspx")
    ), "WebShellDropped",
    if (EventCode == "13" and (
      (RegistryKey matches "*\\Run\\*" or RegistryKey matches "*\\RunOnce\\*")
      and (RegistryValue matches "*ngrok*" or RegistryValue matches "*frpc*"
        or RegistryValue matches "*anydesk*" or RegistryValue matches "*teamviewer*" or RegistryValue matches "*vnc*")
    ), "PersistenceRegistryKey", null))))) as Signal
| where !isNull(Signal)
| timeslice 24h
| stats
    count as TotalEvents,
    dcount(Signal) as DistinctSignals,
    values(Signal) as SignalTypes,
    min(_messagetime) as Earliest,
    max(_messagetime) as Latest
  by DeviceName, _timeslice
| where DistinctSignals >= 2
| fields - _timeslice
| sort by DistinctSignals desc
high severity medium confidence

Sumo Logic query that ingests Windows Security and Sysmon events, parses key fields, assigns signal types (account creation, remote tool execution, remote service install, web shell drop, registry persistence), and aggregates by device within a 24-hour timeslice. Triggers when 2+ distinct signal types are observed on the same host.

Data Sources

Sumo Logic Windows Collection (Security + Sysmon)Sumo Logic Installed Collector with Windows Event Log Source

Required Tables

windows* (Security and Sysmon source categories)

False Positives & Tuning

  • System administrators performing bulk server hardening that includes creating service accounts (EventCode 4720) and installing endpoint management agents like VNC or SSH within the same 24-hour window
  • Software deployment systems (SCCM, Intune) that simultaneously install remote management tools and create local service accounts as part of a standard workstation build process
  • Security operations teams deploying honeypot or deception technology that intentionally creates fake remote service entries and accounts to attract attacker activity
Download portable Sigma rule (.yml)

Other platforms for T1108


Testing Methodology

Validate this detection against 5 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 1Install Redundant Remote Access Service via SC.exe

    Expected signal: Windows System Event ID 7045: New Service Installed with ServiceName=RemoteAccessBackup, ServiceFileName=C:\Windows\System32\calc.exe, ServiceType=user mode service, StartType=auto start. Windows Security Event ID 4697 (if auditing enabled): A service was installed in the system. Sysmon Event ID 1 for sc.exe process creation with full command line captured.

  2. Test 2Create Backup Local Administrator Account

    Expected signal: Windows Security Event ID 4720: A user account was created — TargetUserName=df00tech-svc-backup. Security Event ID 4732: A member was added to a security-enabled local group — TargetUserName=df00tech-svc-backup, GroupName=Administrators. Security Event ID 4722: A user account was enabled. Sysmon Event ID 1 for net.exe and wmic.exe process creation with full command lines.

  3. Test 3Deploy ngrok Tunnel as Redundant C2 Channel

    Expected signal: Sysmon Event ID 1: Process Create for powershell.exe with Invoke-WebRequest command line downloading ngrok. Sysmon Event ID 11: File Create for ngrok.zip and ngrok.exe in %TEMP%. Sysmon Event ID 1: Process Create for ngrok.exe with 'http 8080' arguments. Sysmon Event ID 3: Network connection attempt from ngrok.exe to ngrok infrastructure (will fail or succeed depending on network access). Security Event ID 4688 (if command line auditing enabled).

  4. Test 4Drop Simulated Web Shell in IIS Web Root

    Expected signal: Sysmon Event ID 11: File Create with TargetFilename=C:\inetpub\wwwroot\df00tech-test-shell.aspx, Image=cmd.exe (unexpected parent for web root writes). Sysmon Event ID 1: Process Create for cmd.exe with echo/redirect command line. Security Event ID 4663 (object access, if file auditing enabled on inetpub) showing file create by cmd.exe.

  5. Test 5Add SSH Authorized Key for Persistent Backdoor Access (Linux/macOS)

    Expected signal: Linux auditd: syscall write/open on ~/.ssh/authorized_keys by the bash/sh process — generates SYSCALL and PATH audit records. Syslog/auth.log: no immediate logon event but future SSH logons using this key will generate 'Accepted publickey' entries identifying the key fingerprint. File integrity monitoring (FIM): if deployed, triggers on modification of ~/.ssh/authorized_keys.

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections