Most exploited bugs I write rules for leave a web request in an access log and a weird child process on the box. CVE-2026-114713 leaves neither. An ordinary IRC user hides a line break inside an IRCv3 label tag, UnrealIRCd echoes it across a server link without re-escaping it, and the next server runs the smuggled line as if a trusted peer had sent it. I covered the bug, the patch and the hot-patch in my analysis of the bug; this post is the detection side.
The problem is that IRC daemons are not where most SOCs point their SIEM, and the exploit itself is invisible by default. What you get here is four Sigma rules built on UnrealIRCd’s own JSON log, one of them a tripwire based on the project’s workaround, plus an honest list of what none of them can see.
At a glance
- Rules: 4 (1 emerging threat, 2 generic TTP, 1 hunting)
- Domain: Web/App (the daemon’s own application log)
- Log source: UnrealIRCd 6
logblock withtype json, subsystemstkl,kill,linkandnick, collected from every server in the network - ATT&CK: T1190 Exploit Public-Facing Application (Initial Access), T1531 Account Access Removal (Impact)
- Status: one rule
test(vendor workaround string plus documented log event), threeexperimental(my inference about how injected commands show up) - IOCs: none published by the project, CISA or the press as of November 15, 2026, so none are used
- YAML: Detection Rules/Web-App on GitHub
The case in brief
The attacker needs a normal client connection to any server of a network with two or more linked UnrealIRCd servers (6.0.0 to 6.2.7, and the end-of-life version 5). They send a command with a label tag whose value contains an escaped line break. The labeled-response module writes that label back without escaping it, the line crosses a server-to-server link, and the receiving server splits it in two. The second half runs with server authority. The advisory names KILL and GLINE as examples; nobody has published which commands real attackers used since exploitation was reported on November 9, 2026. The full story is in the analysis.
For detection, three facts matter. Message tags are not logged, so the malformed label is invisible unless the project’s spamfilter workaround is loaded. The injected line executes on the server that receives it, which may be a leaf run by a volunteer you don’t collect logs from. And the effects (kills, network bans) are logged on every server, but some of their fields, like who set a ban, come from the injected line and can be forged.
Detection map

