Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

curl or wget overrides the Host header to impersonate a cloud service

AN1295 asks for a binary spawning an encrypted session that simulates trusted cloud service traffic. curl and wget are the two LOLBins on Linux that can force an explicit Host header independent of the connection target, which is exactly the header-manipulation impersonation the parent technique describes for Gmail, Google Drive and similar services — a legitimate call to the real API sets no Host override at all, since the URL already resolves to the right host. The domain list below is populated here, not sourced from MITRE, as a small sample of high-trust cloud endpoints an adversary would plausibly spoof to blend C2 traffic past domain allowlisting. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0470, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

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

title: curl or wget overrides the Host header to impersonate a cloud serviceid: e6a2c450-237d-4a69-89ec-23bcae7c2a90status: experimentaldescription: |  AN1295 asks for a binary spawning an encrypted session that simulates  trusted cloud service traffic. curl and wget are the two LOLBins on Linux  that can force an explicit Host header independent of the connection  target, which is exactly the header-manipulation impersonation the parent  technique describes for Gmail, Google Drive and similar services — a  legitimate call to the real API sets no Host override at all, since the URL  already resolves to the right host. The domain list below is populated here,  not sourced from MITRE, as a small sample of high-trust cloud endpoints an  adversary would plausibly spoof to blend C2 traffic past domain allowlisting.  UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0470, 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/T1001/003  - https://attack.mitre.org/detectionstrategies/DET0470author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags:  - attack.command-and-control  - attack.t1001.003logsource:  category: process_creation  product: linuxdetection:  selection_tool:    Image|endswith:      - '/curl'      - '/wget'  selection_header:    CommandLine|contains:      - 'Host: mail.google.com'      - 'Host: docs.google.com'      - 'Host: www.dropbox.com'      - 'Host: login.live.com'  condition: selection_tool and selection_headerfalsepositives:  - "Load-balancer or CDN health-check scripts that intentionally override the Host header to validate a virtual-hosted backend for one of these same cloud domains."  - "API integration test suites that curl an internal mock or sandbox endpoint by IP while setting the Host header to the real service domain, to exercise vhost-based routing before it goes live."level: medium

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where ((FolderPath endswith "/curl" or FolderPath endswith "/wget") and (ProcessCommandLine contains "Host: mail.google.com" or ProcessCommandLine contains "Host: docs.google.com" or ProcessCommandLine contains "Host: www.dropbox.com" or ProcessCommandLine contains "Host: login.live.com"))

Splunk · SPL

Run this as a search.

index=* ((Image="*/curl" OR Image="*/wget") AND (CommandLine="*Host: mail.google.com*" OR CommandLine="*Host: docs.google.com*" OR CommandLine="*Host: www.dropbox.com*" OR CommandLine="*Host: login.live.com*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*/curl" OR TO_LOWER(process.executable) LIKE "*/wget") AND (TO_LOWER(process.command_line) LIKE "*host: mail.google.com*" OR TO_LOWER(process.command_line) LIKE "*host: docs.google.com*" OR TO_LOWER(process.command_line) LIKE "*host: www.dropbox.com*" OR TO_LOWER(process.command_line) LIKE "*host: login.live.com*"))

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,linux,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="7">    <!-- Set <if_sid> to the decoder/base rule for linux so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)(/curl$|/wget$)</field>    <field name="CommandLine" type="pcre2">(?i)(Host: mail\.google\.com|Host: docs\.google\.com|Host: www\.dropbox\.com|Host: login\.live\.com)</field>    <description>curl or wget overrides the Host header to impersonate a cloud service</description>    <mitre>      <id>T1001.003</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No 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.