Custom IPS Signature Not Matching Due to Wrong Protocol Decoder
A FortiGate administrator configures a custom IPS signature with the pattern 'attack' in the HTTP request URI. After applying the signature, no alerts are generated even though the traffic matches. What is the MOST likely cause?
Quick Answer
The answer is that the custom IPS signature is not matching because its protocol decoder is not set to HTTP. Without explicitly assigning the HTTP decoder, the FortiGate IPS engine does not know to parse the HTTP request URI for the pattern 'attack'; instead, it inspects the raw packet payload against the wrong protocol layer, causing the signature to never trigger. On the Fortinet NSE 7 Advanced Security NSE7 exam, this tests your understanding that custom signatures require a precise decoder assignment to match application-layer traffic—a common trap is assuming the IPS engine automatically detects the protocol from the traffic flow. Remember the memory tip: “No decoder, no detector”—if you omit the protocol decoder, the pattern is blind to the URI.
⚠ Common exam trap
Candidates often assume a signature will automatically inspect all traffic or that the 'pass' action suppresses alerts, when in fact the protocol decoder is a mandatory prerequisite for any application-layer pattern matching in FortiGate IPS.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The signature's protocol decoder is not set to 'HTTP'
The custom IPS signature pattern 'attack' will only be inspected against the HTTP request URI if the signature's protocol decoder is explicitly set to 'HTTP'. Without this decoder assignment, the IPS engine does not know which protocol layer to parse, and the pattern is never matched against the URI, resulting in no alerts despite matching traffic.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The signature's protocol decoder is set to 'HTTP'
Why it's wrong here
If set to HTTP, it should work; the issue is likely the decoder is wrong.
- ✗
The signature action is set to 'pass'
Why it's wrong here
Pass action still logs; no alerts suggest no detection at all.
- ✓
The signature's protocol decoder is not set to 'HTTP'
Why this is correct
Without proper decoder, the pattern is not matched in HTTP URI.
- ✗
The signature severity is too low
Why it's wrong here
Severity does not prevent detection, just affects alerting threshold.
Go deeper
Related to this question
About these practice questions
Courseiva writes every NSE7 question from scratch — 940 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on NSE7
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. An IPS administrator wants to detect a new custom attack that sends malformed HTTP headers. The attack pattern is a specific sequence of bytes that is not covered by existing signatures. What is the BEST way to detect this attack on FortiGate?
medium- A.Use an automation stitch to block traffic with unusual headers
- B.Enable protocol anomaly detection in the IPS sensor
- C.Deploy FortiWeb as a reverse proxy
- ✓ D.Create a custom IPS signature
Why D: Custom IPS signatures allow you to define a specific byte sequence or pattern (e.g., via a regular expression or hex pattern) that matches the malformed HTTP header. FortiGate's IPS engine can then inspect HTTP traffic at the application layer and trigger an alert or block when the custom pattern is found, even if no existing signature covers it.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This NSE7 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE7 exam.