Read it left to right. Four event types from the same JSON log feed four rules. The high-severity rule catches the attempt itself, but only on servers carrying the workaround filter. The two medium rules catch side effects: a KILL whose source is a server, and a linked server sending protocol commands that UnrealIRCd 6 rejects. The low rule is a hunting list of every network ban. The dashed box is the gap that matters most: an unpatched server without the filter gives you nothing at the moment of exploitation.
Rule overview
| Rule | Domain | Log source | ATT&CK (tactic / technique) | Level | Status |
|---|---|---|---|---|---|
| Label injection blocked by workaround spamfilter | Web/App | unrealircd / application (tkl) | Initial Access / T1190 | High | test |
| KILL issued by a server instead of an operator or services nick | Web/App | unrealircd / application (kill) | Impact / T1531 | Medium | experimental |
| Server link sent malformed or legacy protocol commands | Web/App | unrealircd / application (link, nick) | Initial Access / T1190 | Medium | experimental |
| Network ban or shun added (hunting) | Web/App | unrealircd / application (tkl) | Impact / T1531 | Low | experimental |
The rules
All four use the field names from UnrealIRCd’s JSON logging documentation: subsystem, event_id and msg on every event, plus a client object for whoever performed the action. The product: unrealircd log source is not in any stock sigma-cli pipeline, so expect to add a small field mapping for your SIEM.
UnrealIRCd CVE-2026-114713 label injection blocked by workaround spamfilter
Context: the project’s first mitigation step is a network-wide spamfilter on message tags that blocks any label= value containing CR, LF, a semicolon or a space after unescaping. UnrealIRCd logs every spamfilter hit as tkl.SPAMFILTER_MATCH, which turns the workaround into a sensor. This is the only rule that sees the attempt rather than its effects.
Condition: alert when a spamfilter match is logged and the message names the advisory’s filter (its text starts with ^label=) or its reason. The spamfilter documentation says underscores in a reason become spaces, so Invalid_label should be logged as “Invalid label”. I match both spellings because I have not seen a real log line from this filter.
ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.
title: UnrealIRCd CVE-2026-114713 Label Injection Blocked by Workaround Spamfilter
id: ec7bc0ea-16eb-4a06-9571-437e3d2859ec
status: test
description: |
Detects a hit on the vendor-published spamfilter workaround for CVE-2026-114713, which blocks
IRCv3 label tags that contain CR, LF, a semicolon or a space after unescaping. No legitimate
client needs such a label, so a hit is a client trying to inject server-to-server commands.
references:
- https://seclists.org/oss-sec/2026/q4/576
- https://www.unrealircd.org/docs/List_of_all_log_messages
- https://www.unrealircd.org/docs/Spamfilter
- https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
- attack.initial-access
- attack.t1190
- cve.2026-114713
- detection.emerging-threats
logsource:
product: unrealircd
category: application
definition: 'UnrealIRCd 6 log block with type json (fields subsystem, event_id, msg); spamfilter from the advisory applied network-wide'
detection:
selection_event:
subsystem: 'tkl'
event_id: 'SPAMFILTER_MATCH'
selection_label:
- msg|contains: "matches filter '^label="
- msg|contains:
- '[reason: Invalid label]'
- '[reason: Invalid_label]'
condition: all of selection_*
falsepositives:
- A buggy client or bot library that sends spaces or semicolons in labels without escaping them (rare; check the client version string)
- IRCOps testing the spamfilter after deploying it
level: high
False positives and tuning: a client library that puts raw spaces or semicolons in labels would trip it, but labels are opaque tokens clients generate themselves, and I would expect short alphanumeric strings. Check the client’s version reply before dismissing a hit. Opers testing the filter right after deploying it will also show up; note the time. The rule only works where the filter exists, which needs every server on 6.0.4 or newer.
How to test: on two linked lab servers running 6.2.7.1 with the filter applied, send any command whose label contains an escaped space (\s). A patched server treats it as harmless, but it matches the filter and should produce exactly one SPAMFILTER_MATCH event.
UnrealIRCd KILL issued by a server instead of an operator or services nick
Context: KILL is the first example of abuse the advisory gives. On a healthy UnrealIRCd 6 network, kills come from opers and services, both of which act through a nickname. A KILL whose source is a server is exactly the shape I’d expect when a command arrives through a hijacked link. This is my inference about how the injected KILL is logged; no source has published a log sample from an attack.
Condition: alert on kill.KILL_COMMAND when the killer’s name (client.name) contains a dot, unless it is your services server. IRC nicknames cannot contain dots and server names must, so the dot is a cheap way to tell the two apart without depending on nested JSON objects.
ATT&CK: Impact (TA0040) – T1531 Account Access Removal.
title: UnrealIRCd KILL Issued by a Server Instead of an Operator or Services Nick
id: 99cd63d6-2495-4f13-a2a8-aa68cb669a55
status: experimental
description: |
Detects a KILL whose source is a server name rather than a user. Opers and services kill with a
nickname; a KILL sourced from a server is unusual on a modern UnrealIRCd 6 network and is the kind of
command an attacker gains by injecting lines into a server link, as with CVE-2026-114713.
references:
- https://seclists.org/oss-sec/2026/q4/576
- https://www.unrealircd.org/docs/JSON_logging
- https://www.unrealircd.org/docs/List_of_all_log_messages
- https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
- attack.impact
- attack.t1531
logsource:
product: unrealircd
category: application
definition: 'UnrealIRCd 6 log block with type json; client is the killer, target is the victim'
detection:
selection_event:
subsystem: 'kill'
event_id: 'KILL_COMMAND'
selection_server_source:
# Nicknames cannot contain a dot, server names must: a dot means the KILL came from a server
client.name|contains: '.'
filter_optional_services:
# Replace with the server name(s) of your services package if it kills from its server name
client.name: 'services.example.invalid'
condition: all of selection_* and not 1 of filter_optional_*
falsepositives:
- Services packages (Anope, Atheme) that issue kills from the services server name, for example on nick enforcement or akill
- Server-side kills from older or mixed-version links during netsplits and collisions
level: medium
False positives and tuning: services packages such as Anope or Atheme may issue kills from their server name during nick enforcement. Replace the placeholder services.example.invalid with your services server name, or drop the filter and suppress by name in the SIEM. If the attacker forges a nickname prefix on the injected line, this rule misses it; that is why the hunting rule further down exists.
How to test: replay a synthetic JSON event built from the documented KILL_COMMAND format with client.name set to a lab server name, and confirm it fires. Then /KILL a test client as a lab oper and confirm it does not.
UnrealIRCd server link sent malformed or legacy protocol commands
Context: an injected line has to be valid server protocol to do anything useful. Attackers who copy commands from old documentation or older IRCd versions will get them wrong, and UnrealIRCd 6 logs specific events when a linked server tries to introduce a server or user the old way, uses a bad UID or introduces a bad nick. Between two healthy UnrealIRCd 6 servers those events should not happen. This catches the clumsy attempts, not the careful ones.
Condition: alert on any of LINK_OLD_PROTOCOL, LINK_OLD_PROTOCOL_NICK, BAD_UID or BAD_NICK_REMOTE.
ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.
title: UnrealIRCd Server Link Sent Malformed or Legacy Protocol Commands
id: 583e1e44-70ae-4592-9178-14607f6d2d08
status: experimental
description: |
Detects UnrealIRCd rejecting protocol commands from a linked server: legacy SERVER or NICK
introductions, a bad UID or a bad remote nick. Between healthy UnrealIRCd 6 servers these should not
happen, and lines injected into a server link (CVE-2026-114713) by a careless attacker can trigger them.
references:
- https://seclists.org/oss-sec/2026/q4/576
- https://www.unrealircd.org/docs/List_of_all_log_messages
- https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
- attack.initial-access
- attack.t1190
logsource:
product: unrealircd
category: application
definition: 'UnrealIRCd 6 log block with type json, subsystems link and nick logged'
detection:
selection:
event_id:
- 'LINK_OLD_PROTOCOL'
- 'LINK_OLD_PROTOCOL_NICK'
- 'BAD_UID'
- 'BAD_NICK_REMOTE'
condition: selection
falsepositives:
- A misconfigured or very old server or services package being linked for the first time
- Third-party IRCd or pseudo-server software with protocol bugs
level: medium
False positives and tuning: linking a new or misconfigured server or services package for the first time can produce these, as can third-party pseudo-servers with protocol bugs. Suppress during planned link work, and treat a hit from a long-established link as worth a phone call to whoever runs that server.
How to test: replay synthetic events for each event ID, or link a lab pseudo-server that deliberately introduces a user with the legacy NICK form.
UnrealIRCd network ban or shun added (hunting)
Context: GLINE is the advisory’s other example. A network ban against legitimate users, or against your own opers, is one of the most damaging things an attacker can do with server authority. The catch is that the “set by” field travels inside the server command, so an injected ban can claim to come from any oper. You cannot alert on the field; you can only review it.
Condition: return every tkl.TKL_ADD and TKL_ADD_TEMPSHUN event whose message mentions a G-Line, Z-Line or Shun. Then aggregate by the set-by value and hour, and compare against who was actually opered up (oper.OPER_SUCCESS) at that time.
ATT&CK: Impact (TA0040) – T1531 Account Access Removal.
title: UnrealIRCd Network Ban or Shun Added - Hunting
id: 620c1da5-96b9-4c60-936c-b88796576bb1
status: experimental
description: |
Surfaces every G-Line, Z-Line, Shun and temporary shun added on the network, for review against the
oper roster and for burst counting. Network-wide bans are one of the server-authority actions an
attacker gets through CVE-2026-114713, and the set_by value can be forged in an injected line.
references:
- https://seclists.org/oss-sec/2026/q4/576
- https://www.unrealircd.org/docs/List_of_all_log_messages
- https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
- attack.impact
- attack.t1531
- detection.threat-hunting
logsource:
product: unrealircd
category: application
definition: 'UnrealIRCd 6 log block with type json, subsystem tkl logged'
detection:
selection_event:
subsystem: 'tkl'
event_id:
- 'TKL_ADD'
- 'TKL_ADD_TEMPSHUN'
selection_type:
msg|contains:
- 'G-Line'
- 'Z-Line'
- 'Shun'
condition: all of selection_*
falsepositives:
- Normal oper and services ban activity (this is a hunting rule; aggregate by set_by and hour and review)
- Spamfilter, blacklist and connect-flood actions that place automatic bans
level: low
False positives and tuning: this is noisy by design. Automatic bans from spamfilters, DNS blacklists and flood protection land here too. Baseline a normal week, then alert only on bursts above it, bans whose set-by names an oper who was not online, and bans that match your own opers’ hosts.
How to test: as a lab oper, add a G-Line and a shun on a test mask and confirm both come back.
Coverage and gaps
| Step in case | Tactic | Technique | Rule | Covered? |
|---|---|---|---|---|
| Malformed label sent by a client | Initial Access (TA0001) | T1190 | Spamfilter rule | Yes, only with the workaround loaded |
| Injected line breaks server protocol | Initial Access (TA0001) | T1190 | Link protocol rule | Partial, careless injections only |
| Users killed with server authority | Impact (TA0040) | T1531 | Server KILL rule | Yes, if logged with a server source |
| Network bans set | Impact (TA0040) | T1531 | Ban hunting rule | Hunting only, set-by can be forged |
| Exploitation on a server without the filter | Initial Access (TA0001) | T1190 | None | Gap: tags not logged, traffic usually TLS |
| Other server-authority commands | Not mapped | Not mapped | None | Gap: no source says which commands were used |
The biggest blind spot is the moment of exploitation on a server without the filter. UnrealIRCd does not log message tags, the fix escapes the label without logging anything, and client connections mostly run over TLS on port 6697. On plaintext 6667 a Suricata rule looking for escape sequences inside a label= value would work, but that is a packet rule, not Sigma. The second blind spot is anything an attacker does with server authority beyond kills and bans: mode changes, channel takeovers, forced nick changes. Without published attack details I won’t guess at those. The practical way to close the first gap is to keep the spamfilter on every server even after patching.
Deploying the rules
First, make sure every server writes a JSON log. A log block with a file destination set to type json and source { !debug; all; } covers all four rules; ship it with whatever agent you already run. Then clone the repo and convert. The unrealircd product has no stock pipeline, so pass a small custom pipeline that maps the log source to your index and keeps the field names as they are:
git clone https://github.com/nhupham21/detection-rules.git
cd "detection-rules/Detection Rules/Web-App"
# Splunk, with your own pipeline mapping product unrealircd to the right index/sourcetype
sigma convert -t splunk -p unrealircd_pipeline.yml unrealircd_*.yml
# Elastic (Lucene), JSON fields kept as ingested
sigma convert -t lucene -p unrealircd_pipeline.yml unrealircd_*.yml
If your logs land as text rather than JSON, the event IDs and message strings still work as keyword searches on the raw line; check one of your own lines first, because the field-based rules assume JSON. Run everything in alert-only mode for a week before it pages anyone; the KILL and ban rules need a baseline of your services’ behaviour.
My take
Honestly, this one is hard to detect, and I’d rather say that than pretend four rules solve it. The bug lives in the gap between “a client sent a tag” and “a server ran a command”, and neither side of that gap is logged in a way that ties them together. The spamfilter rule is the one I’d turn on first, and the reason it is good is that the project built a sensor into its own workaround, probably without meaning to.
What I’d like from UnrealIRCd, and from any daemon that relays lines between trusted peers, is a log event when a server link delivers a command whose origin does not match the link it came in on, and a debug-level option to log rejected or malformed message tags. Both are cheap and both would have made this case far easier to hunt. Until then, the most useful detection work for IRC networks is boring: get JSON logs off every linked server, including the leaf in someone’s closet, and keep them long enough to look back past November 7.
Sources
- UnrealIRCd 6.2.7.1 security advisory, oss-security (Bram Matthys), November 8, 2026
- CVE-2026-114713 record, CVE Program, November 8, 2026
- UnrealIRCd documentation: Log block
- UnrealIRCd documentation: JSON logging
- UnrealIRCd documentation: List of all log messages
- UnrealIRCd documentation: Spamfilter
- MITRE ATT&CK T1190 and T1531
- Public rule sets checked on November 15, 2026 (SigmaHQ, Elastic detection-rules, Splunk ESCU): no existing rules for this CVE, so all four rules here are original
