IDS by OneFirewall: detect attacks in your network traffic
An intrusion detection agent that runs inside your network. Its 30 built-in rules look for attacks, suspicious behaviour and weak security in mirrored traffic and device logs. It can also check connections against OneFirewall threat intelligence. Alerts go to your SIEM.
Works on a copy of your traffic and on your logs, so it is never in the traffic path.
From network traffic to an alert
The IDS runs on the WCF Gate agent. You choose its inputs and outputs in the OneFirewall console.
Inputs
Detection
Outputs
- CaptureThe agent reads a mirror port, receives syslog, or does both.
- AnalyseIt turns packets and logs into network events. With a mirror port, it also inspects packet content.
- DetectIt applies the rules you have on and, if you use it, checks the threat list.
- AlertIt sends your SIEM a CEF alert with the rule or threat list entry that matched, and the evidence.
30 rules, built in
Five rules use network events from a mirror port or syslog. The other 25 need a mirror port because they inspect packets. There are no rules to install or download.
Network behaviour
Mirror port or syslog- Port scan Medium
25 different ports below 32768 on one host.
port_scan - Host sweep Medium
The same port, or ping, on 30 internal hosts. For internet hosts, only SSH and sensitive services count.
host_sweep - Possible brute force Medium
20 connections to SSH, RDP, FTP, Telnet, VNC or WinRM, plus mail and databases when they come from the internet. It counts connections, not failed logins, and ignores denied ones.
brute_force - Sensitive service exposed to the internet High
A public address reaches a service such as SMB, RDP, a database or the Docker API on a private address. The log must show it was allowed or, with a mirror port, the server must accept it.
exposed_service - Windows file sharing to the internet Medium
A private address connects to a public one on port 139 or 445, and the connection isn't marked as denied.
smb_to_internet
Web attacks
Mirror port only- SQL injection High
In the path, query or body.
http_sql_injection - Cross-site scripting (XSS) Medium
In the path or query.
http_xss - Path traversal High
Attempts to reach files such as /etc/passwd, in the path, query or body.
http_path_traversal - Command injection High
System commands hidden in a request, or use of /dev/tcp.
http_command_injection - Code injection High
PHP, Java (OGNL and Spring4Shell), Python and templates.
http_code_injection - JNDI injection (Log4Shell) High
In the path, query, headers or body, including patterns disguised with nested lookups.
http_jndi_injection - Shellshock High
In the headers.
http_shellshock - XML external entities (XXE) High
External entity declarations in a request.
http_xxe - Access to cloud metadata (SSRF) High
The address of a cloud metadata service in the query or body.
http_ssrf_metadata
Scanning and reconnaissance
Mirror port only- TCP flag scan Medium
NULL and Xmas scans, or packets with SYN and FIN together.
tcp_flag_scan - DNS zone transfer Medium
An AXFR request over TCP.
dns_zone_transfer - Request for a sensitive file Medium
Such as .env, .git/config, cloud credentials or SSH keys.
http_sensitive_file - Attack tool Medium
A User-Agent from tools such as sqlmap, Nikto, Nuclei, WPScan or Nmap.
http_attack_tool
Malware and remote control
Mirror port only- Possible DNS tunnel High
30 different long names under the same domain.
dns_tunnel - Many domains that don't exist Medium
40 different domains, a pattern seen when malware looks for its server.
dns_random_domains - Program downloaded from a bare IP High
A Windows or Linux program downloaded over HTTP from a public IP address instead of a domain name.
http_executable_from_ip - System command output High
Unencrypted output from the id command, or the start of a Windows or Linux shell. Telnet connections are excluded, except for id output in HTTP responses.
command_output - Cryptocurrency mining High
The Stratum protocol or known mining software.
crypto_mining
Exploits
Mirror port only- Redis takeover High
Redis is told to write to SSH key, cron or web folders.
redis_takeover - SMBv1 exploit or backdoor High
A request used by EternalBlue exploits and the DoublePulsar backdoor.
smb_v1_exploit
Weak security
Mirror port only- SMBv1 in use Medium
A server accepts this obsolete protocol.
smb_v1 - Obsolete SSL or TLS Low
A server chooses SSL 3.0, TLS 1.0 or TLS 1.1.
tls_obsolete - Weak TLS cipher Medium
A server chooses a cipher with no encryption or authentication, export-grade encryption, RC4 or DES.
tls_weak_cipher - SSH version 1 Medium
A server doesn't accept version 2.
ssh_v1 - Unencrypted login Low
Over HTTP, FTP, Telnet, POP3, IMAP or SMTP.
cleartext_credentials
Counts are the default thresholds within a 60-second window. The rules are written for this agent, which doesn't load Suricata or Snort rules.
Fit the rules to your network
Vulnerability scanners, monitoring tools, and busy DNS or mail servers can look like attacks. Allow a few days for tuning.
Choose what to report
Set a minimum severity of low, medium or high, and turn off any rule you don't need.
Adjust thresholds
Five rules count activity. Set each threshold from 2 to 1000, and their shared time window from 10 seconds to an hour.
Ignore trusted sources
List IPv4 addresses or networks, such as your vulnerability scanner. Attacks aimed at them can still be detected.
Fewer repeat alerts
By default, a rule alerts once every 5 minutes for the same source and destination. The next alert includes the number of matches. You can set this from 1 second to 24 hours.
Limits during alert floods
Up to 300 rule alerts are sent per minute for each severity, so a flood of one can't use up the limit for another. Alerts over the limit are counted.
Settings are checked first
Unknown rules, invalid networks and out-of-range values are refused. The agent keeps its current settings.
Check connections against known threats
This optional check finds IPv4 addresses that OneFirewall threat intelligence, or your own organisation, has marked as malicious. It's on by default when you turn on alert sending, and you can turn it off separately.
Inbound and outbound threats
The IDS can flag an attacker reaching your network or one of your hosts contacting a malicious address. If both addresses match, the alert names the one with the higher score.
Single addresses and networks
It matches individual IPs and whole network ranges. If several entries match, it uses the most specific one and includes it in the alert.
Your score threshold
You choose the Crime Score, from 1 to 1000, at which an address counts as malicious. The default is 150.
Two severity levels
Threat list matches scoring 500 or more are critical (CEF 10). Lower scores raise a warning (CEF 5).
Your own blocks and unblocks
The threat list from the console includes your organisation's manual blocks and unblocks.
Regular list updates
Choose an update interval from 1 minute to 24 hours. If an update fails, the agent keeps its current list and retries after a minute.
Use a mirror port, syslog or both
Mirror port (SPAN)
See traffic directly, including connections your firewall doesn't log. All 30 rules can be used.
- Reports connections rather than packets: once at the start, then once per window while traffic continues (60 seconds by default)
- Reports each connection from the side that appears to have opened it
- Reads VLAN-tagged traffic, including stacked tags
- Covers TCP, UDP, ICMP and other IPv4 protocols
- Tracks up to 200,000 connections for network events, and inspects content in up to 50,000 at a time
- With IDS rules on, puts TCP data back in order and inspects HTTP/1, DNS, SMB, TLS, SSH and other unencrypted traffic
- Decodes HTTP requests up to three times to uncover attacks hidden by encoding
- With IDS rules off, captures at most 128 bytes per packet and analyses only the headers
Syslog
Use the logs your devices already produce, with nothing to install on your firewalls. Five of the 30 rules can be used.
- Listens on UDP, TCP or both (port 5514 by default)
- Accepts TCP messages separated by line breaks or prefixed with their length (RFC 6587)
- Recognises supported log formats automatically
- Reads JSON logs, including original log lines wrapped by log shippers
- Only uses lines with an explicit source and destination, so it doesn't guess from unrelated text
- Counts the lines it ignores, so you can spot a source it can't read
Supported log formats
- FortiGate
- Check Point
- Palo Alto Networks
- Cisco ASA, FTD and IOS
- Juniper
- SonicWall
- pfSense and OPNsense
- MikroTik
- iptables and UFW
- AWS VPC Flow Logs
- Zeek JSON
- CEF
- LEEF
- key=value
- JSON
All logs must reach the agent over syslog, including AWS VPC Flow Logs and Zeek logs. Each line must contain IPv4 source and destination addresses in a supported format or field.
The evidence is in the alert
Both detection methods send RFC 5424 syslog messages in Common Event Format (CEF), over UDP or TCP. Rule alerts are also written to the agent's log.
IDS rule alert
<130>1 2026-11-29T10:12:29.229Z gate wcf-gate 1 ids_alert - CEF:0|OneFirewall|WCF Gate|0.4.0|ids_alert|SQL injection attempt|10|rt=1795947149229 deviceExternalId=demo01 cat=web-attack src=203.0.113.xxx dst=10.0.0.xxx spt=58205 dpt=80 proto=TCP act=detected cnt=1 cs1Label=rule cs1=http_sql_injection cs3Label=capturedFrom cs3=span eth1 msg=GET shop.example/item has "1' or 1\=1"
Threat list alert
<130>1 2026-11-28T18:46:12.229Z gate wcf-gate 1 malicious_traffic - CEF:0|OneFirewall|WCF Gate|0.4.0|malicious_traffic|Malicious traffic detected|10|rt=1795891572229 externalId=demo01-18ec49dd7cae1e65-4 deviceExternalId=demo01 src=203.0.113.xxx dst=10.0.0.xxx spt=58205 dpt=22 proto=TCP act=observed dvchost=wcf-gate deviceDirection=0 cn1Label=score cn1=900 cs1Label=maliciousAddress cs1=203.0.113.xxx cs2Label=matchedEntry cs2=203.0.113.xxx/32 cs3Label=capturedFrom cs3=span eth1
Example alerts, wrapped to fit the page. The last octet of each address is masked here. Real alerts show full addresses.
| What it tells you | IDS rule alert | Threat list alert |
|---|---|---|
| Alert type | ids_alert | malicious_traffic |
| The connection | src, dst and, when available, spt, dpt, proto | The same fields |
| What matched | Rule in cs1, category in cat and evidence in msg | Address in cs1, score in cn1 and list entry in cs2 |
| Severity | High (CEF 10), medium (CEF 5) or low (CEF 3) | CEF 10 for scores of 500 or more, otherwise CEF 5 |
| Which side | src is the side the finding relates to. This can be a server, for example with command output or weak TLS | deviceDirection: 0 if the source is malicious, 1 if it is the destination |
| Action | act is always detected | act is the action in the log, if there is one, or observed for a mirror port |
| Repeats | cnt: matches since the previous alert, including this one | One alert for each matching network event |
| Where it was seen | cs3 | dvchost, cs3 |
| Network event ID | Not included | externalId: the same ID is used if the event is sent to the console |
Detect with the IDS, block on your firewalls
The IDS doesn't block traffic itself. If you turn on the blocklist, your firewalls can download malicious addresses from the threat list and block them. Addresses found only by IDS rules aren't added. The blocklist uses the same score threshold as threat list alerts.
Built for firewall downloads
- Plain text over HTTP, HTTPS or both, with one IP or network per line
- Your manual blocks come first, followed by the highest scores
- Each device has its own token, sent in a header, with Basic authentication or in the URL
- Each device can have an entry limit, for firewalls with small tables
- Use your own TLS certificate or a self-signed one that changes when the agent restarts
- Until the first list is downloaded, the agent returns an error instead of an empty list that could clear existing blocks
Easy to manage, and clear about problems
Managed from the console
Turn the agent, its inputs and its outputs on or off from the console. It checks for changes every minute and applies them without a container restart. If a new configuration is invalid, it keeps the current one.
Health reporting
While running, the agent updates Connector Status every minute. It can also send CEF events to syslog when it starts, stops, has a problem or recovers.
Counters that reveal gaps
Regular status events include 19 counters, covering dropped packets, lost events, ignored log lines, rule alerts, repeated matches and traffic that wasn't fully inspected.
Keeps detecting during outages
The rules are built in. If the console is unreachable, a running agent keeps using them, its current configuration and any threat list already in memory. Up to 50,000 network events can queue for upload.
Safe to resend
Failed uploads are retried. Each network event has a unique ID, so the console can store it once even if it is sent again.
Failures stay isolated
If one input or output fails, the others keep running while the agent retries it. Content inspection has its own thread, so packet capture doesn't wait for it.
What leaves your network, and what doesn't
Sent to the console
- With network event reporting on: addresses, available ports, service and action, device name, capture source, and event and connector IDs
- For agent health: connector ID and type, hostname, version, health status, score threshold and update interval
Not sent to the console
- IDS rule alerts, packet content and full log lines
- Network events between two private or reserved addresses, although they can still raise an alert
- Any network events, if you turn off reporting to the console. Alerts still work
In IDS rule alerts
- Addresses, the rule that matched and the evidence, sent to your alert server and written to the agent's log
- For HTTP rules, the method, host and path, plus up to 100 characters of matched content where available. These can include sensitive data, so protect your SIEM and container logs
- Unencrypted login alerts don't include the username or password
The agent keeps network events, inspected data, queues and the threat list in memory and doesn't write them to files. Your container platform may store the agent's log, which includes rule alerts. Anything still queued can be lost if the agent restarts. Alerts and status events are sent only to the syslog servers you choose.
Runs on Docker or Kubernetes
Create a WCF Gate connector in the console, start the container, then choose its inputs and outputs. By default, syslog input and network event reporting are on. Mirror port capture, IDS rules, alerts, status events and the blocklist are off. If your connector has no ids section, add one to use the rules.
| Syslog only | With a mirror port | |
|---|---|---|
| Available detection | 5 rules and threat intelligence | All 30 rules and threat intelligence |
| Where it runs | Docker, Docker Compose or Kubernetes | The same options, on the Linux host connected to the mirror port |
| Network | Container network, with the syslog port reachable from your devices | Host network and an Ethernet interface |
| Permissions* | Non-root user, with no Linux capabilities | Root, with NET_RAW as the only capability |
| Container filesystem* | Read-only | Read-only |
* With the supplied Docker Compose and Kubernetes files. The Kubernetes file requests 50m of CPU and 64 MiB of memory, with a 512 MiB memory limit. To inspect mirrored traffic, allow at least 2 CPU cores and 512 MB of memory, and adjust those values if needed. Packets can be lost at high traffic rates, so check the spanPacketsDropped and idsNotInspected counters under normal load. You may also need to raise the host's net.core.rmem_max setting to allow the agent's 16 MB capture buffer.
You will also need
- Outbound access to the OneFirewall console
- A connector ID and an organisation admin's API token
- A SIEM or syslog server that can receive the alerts
- OneFirewall tokens for threat list downloads, if you use threat list alerts or the blocklist. IDS rules don't need tokens
What the IDS doesn't do
- It can't read encrypted content. With HTTPS, SSH and VPNs, it can check only certain visible details, such as the TLS version and cipher a server chooses or the SSH version. To inspect web traffic, mirror it after TLS is removed, for example behind your reverse proxy or load balancer. HTTP/2 and compressed content aren't inspected.
- It only finds what it has a rule or threat list entry for. It complements your firewalls and endpoint protection, but doesn't replace them. It doesn't load Suricata or Snort rules.
- Content inspection has limits. It inspects up to 16 KB of headers and 16 KB of body in each HTTP request, 4 KB of an HTTP response body, and about the first 16 KB in each direction of other unencrypted TCP connections. It can follow 50,000 connections and hold 64 MB of connection data for inspection. Reaching the connection, data or queue limits is counted.
- It doesn't block traffic. Blocking is done by firewalls that download and enforce the blocklist.
- It doesn't cover all network traffic. It doesn't analyse IPv6 or inspect traffic inside tunnels such as GRE and VXLAN. The content of fragmented IP packets can't be fully inspected.
- It doesn't support syslog over TLS. Syslog input and output use plain UDP or TCP, so keep them on a trusted network.
- It can't verify who sent a log. Only allow your own devices to reach the syslog port. False logs could trigger alerts, and the console can report the address in a denied connection as malicious if it doesn't already know it.
Frequently asked questions
Is this an IDS or an IPS?
It is an IDS: it detects and alerts, but doesn't block traffic. Your firewalls can block addresses on the threat list by downloading the agent's optional blocklist.
Do I need a mirror port?
Not for everything. With syslog alone, you can use threat intelligence and 5 of the 30 rules, but only for connections your devices log. You need a mirror port for the other 25 rules, including web attacks, DNS, malware and weak encryption.
Can it inspect HTTPS?
It can't read encrypted HTTPS content. It can report obsolete TLS versions and weak ciphers. To detect web attacks, mirror the HTTP/1 traffic after TLS is removed, for example behind your reverse proxy or load balancer.
Can I use Suricata or Snort rules?
No. The agent uses its own 30 built-in rules. You can turn each one on or off, and change the thresholds of the five rules that count activity.
Can it slow down or interrupt my network?
The agent isn't in the traffic path, so your traffic doesn't pass through it. If it can't keep up with the mirrored traffic, some packets won't be inspected and attacks can be missed. Status counters help you spot this. Also check that your switch and firewalls have enough capacity for the mirror port or log export.
Which SIEMs does it work with?
Any SIEM or syslog server that accepts RFC 5424 messages with CEF content over UDP or TCP.
Does it use OneFirewall tokens?
IDS rules don't. Tokens are used to download the threat list when threat list alerts or the blocklist are on. Threat list alerts are on by default when you turn on alert sending, but you can turn them off. Each page of up to 100,000 addresses uses tokens at every update. The list is also downloaded when the agent starts or is switched back on, when you first turn on a feature that needs it, and when the score threshold changes.
What happens if the console is unavailable?
A running agent keeps its current configuration and IDS rules. If it already has a threat list, it keeps checking it and serving the blocklist. Up to 50,000 network events can queue for upload. Beyond that, new events are dropped and counted. The configuration, list and queue are only in memory. After a restart, the agent can't start detecting again until it reaches the console.
