SCKit Worm and RelayTrap: Rogue ScreenConnect Clients Pushed Through Panel Run Command
Executive Summary
On 2026-11-11 an operator with access to several cloud-hosted ScreenConnect panels pushed Run Commands, executing as SYSTEM, to groups of managed endpoints. The commands installed an attacker-controlled ScreenConnect client and then SCKit, a 16-file toolkit. Huntress counted at least 288 endpoints across 48 organizations, all hit within 90 minutes of roughly 17:47 UTC, about a third in the first ten minutes. The toolkit installs a persistent second client, swaps out the genuine client, and sets a "relay trap" that is designed to steal a technician's session cookie and spread to every other session that technician can reach.
Huntress and ConnectWise point at the RMM+ extension. Versions 1.0.31 and 1.0.32 accept a blank access key, and RMM+ bypasses ScreenConnect user accounts, roles and MFA. ConnectWise reported no vulnerability in ScreenConnect itself and no compromise of its own infrastructure, and disabled five third-party extensions across about 400 partner environments. The console-takeover and technician-to-endpoint spread was reconstructed from the code and has not been seen working: it failed in every recovered host log Huntress checked.
Highest-value defensive angle: hashes are explicitly weak here because the scripts are rebuilt with different embedded values and the trap executable is compiled on every host. This pack therefore leads with behavior and names: a ScreenConnect client service spawning a SYSTEM shell, the sckit-* files, the RelayTrap directory, the TrapWatch task, the RelayTrapLiteAlert Run value, a second client instance on one host, and sqlite3.exe against cookie stores. It contains 15 queries and no block rule on any ScreenConnect or ConnectWise file.
Defender priority: do not open an interactive ScreenConnect session to a suspect host. Huntress warns the session itself can trigger the spread to the technician workstation. Use EDR live response, WinRM or another out-of-band channel, and treat any workstation that already connected as potentially exposed.
Source Review & Web Hunter Notes
| Tier | Source | Key finding | Carry forward |
|---|---|---|---|
| 1 | Huntress, "SCKit Worm Installs Rogue ScreenConnect Clients and Session Cookie Relays Across Hundreds of Endpoints" (Ben Nahorney, Susannah Matt, published 2026-11-11, updated 11:34pm ET) | Primary analysis: scope, chain, SCKit file list, RelayTrap behavior, cookie relay design, RMM+ root cause update, IOC table, mitigation guidance. | yes |
| 2 | The Hacker News, "ScreenConnect Attacks Target at Least 288 Endpoints Across 48 Organizations With Rogue Clients" (Ravie Lakshmanan, 2026-11-12) | Quotes the ConnectWise advisory (no vendor vulnerability, five extensions disabled, IOC list) and a Sophos alert (three originating instance IDs, curl.exe download to C:\Windows\TEMP\sc.msi, execution-policy bypass PowerShell fetching EadF.php?p=4). Notes the tags are sequential per MSP, so other MSPs may have been hit earlier. | partial |
Decisions
- ConnectWise and Sophos are cited only as relayed by the Hacker News snapshot. Their own pages were not fetched, so no indicator in this pack depends on text that is not in a saved snapshot.
- SecurityWeek returned a bot-challenge page instead of the article. Nothing was saved or cited from it.
- Mixed-case domains in the secondary list were normalised to the lowercase hostnames in the Huntress table.
- No actor name is used. Neither snapshot attributes the activity. The names in this pack (SCKit, RelayTrap, TrapWatch, RMM+) are the report's own.
- CVE-2026-84869 (CVSS 9.9, file transfer) is cited by Huntress from a September 2026 Rapid Response on similar activity, not as the cause of this incident. It is not used as a detection here.
- Hashes: Huntress lists 16 SHA256 values and states they are weak indicators. They ship as low-severity detect rows.
Hunt Brief & Attack Chain
Hunt hypotheses (highest fidelity first)
| # | Hypothesis | MITRE | Conf | Queries |
|---|---|---|---|---|
| H1 | A host holds RelayTrap, trapbins or TrapWatch persistence. | T1053.005, T1547.001 | high | Q4, Q6, Q7 |
| H2 | SCKit stager and kit file names executed on a host. | T1059, T1105 | high | Q3, Q11 |
| H3 | The reported infrastructure was contacted. | T1071.001, T1568 | high | Q12 |
| H4 | A panel Run Command ran the same payload across many hosts. | T1072, T1219 | medium | Q1, Q2 |
| H5 | The genuine client was replaced and a second client installed. | T1543.003, T1219 | medium | Q9, Q10, Q13 |
| H6 | Defender and application control were weakened or turned against the defender. | T1562.001 | medium | Q8, Q15 |
| H7 | A technician workstation had a browser cookie store read. | T1539, T1550.004 | medium | Q14, Q5 |
Attack chain
| Step | Behavior | Telemetry | Hunt angle |
|---|---|---|---|
| 1 | Operator reaches a panel with no matching login. Commands issued through RMM+ and the panel Run Command, as SYSTEM. | ScreenConnect audit, Run Command and Toolbox history (outside endpoint telemetry) | Section 7 panel hunts |
| 2 | Existing client checked. sc.msi downloaded to C:\Windows\TEMP and installed silently. | Process creation with command line (CrowdStrike: ProcessRollup2. SentinelOne: Process Creation. Defender: DeviceProcessEvents) | Q1, Q11 |
| 3 | Base64 dropper written to sckit-run.bat; sckit-decoder.ps1 fetched; keyed kit fetched with the machine UUID in the query string. | Process creation with command line; outbound connection and DNS lookup (ProcessRollup2 / Process Creation / DeviceProcessEvents; NetworkConnectIP4 / IP Connect / DeviceNetworkEvents; DnsRequest / DNS Resolved / DeviceEvents) | Q3, Q12 |
| 4 | sckit-loader.ps1 decrypts and launches k<32 hex>.ps1, which extracts the kit to C:\ProgramData\RelayTrap. | Process creation with command line | Q3, Q4 |
| 5 | install.ps1 adds trap and lockout policies and the Run value; CWInstall_<8 hex>-c1\Installer.ps1 adds Defender exclusions and a second client. | Registry value set, autostart (AsepValueUpdate / Registry Value Modified / DeviceRegistryEvents); process creation | Q7, Q8, Q10, Q15 |
| 6 | TrapWatch.ps1 runs as SYSTEM, compiles RelayTrap.cs, registers the 10-second TrapWatch task, stops the genuine client and swaps in the attacker copy. | Scheduled task created (ScheduledTaskRegistered / Task Register / DeviceEvents ScheduledTaskCreated); executable written (PeFileWritten / File Creation / DeviceFileEvents); process creation | Q4, Q5, Q6, Q9 |
| 7 | Cookie relay design: file transfer 2.5 s after a technician connects retrieves Run-Lateral-Full.bat; sqlite3.exe reads cookie databases; ASPXAUTH replayed; WithUninstall.ps1 pushed through the Shared Toolbox and deleted after about 60 s. | Process creation; panel Toolbox history (outside endpoint telemetry) | Q3, Q14, section 7 |
Observed versus reconstructed. Steps 1 to 6 were observed. Step 7, the technician-to-panel jump, was reconstructed from code and was not seen succeeding. Treat Q14 as readiness, and do not report a cookie theft without host evidence.
Consolidated IOC Table
Hashes are weak for this campaign. The behavioral queries in section 8 are the primary detection; the table below is for sweeps and for the IOC Management import in section 10.
| Type | Value | Confidence | Action | Context |
|---|---|---|---|---|
| IPv4 | 185.99.255[.]28 | high | prevent | Attacker ScreenConnect server (hostname: screen), serves the client installer. Huntress, the ConnectWise list and the Sophos download observation all name it. |
| IPv4 | 155.94.150[.]39 | high | detect | Address of the attacker panel sc[.]payproofkit[.]com. Huntress and the ConnectWise list. |
| Domain | ns[.]mo7sen[.]dev | high | prevent | Stager host. Huntress, the ConnectWise list and Sophos (EadF.php?p=4 retrieval). |
| Domain | cdn007-digitaldownloads[.]com | high | prevent | C2 domain, originally flagged by Blackpoint per Huntress; also on the ConnectWise list. |
| Domain | newnewnew[.]gotdns[.]org | high | detect | Dynamic DNS relay resolving to the attacker server. A dynamic DNS name, so detect only. |
| Domain | soxnewwork[.]homedns[.]org | high | detect | Dynamic DNS relay, port 81, rogue client ed630cc2c873b091. |
| Domain | sc[.]payproofkit[.]com | high | detect | Attacker ScreenConnect panel, on the malware's own skip list. |
| URL path | ns[.]mo7sen[.]dev/EadF.php?p=4 | high | hunt | Stager. Hunted through Q3 and Q12; Falcon IOC Management has no URL type. |
| URL path | ns[.]mo7sen[.]dev/EadF.php?p=5 | high | hunt | Delivers the SQLite command-line tool used to read browser cookie databases. |
| Client ID | 2588ef5c15954b10 | high | hunt | Rogue ScreenConnect client ID. Hunted through Q10 and Q11. |
| Client ID | ed630cc2c873b091 | high | hunt | Rogue client ID, relayed through soxnewwork[.]homedns[.]org. |
| Installer pattern | /Bin/ScreenConnect.ClientSetup.msi?...&c=Exploited<N> | high | hunt | Installer URL with the Exploited parameter and the actor name Addmin. Q11. |
| Participant name | Addmin | medium | hunt | Attacker participant name in ScreenConnect session and audit logs (section 7). |
| Instance IDs | d905b2b1b165d0a9, 4b8f4089ddaac6a9, df1f7ef0cfacd0d8 | medium | context | Compromised instances that issued commands, per the Sophos alert as relayed by the Hacker News. Context for MSPs, not a detection value: these may be your own vendors' instances. |
| Skip-list names | desktop-vmc0ifs, send, sc-observation-lab | low | context | Machine names the worm excludes as targets, likely the attacker's own devices. Not victim indicators and too generic to hunt. |
| SHA256 | 16 hashes, see section 10 | low | detect | Huntress states file hashes are weak indicators: scripts are rebuilt with different embedded values and the trap executable is compiled separately on every host. Shipped as detect with low severity. |
Prevent rows (3): 185.99.255[.]28, ns[.]mo7sen[.]dev and cdn007-digitaldownloads[.]com. Each is single-purpose attacker infrastructure, named by Huntress and by the ConnectWise advisory (as quoted by the Hacker News), and the first two were also observed in use by Sophos. No legitimate software uses them. Everything else, including every hash and both dynamic DNS names, ships as detect.
Affected Surface & Telemetry Matrix
| Surface | Telemetry | Priority | Gap |
|---|---|---|---|
| Managed Windows endpoints with a ScreenConnect client | Process creation with command line, path and parent (CrowdStrike: ProcessRollup2. SentinelOne: Process Creation. Defender: DeviceProcessEvents); executable written (PeFileWritten / File Creation / DeviceFileEvents) | high | Script and batch file writes are not reported as their own events, so Q3 reads the execution instead |
| Technician workstations | Process creation; outbound connection (NetworkConnectIP4 / IP Connect / DeviceNetworkEvents) | high | Cookie file reads are not logged; only the reading tool is visible |
| ScreenConnect server or cloud panel | ScreenConnect audit log, Run Command history, Toolbox history, extension list | high | Outside endpoint telemetry. RMM+ API calls produce no login event, per Huntress |
| Scheduled tasks and autostart | Scheduled task created (ScheduledTaskRegistered / Task Register / DeviceEvents ScheduledTaskCreated); autostart value (AsepValueUpdate / Registry Value Modified / DeviceRegistryEvents) | medium | Task field names should be confirmed on your tenant |
| Windows services | Service stop or start-type change through process command line; Windows event 7040 and 7045 | medium | Services are a cross-platform gap: no portable service-creation event, so Q9 and Q10 read command lines and image paths |
| Browser and identity sessions | Identity-provider sign-in logs | medium | Outside endpoint telemetry; revoke sessions rather than hunt them |
ATT&CK Mapping
| Tactic | Technique | Observed behavior | Query or control |
|---|---|---|---|
| Initial Access | T1190 Exploit Public-Facing Application | RMM+ extension with a blank default access key | Section 7 and hardening I2 |
| Execution | T1072 Software Deployment Tools | Panel Run Command and Toolbox used to push commands | Q1, Q2 |
| Execution | T1059.001 / T1059.003 PowerShell, Windows Command Shell | sckit-*.bat, decoder and loader scripts | Q1, Q3 |
| Command and Control | T1219 Remote Access Software | Attacker ScreenConnect clients | Q10, Q11, Q13 |
| Command and Control | T1105 Ingress Tool Transfer | sc.msi, decoder, keyed kit, SQLite tool | Q3, Q11, Q12 |
| Command and Control | T1568 Dynamic Resolution | gotdns.org and homedns.org relays | Q12 |
| Persistence | T1053.005 Scheduled Task | TrapWatch, 10-second repeat | Q6 |
| Persistence | T1547.001 Registry Run Keys | RelayTrapLiteAlert | Q7 |
| Persistence | T1543.003 Windows Service | Genuine client set to manual, attacker client in its place | Q9, Q10 |
| Defense Evasion | T1562.001 Impair Defenses | Defender exclusions, SRP and AppLocker lockout rules | Q8, Q15 |
| Defense Evasion | T1027.004 Compile After Delivery | RelayTrap.cs compiled on each host | Q4, Q5 |
| Defense Evasion | T1070.004 File Deletion | Toolbox item deleted about 60 s after broadcast; temp cleanup script | Section 7 (panel history) |
| Credential Access | T1539 Steal Web Session Cookie, T1555.003 | sqlite3.exe against browser cookie databases | Q14 |
| Lateral Movement | T1550.004 Web Session Cookie | .aspxauth replayed against the panel | Q14, section 7 |
Native Audit-Log Hunts
These checks run outside endpoint telemetry. The panel is where the operator acted, and it holds the evidence an endpoint cannot show.
| # | Source | Check |
|---|---|---|
| A1 | ScreenConnect Run Command history | Sort by time. Look for one command sent to many sessions within minutes, starting about 17:47 UTC on 2026-11-11, and for commands you did not issue. |
| A2 | ScreenConnect Toolbox history | Items added and removed within about 60 seconds, especially a script named WithUninstall.ps1. |
| A3 | ScreenConnect audit log and session list | Participant name Addmin; installer downloads containing c=Exploited; sessions that appear with no matching login, which is how RMM+ calls look. |
| A4 | Extensions list | Any of Labtech Plus, RMM Plus, RMM+, RMM Plus Password Link, RMM+ Password Link installed or enabled; RMM+ at 1.0.31 or 1.0.32; RMMPlus.AccessKey blank. |
| A5 | Windows Application log on endpoints | ScreenConnect "file run" entries (Event ID 201, the event Lite-Alert.ps1 reads) at the time of a push. |
| A6 | Windows System log | 7045 and 7040: a new ScreenConnect Client service, or a start type changed to demand. |
| A7 | Windows Security log | 4698: scheduled task created, task name TrapWatch. |
| A8 | Defender Operational log | 5007: configuration changed, exclusion added. |
| A9 | Identity-provider sign-in logs | Sign-ins from a technician account using a session token from an unexpected address, after any technician connected to a suspect host. |
Hunt Queries: CrowdStrike CQL, SentinelOne PowerQuery and Defender XDR KQL
Paste your own address, taken from your browser with Event Search open in the scope you want: the whole thing, including the _scopeId and _scopeLevel parameters that aim the search. Then "Copy & open SentinelOne" opens Event Search with the query and a time window already set, and copies the query as well. A bare console address still works, but it can only open the console for you to paste into. Your address is kept in this browser alone: it is never part of this page, never sent anywhere, and no address of ours is built in.
Pick your portal. Microsoft documents a Share link in advanced hunting but not its URL format, so each "Copy & open Defender" button copies the query and opens Advanced hunting: paste it into the editor.
Lead with Q3, Q4, Q6, Q7, Q11 and Q12 (high fidelity). Q1, Q2, Q10 and Q13 are baseline hunts that need your list of approved ScreenConnect instances. Every query leaves the time range to the console picker; the LOOKBACK comment is the intended window.
Looks for: The core behavior of the campaign: the ScreenConnect client service launching cmd.exe or PowerShell as SYSTEM, which is how a panel Run Command executes on an endpoint. This is a baseline hunt, not an alert: legitimate MSP automation produces the same parent and child. FP: every approved Run Command or Toolbox script from your own support team looks identical. Use Q2 to separate a mass push from routine use.
Known limitations and deployment notes
- PowerQuery: The SYSTEM test is a substring match on the user name, so an account whose name merely contains SYSTEM would also match.
- PowerQuery assumes: src.process.user holds a value containing SYSTEM for the local system account, for example NT AUTHORITY\SYSTEM.
- PowerQuery assumes: The service launches the shell directly, so the creator of the shell is the service binary.
- KQL – Defender XDR: A shell the sensor did not observe starting is not captured.
- KQL – Defender XDR assumes: AccountSid holds the SID of the account the created process runs under.
// HUNT: ScreenConnect client service spawning cmd or PowerShell as SYSTEM // MITRE: T1219, T1072, T1059.003, T1059.001 // CONF: medium | FP: high | COST: low | REQUIRES: process creation with parent and user SID (ProcessRollup2) // FALSE POSITIVES: approved Run Command, Toolbox scripts and RMM automation run by your own support team // TUNING: scope to hosts where your team does not use ScreenConnect, and exclude CommandLine values that match your approved script library; keep the branch that names sckit, EadF.php or sc.msi // LOOKBACK: 7d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | ParentBaseFileName=/^ScreenConnect\.ClientService\.exe$/i | FileName=/^(cmd|powershell|pwsh)\.exe$/i | UserSid="S-1-5-18" | table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
4 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timesrc.process.name: Creator process namesrc.process.user: Creator usertgt.process.name: Created process name
Recommended fields
tgt.process.cmdline: Created command line
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' src.process.user = * | limit 5 | columns event.time, src.process.name, src.process.user, tgt.process.name
// HUNT: ScreenConnect client service spawning cmd or PowerShell as SYSTEM // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1219, T1072, T1059.003, T1059.001 // CONF: medium | FP: high // FALSE POSITIVES: approved Run Command, Toolbox scripts and RMM automation run by your own support team // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: the ScreenConnect client service as the creator, cmd or PowerShell as the new process, and a SYSTEM-context creator. The new process is tgt.process.*, its creator is src.process.*. SYSTEM is tested by user name, not by SID. // REQUIRES: SentinelOne process-creation telemetry with creator user // TUNING: Scope to hosts where your team does not use ScreenConnect, and exclude command lines that match your approved script library. // LOOKBACK: 7d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: The SYSTEM test is a substring match on the user name, so an account whose name merely contains SYSTEM would also match. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and src.process.name matches '^ScreenConnect\\.ClientService\\.exe$' and tgt.process.name matches '^(cmd|powershell|pwsh)\\.exe$' and src.process.user contains 'SYSTEM' | columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
4 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeInitiatingProcessFileName: Initiating processFileName: Created process nameAccountSid: Created process account SID
Recommended fields
ProcessCommandLine: Created command line
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, InitiatingProcessFileName, FileName, AccountSid | take 5
// HUNT: ScreenConnect client service spawning cmd or PowerShell as SYSTEM
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1219, T1072, T1059.003, T1059.001
// CONF: medium | FP: high
// FALSE POSITIVES: approved Run Command, Toolbox scripts and RMM automation run by your own support team
// EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: the ScreenConnect client service as the initiating process, cmd or PowerShell as the created process, and the local system account SID on the created process.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: Scope to devices where your team does not use ScreenConnect, and exclude command lines that match your approved script library.
// LOOKBACK: 7d; extend to 30d for the incident window
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: A shell the sensor did not observe starting is not captured.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(7d)
| where InitiatingProcessFileName =~ "ScreenConnect.ClientService.exe"
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe")
| where AccountSid == "S-1-5-18"
| project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName
| sort by Timestamp desc
| take 200Looks for: Normalises the command line (GUIDs collapsed) and counts distinct hosts per command. The reported push reached 288 endpoints in 90 minutes, about a third in the first ten, so one identical command on dozens of hosts inside an hour is the signature of the panel Run Command abuse. FP: a legitimate fleet-wide patch or software push through ScreenConnect. Compare the command to your change calendar.
Known limitations and deployment notes
- PowerQuery: GUIDs inside the command line are not normalised, so per-host GUID pushes are split across groups.
- PowerQuery assumes: The same push yields byte-identical command lines on every host.
- PowerQuery assumes: estimate_distinct is exact at this cardinality.
- KQL – Defender XDR: Devices where the sensor did not report the shell start are not counted.
- KQL – Defender XDR assumes: dcount is an estimate and is exact at this cardinality.
// HUNT: identical ScreenConnect-launched command across many hosts // MITRE: T1072, T1219 // CONF: medium | FP: medium | COST: medium | REQUIRES: process creation with parent and command line (ProcessRollup2) // FALSE POSITIVES: sanctioned fleet-wide scripts pushed through ScreenConnect // TUNING: raise or lower the Hosts threshold to your fleet size, and drop command lines that match entries in your approved script library // LOOKBACK: 24h; run in a narrow window so a mass push stands out #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | ParentBaseFileName=/^ScreenConnect\.ClientService\.exe$/i | FileName=/^(cmd|powershell|pwsh)\.exe$/i | CmdNorm := replace("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}", with="GUID", field=CommandLine) | groupBy([CmdNorm], function=[count(aid, distinct=true, as=Hosts), count(as=Runs), min(@timestamp, as=FirstSeen), max(@timestamp, as=LastSeen)], limit=500) | Hosts >= 10 | sort(Hosts, order=desc, limit=100)
5 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timesrc.process.name: Creator process nametgt.process.name: Created process nametgt.process.cmdline: Created command lineagent.uuid: Endpoint identity
Fallbacks
agent.uuid→endpoint.name: Counts hosts by name instead of by agent; renamed hosts count twice.
Readiness test
event.type = 'Process Creation' src.process.name = * tgt.process.cmdline = * | limit 5 | columns event.time, agent.uuid, src.process.name, tgt.process.name, tgt.process.cmdline
// HUNT: identical ScreenConnect-launched command across many hosts // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1072, T1219 // CONF: medium | FP: medium // FALSE POSITIVES: sanctioned fleet-wide scripts pushed through ScreenConnect // EQUIVALENCE: approximate-analytic - Groups the ScreenConnect-launched shell command lines per host count, but PowerQuery in this stage cannot replace GUIDs, so the command line is grouped as written. A push whose command line embeds a per-host GUID splits into one group per GUID and falls under the threshold. // REQUIRES: SentinelOne process-creation telemetry across the fleet // TUNING: Raise or lower the hosts threshold to your fleet size, and drop command lines that match entries in your approved script library. // LOOKBACK: 24h; set the console time picker narrow so a mass push stands out // CONFIGURATION: No lookup objects required. // KNOWN GAPS: GUIDs inside the command line are not normalised, so per-host GUID pushes are split across groups. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and src.process.name matches '^ScreenConnect\\.ClientService\\.exe$' and tgt.process.name matches '^(cmd|powershell|pwsh)\\.exe$' | group hosts=estimate_distinct(agent.uuid), runs=count(), first_seen=min(event.time), last_seen=max(event.time) by tgt.process.cmdline | filter hosts >= 10 | sort -hosts | limit 100
Automated validation: static-passed
5 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeInitiatingProcessFileName: Initiating processFileName: Created process nameProcessCommandLine: Created command lineDeviceId: Device identity
Fallbacks
DeviceId→DeviceName: Counts devices by name instead of by ID.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, DeviceId, InitiatingProcessFileName, FileName, ProcessCommandLine | take 5
// HUNT: identical ScreenConnect-launched command across many hosts
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1072, T1219
// CONF: medium | FP: medium
// FALSE POSITIVES: sanctioned fleet-wide scripts pushed through ScreenConnect
// EQUIVALENCE: equivalent-with-schema-assumptions - Same aggregate: ScreenConnect-launched shells, command line with GUIDs replaced, distinct devices counted, threshold of ten.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: Raise or lower the Hosts threshold to your fleet size, and drop command lines that match entries in your approved script library.
// LOOKBACK: 24h; run in a narrow window so a mass push stands out
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: Devices where the sensor did not report the shell start are not counted.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed-with-warnings; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(24h)
| where InitiatingProcessFileName =~ "ScreenConnect.ClientService.exe"
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe")
| extend CmdNorm = replace_regex(ProcessCommandLine, @"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}", "GUID")
| summarize Hosts = dcount(DeviceId), Runs = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp) by CmdNorm
| where Hosts >= 10
| sort by Hosts desc
| take 100Looks for: Process command lines or image names that carry SCKit file names: the sckit-run, sckit-decoder and sckit-loader stagers, the k<32 hex>.ps1 payload, Panel-Lateral, LabConfig, TrapWatch, Run-Lateral-Full, runnew.cmd, ToolboxRelayUploader, the CWInstall installer folder, WithUninstall.ps1 and the EadF.php stager path. Names are the durable signal here because every script hash differs per host.
Known limitations and deployment notes
- PowerQuery: Names are those printed in the Huntress report; renamed copies are not caught.
- PowerQuery assumes: Scripts run through cmd or PowerShell appear in the new process command line, and the batch file name is also tested as a process name in case a tenant reports it so.
- PowerQuery assumes: The separator before the hashed k script is matched as any single non-alphanumeric character rather than a backslash.
- KQL – Defender XDR: Names are those printed in the Huntress report; renamed copies are not caught.
- KQL – Defender XDR assumes: Scripts run through cmd or PowerShell appear in ProcessCommandLine.
// HUNT: SCKit script and tool names in process execution // MITRE: T1059.001, T1059.003, T1105, T1027 // CONF: high | FP: low | COST: low | REQUIRES: process creation with command line (ProcessRollup2) // SOURCE: file names and paths as printed in the Huntress report and the Hacker News summary // LOOKBACK: 30d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | FileName=/^(ToolboxRelayUploader\.exe|sckit-run\.bat|Run-Lateral-Full\.bat|runnew\.cmd|TRAP-PROOF\.bat|Stop-LabTrap\.bat|Release-Machine\.cmd|Recover-ExecutionPolicy\.cmd)$/i or CommandLine=/(sckit-(run|decoder|loader)|Stage0Loader\.ps1|Panel-Lateral(-free)?\.ps1|LabConfig\.ps1|lab-context\.json|lab-trap-cleanup|TrapWatch\.ps1|WithUninstall\.ps1|Run-Lateral-Full|runnew\.cmd|Lite-Alert\.ps1|CWInstall_[0-9a-f]{8}-c1|EadF\.php|\\k[0-9a-f]{32}\.ps1)/i | table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
3 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.name: Created process nametgt.process.cmdline: Created command line
Recommended fields
src.process.name: Creator process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.cmdline = * | limit 5 | columns event.time, tgt.process.name, tgt.process.cmdline
// HUNT: SCKit script and tool names in process execution
// SCHEMA PROFILE: sentinelone-endpoint-ocsf
// MITRE: T1059.001, T1059.003, T1105, T1027
// CONF: high | FP: low
// EQUIVALENCE: equivalent-with-schema-assumptions - Same predicate: a reported script or tool file name as the new process, or one of the reported script patterns in its command line. The file name list uses an any-case match and the pattern list uses the default case-insensitive match, which reproduces the CQL /i intent. The separator before the hashed k script is any single non-alphanumeric character.
// REQUIRES: SentinelOne process-creation telemetry with command line
// TUNING: High fidelity as shipped; add exclusions only after a hit is explained.
// LOOKBACK: 30d; set the console time picker, the published query carries no time predicate
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: Names are those printed in the Huntress report; renamed copies are not caught.
// VALIDATION LEVEL: static-reviewed
event.type = 'Process Creation' and (tgt.process.name in:anycase ('ToolboxRelayUploader.exe', 'sckit-run.bat', 'Run-Lateral-Full.bat', 'runnew.cmd', 'TRAP-PROOF.bat', 'Stop-LabTrap.bat', 'Release-Machine.cmd', 'Recover-ExecutionPolicy.cmd') or tgt.process.cmdline matches '(sckit-(run|decoder|loader)|Stage0Loader\\.ps1|Panel-Lateral(-free)?\\.ps1|LabConfig\\.ps1|lab-context\\.json|lab-trap-cleanup|TrapWatch\\.ps1|WithUninstall\\.ps1|Run-Lateral-Full|runnew\\.cmd|Lite-Alert\\.ps1|CWInstall_[0-9a-f]{8}-c1|EadF\\.php|[^a-z0-9]k[0-9a-f]{32}\\.ps1)')
| columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.cmdline, src.process.name, agent.uuid
| sort -event.time
| limit 200Automated validation: static-passed
3 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFileName: Created process nameProcessCommandLine: Created command line
Recommended fields
InitiatingProcessFileName: Initiating process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FileName, ProcessCommandLine | take 5
// HUNT: SCKit script and tool names in process execution
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1059.001, T1059.003, T1105, T1027
// CONF: high | FP: low
// EQUIVALENCE: equivalent-with-schema-assumptions - Same predicate: a reported script or tool file name as the created process, or one of the reported script patterns in its command line. Regex with the (?i) prefix reproduces the CQL /i intent.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: High fidelity as shipped; add exclusions only after a hit is explained.
// LOOKBACK: 30d
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: Names are those printed in the Huntress report; renamed copies are not caught.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(30d)
| where FileName in~ ("ToolboxRelayUploader.exe", "sckit-run.bat", "Run-Lateral-Full.bat", "runnew.cmd", "TRAP-PROOF.bat", "Stop-LabTrap.bat", "Release-Machine.cmd", "Recover-ExecutionPolicy.cmd") or ProcessCommandLine matches regex @"(?i)(sckit-(run|decoder|loader)|Stage0Loader\.ps1|Panel-Lateral(-free)?\.ps1|LabConfig\.ps1|lab-context\.json|lab-trap-cleanup|TrapWatch\.ps1|WithUninstall\.ps1|Run-Lateral-Full|runnew\.cmd|Lite-Alert\.ps1|CWInstall_[0-9a-f]{8}-c1|EadF\.php|\\k[0-9a-f]{32}\.ps1)"
| project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName
| sort by Timestamp desc
| take 200Looks for: An executable written to or run from the RelayTrap directory (including the per-host trapbins copy of RelayTrap.exe), or ToolboxRelayUploader.exe anywhere. RelayTrap.exe is compiled on each host, so its hash is useless and its path is the signal.
Known limitations and deployment notes
- PowerQuery: A file the agent reports as modified rather than created is not matched.
- PowerQuery: The match on the file name is limited to RelayTrap.exe and ToolboxRelayUploader.exe as printed in the report.
- PowerQuery assumes: File Creation is the event that reports a newly written executable; a modified file is a separate event type and is not matched.
- PowerQuery assumes: tgt.process.image.sha1 is populated on process creation, which the vendor field model attests but a tenant may not populate.
- KQL – Defender XDR: A process started from the RelayTrap directory without a file event in the window is not covered; use the CQL tab for the process-start half.
- KQL – Defender XDR assumes: FolderPath holds the folder of the written file.
// HUNT: executable written or run from the RelayTrap directory // MITRE: T1027.004, T1036, T1539 // CONF: high | FP: low | COST: low | REQUIRES: executable-written events and process creation (PeFileWritten, NewExecutableWritten, ProcessRollup2) // LOOKBACK: 30d #event_simpleName=/^(PeFileWritten|NewExecutableWritten|ProcessRollup2)$/ | TargetFileName=/\\ProgramData\\RelayTrap\\/i or ImageFileName=/\\ProgramData\\RelayTrap\\/i or TargetFileName=/\\(RelayTrap|ToolboxRelayUploader)\.exe$/i or ImageFileName=/\\(RelayTrap|ToolboxRelayUploader)\.exe$/i | table([@timestamp, ComputerName, #event_simpleName, TargetFileName, ImageFileName, CommandLine, SHA256HashData, aid], limit=200)
3 required fields · View requirements
Required telemetry
- File Creation
- Process Creation
Required fields
event.time: Event timetgt.file.path: Written file pathtgt.process.image.path: Created process image path
Recommended fields
tgt.process.cmdline: Created command line
Optional fields
tgt.file.sha256: File hash. Population varies by tenant.
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'File Creation' tgt.file.path = * | limit 5 | columns event.time, tgt.file.path, tgt.process.image.path
// HUNT: executable written or run from the RelayTrap directory // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1027.004, T1036, T1539 // CONF: high | FP: low // EQUIVALENCE: equivalent-with-schema-assumptions - Same two populations as the CQL: an executable file written, or a process started, from the RelayTrap directory or named RelayTrap.exe or ToolboxRelayUploader.exe. File events use tgt.file.path; process starts use tgt.process.image.path. Path separators are matched as any single non-alphanumeric character. // REQUIRES: SentinelOne File Creation and Process Creation telemetry // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A file the agent reports as modified rather than created is not matched. The match on the file name is limited to RelayTrap.exe and ToolboxRelayUploader.exe as printed in the report. // VALIDATION LEVEL: static-reviewed (event.type = 'File Creation' and (tgt.file.path matches 'ProgramData[^a-z0-9]RelayTrap[^a-z0-9]' or tgt.file.path matches '(^|[^a-z0-9_-])(RelayTrap|ToolboxRelayUploader)\\.exe$')) or (event.type = 'Process Creation' and (tgt.process.image.path matches 'ProgramData[^a-z0-9]RelayTrap[^a-z0-9]' or tgt.process.image.path matches '(^|[^a-z0-9_-])(RelayTrap|ToolboxRelayUploader)\\.exe$')) | columns event.time, endpoint.name, event.type, tgt.file.path, tgt.process.image.path, tgt.process.cmdline, tgt.file.sha256, tgt.process.image.sha1, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
4 required fields · View requirements
Required telemetry
- DeviceFileEvents
Required fields
Timestamp: Event timeActionType: ActionFileName: File nameFolderPath: File folder
Recommended fields
InitiatingProcessFileName: Writer process
Optional fields
SHA1: Hash. SHA256 is often unpopulated; SHA1 is the safer pivot.
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceFileEvents | where Timestamp > ago(1d) | project Timestamp, ActionType, FileName, FolderPath | take 5
// HUNT: executable written or run from the RelayTrap directory
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1027.004, T1036, T1539
// CONF: high | FP: low
// EQUIVALENCE: approximate-analytic - One Advanced Hunting table per query: this covers the file-write half of the CQL (a file created or renamed in the RelayTrap directory, or named RelayTrap.exe or ToolboxRelayUploader.exe). The process-start half of the CQL is not covered.
// REQUIRES: Defender for Endpoint file telemetry (DeviceFileEvents)
// TUNING: High fidelity as shipped; add exclusions only after a hit is explained.
// LOOKBACK: 30d
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: A process started from the RelayTrap directory without a file event in the window is not covered; use the CQL tab for the process-start half.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0
DeviceFileEvents
| where Timestamp >= ago(30d)
| where ActionType in ("FileCreated", "FileRenamed")
| where FolderPath contains "\\ProgramData\\RelayTrap\\" or FileName in~ ("RelayTrap.exe", "ToolboxRelayUploader.exe")
| project Timestamp, ReportId, DeviceId, DeviceName, ActionType, FileName, FolderPath, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA1, SHA256
| sort by Timestamp desc
| take 200Looks for: TrapWatch.ps1 compiles RelayTrap.cs on the host. A C# compile launched by a PowerShell parent, either naming RelayTrap or trapbins in the command line or running as SYSTEM, is the build step. csc.exe itself is a legitimate compiler and is never a block target. FP: PowerShell Add-Type calls by management scripts running as SYSTEM, and some software installers that compile helper code.
Known limitations and deployment notes
- PowerQuery: The SYSTEM test is a substring match on the user name.
- PowerQuery assumes: src.process.user holds a value containing SYSTEM for the local system account, for example NT AUTHORITY\SYSTEM.
- KQL – Defender XDR: A compile the sensor did not observe starting is not captured.
- KQL – Defender XDR assumes: AccountSid holds the SID of the account the created process runs under.
// HUNT: csc.exe launched by PowerShell compiling RelayTrap // MITRE: T1027.004, T1059.001 // CONF: medium | FP: medium | COST: low | REQUIRES: process creation with parent and user SID (ProcessRollup2) // FALSE POSITIVES: SYSTEM-context management scripts using Add-Type // TUNING: keep the RelayTrap and trapbins branch as high fidelity; for the SYSTEM branch exclude the PowerShell command lines of your own management tooling // LOOKBACK: 14d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | FileName=/^csc\.exe$/i | ParentBaseFileName=/^(powershell|pwsh)\.exe$/i | CommandLine=/(RelayTrap|trapbins)/i or UserSid="S-1-5-18" | table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
5 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.name: Created process namesrc.process.name: Creator process nametgt.process.cmdline: Created command linesrc.process.user: Creator user
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' src.process.user = * tgt.process.cmdline = * | limit 5 | columns event.time, src.process.name, src.process.user, tgt.process.name, tgt.process.cmdline
// HUNT: csc.exe launched by PowerShell compiling RelayTrap // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1027.004, T1059.001 // CONF: medium | FP: medium // FALSE POSITIVES: SYSTEM-context management scripts using Add-Type // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: csc.exe as the new process, PowerShell as its creator, and either a RelayTrap or trapbins command line or a SYSTEM-context creator. SYSTEM is tested by user name, not by SID. // REQUIRES: SentinelOne process-creation telemetry with creator user // TUNING: Keep the RelayTrap and trapbins branch as high fidelity; for the SYSTEM branch exclude the PowerShell command lines of your own management tooling. // LOOKBACK: 14d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: The SYSTEM test is a substring match on the user name. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and tgt.process.name matches '^csc\\.exe$' and src.process.name matches '^(powershell|pwsh)\\.exe$' and (tgt.process.cmdline matches '(RelayTrap|trapbins)' or src.process.user contains 'SYSTEM') | columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
5 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFileName: Created process nameInitiatingProcessFileName: Initiating processProcessCommandLine: Created command lineAccountSid: Created process account SID
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FileName, InitiatingProcessFileName, ProcessCommandLine, AccountSid | take 5
// HUNT: csc.exe launched by PowerShell compiling RelayTrap
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1027.004, T1059.001
// CONF: medium | FP: medium
// FALSE POSITIVES: SYSTEM-context management scripts using Add-Type
// EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: csc.exe created by PowerShell with a RelayTrap or trapbins command line, or running under the local system account SID.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: Keep the RelayTrap and trapbins branch as high fidelity; for the SYSTEM branch exclude the PowerShell command lines of your own management tooling.
// LOOKBACK: 14d
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: A compile the sensor did not observe starting is not captured.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(14d)
| where FileName =~ "csc.exe"
| where InitiatingProcessFileName in~ ("powershell.exe", "pwsh.exe")
| where ProcessCommandLine contains "RelayTrap" or ProcessCommandLine contains "trapbins" or AccountSid == "S-1-5-18"
| project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName
| sort by Timestamp desc
| take 200Looks for: A scheduled task, or a command that creates one, named TrapWatch. The report says it runs as SYSTEM on a 10-second repeat, which is far shorter than any task a standard tool creates, so the name is a clean anchor.
Known limitations and deployment notes
- PowerQuery: A task registered through an API call or an imported XML file, with no TrapWatch on a command line, is not seen; use the CQL tab for the registration event.
- PowerQuery assumes: The task is registered through a command line that names TrapWatch.
- KQL – Defender XDR: A task registered without TrapWatch on a command line is not seen; use the CQL tab for the registration event.
- KQL – Defender XDR assumes: The task is registered through a command line that names TrapWatch.
// HUNT: TrapWatch scheduled task registration // MITRE: T1053.005 // CONF: high | FP: low | COST: low | REQUIRES: ScheduledTaskRegistered (validate in tenant), ProcessRollup2 // LOOKBACK: 30d #event_simpleName=/^(ScheduledTaskRegistered|ProcessRollup2|SyntheticProcessRollup2)$/ | TaskName=/TrapWatch/i or CommandLine=/TrapWatch/i | table([@timestamp, ComputerName, #event_simpleName, TaskName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
2 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.cmdline: Created command line
Recommended fields
tgt.process.name: Created process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.cmdline = * | limit 5 | columns event.time, tgt.process.name, tgt.process.cmdline
// HUNT: TrapWatch scheduled task registration // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1053.005 // CONF: high | FP: low // EQUIVALENCE: telemetry-gap - Partial pivot: the TrapWatch name in a process command line, which catches the schtasks or PowerShell call that registers the task. The CQL also reads the scheduled-task registration event, and no scheduled-task event type is attested for the SentinelOne model used here. // REQUIRES: SentinelOne process-creation telemetry with command line // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A task registered through an API call or an imported XML file, with no TrapWatch on a command line, is not seen; use the CQL tab for the registration event. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and tgt.process.cmdline matches 'TrapWatch' | columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
2 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeProcessCommandLine: Created command line
Recommended fields
FileName: Created process name
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FileName, ProcessCommandLine | take 5
// HUNT: TrapWatch scheduled task registration // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1053.005 // CONF: high | FP: low // EQUIVALENCE: telemetry-gap - Partial pivot: the TrapWatch name in a process command line, which catches the call that registers the task. The CQL also reads the scheduled-task registration event, which would need a second table. // REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents) // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A task registered without TrapWatch on a command line is not seen; use the CQL tab for the registration event. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0 DeviceProcessEvents | where Timestamp >= ago(30d) | where ProcessCommandLine contains "TrapWatch" | project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName | sort by Timestamp desc | take 200
Looks for: The RelayTrapLiteAlert value under the HKLM Run key, or any registry path or command naming RelayTrap. A named autostart value written by install.ps1.
Known limitations and deployment notes
- PowerQuery: Registry changes made while the agent is not reporting registry events are not seen.
- PowerQuery assumes: Registry Value Modified covers a value created as well as changed.
- PowerQuery assumes: registry.keyPath holds the key path and registry.valueName the value name.
- KQL – Defender XDR: A process whose command line names RelayTrapLiteAlert without a registry write is not covered; use the CQL tab for that half.
- KQL – Defender XDR assumes: RegistryValueSet is the action for a value write; it is attested in Microsoft-owned hunting queries rather than listed on the table page.
// HUNT: RelayTrapLiteAlert autostart value // MITRE: T1547.001 // CONF: high | FP: low | COST: low | REQUIRES: autostart and registry value events (AsepValueUpdate, RegGenericValueUpdate), ProcessRollup2 // LOOKBACK: 30d #event_simpleName=/^(AsepValueUpdate|RegGenericValueUpdate|ProcessRollup2|SyntheticProcessRollup2)$/ | RegValueName=/^RelayTrapLiteAlert$/i or RegObjectName=/RelayTrap/i or CommandLine=/RelayTrapLiteAlert/i | table([@timestamp, ComputerName, #event_simpleName, RegObjectName, RegValueName, RegStringValue, FileName, CommandLine, aid], limit=200)
4 required fields · View requirements
Required telemetry
- Registry Value Modified
- Process Creation
Required fields
event.time: Event timeregistry.valueName: Registry value nameregistry.keyPath: Registry key pathtgt.process.cmdline: Created command line
Recommended fields
src.process.name: Writer process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Registry Value Modified' registry.keyPath = * | limit 5 | columns event.time, registry.keyPath, registry.valueName, tgt.process.cmdline
// HUNT: RelayTrapLiteAlert autostart value // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1547.001 // CONF: high | FP: low // EQUIVALENCE: equivalent-with-schema-assumptions - Same two populations as the CQL: a registry value write whose value name is RelayTrapLiteAlert or whose key names RelayTrap, and a process whose command line names the value. On a registry event the acting process is src.process.*. // REQUIRES: SentinelOne Registry Value Modified and Process Creation telemetry // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: Registry changes made while the agent is not reporting registry events are not seen. // VALIDATION LEVEL: static-reviewed (event.type = 'Registry Value Modified' and (registry.valueName matches '^RelayTrapLiteAlert$' or registry.keyPath matches 'RelayTrap')) or (event.type = 'Process Creation' and tgt.process.cmdline matches 'RelayTrapLiteAlert') | columns event.time, endpoint.name, event.type, registry.keyPath, registry.valueName, registry.value, src.process.name, tgt.process.name, tgt.process.cmdline, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
4 required fields · View requirements
Required telemetry
- DeviceRegistryEvents
Required fields
Timestamp: Event timeActionType: ActionRegistryValueName: Registry value nameRegistryKey: Registry key
Recommended fields
InitiatingProcessFileName: Writer process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceRegistryEvents | where Timestamp > ago(1d) | project Timestamp, ActionType, RegistryKey, RegistryValueName | take 5
// HUNT: RelayTrapLiteAlert autostart value // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1547.001 // CONF: high | FP: low // EQUIVALENCE: approximate-analytic - One Advanced Hunting table per query: this covers the registry half of the CQL (a value write named RelayTrapLiteAlert, or under a key that names RelayTrap). The process command-line half is not covered. // REQUIRES: Defender for Endpoint registry telemetry (DeviceRegistryEvents) // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A process whose command line names RelayTrapLiteAlert without a registry write is not covered; use the CQL tab for that half. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0 DeviceRegistryEvents | where Timestamp >= ago(30d) | where ActionType == "RegistryValueSet" | where RegistryValueName =~ "RelayTrapLiteAlert" or RegistryKey contains "RelayTrap" | project Timestamp, ReportId, DeviceId, DeviceName, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName, InitiatingProcessCommandLine | sort by Timestamp desc | take 200
Looks for: PowerShell adding Microsoft Defender path, process or extension exclusions. The CWInstall installer script adds exclusions before installing the second client. Rows whose command line names a campaign path are tagged campaign_path and sort first. FP: endpoint management tooling and installers that add exclusions for line-of-business software.
Known limitations and deployment notes
- PowerQuery: An exclusion added through WMI, the registry or a management console, with no PowerShell command line, is not seen.
- PowerQuery assumes: The Windows Temp folder is matched as the word Windows, one separator character, then Temp.
- KQL – Defender XDR: An exclusion added through WMI, the registry or a management console is not seen.
- KQL – Defender XDR assumes: The exclusion is requested on the PowerShell command line.
// HUNT: Defender exclusion added through PowerShell // MITRE: T1562.001 // CONF: medium | FP: medium | COST: low | REQUIRES: process creation with command line (ProcessRollup2) // FALSE POSITIVES: management tooling and installers that add exclusions // TUNING: exclude the command lines and parent processes of your own deployment tooling; treat campaign_path rows as the priority queue // LOOKBACK: 14d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | FileName=/^(powershell|pwsh)\.exe$/i | CommandLine=/(Add|Set)-MpPreference/i | CommandLine=/Exclusion(Path|Process|Extension)/i | case { CommandLine=/(RelayTrap|CWInstall_|sckit|ScreenConnect|ProgramData|Windows\\Temp)/i | Priority := "campaign_path"; * | Priority := "generic"; } | table([@timestamp, ComputerName, Priority, UserName, CommandLine, ParentBaseFileName, aid], limit=200)
3 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.name: Created process nametgt.process.cmdline: Created command line
Recommended fields
src.process.name: Creator process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.cmdline = * | limit 5 | columns event.time, tgt.process.name, tgt.process.cmdline
// HUNT: Defender exclusion added through PowerShell // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1562.001 // CONF: medium | FP: medium // FALSE POSITIVES: management tooling and installers that add exclusions // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: PowerShell as the new process with Add-MpPreference or Set-MpPreference and an Exclusion option in the command line, plus the same campaign_path or generic priority label. // REQUIRES: SentinelOne process-creation telemetry with command line // TUNING: Exclude the command lines and parent processes of your own deployment tooling; treat campaign_path rows as the priority queue. // LOOKBACK: 14d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: An exclusion added through WMI, the registry or a management console, with no PowerShell command line, is not seen. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and tgt.process.name matches '^(powershell|pwsh)\\.exe$' and tgt.process.cmdline matches '(Add|Set)-MpPreference' and tgt.process.cmdline matches 'Exclusion(Path|Process|Extension)' | let priority = (tgt.process.cmdline matches '(RelayTrap|CWInstall_|sckit|ScreenConnect|ProgramData|Windows[^a-z0-9]Temp)') ? 'campaign_path' : 'generic' | columns event.time, endpoint.name, priority, src.process.user, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
3 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFileName: Created process nameProcessCommandLine: Created command line
Recommended fields
InitiatingProcessFileName: Initiating process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FileName, ProcessCommandLine | take 5
// HUNT: Defender exclusion added through PowerShell
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1562.001
// CONF: medium | FP: medium
// FALSE POSITIVES: management tooling and installers that add exclusions
// EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: PowerShell with Add-MpPreference or Set-MpPreference and an Exclusion option, plus the same campaign_path or generic priority label.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: Exclude the command lines and parent processes of your own deployment tooling; treat campaign_path rows as the priority queue.
// LOOKBACK: 14d
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: An exclusion added through WMI, the registry or a management console is not seen.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(14d)
| where FileName in~ ("powershell.exe", "pwsh.exe")
| where ProcessCommandLine matches regex @"(?i)(Add|Set)-MpPreference"
| where ProcessCommandLine matches regex @"(?i)Exclusion(Path|Process|Extension)"
| extend Priority = iff(ProcessCommandLine matches regex @"(?i)(RelayTrap|CWInstall_|sckit|ScreenConnect|ProgramData|Windows\\Temp)", "campaign_path", "generic")
| project Timestamp, ReportId, DeviceId, DeviceName, Priority, AccountName, ProcessCommandLine, InitiatingProcessFileName
| sort by Timestamp desc
| take 200Looks for: Commands that stop a ScreenConnect Client service or flip its start type to manual. The campaign stops the genuine client, sets it to manual start and lets its own copy take the connection slot. FP: ScreenConnect upgrades and reinstalls driven by your own support tooling.
Known limitations and deployment notes
- PowerQuery: A service stopped through the Services console or an API call with no command line is not seen.
- PowerQuery assumes: The service display name ScreenConnect Client appears in the command line of the stop or configuration call.
- KQL – Defender XDR: A service stopped through the Services console or an API call with no command line is not seen.
- KQL – Defender XDR assumes: The service display name ScreenConnect Client appears in the command line of the stop or configuration call.
// HUNT: ScreenConnect client service stopped or start type changed // MITRE: T1543.003, T1562.001 // CONF: medium | FP: medium | COST: low | REQUIRES: process creation with command line (ProcessRollup2) // FALSE POSITIVES: sanctioned ScreenConnect upgrades or reinstalls // TUNING: exclude command lines naming your own approved instance ID, then review what remains against a change record // LOOKBACK: 14d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | FileName=/^(sc|net|net1|powershell|pwsh|cmd)\.exe$/i | CommandLine=/ScreenConnect Client/i | CommandLine=/(\sstop\s|start=\s*demand|StartupType\s+Manual|Stop-Service|Set-Service)/i | table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
3 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.name: Created process nametgt.process.cmdline: Created command line
Recommended fields
src.process.name: Creator process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.cmdline = * | limit 5 | columns event.time, tgt.process.name, tgt.process.cmdline
// HUNT: ScreenConnect client service stopped or start type changed // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1543.003, T1562.001 // CONF: medium | FP: medium // FALSE POSITIVES: sanctioned ScreenConnect upgrades or reinstalls // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: sc, net, net1, PowerShell or cmd as the new process, ScreenConnect Client in the command line, and a stop or manual start-type change. // REQUIRES: SentinelOne process-creation telemetry with command line // TUNING: Exclude command lines naming your own approved instance ID, then review what remains against a change record. // LOOKBACK: 14d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A service stopped through the Services console or an API call with no command line is not seen. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and tgt.process.name matches '^(sc|net|net1|powershell|pwsh|cmd)\\.exe$' and tgt.process.cmdline matches 'ScreenConnect Client' and tgt.process.cmdline matches '(\\sstop\\s|start=\\s*demand|StartupType\\s+Manual|Stop-Service|Set-Service)' | columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
3 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFileName: Created process nameProcessCommandLine: Created command line
Recommended fields
InitiatingProcessFileName: Initiating process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FileName, ProcessCommandLine | take 5
// HUNT: ScreenConnect client service stopped or start type changed
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1543.003, T1562.001
// CONF: medium | FP: medium
// FALSE POSITIVES: sanctioned ScreenConnect upgrades or reinstalls
// EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: sc, net, net1, PowerShell or cmd as the created process, ScreenConnect Client in the command line, and a stop or manual start-type change.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: Exclude command lines naming your own approved instance ID, then review what remains against a change record.
// LOOKBACK: 14d
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: A service stopped through the Services console or an API call with no command line is not seen.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(14d)
| where FileName in~ ("sc.exe", "net.exe", "net1.exe", "powershell.exe", "pwsh.exe", "cmd.exe")
| where ProcessCommandLine contains "ScreenConnect Client"
| where ProcessCommandLine matches regex @"(?i)(\sstop\s|start=\s*demand|StartupType\s+Manual|Stop-Service|Set-Service)"
| project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName
| sort by Timestamp desc
| take 200Looks for: Counts distinct 16-character instance IDs among ScreenConnect client service processes per host. The campaign installs its own client beside the genuine one and then a second attacker client, so a host with more than one instance is the footprint. FP: MSPs that legitimately run more than one ScreenConnect instance on managed hosts, and hosts mid-migration between instances.
Known limitations and deployment notes
- PowerQuery: The instance ID is not extracted, so the output lists a count of distinct paths rather than the IDs.
- PowerQuery assumes: Each ScreenConnect instance installs into its own folder named ScreenConnect Client followed by the 16-character instance ID in parentheses.
- PowerQuery assumes: estimate_distinct is exact at this cardinality.
- KQL – Defender XDR: Devices where the sensor did not report the service start are not counted.
- KQL – Defender XDR assumes: FolderPath holds the folder of the created process, including the ScreenConnect Client folder name with the instance ID.
// HUNT: host running two or more ScreenConnect client instances // MITRE: T1219 // CONF: medium | FP: medium | COST: medium | REQUIRES: process creation with image path (ProcessRollup2) // FALSE POSITIVES: dual-instance MSP deployments and migrations // TUNING: drop hosts whose instance set is a subset of your approved instance IDs; run Q11 for the reported IDs // LOOKBACK: 30d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | FileName=/^ScreenConnect\.ClientService\.exe$/i | ImageFileName=/ScreenConnect Client \((?<InstanceId>[0-9a-f]{16})\)/i | groupBy([aid, ComputerName], function=[count(InstanceId, distinct=true, as=Instances), collect([InstanceId])], limit=1000) | Instances >= 2 | sort(Instances, order=desc, limit=200)
4 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.name: Created process nametgt.process.image.path: Created process image pathagent.uuid: Endpoint identity
Recommended fields
endpoint.name: Host name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.image.path contains 'ScreenConnect Client ('
| limit 5
| columns event.time, agent.uuid, tgt.process.name, tgt.process.image.path// HUNT: host running two or more ScreenConnect client instances
// SCHEMA PROFILE: sentinelone-endpoint-ocsf
// MITRE: T1219
// CONF: medium | FP: medium
// FALSE POSITIVES: dual-instance MSP deployments and migrations
// EQUIVALENCE: approximate-analytic - PowerQuery in this stage cannot extract the instance ID from the path, so the query counts distinct image paths of the ScreenConnect service binary per host. Each instance lives in its own ScreenConnect Client folder, so two paths means two instances.
// REQUIRES: SentinelOne process-creation telemetry with the full image path
// TUNING: Drop hosts whose paths are all your approved instance folders, then run the reported-ID card for the rest.
// LOOKBACK: 30d; set the console time picker, the published query carries no time predicate
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: The instance ID is not extracted, so the output lists a count of distinct paths rather than the IDs.
// VALIDATION LEVEL: static-reviewed
event.type = 'Process Creation' and tgt.process.name matches '^ScreenConnect\\.ClientService\\.exe$' and tgt.process.image.path matches 'ScreenConnect Client \\([0-9a-f]{16}\\)'
| group process_starts=count(), instance_paths=estimate_distinct(tgt.process.image.path), first_seen=min(event.time), last_seen=max(event.time) by agent.uuid, endpoint.name
| filter instance_paths >= 2
| sort -instance_paths
| limit 200Automated validation: static-passed
4 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFileName: Created process nameFolderPath: Created process folderDeviceId: Device identity
Recommended fields
DeviceName: Device name
Fallbacks
DeviceId→DeviceName: Groups devices by name instead of by ID.
Readiness test
DeviceProcessEvents
| where Timestamp > ago(1d)
| where FolderPath contains "ScreenConnect Client ("
| project Timestamp, DeviceId, FileName, FolderPath
| take 5// HUNT: host running two or more ScreenConnect client instances
// SCHEMA PROFILE: microsoft-defender-xdr
// MITRE: T1219
// CONF: medium | FP: medium
// FALSE POSITIVES: dual-instance MSP deployments and migrations
// EQUIVALENCE: equivalent-with-schema-assumptions - Same aggregate: the ScreenConnect service binary, instance ID extracted from the folder path, distinct instance IDs per device, threshold of two.
// REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents)
// TUNING: Drop devices whose instance set is a subset of your approved instance IDs; run the reported-ID card for the rest.
// LOOKBACK: 30d
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: Devices where the sensor did not report the service start are not counted.
// VALIDATION LEVEL: schema-aligned
// AUTOMATED VALIDATION: static-passed; static=passed-with-warnings; fixtures=0/0
DeviceProcessEvents
| where Timestamp >= ago(30d)
| where FileName =~ "ScreenConnect.ClientService.exe"
| extend InstanceId = tolower(extract(@"(?i)ScreenConnect Client \(([0-9a-f]{16})\)", 1, FolderPath))
| where isnotempty(InstanceId)
| summarize Instances = dcount(InstanceId), InstanceIds = make_set(InstanceId), FirstSeen = min(Timestamp), LastSeen = max(Timestamp) by DeviceId, DeviceName
| where Instances >= 2
| sort by Instances desc
| take 200Looks for: The two rogue client IDs named in the report, the ScreenConnect.ClientSetup.msi download with a c=Exploited parameter, and the C:\Windows\TEMP\sc.msi staging path. Client IDs are specific to the attacker's instance, not to ScreenConnect as a product.
Known limitations and deployment notes
- PowerQuery: An installer started with a URL that does not name c=Exploited is not matched.
- PowerQuery assumes: The client ID appears in the image path of an installed client and in the command line of a service call.
- KQL – Defender XDR: An installer started with a URL that does not name c=Exploited is not matched.
- KQL – Defender XDR assumes: FolderPath holds the folder of the created process, which carries the instance ID for an installed client.
// HUNT: reported rogue client IDs, Exploited installer URL and sc.msi staging // MITRE: T1219, T1105 // CONF: high | FP: low | COST: low | REQUIRES: process creation with command line and image path (ProcessRollup2) // SOURCE: client IDs, the installer pattern and the sc.msi path appear in the Huntress and Hacker News snapshots // LOOKBACK: 30d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | ImageFileName=/(2588ef5c15954b10|ed630cc2c873b091)/i or CommandLine=/(2588ef5c15954b10|ed630cc2c873b091)/i or CommandLine=/ScreenConnect\.ClientSetup\.msi.*c=Exploited/i or CommandLine=/\\Windows\\TEMP\\sc\.msi/i | table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
3 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.image.path: Created process image pathtgt.process.cmdline: Created command line
Recommended fields
tgt.process.name: Created process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.image.path = * tgt.process.cmdline = * | limit 5 | columns event.time, tgt.process.image.path, tgt.process.cmdline
// HUNT: reported rogue client IDs, Exploited installer URL and sc.msi staging // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1219, T1105 // CONF: high | FP: low // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: either reported client ID in the new process image path or command line, the ClientSetup installer URL pattern with c=Exploited, or the sc.msi staging path. The temp-folder separators are matched as any single non-alphanumeric character. // REQUIRES: SentinelOne process-creation telemetry with image path and command line // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: An installer started with a URL that does not name c=Exploited is not matched. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and (tgt.process.image.path matches '(2588ef5c15954b10|ed630cc2c873b091)' or tgt.process.cmdline matches '(2588ef5c15954b10|ed630cc2c873b091)' or tgt.process.cmdline matches 'ScreenConnect\\.ClientSetup\\.msi.*c=Exploited' or tgt.process.cmdline matches 'Windows[^a-z0-9]TEMP[^a-z0-9]sc\\.msi') | columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.image.path, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
3 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFolderPath: Created process folderProcessCommandLine: Created command line
Recommended fields
FileName: Created process name
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FolderPath, ProcessCommandLine | take 5
// HUNT: reported rogue client IDs, Exploited installer URL and sc.msi staging // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1219, T1105 // CONF: high | FP: low // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: either reported client ID in the created process folder or command line, the ClientSetup installer URL pattern with c=Exploited, or the sc.msi staging path. // REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents) // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d // CONFIGURATION: No lookup objects required. // KNOWN GAPS: An installer started with a URL that does not name c=Exploited is not matched. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0 DeviceProcessEvents | where Timestamp >= ago(30d) | where FolderPath contains "2588ef5c15954b10" or FolderPath contains "ed630cc2c873b091" or ProcessCommandLine contains "2588ef5c15954b10" or ProcessCommandLine contains "ed630cc2c873b091" or ProcessCommandLine matches regex @"(?i)ScreenConnect\.ClientSetup\.msi.*c=Exploited" or ProcessCommandLine contains "\\Windows\\TEMP\\sc.msi" | project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName | sort by Timestamp desc | take 200
Looks for: DNS lookups for the five reported domains and connections to the two reported IPv4 addresses. Run it over the longest lookback you retain: the first activity in the report is 2026-11-11, but the sequence tags suggest earlier compromise.
Known limitations and deployment notes
- PowerQuery: A lookup the agent does not report, such as DNS over HTTPS inside a browser, is not captured.
- PowerQuery assumes: event.dns.request holds the queried name; the vendor field docs name dns.request, so the readiness test shows which is populated.
- PowerQuery assumes: The acting process on a DNS or connection event is src.process.*.
- KQL – Defender XDR: The addresses 185.99.255.28 and 155.94.150.39 are not in this query; use the CQL tab for the connection pivot.
- KQL – Defender XDR: Advanced Hunting keeps 30 days; the CQL tab covers 90 days.
- KQL – Defender XDR: A lookup the sensor does not report, such as DNS over HTTPS inside a browser, is not captured.
- KQL – Defender XDR assumes: DnsQueryResponse is attested in Microsoft-owned hunting queries rather than listed on the table page.
- KQL – Defender XDR assumes: AdditionalFields carries the queried name under DnsQueryString or QueryName; the readiness test shows which key your tenant populates.
// HUNT: reported SCKit infrastructure sweep // MITRE: T1071.001, T1568, T1105 // CONF: high | FP: low | COST: medium | REQUIRES: DNS and IPv4 connection events (DnsRequest, NetworkConnectIP4) // SOURCE: all values appear in the Huntress snapshot; the Hacker News snapshot repeats them // LOOKBACK: 90d #event_simpleName=/^(DnsRequest|NetworkConnectIP4)$/ | DomainName=/^(newnewnew\.gotdns\.org|soxnewwork\.homedns\.org|sc\.payproofkit\.com|cdn007-digitaldownloads\.com|ns\.mo7sen\.dev)$/i or RemoteAddressIP4="185.99.255.28" or RemoteAddressIP4="155.94.150.39" | table([@timestamp, ComputerName, #event_simpleName, DomainName, RemoteAddressIP4, RemotePort, ContextBaseFileName, aid], limit=200)
3 required fields · View requirements
Required telemetry
- DNS Resolved
- IP Connect
Required fields
event.time: Event timeevent.dns.request: Queried namedst.ip.address: Destination address
Recommended fields
src.process.name: Acting process
Fallbacks
event.dns.request→dns.request: Same value under the other documented field name.
Readiness test
event.category = 'dns' event.dns.request = * | limit 5 | columns event.time, event.dns.request, dst.ip.address, src.process.name
// HUNT: reported SCKit infrastructure sweep
// SCHEMA PROFILE: sentinelone-endpoint-ocsf
// MITRE: T1071.001, T1568, T1105
// CONF: high | FP: low
// EQUIVALENCE: equivalent-with-schema-assumptions - Same two populations as the CQL: a DNS lookup of one of the five reported domains, or an outbound connection to one of the two reported addresses. The domain match is anchored and case-insensitive, which reproduces the CQL /i intent.
// REQUIRES: SentinelOne DNS Resolved and IP Connect telemetry
// TUNING: High fidelity as shipped; add exclusions only after a hit is explained.
// LOOKBACK: 90d; set the console time picker, the published query carries no time predicate
// CONFIGURATION: No lookup objects required.
// KNOWN GAPS: A lookup the agent does not report, such as DNS over HTTPS inside a browser, is not captured.
// VALIDATION LEVEL: static-reviewed
(event.type = 'DNS Resolved' and event.dns.request matches '^(newnewnew\\.gotdns\\.org|soxnewwork\\.homedns\\.org|sc\\.payproofkit\\.com|cdn007-digitaldownloads\\.com|ns\\.mo7sen\\.dev)$') or (event.type = 'IP Connect' and dst.ip.address in ('185.99.255.28', '155.94.150.39'))
| columns event.time, endpoint.name, event.type, event.dns.request, dst.ip.address, dst.port.number, src.process.name, agent.uuid
| sort -event.time
| limit 200Automated validation: static-passed
3 required fields · View requirements
Required telemetry
- DeviceEvents
Required fields
Timestamp: Event timeActionType: ActionAdditionalFields: Queried name container
Recommended fields
InitiatingProcessFileName: Requesting process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceEvents | where Timestamp > ago(1d) | where ActionType == "DnsQueryResponse" | project Timestamp, ActionType, AdditionalFields | take 5
// HUNT: reported SCKit infrastructure sweep // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1071.001, T1568, T1105 // CONF: high | FP: low // EQUIVALENCE: telemetry-gap - One Advanced Hunting table per query: this covers the DNS half of the CQL on the endpoint DNS action in DeviceEvents. The two reported addresses, 185.99.255.28 and 155.94.150.39, are a connection pivot on a second table and are not in this query. // REQUIRES: Defender for Endpoint DNS telemetry (DeviceEvents, ActionType DnsQueryResponse) // TUNING: High fidelity as shipped; add exclusions only after a hit is explained. // LOOKBACK: 30d (Advanced Hunting retention; the CQL tab covers 90d) // CONFIGURATION: No lookup objects required. // KNOWN GAPS: The addresses 185.99.255.28 and 155.94.150.39 are not in this query; use the CQL tab for the connection pivot. Advanced Hunting keeps 30 days; the CQL tab covers 90 days. A lookup the sensor does not report, such as DNS over HTTPS inside a browser, is not captured. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed-with-warnings; fixtures=0/0 DeviceEvents | where Timestamp >= ago(30d) | where ActionType == "DnsQueryResponse" | extend DomainName = tolower(tostring(coalesce(parse_json(AdditionalFields)["DnsQueryString"], parse_json(AdditionalFields)["QueryName"]))) | where DomainName matches regex @"(?i)^(newnewnew\.gotdns\.org|soxnewwork\.homedns\.org|sc\.payproofkit\.com|cdn007-digitaldownloads\.com|ns\.mo7sen\.dev)$" | summarize Lookups = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp) by DeviceName, DeviceId, DomainName, InitiatingProcessFileName | sort by LastSeen desc | take 200
Looks for: Lists every external address the ScreenConnect client service connects to and how many hosts use each. Your own relay appears on most hosts; an attacker relay appears on a handful. The report notes one rogue client relays through a dynamic-DNS name on port 81. FP: this is an inventory, not a detector. Cloud-hosted instances rotate addresses, so a low host count alone proves nothing.
Known limitations and deployment notes
- PowerQuery: The query lists connections; it does not judge whether an address is a rare relay, so the analyst compares the low-count rows.
- PowerQuery assumes: The client service is the acting process on its own outbound IP Connect events.
- PowerQuery assumes: estimate_distinct is exact at this cardinality.
- KQL – Defender XDR: The query lists connections; it does not judge whether an address is a rare relay, so the analyst compares the low-count rows.
- KQL – Defender XDR assumes: ConnectionSuccess is the action for an established outbound connection.
- KQL – Defender XDR assumes: RemoteIP holds an IPv4 address; an IPv6 value is neither private nor loopback under these functions and stays in the output.
// HUNT: ScreenConnect client relay address inventory // MITRE: T1219, T1071.001 // CONF: low | FP: high | COST: medium | REQUIRES: IPv4 connection events with process name (NetworkConnectIP4) // FALSE POSITIVES: cloud relay address rotation and legitimate secondary instances // TUNING: resolve the low-count rows and compare them with your approved instance hostnames; ignore addresses that your own instance resolves to // LOOKBACK: 7d #event_simpleName=NetworkConnectIP4 | ContextBaseFileName=/^ScreenConnect\.ClientService\.exe$/i | !cidr(RemoteAddressIP4, subnet=["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8"]) | groupBy([RemoteAddressIP4, RemotePort], function=[count(aid, distinct=true, as=Hosts), count(as=Connections)], limit=1000) | sort(Hosts, order=asc, limit=200)
5 required fields · View requirements
Required telemetry
- IP Connect
Required fields
event.time: Event timesrc.process.name: Acting process namedst.ip.address: Destination addressdst.port.number: Destination portagent.uuid: Endpoint identity
Fallbacks
agent.uuid→endpoint.name: Counts hosts by name instead of by agent.
Readiness test
event.type = 'IP Connect' src.process.name = * dst.ip.address = * | limit 5 | columns event.time, agent.uuid, src.process.name, dst.ip.address, dst.port.number
// HUNT: ScreenConnect client relay address inventory // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1219, T1071.001 // CONF: low | FP: high // FALSE POSITIVES: cloud relay address rotation and legitimate secondary instances // EQUIVALENCE: equivalent-with-schema-assumptions - Same connection inventory: outbound connections by the ScreenConnect client service to non-private addresses, grouped by address and port with distinct host and connection counts, fewest hosts first. Private and loopback ranges are excluded. // REQUIRES: SentinelOne IP Connect telemetry with the acting process name // TUNING: Resolve the low-count rows and compare them with your approved instance hostnames; ignore addresses that your own instance resolves to. // LOOKBACK: 7d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: The query lists connections; it does not judge whether an address is a rare relay, so the analyst compares the low-count rows. // VALIDATION LEVEL: static-reviewed event.type = 'IP Connect' and src.process.name matches '^ScreenConnect\\.ClientService\\.exe$' and dst.ip.address = * and !(net_rfc1918(dst.ip.address)) and !(net_ipsubnet(dst.ip.address, '127.0.0.0/8')) | group hosts=estimate_distinct(agent.uuid), connections=count() by dst.ip.address, dst.port.number | sort +hosts | limit 200
Automated validation: static-passed
6 required fields · View requirements
Required telemetry
- DeviceNetworkEvents
Required fields
Timestamp: Event timeActionType: ActionInitiatingProcessFileName: Initiating processRemoteIP: Remote addressRemotePort: Remote portDeviceId: Device identity
Fallbacks
DeviceId→DeviceName: Counts devices by name instead of by ID.
Readiness test
DeviceNetworkEvents | where Timestamp > ago(1d) | project Timestamp, DeviceId, ActionType, InitiatingProcessFileName, RemoteIP, RemotePort | take 5
// HUNT: ScreenConnect client relay address inventory // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1219, T1071.001 // CONF: low | FP: high // FALSE POSITIVES: cloud relay address rotation and legitimate secondary instances // EQUIVALENCE: equivalent-with-schema-assumptions - Same connection inventory: outbound connections by the ScreenConnect client service to non-private, non-loopback addresses, grouped by address and port with distinct device and connection counts, fewest devices first. // REQUIRES: Defender for Endpoint network telemetry (DeviceNetworkEvents) // TUNING: Resolve the low-count rows and compare them with your approved instance hostnames; ignore addresses that your own instance resolves to. // LOOKBACK: 7d; extend to 30d for the incident window // CONFIGURATION: No lookup objects required. // KNOWN GAPS: The query lists connections; it does not judge whether an address is a rare relay, so the analyst compares the low-count rows. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed-with-warnings; fixtures=0/0 DeviceNetworkEvents | where Timestamp >= ago(7d) | where ActionType == "ConnectionSuccess" | where InitiatingProcessFileName =~ "ScreenConnect.ClientService.exe" | where not(ipv4_is_private(RemoteIP)) and not(ipv4_is_in_range(RemoteIP, "127.0.0.0/8")) | summarize Hosts = dcount(DeviceId), Connections = count() by RemoteIP, RemotePort | sort by Hosts asc | take 200
Looks for: The cookie relay steps: sqlite3.exe pointed at a browser cookie database, sqlite3.exe running from a temp or ProgramData path, or any command line handling the ASPXAUTH session cookie. sqlite3.exe is a legitimate tool and ships detect-only. FP: developers and admins who use the sqlite3 command-line tool against browser profiles, and backup or forensics tooling.
Known limitations and deployment notes
- PowerQuery: A cookie store read by a process other than sqlite3.exe, with no ASPXAUTH on the command line, is not seen.
- PowerQuery assumes: The word Cookies is matched anywhere in the command line, which is slightly broader than a path ending in a Cookies folder.
- KQL – Defender XDR: A cookie store read by a process other than sqlite3.exe, with no ASPXAUTH on the command line, is not seen.
- KQL – Defender XDR assumes: FolderPath holds the full image path of the created process.
// HUNT: sqlite3 against browser cookie stores or ASPXAUTH cookie handling // MITRE: T1539, T1550.004, T1555.003 // CONF: medium | FP: medium | COST: low | REQUIRES: process creation with command line and image path (ProcessRollup2) // FALSE POSITIVES: developer use of the sqlite3 CLI against browser profiles // TUNING: keep the ASPXAUTH branch unfiltered; exclude sqlite3.exe launched from standard developer tool paths on named developer hosts // LOOKBACK: 14d #event_simpleName=/^(ProcessRollup2|SyntheticProcessRollup2)$/ | (FileName=/^sqlite3\.exe$/i and CommandLine=/(\\Cookies|cookies\.sqlite|User Data)/i) or (FileName=/^sqlite3\.exe$/i and ImageFileName=/\\(Temp|ProgramData)\\/i) or CommandLine=/ASPXAUTH/i | table([@timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
4 required fields · View requirements
Required telemetry
- Process Creation
Required fields
event.time: Event timetgt.process.name: Created process nametgt.process.cmdline: Created command linetgt.process.image.path: Created process image path
Recommended fields
src.process.name: Creator process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Process Creation' tgt.process.image.path = * tgt.process.cmdline = * | limit 5 | columns event.time, tgt.process.name, tgt.process.image.path, tgt.process.cmdline
// HUNT: sqlite3 against browser cookie stores or ASPXAUTH cookie handling // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1539, T1550.004, T1555.003 // CONF: medium | FP: medium // FALSE POSITIVES: developer use of the sqlite3 CLI against browser profiles // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: sqlite3.exe with a browser cookie store in the command line, sqlite3.exe running from a Temp or ProgramData folder, or ASPXAUTH in any command line. The path separators are matched as a single non-alphanumeric character. // REQUIRES: SentinelOne process-creation telemetry with command line and image path // TUNING: Keep the ASPXAUTH branch unfiltered; exclude sqlite3.exe launched from standard developer tool paths on named developer hosts. // LOOKBACK: 14d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A cookie store read by a process other than sqlite3.exe, with no ASPXAUTH on the command line, is not seen. // VALIDATION LEVEL: static-reviewed event.type = 'Process Creation' and ((tgt.process.name matches '^sqlite3\\.exe$' and tgt.process.cmdline matches '(Cookies|cookies\\.sqlite|User Data)') or (tgt.process.name matches '^sqlite3\\.exe$' and tgt.process.image.path matches '[^a-z0-9](Temp|ProgramData)[^a-z0-9]') or tgt.process.cmdline matches 'ASPXAUTH') | columns event.time, endpoint.name, src.process.user, tgt.process.name, tgt.process.cmdline, src.process.name, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
4 required fields · View requirements
Required telemetry
- DeviceProcessEvents
Required fields
Timestamp: Event timeFileName: Created process nameProcessCommandLine: Created command lineFolderPath: Created process path
Recommended fields
InitiatingProcessFileName: Initiating process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceProcessEvents | where Timestamp > ago(1d) | project Timestamp, FileName, FolderPath, ProcessCommandLine | take 5
// HUNT: sqlite3 against browser cookie stores or ASPXAUTH cookie handling // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1539, T1550.004, T1555.003 // CONF: medium | FP: medium // FALSE POSITIVES: developer use of the sqlite3 CLI against browser profiles // EQUIVALENCE: equivalent-with-schema-assumptions - Same process-creation predicate: sqlite3.exe with a browser cookie store in the command line, sqlite3.exe running from a Temp or ProgramData folder, or ASPXAUTH in any command line. // REQUIRES: Defender for Endpoint process-creation telemetry (DeviceProcessEvents) // TUNING: Keep the ASPXAUTH branch unfiltered; exclude sqlite3.exe launched from standard developer tool paths on named developer hosts. // LOOKBACK: 14d // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A cookie store read by a process other than sqlite3.exe, with no ASPXAUTH on the command line, is not seen. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0 DeviceProcessEvents | where Timestamp >= ago(14d) | where (FileName =~ "sqlite3.exe" and ProcessCommandLine matches regex @"(?i)(\\Cookies|cookies\.sqlite|User Data)") or (FileName =~ "sqlite3.exe" and FolderPath matches regex @"(?i)\\(Temp|ProgramData)\\") or ProcessCommandLine contains "ASPXAUTH" | project Timestamp, ReportId, DeviceId, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName | sort by Timestamp desc | take 200
Looks for: Registry writes under the Software Restriction Policy and AppLocker keys, and commands that set them. install.ps1 adds rules that block files pushed through ScreenConnect temp folders, so a defender's own Run Command scripts stop working on a trapped host. FP: Group Policy applying SRP or AppLocker on a schedule, and security tooling that manages application control.
Known limitations and deployment notes
- PowerQuery: The query does not separate writes by Group Policy from writes by other processes; the analyst reads the acting process column.
- PowerQuery assumes: registry.keyPath holds the full key path of the written value.
- PowerQuery assumes: Registry Value Modified covers a value created as well as changed.
- KQL – Defender XDR: A process whose command line names the keys or Set-AppLockerPolicy without a registry write is not covered; use the CQL tab for that half.
- KQL – Defender XDR assumes: RegistryValueSet is the action for a value write; it is attested in Microsoft-owned hunting queries rather than listed on the table page.
// HUNT: SRP or AppLocker policy keys written outside Group Policy // MITRE: T1562.001, T1112 // CONF: medium | FP: medium | COST: low | REQUIRES: registry value events and process creation (RegGenericValueUpdate, ProcessRollup2) // FALSE POSITIVES: Group Policy refresh and application-control management tooling // TUNING: on hosts managed by Group Policy application control, baseline the gpupdate writes and alert only on writes from PowerShell, cmd or a ScreenConnect-launched parent // LOOKBACK: 14d #event_simpleName=/^(RegGenericValueUpdate|AsepValueUpdate|ProcessRollup2|SyntheticProcessRollup2)$/ | RegObjectName=/\\Safer\\CodeIdentifiers/i or RegObjectName=/\\SrpV2\\/i or CommandLine=/(Safer\\CodeIdentifiers|SrpV2|Set-AppLockerPolicy)/i | table([@timestamp, ComputerName, #event_simpleName, RegObjectName, RegValueName, FileName, CommandLine, ParentBaseFileName, aid], limit=200)
3 required fields · View requirements
Required telemetry
- Registry Value Modified
- Process Creation
Required fields
event.time: Event timeregistry.keyPath: Registry key pathtgt.process.cmdline: Created command line
Recommended fields
src.process.name: Writer process name
Fallbacks
endpoint.name→agent.uuid: Changes the displayed host identifier only.
Readiness test
event.type = 'Registry Value Modified' registry.keyPath = * | limit 5 | columns event.time, registry.keyPath, tgt.process.cmdline
// HUNT: SRP or AppLocker policy keys written outside Group Policy // SCHEMA PROFILE: sentinelone-endpoint-ocsf // MITRE: T1562.001, T1112 // CONF: medium | FP: medium // FALSE POSITIVES: Group Policy refresh and application-control management tooling // EQUIVALENCE: equivalent-with-schema-assumptions - Same two populations as the CQL: a registry value write under the Safer CodeIdentifiers or SrpV2 keys, and a process whose command line names those keys or Set-AppLockerPolicy. Key separators are matched as any single non-alphanumeric character. // REQUIRES: SentinelOne Registry Value Modified and Process Creation telemetry // TUNING: On hosts managed by Group Policy application control, baseline the gpupdate writes and alert only on writes from PowerShell, cmd or a ScreenConnect-launched parent. // LOOKBACK: 14d; set the console time picker, the published query carries no time predicate // CONFIGURATION: No lookup objects required. // KNOWN GAPS: The query does not separate writes by Group Policy from writes by other processes; the analyst reads the acting process column. // VALIDATION LEVEL: static-reviewed (event.type = 'Registry Value Modified' and (registry.keyPath matches 'Safer[^a-z0-9]CodeIdentifiers' or registry.keyPath matches '[^a-z0-9]SrpV2[^a-z0-9]')) or (event.type = 'Process Creation' and tgt.process.cmdline matches '(Safer[^a-z0-9]CodeIdentifiers|SrpV2|Set-AppLockerPolicy)') | columns event.time, endpoint.name, event.type, registry.keyPath, registry.valueName, src.process.name, tgt.process.name, tgt.process.cmdline, agent.uuid | sort -event.time | limit 200
Automated validation: static-passed
3 required fields · View requirements
Required telemetry
- DeviceRegistryEvents
Required fields
Timestamp: Event timeActionType: ActionRegistryKey: Registry key
Recommended fields
InitiatingProcessFileName: Writer process
Fallbacks
DeviceName→DeviceId: Changes the displayed host identifier only.
Readiness test
DeviceRegistryEvents | where Timestamp > ago(1d) | project Timestamp, ActionType, RegistryKey | take 5
// HUNT: SRP or AppLocker policy keys written outside Group Policy // SCHEMA PROFILE: microsoft-defender-xdr // MITRE: T1562.001, T1112 // CONF: medium | FP: medium // FALSE POSITIVES: Group Policy refresh and application-control management tooling // EQUIVALENCE: approximate-analytic - One Advanced Hunting table per query: this covers the registry half of the CQL (a value write under the Safer CodeIdentifiers or SrpV2 keys). The process command-line half is not covered. // REQUIRES: Defender for Endpoint registry telemetry (DeviceRegistryEvents) // TUNING: On hosts managed by Group Policy application control, baseline the gpupdate writes and alert only on writes from PowerShell, cmd or a ScreenConnect-launched parent. // LOOKBACK: 14d // CONFIGURATION: No lookup objects required. // KNOWN GAPS: A process whose command line names the keys or Set-AppLockerPolicy without a registry write is not covered; use the CQL tab for that half. // VALIDATION LEVEL: schema-aligned // AUTOMATED VALIDATION: static-passed; static=passed; fixtures=0/0 DeviceRegistryEvents | where Timestamp >= ago(14d) | where ActionType == "RegistryValueSet" | where RegistryKey contains "\\Safer\\CodeIdentifiers" or RegistryKey contains "\\SrpV2\\" | project Timestamp, ReportId, DeviceId, DeviceName, RegistryKey, RegistryValueName, RegistryValueData, InitiatingProcessFileName, InitiatingProcessCommandLine | sort by Timestamp desc | take 200
Detection Rules by Platform
Six queries are specific enough to promote to Custom IOAs. All six are Monitor / detect only. The pack recommends no IOA that blocks ScreenConnect, ConnectWise product files, sqlite3.exe or csc.exe: the attack reuses the genuine client's own libraries, and a block on them would break remote support fleet-wide.
CrowdStrike: Custom IOA
| IOA name | From | Rule group / type | Pattern | Exclusions | Action |
|---|---|---|---|---|---|
| SCKit, Trap Directory and Executables | Promote Q4 | Process Creation and File Creation (Windows) | Image or file path contains \ProgramData\RelayTrap\; image ToolboxRelayUploader.exe | None | Detect: High |
| SCKit, TrapWatch Task | Promote Q6 | Process Creation (Windows) | Command line contains TrapWatch | None | Detect: High |
| SCKit, Run Key Value | Promote Q7 | Registry (Windows) | Value name RelayTrapLiteAlert | None | Detect: High |
| SCKit, Script Names | Promote Q3 | Process Creation (Windows) | Command line contains sckit-run, sckit-decoder, sckit-loader, Panel-Lateral or Run-Lateral-Full | None | Detect: High |
| SCKit, Rogue Client Instance | Promote Q11 | Process Creation (Windows) | Image path or command line contains 2588ef5c15954b10 or ed630cc2c873b091 | None | Detect: High |
| SCKit, Service Stop or Manual Start | Promote Q9 | Process Creation (Windows) | Image sc.exe, net.exe or PowerShell; command line names a ScreenConnect Client service and stop or manual start | Your approved instance ID | Detect: Medium |
Deployment path
- Endpoint security, Configuration, Custom IOA rule groups. Create a group for this campaign on a pilot prevention policy.
- Create each rule in Monitor and leave it for one business week.
- Do not raise any rule to Block. If you want to restrict ScreenConnect, allowlist your own instance ID (section 12, N3), do not block by this campaign's names.
- Import the section 10 CSV into IOC Management. Three network rows import as prevent; everything else imports as detect.
Investigate-only queries
- Q1, Q2, Q5, Q8, Q10, Q13, Q14, Q15: run as scheduled hunts. They depend on a baseline of your own approved ScreenConnect and scripting use.
- Correlation is where fidelity lives. A host that hits Q10 and then Q9, Q6 or Q8 within 24 hours should escalate regardless of the individual ratings.
SentinelOne: custom detection rules
| Rule | Source query | Run as | Notes |
|---|---|---|---|
| SCKit, Trap Directory and Executables | Q4, PowerQuery tab | Scheduled custom detection rule | Bind entities so the alert names the host instead of "Unknown Device". This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, TrapWatch Task | Q6, PowerQuery tab | Hunt only until the gap is closed | Q6 is only an approximation here. Partial pivot: the TrapWatch name in a process command line, which catches the schtasks or PowerShell call that registers the task. The CQL also reads the scheduled-task registration event, and no scheduled-task event type is attested for the SentinelOne model used here.. This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Run Key Value | Q7, PowerQuery tab | Scheduled custom detection rule | Bind entities so the alert names the host instead of "Unknown Device". This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Script Names | Q3, PowerQuery tab | Scheduled custom detection rule | Bind entities so the alert names the host instead of "Unknown Device". This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Rogue Client Instance | Q11, PowerQuery tab | Scheduled custom detection rule | Bind entities so the alert names the host instead of "Unknown Device". This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Service Stop or Manual Start | Q9, PowerQuery tab | Scheduled custom detection rule | Bind entities so the alert names the host instead of "Unknown Device". This pack's own text mentions a baseline or pilot; follow it as written |
Create the rule with POST /web/api/v2.1/cloud-detection/rules, queryType: "scheduled" and queryLang: "2.0", with the query in data.scheduledParams.query. Use 2.0 operator spellings: a rule written with the 1.0 token ContainsCIS was accepted and never fired on a tenant. The API does not warn, so lint the body before deploying.
Microsoft Defender: custom detection rules
| Rule | Source query | Run as | Notes |
|---|---|---|---|
| SCKit, Trap Directory and Executables | Q4, KQL – Defender XDR tab | Hunt only until the gap is closed | Q4 is only an approximation here. One Advanced Hunting table per query: this covers the file-write half of the CQL (a file created or renamed in the RelayTrap directory, or named RelayTrap.exe or ToolboxRelayUploader.exe). The process-start half of the CQL is not covered.. This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, TrapWatch Task | Q6, KQL – Defender XDR tab | Hunt only until the gap is closed | Q6 is only an approximation here. Partial pivot: the TrapWatch name in a process command line, which catches the call that registers the task. The CQL also reads the scheduled-task registration event, which would need a second table.. This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Run Key Value | Q7, KQL – Defender XDR tab | Hunt only until the gap is closed | Q7 is only an approximation here. One Advanced Hunting table per query: this covers the registry half of the CQL (a value write named RelayTrapLiteAlert, or under a key that names RelayTrap). The process command-line half is not covered.. This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Script Names | Q3, KQL – Defender XDR tab | Custom detection rule, alert only, every hour | The query returns Timestamp, ReportId and DeviceId, which Microsoft recommends for Defender for Endpoint tables so alerts carry the device group scope and the process tree. Remove the Timestamp filter and the final sort and take before saving the rule: the service applies the rule's lookback itself. This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Rogue Client Instance | Q11, KQL – Defender XDR tab | Custom detection rule, alert only, every hour | The query returns Timestamp, ReportId and DeviceId, which Microsoft recommends for Defender for Endpoint tables so alerts carry the device group scope and the process tree. Remove the Timestamp filter and the final sort and take before saving the rule: the service applies the rule's lookback itself. This pack's own text mentions a baseline or pilot; follow it as written |
| SCKit, Service Stop or Manual Start | Q9, KQL – Defender XDR tab | Custom detection rule, alert only, every hour | The query returns Timestamp, ReportId and DeviceId, which Microsoft recommends for Defender for Endpoint tables so alerts carry the device group scope and the process tree. Remove the Timestamp filter and the final sort and take before saving the rule: the service applies the rule's lookback itself. This pack's own text mentions a baseline or pilot; follow it as written |
Q1, Q2, Q5, Q8, Q10, Q12, Q13, Q14 and Q15 stay a hunt in this pack, not a rule. A rule can generate only 150 alerts per run. Continuous (NRT) frequency needs a single table and no comment lines, so delete the generated comment header from the query first.
Machine-Readable IOC Appendix
Read before importing: 23 rows. 3 are prevent: 185.99.255.28, ns.mo7sen.dev and cdn007-digitaldownloads.com. Each is single-purpose attacker infrastructure reported by Huntress and by the ConnectWise advisory (via the Hacker News), and the first two were also observed by Sophos. The other 20 rows are detect. Hashes are low severity because Huntress states they are rebuilt per host. Do not add screenconnect.com, any ScreenConnect or ConnectWise file hash, sqlite3.exe or csc.exe.
type,value,action,severity,expiration,description,tags ipv4,185.99.255.28,prevent,critical,2027-05-12,Attacker ScreenConnect server serving the client installer,campaign:SCKit-RelayTrap ipv4,155.94.150.39,detect,high,2027-05-12,Attacker ScreenConnect panel host,campaign:SCKit-RelayTrap domain,ns.mo7sen.dev,prevent,critical,2027-05-12,Stager host serving EadF.php payloads,campaign:SCKit-RelayTrap domain,cdn007-digitaldownloads.com,prevent,high,2027-05-12,C2 domain first flagged by Blackpoint,campaign:SCKit-RelayTrap domain,newnewnew.gotdns.org,detect,high,2027-05-12,Dynamic DNS relay resolving to the attacker server,campaign:SCKit-RelayTrap domain,soxnewwork.homedns.org,detect,high,2027-05-12,Dynamic DNS relay; port 81 relay for a rogue client,campaign:SCKit-RelayTrap domain,sc.payproofkit.com,detect,high,2027-05-12,Attacker ScreenConnect panel,campaign:SCKit-RelayTrap sha256,94b93c649b0ae0281352da9d01761fa9195ab1e6ac7010af3b9ba1646355eb11,detect,low,2027-02-12,Worm installer script without config (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,7a9aca9fdd4dcc13fe497cabdb13ca1e5d6a529271c8aa495e5ca1c1c80271ec,detect,low,2027-02-12,Worm installer and cookie replay script (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,b93f10f30ee453d1e1c046fec9d141c41d7680be5cd46c3aeb3febe0f4953b4d,detect,low,2027-02-12,Cookie decrypt and panel probe helper (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,3c7a98f0fdb6235b8076319c74dc1085f7b349b6d750416dd0cadb07d7972ec4,detect,low,2027-02-12,Trap source; compiled separately per host (weak),campaign:SCKit-RelayTrap sha256,d2ed7a7bf4f8ac9c7969e9b3a07ebd4dda0d858f372c876ac0a041611698de9a,detect,low,2027-02-12,Trap supervisor script (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,4a1dd3cd2ea14368afadf7e9dfdd63b104e3981ef8c85bbb6510919b810af04b,detect,low,2027-02-12,Trap and lockout installer script (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,8cb5f48bbe70b5248db7f327f3d1ad6649df5c767d2a7e0711ee147fd92e06af,detect,medium,2027-02-12,Toolbox upload tool; 32-bit .NET,campaign:SCKit-RelayTrap sha256,cf50d73fa8117a758093b1344de41cd6a6ccddc645cdda1fa91a9264efe93956,detect,low,2027-02-12,Logging script for ScreenConnect events (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,81cc2baa35b798d6084bd078662fa29ff28df02c46c6ccdb2b43bde97d19f781,detect,low,2027-02-12,Stage 0 loader script (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,c31e6f075cd77e01839aebce32ed35659a9ee962d102aca53040bb5e297410a9,detect,low,2027-02-12,Trap removal script (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,deda7c30d798a19b6699a45fbcba503cf778594df9163c61c2f96bb2d2b9fb45,detect,low,2027-02-12,Policy recovery script (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,0bd84c776dc01f784a617e73fc77b269f847fc4a062ffd489e4692869724bf08,detect,low,2027-02-12,Kit config file (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,454c43d296b1276bde9a4f6ff1da2221cb35ccdb2fc7991bdd572e45bce12a8a,detect,low,2027-02-12,Proof payload batch file (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,5dd3a6ba806ac472663e243cfc1c034c534d5d9a42ec362c3dbf0f8d950148d0,detect,low,2027-02-12,Cleanup dropper batch file (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,43b7a5e56f9e6c7b74e1ce2b7b5af63f383084625fcc2d3a5985fa1059e2db95,detect,low,2027-02-12,Lateral dropper batch file (weak: rebuilt per host),campaign:SCKit-RelayTrap sha256,50659748723e906c8b3d3c0386bd4cf692f693a3e23639398c1a14d0c31fed61,detect,low,2027-02-12,Loader fetch command file (weak: rebuilt per host),campaign:SCKit-RelayTrap
indicatorType,indicatorValue,action,title,description,expirationTime,severity,recommendedActions,rbacGroups,category,mitretechniques,GenerateAlert IpAddress,185.99.255.28,Block,Attacker ScreenConnect server serving the client installer,Attacker ScreenConnect server serving the client installer,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True IpAddress,155.94.150.39,Audit,Attacker ScreenConnect panel host,Attacker ScreenConnect panel host,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True DomainName,ns.mo7sen.dev,Block,Stager host serving EadF.php payloads,Stager host serving EadF.php payloads,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True DomainName,cdn007-digitaldownloads.com,Block,C2 domain first flagged by Blackpoint,C2 domain first flagged by Blackpoint,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True DomainName,newnewnew.gotdns.org,Audit,Dynamic DNS relay resolving to the attacker server,Dynamic DNS relay resolving to the attacker server,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True DomainName,soxnewwork.homedns.org,Audit,Dynamic DNS relay; port 81 relay for a rogue client,Dynamic DNS relay; port 81 relay for a rogue client,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True DomainName,sc.payproofkit.com,Audit,Attacker ScreenConnect panel,Attacker ScreenConnect panel,2027-05-12T00:00:00.0Z,High,Investigate the device and pivot into the pack's queries,,,,True FileSha256,94b93c649b0ae0281352da9d01761fa9195ab1e6ac7010af3b9ba1646355eb11,Audit,Worm installer script without config,Worm installer script without config (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,7a9aca9fdd4dcc13fe497cabdb13ca1e5d6a529271c8aa495e5ca1c1c80271ec,Audit,Worm installer and cookie replay script,Worm installer and cookie replay script (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,b93f10f30ee453d1e1c046fec9d141c41d7680be5cd46c3aeb3febe0f4953b4d,Audit,Cookie decrypt and panel probe helper,Cookie decrypt and panel probe helper (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,3c7a98f0fdb6235b8076319c74dc1085f7b349b6d750416dd0cadb07d7972ec4,Audit,Trap source; compiled separately per host,Trap source; compiled separately per host (weak),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,d2ed7a7bf4f8ac9c7969e9b3a07ebd4dda0d858f372c876ac0a041611698de9a,Audit,Trap supervisor script,Trap supervisor script (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,4a1dd3cd2ea14368afadf7e9dfdd63b104e3981ef8c85bbb6510919b810af04b,Audit,Trap and lockout installer script,Trap and lockout installer script (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,8cb5f48bbe70b5248db7f327f3d1ad6649df5c767d2a7e0711ee147fd92e06af,Audit,Toolbox upload tool; 32-bit .NET,Toolbox upload tool; 32-bit .NET,2027-02-12T00:00:00.0Z,Medium,Investigate the device and pivot into the pack's queries,,,,True FileSha256,cf50d73fa8117a758093b1344de41cd6a6ccddc645cdda1fa91a9264efe93956,Audit,Logging script for ScreenConnect events,Logging script for ScreenConnect events (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,81cc2baa35b798d6084bd078662fa29ff28df02c46c6ccdb2b43bde97d19f781,Audit,Stage 0 loader script,Stage 0 loader script (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,c31e6f075cd77e01839aebce32ed35659a9ee962d102aca53040bb5e297410a9,Audit,Trap removal script,Trap removal script (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,deda7c30d798a19b6699a45fbcba503cf778594df9163c61c2f96bb2d2b9fb45,Audit,Policy recovery script,Policy recovery script (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,0bd84c776dc01f784a617e73fc77b269f847fc4a062ffd489e4692869724bf08,Audit,Kit config file,Kit config file (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,454c43d296b1276bde9a4f6ff1da2221cb35ccdb2fc7991bdd572e45bce12a8a,Audit,Proof payload batch file,Proof payload batch file (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,5dd3a6ba806ac472663e243cfc1c034c534d5d9a42ec362c3dbf0f8d950148d0,Audit,Cleanup dropper batch file,Cleanup dropper batch file (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,43b7a5e56f9e6c7b74e1ce2b7b5af63f383084625fcc2d3a5985fa1059e2db95,Audit,Lateral dropper batch file,Lateral dropper batch file (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True FileSha256,50659748723e906c8b3d3c0386bd4cf692f693a3e23639398c1a14d0c31fed61,Audit,Loader fetch command file,Loader fetch command file (weak: rebuilt per host),2027-02-12T00:00:00.0Z,Low,Investigate the device and pivot into the pack's queries,,,,True
Column names and allowed values are from Microsoft's documented parameter table. Prevent rows import as Block, without remediation; network indicators cannot use BlockAndRemediate. Check each expirationTime before importing: an indicator whose date has passed is already expired. Download the sample CSV from the Import page to confirm the column order before a bulk import. Each file takes at most 500 indicators. Learn describes the import per entity type, so if a mixed file is rejected, split it by indicatorType. An imported indicator does nothing unless the matching Advanced features are on (for example Custom network indicators and Allow or block file).
This pack does not ship a SentinelOne import block: the import format could not be verified against SentinelOne's own documentation. Export a sample from your console and the block can be added with confidence.
Behavioral signatures (primary detection layer for this campaign) 1. ScreenConnect.ClientService.exe as parent of cmd.exe or powershell.exe, user SYSTEM (Q1, Q2) 2. Files under C:\Windows\Temp named sckit-run.bat, sckit-decoder.ps1, sckit-loader.ps1 and sc.msi (Q3, Q11) 3. Directory C:\ProgramData\RelayTrap and subfolder trapbins\<client id>\RelayTrap.exe (Q4) 4. csc.exe with a PowerShell parent, command line naming RelayTrap or trapbins (Q5) 5. Scheduled task TrapWatch, repeating every 10 seconds, running as SYSTEM (Q6) 6. HKLM Run value RelayTrapLiteAlert (Q7) 7. Add-MpPreference exclusion commands from the CWInstall_<8 hex>-c1 installer folder (Q8) 8. Genuine ScreenConnect Client service stopped and set to manual start (Q9) 9. Two or more ScreenConnect Client instance IDs on one host (Q10) 10. sqlite3.exe reading a browser cookie database; command lines handling ASPXAUTH (Q14) 11. SRP or AppLocker policy keys written outside Group Policy (Q15) 12. Mass: one identical Run Command executed on dozens of hosts inside an hour (Q2)
Named tooling and artifacts (from the Huntress report) Stagers and loaders : sckit-run.bat, sckit-decoder.ps1, sckit-loader.ps1, Stage0Loader.ps1, runnew.cmd, Run-Lateral-Full.bat Kit payload : k<32 hex>.ps1, Panel-Lateral.ps1, Panel-Lateral-free.ps1, LabConfig.ps1, Lab-context.json, lab-trap-cleanup-embedded.ps1 Trap : install.ps1, TrapWatch.ps1, RelayTrap.cs, RelayTrap.exe, Lite-Alert.ps1, TRAP-PROOF.bat, Stop-LabTrap.bat, Release-Machine.cmd, Recover-ExecutionPolicy.cmd Cookie relay : ToolboxRelayUploader.exe, WithUninstall.ps1, sqlite3.exe (legitimate tool, detect only) Installer folder : CWInstall_<8 hex>-c1\Installer.ps1 Paths : C:\Windows\TEMP\sc.msi, C:\Windows\Temp\sckit-run.bat, C:\ProgramData\RelayTrap\trapbins\<client id>\RelayTrap.exe Scheduled task : TrapWatch Run value : HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\RelayTrapLiteAlert Rogue client IDs : 2588ef5c15954b10, ed630cc2c873b091 Installer pattern : /Bin/ScreenConnect.ClientSetup.msi?...&c=Exploited<N> Participant name : Addmin Do NOT block : ScreenConnect.ClientService.exe, ScreenConnect.WindowsClient.exe, any ConnectWise product file, sqlite3.exe, csc.exe
# Read-only audit of one Windows host. Changes nothing.
# Run through EDR live response or WinRM, NOT through an interactive ScreenConnect session.
Get-CimInstance Win32_Service |
Where-Object { $_.Name -like 'ScreenConnect Client*' } |
Select-Object Name, State, StartMode, PathName
Get-ScheduledTask -TaskName 'TrapWatch' -ErrorAction SilentlyContinue |
Select-Object TaskName, State, TaskPath
(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' -ErrorAction SilentlyContinue).RelayTrapLiteAlert
Test-Path 'C:\ProgramData\RelayTrap'
Get-ChildItem 'C:\Windows\Temp' -Filter 'sckit-*' -ErrorAction SilentlyContinue |
Select-Object FullName, Length, LastWriteTime
Get-MpPreference | Select-Object ExclusionPath, ExclusionProcess, ExclusionExtension
Detection Validation Gates
Work these in order. A query that has not cleared gate 2 has no business being an alert.
| Gate | What to prove | How | Pass criteria |
|---|---|---|---|
| G1 · Telemetry ready | The events each query needs arrive in your tenant | Run each event filter alone over 24h with count(): process creation with command line, image path and parent (CrowdStrike: ProcessRollup2. SentinelOne: Process Creation. Defender: DeviceProcessEvents); outbound connection and DNS lookup (NetworkConnectIP4 / IP Connect / DeviceNetworkEvents; DnsRequest / DNS Resolved / DeviceEvents); scheduled task created and registry autostart (ScheduledTaskRegistered, AsepValueUpdate / Task Register, Registry Value Modified / ScheduledTaskCreated, RegistryValueSet). | Non-zero counts; any zero is a documented gap. |
| G2 · Benign baseline | You know what normal ScreenConnect use looks like | Run Q1, Q2, Q9, Q10 and Q13 over 30 days. List every instance ID, relay address and Run Command you approve. | Every recurring hit is explained and written into the TUNING exclusions. |
| G3 · Positive test | The query fires on the behavior it claims | On an isolated test host in a change window, create a scheduled task named TrapWatch running cmd /c exit (Q6), and a harmless Run value named RelayTrapLiteAlert (Q7). Do not run any SCKit sample. | Q6 and Q7 fire; remove both test objects afterward. |
| G4 · Negative test | Exclusions did not blind the query | Re-run G3 with exclusions applied and confirm your approved instance stays quiet on Q1, Q9 and Q10. | Test objects still fire; approved use is quiet. |
| G5 · Promotion | Safe to alert | Custom IOAs in Monitor mode for one business week on a pilot policy. | Zero unexplained detections. |
| G6 · Response readiness | The team can act on a hit | Tabletop section 14. | The analyst can state "never open an interactive ScreenConnect session to a suspect host" unprompted. |
Hardening: Tiered
The campaign needs three things: a panel that accepts commands without MFA, an RMM client that is allowed to run anything as SYSTEM, and no one watching Run Command and Toolbox history. Each control below removes one.
I1 · Disable the five named extensions and verify
ConnectWise disabled Labtech Plus, RMM Plus, RMM+, RMM Plus Password Link and RMM+ Password Link on hosted environments and urged on-premises partners to do the same. Do it, then confirm in the extensions list. Disabling an extension does not remove malware that is already installed and does not revoke access the attacker already holds; pair it with I3 and the section 14 runbook.
Authority: MITRE M1042 (Disable or Remove Feature or Program); ConnectWise partner advisory as quoted by the Hacker News. Verify: extensions list shows none enabled (P3). Risk: low; breaks only integrations that use RMM+.
I2 · Set or remove the RMM+ access key
If RMM+ is kept for a real project, update past 1.0.31 and 1.0.32 and set RMMPlus.AccessKey to a long random value. Those versions accept a blank key and bypass accounts, roles and MFA.
Authority: MITRE M1051 (Update Software), M1054 (Software Configuration). best-practice, no formal benchmark Verify: the setting is non-empty in the extension configuration. Risk: low.
I3 · Revoke from a clean device, then rotate
Terminate active ScreenConnect web sessions, rotate admin and technician credentials, and revoke browser and identity-provider sessions for any technician who connected to a suspect host. The toolkit is designed to steal session cookies, so a password change alone is not enough.
Authority: MITRE M1032 (Multi-factor Authentication), M1026 (Privileged Account Management). Verify: no pre-rotation session token still works. Risk: medium; technicians are signed out.
I4 · Stop interactive sessions to suspect hosts
Write it into the runbook: use EDR live response, WinRM or another out-of-band channel. An interactive session can trigger the spread to the technician workstation.
Authority: vendor guidance (Huntress mitigation section). best-practice, no formal benchmark Verify: runbook updated and tabletop passed (G6). Risk: low.
N1 · Restrict who can Run Command and use the Toolbox
Limit the Run Command and Toolbox permissions to a small role, require MFA on every account, and restrict panel login to known addresses. Alert on mass Run Command use (Q2).
Authority: MITRE M1018 (User Account Management), M1032. Verify: a standard technician role cannot run commands on all sessions. Risk: medium; slows ad-hoc support.
N2 · Turn on Defender tamper protection and review exclusions
Tamper protection stops a script from adding exclusions silently. Review every existing exclusion for an owner.
Authority: MITRE M1038 (Execution Prevention) and M1054 (Software Configuration); Microsoft Defender documentation. best-practice, no formal benchmark Verify: P4 shows IsTamperProtected true. Risk: low.
N3 · Allowlist your own ScreenConnect instance in audit mode
Build the list of your own instance IDs and relay hostnames (Q10 and Q13 produce it), then use application control in audit mode to flag any other ScreenConnect client. This allowlists your instance; it does not block the product.
Authority: MITRE M1038 (Execution Prevention); CIS Controls v8 2.5. Verify: audit events appear for a test client with a different instance ID. Risk: medium; keep it in audit until the list is clean.
S1 · Separate technician workstations
Technicians reach hundreds of endpoints, so their workstation is the worm's second stage. Use dedicated, hardened workstations with no general browsing and phishing-resistant MFA.
Authority: MITRE M1030 (Network Segmentation), M1032. best-practice, no formal benchmark Verify: technician sign-ins come only from the dedicated pool. Risk: high; budget and process change.
S2 · Ingest ScreenConnect audit logs into your SIEM
Huntress notes the activity was visible in panel logs and not in sign-in events. Alert on Run Command to many sessions and on extension changes.
Authority: MITRE M1047 (Audit). Verify: a test Run Command appears in the SIEM within minutes. Risk: low.
S3 · Restrict egress to approved relays
Allow ScreenConnect clients to reach only your own instance hostnames, so a rogue relay on a dynamic DNS name is refused.
Authority: MITRE M1037 (Filter Network Traffic). Verify: Q13 shows only approved addresses. Risk: medium.
Deployable Playbooks
P1 · Read-only host audit
Prerequisites: Local admin or EDR live response. Do not use an interactive ScreenConnect session on a suspect host. Reboot required: No. Rollback: none required, the script only reads.
# Read-only audit of one Windows host. Changes nothing.
# Run through EDR live response or WinRM, NOT through an interactive ScreenConnect session.
Get-CimInstance Win32_Service |
Where-Object { $_.Name -like 'ScreenConnect Client*' } |
Select-Object Name, State, StartMode, PathName
Get-ScheduledTask -TaskName 'TrapWatch' -ErrorAction SilentlyContinue |
Select-Object TaskName, State, TaskPath
(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' -ErrorAction SilentlyContinue).RelayTrapLiteAlert
Test-Path 'C:\ProgramData\RelayTrap'
Get-ChildItem 'C:\Windows\Temp' -Filter 'sckit-*' -ErrorAction SilentlyContinue |
Select-Object FullName, Length, LastWriteTime
Get-MpPreference | Select-Object ExclusionPath, ExclusionProcess, ExclusionExtension
P2 · Contain and clean RelayTrap persistence (dry run by default)
Prerequisites: Evidence copied first (the script does this), host isolated in EDR, and a list of your approved instance IDs. Run with no switch to preview, then with -Apply. Reboot required: No. Rollback: none possible for deleted persistence, which is why step 1 copies the artifacts to the evidence folder first. A removed scheduled task can be re-imported from the evidence copy if a false positive is found. The script never touches ScreenConnect services.
# P2: contain and clean RelayTrap persistence on ONE host. Dry run by default.
# Does NOT remove any ScreenConnect service. It lists them so a human can compare each
# instance ID with the approved list before anything is touched.
param(
[string[]]$ApprovedInstanceIds = @(), # your own 16-character instance IDs
[string]$EvidenceDir = 'C:\IR\sckit-evidence',
[switch]$Apply
)
$ErrorActionPreference = 'Continue'
New-Item -ItemType Directory -Path $EvidenceDir -Force | Out-Null
# 1. Evidence first: copy artifacts before anything is removed
foreach ($p in 'C:\ProgramData\RelayTrap', 'C:\Windows\Temp') {
if (Test-Path $p) {
Get-ChildItem $p -Recurse -Force -ErrorAction SilentlyContinue |
Where-Object { $p -like '*RelayTrap*' -or $_.Name -like 'sckit-*' -or $_.Name -in 'sc.msi','runnew.cmd','Panel-Lateral.ps1','ToolboxRelayUploader.exe','sqlite3.exe' } |
Copy-Item -Destination $EvidenceDir -Force -ErrorAction SilentlyContinue
}
}
# 2. Review every ScreenConnect client service (no changes made here)
Get-CimInstance Win32_Service | Where-Object { $_.Name -like 'ScreenConnect Client*' } | ForEach-Object {
$id = ([regex]::Match($_.Name, '\(([0-9a-f]{16})\)')).Groups[1].Value
$verdict = if ($ApprovedInstanceIds -contains $id) { 'approved' } else { 'REVIEW: not on approved list' }
'{0} state={1} start={2} {3}' -f $_.Name, $_.State, $_.StartMode, $verdict
}
# 3. Remove RelayTrap persistence (the supervisor task, the Run value, the trap process, the folder)
$task = Get-ScheduledTask -TaskName 'TrapWatch' -ErrorAction SilentlyContinue
if ($task) { if ($Apply) { Unregister-ScheduledTask -TaskName 'TrapWatch' -Confirm:$false } else { 'would remove task TrapWatch' } }
$run = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
if ((Get-ItemProperty $run -ErrorAction SilentlyContinue).RelayTrapLiteAlert) {
if ($Apply) { Remove-ItemProperty -Path $run -Name 'RelayTrapLiteAlert' } else { 'would remove Run value RelayTrapLiteAlert' }
}
Get-Process -Name 'RelayTrap' -ErrorAction SilentlyContinue | ForEach-Object {
if ($Apply) { Stop-Process -Id $_.Id -Force } else { 'would stop RelayTrap.exe pid ' + $_.Id }
}
if (Test-Path 'C:\ProgramData\RelayTrap') {
if ($Apply) { Remove-Item 'C:\ProgramData\RelayTrap' -Recurse -Force } else { 'would remove C:\ProgramData\RelayTrap' }
}
Get-ChildItem 'C:\Windows\Temp' -Filter 'sckit-*' -ErrorAction SilentlyContinue | ForEach-Object {
if ($Apply) { Remove-Item $_.FullName -Force } else { 'would remove ' + $_.FullName }
}
P3 · Panel and extension review
Prerequisites: Admin rights on the ScreenConnect server, working from a clean device. Reboot required: No. Rollback: re-enable an extension only after the vendor fix is confirmed and a strong access key is set. Disabling an extension does not remove malware or existing attacker access, so this step is never a substitute for host cleanup.
# P3: ScreenConnect server and panel review (manual, from a CLEAN device) 1. Administration > Extensions: confirm these five are disabled or uninstalled: Labtech Plus, RMM Plus, RMM+, RMM Plus Password Link, RMM+ Password Link. Cloud-hosted instances were disabled by ConnectWise; on-premises partners must do it themselves. 2. If you keep RMM+ for a real project: update past versions 1.0.31 and 1.0.32 and set the RMMPlus.AccessKey setting to a long random value. A blank value is accepted by those versions. 3. Review Run Command history and Toolbox history for commands you did not run, and the audit log for the participant name Addmin and for installer downloads with an Exploited parameter. 4. Terminate active web sessions, rotate ScreenConnect admin and technician credentials, then revoke browser and identity-provider sessions for every technician who connected to a suspect host. 5. Preserve logs before any cleanup. Export the audit, Run Command and Toolbox history.
P4 · Defender state and exclusions check
Prerequisites: Local admin or EDR live response. Reboot required: No. Rollback: none required, read-only.
# P4: Defender state check (read-only) Get-MpComputerStatus | Select-Object AMServiceEnabled, IsTamperProtected, RealTimeProtectionEnabled Get-MpPreference | Select-Object ExclusionPath, ExclusionProcess, ExclusionExtension # Any exclusion naming RelayTrap, ScreenConnect, a CWInstall_ folder or C:\Windows\Temp needs an owner.
Containment Runbook
| Phase | Actions | Owner | Evidence |
|---|---|---|---|
| Isolate | Network-contain the host in EDR and keep it isolated until cleanup is verified: isolation alone does not remove persistence, and hosts reinfected shortly after isolation was lifted. Do not connect through ScreenConnect. Use EDR live response, WinRM or another out-of-band tool. If a technician already connected, treat that workstation as exposed and investigate it from a clean device. | IR lead | Isolation timestamp |
| Isolate: by platform | CrowdStrike: network-contain the host. SentinelOne: network quarantine (Disconnect from Network; confirm the label in your console version). Microsoft Defender: Isolate device (full network isolation). | IR lead | Isolation timestamp |
| Preserve | Export panel audit, Run Command and Toolbox history. Copy RelayTrap, sckit-* and tool files with P2 step 1. | IR analyst | Evidence folder, hashes of copies |
| Scope | Run Q3, Q4, Q6, Q7, Q10, Q11, Q12 across 30 days. Identify every technician workstation that connected to a hit host. | Hunt team | Query output |
| Revoke | From a clean device: end panel sessions, rotate ScreenConnect credentials, revoke browser and identity-provider sessions (I3). Disable the five extensions (I1). | Identity and platform admins | Revocation log |
| Eradicate | Remove the rogue client service, the TrapWatch task, C:\ProgramData\RelayTrap\, the sckit-* and toolkit files in Temp, and the RelayTrapLiteAlert value (P2). Verify the genuine client separately before removing anything; compare each instance ID with your approved list. | IR analyst | P1 re-run clean |
| Recover | Return a host to service only after the rogue client and persistence are gone and it has been checked for reinfection. Reset any Defender exclusions and SRP or AppLocker rules the kit added. | Endpoint team | Clean P1 and P4 output |
| Monitor | Keep Q3, Q6, Q7, Q10 and Q12 scheduled for 30 days. Watch for reinfection. | SOC | Zero hits for 30 days |
Detection Coverage Map
| Technique | Behavior | CQL | IOA | CrowdStrike coverage | SentinelOne | Defender XDR |
|---|---|---|---|---|---|---|
| T1190 | RMM+ blank access key, API calls without login | None | None | GAP | GAP | GAP |
| T1072 / T1219 | Panel Run Command, mass push, second client | Q1, Q2, Q10, Q13 | None | Partial | Partial: Q2 approximate, Q10 approximate | Partial: same limit as CrowdStrike |
| T1059 | sckit scripts and loaders | Q3, Q11 | Q3, Q11 | Good | Good, with assumptions | Good, with assumptions |
| T1105 / T1071.001 / T1568 | Stager and relay infrastructure | Q11, Q12 | Q11 | Good | Good, with assumptions | Partial: Q12 telemetry gap |
| T1053.005 | TrapWatch task | Q6 | Q6 | Good | Partial: Q6 telemetry gap | Partial: Q6 telemetry gap |
| T1547.001 | RelayTrapLiteAlert | Q7 | Q7 | Good | Good, with assumptions | Partial: Q7 approximate |
| T1543.003 | Genuine service stopped, manual start | Q9, Q10 | Q9 | Partial | Partial: Q10 approximate | Partial: same limit as CrowdStrike |
| T1562.001 | Defender exclusions, SRP and AppLocker | Q8, Q15 | None | Partial | Partial: same limit as CrowdStrike | Partial: Q15 approximate |
| T1027.004 | RelayTrap compiled on host | Q4, Q5 | Q4 | Good | Good, with assumptions | Partial: Q4 approximate |
| T1539 / T1550.004 | sqlite3 against cookie stores, ASPXAUTH | Q14 | None | Partial | Partial: same limit as CrowdStrike | Partial: same limit as CrowdStrike |
| T1070.004 | Toolbox item delete, temp cleanup | None | None | GAP | GAP | GAP |
Gaps: (1) T1190 and T1070.004 happen on the panel, outside endpoint telemetry; section 7 is the only coverage. (2) Script and batch file creation is not a separate endpoint event, so the sckit-* writes are caught at execution, not at write. (3) The technician-to-panel jump was never observed working, so Q14 and Q2 are readiness, not proven detections. (4) Task and registry field names should be confirmed on your tenant (G1). Validation: gates G1 to G6 in section 11 govern promotion.
Hunt Summary Ticket
TITLE: SCKit worm / RelayTrap - rogue ScreenConnect clients pushed through panel Run Command
SEVERITY: High - Huntress report dated 2026-11-11 (update 11:34pm ET), 288+ endpoints, 48 organizations; no named actor
SCOPE: Every endpoint with a ScreenConnect client and every technician workstation that connects to one.
Priority: any ScreenConnect panel with RMM+ or the four related extensions installed.
HYPOTHESIS: An operator used RMM+ (blank default access key, versions 1.0.31 and 1.0.32) to run commands on
cloud-hosted panels as SYSTEM. The commands installed an attacker client and the SCKit kit, which
built a per-host RelayTrap, scheduled TrapWatch every 10 seconds, swapped out the genuine client
and stole panel session cookies. Hashes are rebuilt per host, so detection is behavioral.
QUERIES: 15 CQL queries, Q1 to Q15; Q3, Q4, Q6, Q7, Q11, Q12 are high confidence / low FP.
DO FIRST: 1. Disable the five extensions (I1); do not rely on that alone (no malware or access removed)
2. Q6, Q7, Q4, Q11 and Q12 over 30 to 90 days (high fidelity)
3. Q10 and Q2 to find second clients and mass pushes
4. Review panel Run Command and Toolbox history (section 7)
5. Never open an interactive ScreenConnect session to a suspect host
FINDINGS: (fill in)
GAPS: Panel-side RMM+ calls and Toolbox deletes are outside endpoint telemetry. Script file writes are
not a separate endpoint event. The cookie-relay jump has not been seen succeeding.
ACTIONS: Isolate, revoke from a clean device, remove persistence (P2), verify the genuine client by instance ID.
OWNER: HuntPack
VERSION: v0.1 - 2026-11-12
Changelog
References
| Tier | Source | Used for | Access date |
|---|---|---|---|
| 1 | Huntress: SCKit Worm Installs Rogue ScreenConnect Clients and Session Cookie Relays Across Hundreds of Endpoints | Chain, SCKit contents, RelayTrap, IOCs, mitigation guidance, RMM+ root cause | 2026-11-12 |
| 2 | The Hacker News: ScreenConnect Attacks Target at Least 288 Endpoints Across 48 Organizations With Rogue Clients | ConnectWise advisory and Sophos observations as quoted; corroboration of infrastructure | 2026-11-12 |