Loopback ping or timeout used as an execution delay
Matches the one delay primitive AN0396 names by example that leaves a process behind — a ping aimed at the loopback address — and the closely related timeout.exe run with the /nobreak switch, chosen here rather than named by the analytic, as the visible half of the sleep loops malware uses to outlast a sandbox's analysis window. A ping to 127.0.0.1, localhost or ::1 has no connectivity purpose, and that is what separates a deliberate wait from the ordinary reachability check ping is otherwise used for; /nobreak is the equivalent gate on timeout, since suppressing the keypress exit is what turns it into a fixed delay. The analytic's SleepDurationThreshold knob cannot be applied: no construct available here compares the numeric argument, so a two-second wait and a twenty-minute one match identically, and delays taken in-process through Sleep or WaitForSingleObject — which the same analytic mentions — create no process at all and are invisible to this log source. Where this category is fed by Security EventID 4688 rather than Sysmon EventID 1, both Audit Process Creation and the separate Include command line in process creation events policy must be enabled, or CommandLine is empty and the rule matches nothing while looking healthy. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0141, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
Sentinel · KQL
Run this as a search.
DeviceProcessEvents| where ((FolderPath endswith "\\ping.exe" and (ProcessCommandLine contains "127.0.0.1" or ProcessCommandLine contains "localhost" or ProcessCommandLine contains "::1")) or (FolderPath endswith "\\timeout.exe" and (ProcessCommandLine contains "-nobreak" or ProcessCommandLine contains "/nobreak" or ProcessCommandLine contains "–nobreak" or ProcessCommandLine contains "—nobreak" or ProcessCommandLine contains "―nobreak")))
Splunk · SPL
Run this as a search.
index=* ((Image="*\\ping.exe" AND (CommandLine="*127.0.0.1*" OR CommandLine="*localhost*" OR CommandLine="*::1*")) OR (Image="*\\timeout.exe" AND (CommandLine="*-nobreak*" OR CommandLine="*/nobreak*" OR CommandLine="*–nobreak*" OR CommandLine="*—nobreak*" OR CommandLine="*―nobreak*")))Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*\\\\ping.exe" AND (TO_LOWER(process.command_line) LIKE "*127.0.0.1*" OR TO_LOWER(process.command_line) LIKE "*localhost*" OR TO_LOWER(process.command_line) LIKE "*::1*")) OR (TO_LOWER(process.executable) LIKE "*\\\\timeout.exe" AND (TO_LOWER(process.command_line) LIKE "*-nobreak*" OR TO_LOWER(process.command_line) LIKE "*/nobreak*" OR TO_LOWER(process.command_line) LIKE "*–nobreak*" OR TO_LOWER(process.command_line) LIKE "*—nobreak*" OR TO_LOWER(process.command_line) LIKE "*―nobreak*")))
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,process_creation,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <!-- 2 rules: the Sigma condition ORs across different fields, which one rule cannot express. Any one matching is a hit. --> <rule id="100000" level="5"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\ping\.exe$</field> <field name="CommandLine" type="pcre2">(?i)(127\.0\.0\.1|localhost|::1)</field> <description>Loopback ping or timeout used as an execution delay (1/2)</description> <mitre> <id>T1497.003</id> </mitre> </rule> <rule id="100001" level="5"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="Image" type="pcre2">(?i)\\timeout\.exe$</field> <field name="CommandLine" type="pcre2">(?i)(-nobreak|/nobreak|–nobreak|—nobreak|―nobreak)</field> <description>Loopback ping or timeout used as an execution delay (2/2)</description> <mitre> <id>T1497.003</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.