HIGH FortiGate Threat Prevention Block LTR-0030 ✓ validated

Detect UTM IPS and Antivirus Blocks in FortiGate Logs

Published

MITRE ATT&CK: T1190T1071.001

Sigma Rule

title: FortiGate UTM IPS and Antivirus Block
id: e1d746c8-2160-4379-809d-41f8c0b3db2a
status: experimental
description: >
  Detects FortiGate UTM security profiles actively blocking traffic: an IPS
  signature match with action block, or an antivirus engine detection with
  action blocked. Both mean the FortiGate's own inspection engines already
  identified and stopped malicious content, not merely logged it.
references:
  - https://docs.fortinet.com/document/fortigate/7.4.0/log-message-reference
  - https://attack.mitre.org/techniques/T1190/
author: LogTriage
date: 2026/11/02
logsource:
  product: fortios
  category: firewall
detection:
  selection_ips:
    type: 'utm'
    subtype: 'ips'
    action: 'block'
  selection_virus:
    type: 'utm'
    subtype: 'virus'
    action: 'blocked'
  condition: selection_ips or selection_virus
falsepositives:
  - Authorized vulnerability scanning tripping an IPS signature
  - EICAR test files or phishing-simulation attachments caught by antivirus
  - Overly aggressive custom IPS signature
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - attack.command_and_control
  - attack.t1071.001
How the rule decides

1 · Each event is compared with 2 selections. Every field in a selection must match; listed values are alternatives.

selection_ips
  • type is utm
  • and subtype is ips
  • and action is block
selection_virus
  • type is utm
  • and subtype is virus
  • and action is blocked

2 · An event counts when

selection_ipsorselection_virus

Alert high Checked on every deploy: fires on fortigate_attack.log, silent on fortigate_normal.log — both in the public sample dataset ↗︎

What this rule detects

FortiGate’s UTM security profiles — Intrusion Prevention (IPS) and Antivirus — inspect traffic inline and can block it outright rather than just alert on it. This rule fires when either engine confirms a block:

  1. IPS block: type: utm, subtype: ips, action: block — a known exploit signature matched and FortiGate dropped the traffic.
  2. Antivirus block: type: utm, subtype: virus, action: blocked — a known malware signature matched a file or stream and FortiGate stopped it.

Either one fires the rule. Both mean the firewall’s own inspection engine already classified the traffic as malicious, not that a human needs to make that judgment call.

Detection logic

The rule is an or of two narrow selections, each requiring the UTM type, the specific subtype for that engine, and the action value that engine uses for a confirmed block:

  • selection_ips matches type=utm, subtype=ips, action=block — the value FortiGate’s IPS engine logs for a blocked exploit attempt.
  • selection_virus matches type=utm, subtype=virus, action=blocked — the value FortiGate’s antivirus engine logs for a blocked detection.

The two action values differ (block vs blocked) because they come from different UTM subsystems; the rule keys on each engine’s own documented value rather than normalizing them, since normalizing risks matching unrelated action fields elsewhere in the log (traffic logs use accept/deny/drop, which this rule does not touch).

Validated against a real sample

Validated against fortigate_attack.log (shipped with LogTriage), which contains:

  • An IPS block: type="utm" subtype="ips" action="block" attack="SQL.Injection.Generic" severity="critical" from 185.220.101.42 against /api/v1/users?id=1 UNION SELECT
  • An antivirus block: type="utm" subtype="virus" action="blocked" virus="Cobalt-Strike.Beacon" from 45.142.212.100

Both lines fire the rule. The same log also contains an IKE brute-force event and two traffic denies, which are not UTM blocks and do not match either selection — they are a different behavior (perimeter denial, not inline content inspection) and belong in a separate rule.

The rule stays silent on fortigate_normal.log, whose three lines are type="traffic" accepts and a type="event" subtype="user" login — none carry type="utm", so neither selection can match.

False positives

The IPS selection can fire on an authorized vulnerability scan if the scanner’s traffic happens to match a signature the target was in scope for — check whether the source IP is a known scanner before treating it as hostile. The antivirus selection commonly fires on EICAR test files used in security training or on attachments from a phishing-simulation platform; both are expected and should be excluded by source or destination rather than by disabling the rule.

Frequently Asked Questions

Why treat an IPS block and an antivirus block as one rule instead of two?
Both selections represent the same behavior from the operator's side: FortiGate's UTM engine already identified malicious content and stopped it before it reached the destination. The difference is which engine caught it, not what the alert means. Splitting them would mean opening two tickets for one FortiGate decision.
Why key on action values instead of the attack or virus name?
Attack and virus signature names change constantly as vendors update detection content, and matching a specific name like SQL.Injection.Generic would miss the next signature update. The action field is stable: FortiGate's IPS engine logs block for a stopped exploit attempt, and the antivirus engine logs blocked for a stopped file. Both are documented action values in FortiGate's UTM log reference.
Why no count threshold for this rule?
Unlike a single failed login or a single denied packet, a UTM block is not a weak signal on its own — it means FortiGate's inspection engine already classified the traffic as a known exploit or known malware and stopped it. One confirmed block from the IPS or antivirus engine already justifies review; waiting for a second occurrence only delays the response.
What does the Cobalt Strike beacon virus block mean specifically?
In the validated sample, the antivirus engine blocked traffic matching the signature Cobalt-Strike.Beacon from a second source IP shortly after the first IP's IKE brute-force attempt and SQL injection probe. That combination — three different FortiGate engines flagging the same short window from related sources — is why this should be treated as an active intrusion attempt, not an isolated signature hit.

Related Resources

Reference

See this detection run on a real report

Try the live demo with a pre-loaded malicious log set — no signup required — or upload your own log file and get a full AI-reviewed threat report in minutes.