Barracuda says attackers have used the ESG root chain against “a small number of organizations” and has published nothing you can search for: no IPs, no hashes, no file names. CISA’s KEV entry still asks federal agencies for a forensic triage of every exposed appliance. If you run one of these boxes, you need to hunt without IOCs, and that comes down to knowing which of your logs can see which step of the attack.
This post is the detection half of my analysis of the two bugs, CVE-2026-116606 and CVE-2026-111560. You get four Sigma rules, one per layer, with what each one catches, how to tune it and how to test it safely, plus an honest list of what none of them can see.
At a glance
- Rules: 4 (two emerging-threat rules for the bypass, one for the root command injection, one hunting rule for egress).
- Domains: Web/App, Email, Linux, Network.
- Log sources: HTTP access logs from a proxy, WAF or load balancer in front of the admin UI; the ESG web interface syslog; Linux process creation; perimeter firewall logs.
- ATT&CK: T1190, T1059.004, T1068, T1071.
- Status: one rule is
test(built on the published endpoint), three areexperimental(my inference from the published code review). Treat all four as starting points. - YAML: Detection Rules repo on GitHub.
The case in brief
Mandiant describes CVE-2026-116606 as an unauthenticated path to the ESG configuration-import function: an attacker restores a crafted backup and rewrites the appliance’s global configuration. CVE-2026-111560 is a shell injection in the timezone setting that runs as root and, on its own, needs an admin session. Barracuda says that combined they give root. The full story, including the authentication confusion in the advisory, is in the analysis post.
What makes rules possible at all is watchTowr Labs’ patch review (its post is dated November 5, 2026). According to watchTowr, both bugs sit behind one admin endpoint, POST /cgi-mod/index.cgi. A password change that fails doesn’t stop the request, which then reaches an upload handler that accepts the backup archive. The restored configuration carries the timezone value, and a helper script, fix_tz.pl, run through sudo as root, writes it into /etc/sysconfig/clock with shell-backed sed calls. That gives four places to look: the HTTP request, the appliance’s audit trail, the root process tree and whatever the box does on the network afterwards. These names come from a researcher’s code review, not from Barracuda or from incident data, and I label the rules accordingly.
Detection map

