Skip to content

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

Siemphony’s repertoire

Raw socket tool invoked against a classic IRC port

Siemphony@siemphonymediumT1071unverified
Matches nc, ncat, socat or telnet started with a well-known IRC port argument on Linux — the residual slice of AN1226's "IRC-style protocols" that none of the technique's published children own. HTTP/HTTPS belongs to Web Protocols (T1071.001), DNS to T1071.004, and mail ports to T1071.003, already published in this corpus; IRC has no numbered child at all, so this is the one piece of the parent's own brief that is not just a duplicate of a sibling under a different name. AN1225's Windows leg is deliberately not used: it names SMB alongside HTTP/DNS, and Sysmon EventID 3 attributes port 445 connections to System because the SMB client redirector runs in kernel mode, not to whatever process queued the transfer — an Image-gated selection on that port would look like coverage and match nothing, the exact trap the sibling T1071.002 rule in this corpus already documents. Bare nc is included alongside ncat and socat, unlike the T1090 rule in this corpus, which drops it because Debian and Ubuntu route it through update-alternatives to nc.openbsd or nc.traditional; both alternate names are listed here for that reason. The port list is authored for this rule, not MITRE's — the brief's KnownPortsToMonitor knob gives HTTPS and DNS examples (8443, 5353) but names no IRC port. Requires an explicit -a always,exit -F arch=b64 -S execve auditd rule; auditd ships none by default, and CommandLine here depends on this corpus's pipeline joining the SYSCALL and EXECVE records, since a raw auditd feed keeps argv separate. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0444, 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

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where ((FolderPath endswith "/nc" or FolderPath endswith "/nc.openbsd" or FolderPath endswith "/nc.traditional" or FolderPath endswith "/ncat" or FolderPath endswith "/socat" or FolderPath endswith "/telnet") and (ProcessCommandLine contains "6667" or ProcessCommandLine contains "6668" or ProcessCommandLine contains "6669" or ProcessCommandLine contains "6697"))

Splunk · SPL

Run this as a search.

index=* ((Image="*/nc" OR Image="*/nc.openbsd" OR Image="*/nc.traditional" OR Image="*/ncat" OR Image="*/socat" OR Image="*/telnet") AND (CommandLine="*6667*" OR CommandLine="*6668*" OR CommandLine="*6669*" OR CommandLine="*6697*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*/nc" OR TO_LOWER(process.executable) LIKE "*/nc.openbsd" OR TO_LOWER(process.executable) LIKE "*/nc.traditional" OR TO_LOWER(process.executable) LIKE "*/ncat" OR TO_LOWER(process.executable) LIKE "*/socat" OR TO_LOWER(process.executable) LIKE "*/telnet") AND (TO_LOWER(process.command_line) LIKE "*6667*" OR TO_LOWER(process.command_line) LIKE "*6668*" OR TO_LOWER(process.command_line) LIKE "*6669*" OR TO_LOWER(process.command_line) LIKE "*6697*"))

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)(/nc$|/nc\.openbsd$|/nc\.traditional$|/ncat$|/socat$|/telnet$)</field>    <field name="CommandLine" type="pcre2">(?i)(6667|6668|6669|6697)</field>    <description>Raw socket tool invoked against a classic IRC port</description>    <mitre>      <id>T1071</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.