Webhook endpoint domain resolved by a script host or transfer tool
Matches a DNS lookup for a webhook-dedicated hostname — hooks.slack.com or webhook.site — made by a scripting host or a command-line transfer tool, which is the outbound leg of AN0436 reduced to a single event. The domain list populates MITRE's WebhookDomains knob, but the two values are chosen here, and chosen narrowly: only hostnames that exist to serve webhooks qualify. discord.com and discordapp.com were removed because Discord has no dedicated webhook subdomain, so at the DNS layer a webhook post is indistinguishable from the chat client, and because both names are already in the published parent T1567 rule paired with a superset of this rule's process list — every event they could match here matches there, under the parent ID, with no webhook-specific evidence added. The only sibling that genuinely uses this dns_query pattern is T1567.001 (code repositories); T1567.002 moved to process_creation to avoid duplicating the parent, and T1567.003 was declined outright for that duplication, so this rule follows one precedent rather than three. The process gate is what keeps a match meaningful: pairing the lookup with a scripting engine or transfer utility separates a scripted post from a browser session. AN0436's other legs — the HTTP method (POST/PUT), MITRE's UploadSizeThreshold knob, and the file-access step that is supposed to precede the post — need a request body, a numeric comparison and a correlation that Sigma cannot express, so this rule sees only that a webhook domain was contacted, never what was sent or whether a file was read first. It also sees nothing at all unless the running Sysmon configuration enables DNS query logging, which is off in a default Sysmon deployment and has to be added explicitly. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0153, 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 3 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
title: Webhook endpoint domain resolved by a script host or transfer toolid: 32cc1959-e7d5-42dc-8291-096d7f238b6dstatus: experimentaldescription: | Matches a DNS lookup for a webhook-dedicated hostname — hooks.slack.com or webhook.site — made by a scripting host or a command-line transfer tool, which is the outbound leg of AN0436 reduced to a single event. The domain list populates MITRE's WebhookDomains knob, but the two values are chosen here, and chosen narrowly: only hostnames that exist to serve webhooks qualify. discord.com and discordapp.com were removed because Discord has no dedicated webhook subdomain, so at the DNS layer a webhook post is indistinguishable from the chat client, and because both names are already in the published parent T1567 rule paired with a superset of this rule's process list — every event they could match here matches there, under the parent ID, with no webhook-specific evidence added. The only sibling that genuinely uses this dns_query pattern is T1567.001 (code repositories); T1567.002 moved to process_creation to avoid duplicating the parent, and T1567.003 was declined outright for that duplication, so this rule follows one precedent rather than three. The process gate is what keeps a match meaningful: pairing the lookup with a scripting engine or transfer utility separates a scripted post from a browser session. AN0436's other legs — the HTTP method (POST/PUT), MITRE's UploadSizeThreshold knob, and the file-access step that is supposed to precede the post — need a request body, a numeric comparison and a correlation that Sigma cannot express, so this rule sees only that a webhook domain was contacted, never what was sent or whether a file was read first. It also sees nothing at all unless the running Sysmon configuration enables DNS query logging, which is off in a default Sysmon deployment and has to be added explicitly. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0153, not hand-written and not tested by its author. Any lab result is on this rule's own page.references: - https://attack.mitre.org/techniques/T1567/004 - https://attack.mitre.org/detectionstrategies/DET0153author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags: - attack.exfiltration - attack.t1567.004logsource: category: dns_query product: windowsdetection: selection_process: Image|endswith: - '\powershell.exe' - '\pwsh.exe' - '\cscript.exe' - '\wscript.exe' - '\mshta.exe' - '\curl.exe' - '\certutil.exe' selection_webhook: QueryName|endswith: - 'hooks.slack.com' - 'webhook.site' condition: selection_process and selection_webhookfalsepositives: - "CI/CD pipelines and monitoring agents posting build, deployment or alert notifications to a Slack webhook from PowerShell or curl.exe on a build or admin host — this is the single largest legitimate use of hooks.slack.com and is likely the dominant source of matches by volume." - "Developers and QA engineers deliberately resolving webhook.site via a curl.exe smoke-test script while building or debugging an HTTP integration, which is the tool's entire supported purpose." - "ChatOps bots and RPA scripts that bridge ticketing, backup or patch-compliance status into a Slack channel on a fixed schedule, producing the same lookup from the same PowerShell wrapper on every run." - "Security, backup or monitoring products with a built-in Slack notification feature, resolving hooks.slack.com from a PowerShell-based agent or connector service as part of normal, unattended operation."level: lowSplunk · SPL
Run this as a search.
index=* ((Image="*\\powershell.exe" OR Image="*\\pwsh.exe" OR Image="*\\cscript.exe" OR Image="*\\wscript.exe" OR Image="*\\mshta.exe" OR Image="*\\curl.exe" OR Image="*\\certutil.exe") AND (QueryName="*hooks.slack.com" OR QueryName="*webhook.site"))Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*\\\\powershell.exe" OR TO_LOWER(process.executable) LIKE "*\\\\pwsh.exe" OR TO_LOWER(process.executable) LIKE "*\\\\cscript.exe" OR TO_LOWER(process.executable) LIKE "*\\\\wscript.exe" OR TO_LOWER(process.executable) LIKE "*\\\\mshta.exe" OR TO_LOWER(process.executable) LIKE "*\\\\curl.exe" OR TO_LOWER(process.executable) LIKE "*\\\\certutil.exe") AND (TO_LOWER(dns.question.name) LIKE "*hooks.slack.com" OR TO_LOWER(dns.question.name) LIKE "*webhook.site"))
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,dns_query,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <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)(\\powershell\.exe$|\\pwsh\.exe$|\\cscript\.exe$|\\wscript\.exe$|\\mshta\.exe$|\\curl\.exe$|\\certutil\.exe$)</field> <field name="QueryName" type="pcre2">(?i)(hooks\.slack\.com$|webhook\.site$)</field> <description>Webhook endpoint domain resolved by a script host or transfer tool</description> <mitre> <id>T1567.004</id> </mitre> </rule></group>
Sentinel · KQL
Run this as a search.
Sentinel cannot express this construct. No Sentinel table is modelled for this logsource ({"category":"dns_query","product":"windows"}), so there is nothing honest to query. Pick a logsource this translator maps, or write the KQL by hand. The Sigma source is on the first tab, unchanged.
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.