Read it left to right. The HTTP logs and the ESG syslog see the bypass: the request itself and the failed password change it relies on. The process rule sees the root command injection, if you have host telemetry, which on a stock ESG you usually don’t. The firewall sees what happens next. The dashed box is the step I most wanted to cover and couldn’t: the configuration restore itself. Barracuda hasn’t documented what a restore looks like in the logs, and I’m not going to guess a log string.
Rule overview
| Rule | Domain | Log source | ATT&CK (tactic / technique) | Level | Status |
|---|---|---|---|---|---|
| Barracuda ESG Admin CGI POST From Public IP | Web/App | webserver | Initial Access / T1190 | High | test |
| Barracuda ESG Failed Password Change Audit Event | barracuda / esg | Initial Access / T1190 | Medium | experimental | |
| Suspicious Child Of Barracuda Timezone Helper | Linux | linux / process_creation | Execution, Privilege Escalation / T1059.004, T1068 | High | experimental |
| Barracuda ESG Appliance Outbound Connection On Unusual Port | Network | firewall | Command and Control / T1071 | Low | experimental |
The rules
Barracuda ESG Admin CGI POST From Public IP
Context: every step of the chain starts with a request to the admin UI, and Barracuda’s main mitigation is that untrusted networks shouldn’t reach it at all. This rule turns that mitigation into an alert. It is also the only one of the four I’d call deployable today with little tuning.
Condition: alert on any POST to a URI ending in /cgi-mod/index.cgi when the client address is not private, loopback or link-local.
ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.
title: Barracuda ESG Admin CGI POST From Public IP - Potential CVE-2026-116606 Exploitation
id: 3a7e544c-c8b8-4c44-8efc-87e545f44760
status: test
description: |
Detects HTTP POST requests to the Barracuda Email Security Gateway admin CGI endpoint
(/cgi-mod/index.cgi) from a source outside private address space. watchTowr's analysis places both
the CVE-2026-116606 authentication bypass and the CVE-2026-111560 timezone injection behind this
endpoint, and Barracuda's mitigation is to keep the admin UI off untrusted networks.
references:
- https://trust.barracuda.com/security/pre-authentication-authorization-bypass-command-injection
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0042.md
- https://labs.watchtowr.com/barracuda-networks-is-your-new-best-friend-barracuda-email-security-gateway-pre-auth-remote-root-rce-cve-2026-116606-cve-2026-111560/
- https://netsec101.com/?p=241
author: netsec101.com
date: 2026-11-15
tags:
- attack.initial-access
- attack.t1190
- cve.2026-116606
- cve.2026-111560
- detection.emerging-threats
logsource:
category: webserver
detection:
selection_uri:
cs-uri-stem|endswith: '/cgi-mod/index.cgi'
selection_method:
cs-method: 'POST'
filter_main_private:
c-ip|cidr:
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '127.0.0.0/8'
- '169.254.0.0/16'
- '::1/128'
- 'fc00::/7'
- 'fe80::/10'
condition: all of selection_* and not 1 of filter_main_*
falsepositives:
- Administrators who legitimately manage the appliance over the internet (the exposure Barracuda advises against); add their fixed egress IPs as a filter
- Authorised external vulnerability scanning of the appliance
- Reverse proxies or load balancers that log their own address as c-ip will hide the real client; log X-Forwarded-For instead
level: high
False positives and tuning: if your admins really do manage the appliance over the internet, the rule fires on them. Add their fixed egress addresses as a filter, and then fix the exposure. The bigger trap is visibility. The ESG doesn’t hand you a web access log I could confirm, so this rule needs something in front of the admin UI: a reverse proxy, WAF or load balancer, or Zeek on a cleartext admin port. If that device logs its own address as the client, the private-range filter swallows everything; log X-Forwarded-For and map it to c-ip. Access logs won’t show the multipart upload parameters, so this rule can’t tell an exploit from a normal admin login. Pair it with the next rule: a hit here plus a failed password change from the same source a few seconds apart is a strong signal.
How to test: replay a synthetic access log line into your SIEM with a POST to /cgi-mod/index.cgi and a client address from a documentation range such as 198.51.100.10, or send a harmless form POST to that path on a lab web server that writes the same log format.
Barracuda ESG Failed Password Change Audit Event
Context: watchTowr says the bypass rides on password-change handling that keeps processing a request after the change fails, and it names a failed_password_change audit event in the appliance code. Barracuda’s documentation says the web interface syslog records logins and configuration changes. If that event reaches your SIEM, an unexplained failed password change is a very specific exploitation marker.
Condition: alert on any ESG log line containing failed_password_change.
ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.
title: Barracuda ESG Failed Password Change Audit Event - Potential CVE-2026-116606 Exploitation
id: df89c9e8-2820-452e-a14a-2f3431ae0672
status: experimental
description: |
Detects the failed_password_change audit event in logs forwarded from a Barracuda Email Security Gateway.
watchTowr reports that the CVE-2026-116606 bypass abuses password-change handling that keeps processing
a request after the change fails, so an unexplained failed change can mark an exploitation attempt.
The event name comes from code review; how it appears in exported web syslog is not confirmed.
references:
- https://labs.watchtowr.com/barracuda-networks-is-your-new-best-friend-barracuda-email-security-gateway-pre-auth-remote-root-rce-cve-2026-116606-cve-2026-111560/
- https://documentation.campus.barracuda.com/wiki/spaces/BSFv51/pages/6685038/Syslog+and+the+Barracuda+Email+Security+Gateway
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0042.md
- https://netsec101.com/?p=241
author: netsec101.com
date: 2026-11-15
tags:
- attack.initial-access
- attack.t1190
- cve.2026-116606
- detection.emerging-threats
logsource:
product: barracuda
service: esg
definition: 'Requirements: ESG web interface syslog forwarded to the SIEM (ADVANCED > Advanced Networking). Map this logsource to that index in your pipeline.'
detection:
keywords:
- 'failed_password_change'
condition: keywords
falsepositives:
- An administrator mistyping the retype-password field during a real password change; confirm with the admin team and check the source IP
level: medium
False positives and tuning: the only benign cause I can think of is an admin mistyping the retype field. That is rare enough to check by hand. The real uncertainty is format. I haven’t seen a real exported line with this event, so the keyword search is deliberately loose. product: barracuda, service: esg isn’t a standard SigmaHQ log source; map it to wherever your ESG syslog lands (the appliance forwards it from ADVANCED > Advanced Networking, TCP recommended). Once you’ve seen a real line, replace the keyword with a field match.
How to test: on a lab appliance, change an admin password with a mismatched retype field and look at what the forwarded web syslog line says. That test is also how you find out whether the rule works in your setup at all.
Suspicious Child Of Barracuda Timezone Helper
Context: CVE-2026-111560 runs attacker input through a shell as root. Per watchTowr, the path is fix_tz.pl via sudo, then sh running sed against /etc/sysconfig/clock and /home/product/code/config/tz. The legitimate chain only ever needs sh and sed. Anything else hanging off it is the injected command.
Condition: alert when curl, wget, nc, ncat, socat, python, openssl, base64, tftp, ftp or telnet starts with a parent whose command line mentions fix_tz.pl or either timezone file. Shells are left out on purpose, because the normal path already spawns one.
ATT&CK: Execution (TA0002) – T1059.004 Unix Shell; Privilege Escalation (TA0004) – T1068 Exploitation for Privilege Escalation.
title: Suspicious Child Of Barracuda Timezone Helper - Potential CVE-2026-111560 Exploitation
id: 8b70f30f-bb47-49f3-b398-4ff7379f0ca2
status: experimental
description: |
Detects an interpreter, download or network tool started by a process whose command line references
the Barracuda timezone helper (fix_tz.pl) or the timezone files it rewrites. watchTowr reports that
CVE-2026-111560 reaches shell-backed sed calls run as root through sudo, so injected commands would
appear as unexpected children of that chain. Inferred from the published code review, not from incident data.
references:
- https://labs.watchtowr.com/barracuda-networks-is-your-new-best-friend-barracuda-email-security-gateway-pre-auth-remote-root-rce-cve-2026-116606-cve-2026-111560/
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0041.md
- https://netsec101.com/?p=241
author: netsec101.com
date: 2026-11-15
tags:
- attack.execution
- attack.t1059.004
- attack.privilege-escalation
- attack.t1068
- cve.2026-111560
- detection.emerging-threats
logsource:
product: linux
category: process_creation
detection:
selection_parent:
ParentCommandLine|contains:
- 'fix_tz.pl'
- '/etc/sysconfig/clock'
- '/home/product/code/config/tz'
selection_child:
Image|endswith:
- '/curl'
- '/wget'
- '/nc'
- '/ncat'
- '/socat'
- '/python'
- '/python3'
- '/openssl'
- '/base64'
- '/tftp'
- '/ftp'
- '/telnet'
condition: all of selection_*
falsepositives:
- Unknown. A normal timezone change should only run sh and sed from this chain, which is why shells are not in the child list; validate against a lab appliance first
level: high
False positives and tuning: I expect very few, but I haven’t run it against a live appliance, hence experimental. The honest limitation is telemetry. A stock ESG is a closed box, and you won’t have Sysmon for Linux or auditd exports from it. Use this rule on lab appliances, on process data collected during a forensic triage, and on any of the other five affected Barracuda products where your support arrangement gives you host logging. An attacker who injects a pure shell built-in (no external binary) gets past it, which is the other reason it’s not my first rule.
How to test: on any Linux host with process-creation logging, run sh -c "echo /etc/sysconfig/clock; curl -s -o /dev/null http://127.0.0.1/". The shell’s command line contains the clock path and it starts curl, which matches without touching a Barracuda product.
Barracuda ESG Appliance Outbound Connection On Unusual Port
Context: with no IOCs, egress is one of the few signals you fully control. A mail gateway’s outbound traffic is predictable: SMTP, DNS, NTP and web traffic for updates. A root shell on the box that calls home on anything else stands out. Field Effect also points out the appliance’s trusted position for moving further in.
Condition: hunt for connections from the ESG addresses to public destinations on any port other than 25, 53, 80, 123, 443 or 587.
ATT&CK: Command and Control (TA0011) – T1071 Application Layer Protocol. I used the parent technique because no protocol has been reported.
title: Barracuda ESG Appliance Outbound Connection On Unusual Port
id: f7666d18-c033-4f47-a0e3-51877cec0583
status: experimental
description: |
Hunts for outbound connections initiated by a Barracuda Email Security Gateway to ports outside the small
set a mail gateway normally needs (SMTP, DNS, NTP, HTTP/HTTPS). After CVE-2026-116606 and CVE-2026-111560
were reported exploited with no published IOCs, egress from the appliance is one of the few signals
defenders control. Generic hunting logic, not based on observed attacker traffic.
references:
- https://trust.barracuda.com/security/pre-authentication-authorization-bypass-command-injection
- https://fieldeffect.com/blog/barracuda-esg-flaws-root-access
- https://netsec101.com/?p=241
author: netsec101.com
date: 2026-11-15
tags:
- attack.command-and-control
- attack.t1071
- cve.2026-116606
- cve.2026-111560
- detection.threat-hunting
logsource:
category: firewall
detection:
selection_src:
src_ip|expand: '%barracuda_esg_ips%'
filter_main_ports:
dst_port:
- 25
- 53
- 80
- 123
- 443
- 587
filter_main_internal:
dst_ip|cidr:
- '10.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
condition: selection_src and not 1 of filter_main_*
falsepositives:
- Syslog, SNMP, LDAP or cloud-archive integrations configured on the appliance; add those ports or destinations as filters
- Barracuda remote support tunnels opened at the customer's request
- The internal filter hides lateral movement towards internal hosts; drop it if you can baseline internal flows instead
level: low
False positives and tuning: %barracuda_esg_ips% is a Sigma placeholder; expand it in your pipeline or replace it with your appliance addresses. Expect hits from integrations you configured yourself: remote syslog, SNMP, LDAP, cloud archiving, and Barracuda remote support tunnels you asked for. Baseline a week and filter those by destination, not just port. The rule ignores internal destinations to keep the noise down, which also hides lateral movement; if you can baseline the ESG’s internal flows, drop that filter. It will not catch C2 over 443, so this stays a hunting rule.
How to test: from a lab host given the ESG’s address in the placeholder, open a TCP connection to an external test server on port 8443 and confirm the firewall log matches.
Coverage and gaps
| Step in the case | Tactic | Technique | Rule | Covered? |
|---|---|---|---|---|
| Request to the admin CGI from outside | Initial Access (TA0001) | T1190 | Admin CGI POST from public IP | Yes, with HTTP logs in front of the UI |
| Failed password change used as the bypass | Initial Access (TA0001) | T1190 | Failed password change event | Partial: log format unconfirmed |
| Crafted backup restored, configuration rewritten | none mapped | none mapped | none | Gap: no published restore log string |
| Timezone injection runs as root | Execution (TA0002), Privilege Escalation (TA0004) | T1059.004, T1068 | Timezone helper child | Partial: host telemetry rare on ESG |
| Post-root outbound activity | Command and Control (TA0011) | T1071 | Unusual outbound port | Hunting only; 443 blends in |
| Mail interception, credential theft | not mapped | not mapped | none | Gap: nothing visible outside the appliance |
The biggest hole is the restore. It is the step that turns an anonymous request into control of the box, and I couldn’t find a documented log line for it. Until Barracuda documents one, cover it by hand: review restore history in the admin UI, export the global configuration and diff it against a known-good backup, and check the timezone value for anything that isn’t a plain timezone name (backticks, $(, semicolons, pipes or ampersands are findings). Ostorlab and Field Effect give the same advice. If you can see cleartext or decrypted admin traffic, a Suricata rule on the upload parameter names watchTowr describes would cover what access logs miss, since Sigma can’t see request bodies.
Deploying the rules
Pull the files from the repo and convert them with sigma-cli. Pick the backend and pipeline that match each rule’s log source; the web and firewall rules need your proxy and firewall field mappings, and the Barracuda syslog rule needs a custom mapping for product: barracuda, service: esg. For example:
sigma convert -t splunk web_cve_2026_116606_barracuda_esg_admin_cgi_post_public_ip.yml
sigma convert -t lucene -p ecs_linux proc_creation_lnx_cve_2026_111560_barracuda_timezone_helper_child.yml
sigma convert -t kusto -p microsoft_xdr net_firewall_barracuda_esg_unusual_outbound_port.yml
Run all four in alert-only mode for a week before anything pages a human. When a rule lands, also run it as a one-off search back to at least November 2, 2026, when the advisory and patches went public; nobody has said when exploitation started.
My take
Honestly, this chain is hard to detect from the outside, and that’s the vendor’s design choice as much as the attacker’s skill. The appliance is a sealed Linux box, it doesn’t hand you a web access log I could confirm, and the one event that matters most, a configuration restore, has no documented log line. Three of my four rules depend on telemetry many ESG owners simply don’t have.
So I’d turn on the public-IP admin rule first, tonight. It doesn’t need anything clever, and if it fires you have a problem whether or not it’s an exploit: your admin UI is on the internet. Then wire up the ESG syslog and run the password-change test in a lab so you know what the event really looks like.
What Barracuda should log by default, and say so in the advisory: every configuration restore, with the source IP and session, and every change to the timezone and other values that end up in shell commands. Edge appliances keep getting exploited through admin features, and “review your logs” is empty advice when the logs don’t record the attack.
Sources
- Barracuda: Pre-Authentication Authorization Bypass and Command Injection advisory (published November 2, 2026; updated November 5 and November 9, 2026)
- Mandiant: MNDT-2026-0042, CVE-2026-116606 (November 2, 2026)
- Mandiant: MNDT-2026-0041, CVE-2026-111560 (November 2, 2026)
- watchTowr Labs: Barracuda ESG pre-auth remote root analysis (November 5, 2026)
- CISA: Known Exploited Vulnerabilities catalog entries (added November 10, 2026)
- Barracuda Campus: Syslog and the Barracuda Email Security Gateway (viewed November 15, 2026)
- Field Effect: Barracuda ESG flaws can lead to root access (November 3, 2026)
- Ostorlab: Barracuda ESG pre-auth bypass CVE-2026-116606 (November 2, 2026; updated November 11, 2026)
- Public Sigma, Elastic and Splunk rules for these CVEs: none found as of November 15, 2026. The rules above are original.

One thought on “Detecting the Barracuda ESG root chain: 4 Sigma rules for web, syslog, host and egress”