Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

Raw-socket or ICMP tunnelling utility executed on Linux

Siemphony@siemphonymediumT1095unverified
AN1255's tool-execution leg: an auditd SYSCALL record whose `exe` is one of the utilities that craft raw ICMP or raw-socket packets by hand — hping and hping3, the nmap suite's nping, and the ptunnel / ptunnel-ng / pingtunnel / icmptunnel family that carries a TCP session inside ICMP echo payloads. MITRE's `RawSocketExecutionPath` knob names "uncommon programs using raw sockets" as the thing to baseline; the binary list here is authored, not MITRE's, and covers compiled tools only. What this rule deliberately does not do is look at traffic. Every packet-level observable the strategy describes is a statistic: AN1254's `ByteTransferAnomalyThreshold` is a sent/received ratio, AN1258's `ProtocolEntropyThreshold` and `SessionDurationThreshold` are an entropy measure and a duration comparison, and `ProtocolUsageBaseline` is a per-host baseline. lib/sigma has no aggregation, no numeric comparison and no timeframe, so none of them can be stated, and a per-event rule over the Zeek legs would reduce to "an ICMP flow exists", which every ping and every monitoring probe satisfies. The Windows arm is in worse shape than it looks: Sysmon EventID 3 records TCP and UDP connections only and never emits an ICMP event at all, so the ICMP half of AN1254 has no Windows telemetry behind it — which is why this rule sits on the Linux source. Two blind spots inside the source it does use. auditd's `exe` names the file that was executed, so an implant that opens a raw socket from scapy or a Python script records `/usr/bin/python3` and never matches, and a renamed or dropped-in copy of hping3 matches nothing either. Prerequisite: auditd records none of this by default — the rule returns zero rows until a syscall rule such as `-a always,exit -F arch=b64 -S execve -k exec` is loaded, and zero rows reads as quiet when it actually means blind. If the loaded ruleset audits more than execve, one run of these tools emits several matching SYSCALL records rather than one. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0457, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

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

Splunk · SPL

Run this as a search.

index=* (type="SYSCALL" AND (exe="*/hping" OR exe="*/hping2" OR exe="*/hping3" OR exe="*/nping" OR exe="*/ptunnel" OR exe="*/ptunnel-ng" OR exe="*/pingtunnel" OR exe="*/icmptunnel"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(type) == "syscall" AND (TO_LOWER(exe) LIKE "*/hping" OR TO_LOWER(exe) LIKE "*/hping2" OR TO_LOWER(exe) LIKE "*/hping3" OR TO_LOWER(exe) LIKE "*/nping" OR TO_LOWER(exe) LIKE "*/ptunnel" OR TO_LOWER(exe) LIKE "*/ptunnel-ng" OR TO_LOWER(exe) LIKE "*/pingtunnel" OR TO_LOWER(exe) LIKE "*/icmptunnel"))

Wazuh · XML rule

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

<group name="sigma,linux,">  <!-- 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="type" type="pcre2">(?i)^SYSCALL$</field>    <field name="exe" type="pcre2">(?i)(/hping$|/hping2$|/hping3$|/nping$|/ptunnel$|/ptunnel-ng$|/pingtunnel$|/icmptunnel$)</field>    <description>Raw-socket or ICMP tunnelling utility executed on Linux</description>    <mitre>      <id>T1095</id>    </mitre>  </rule></group>

Sentinel · KQL

Run this as a search.

Sentinel cannot express this construct. No Sentinel table is modelled for this logsource ({"product":"linux","service":"auditd"}), 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.

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.