Question 1020
A security monitoring shift documents this situation: A parser matches `WARN` inside `WARNING` although the detection requires the exact token WARN. Which preventive control would most directly reduce recurrence of this same problem?
Explanation
Correct Answer
This addresses recurrence of the actual mechanism: Substring regex matching without boundaries can misclassify related words. It is tied to the same activity and supports the expected result: WARN is detected while WARNING is excluded in sample records.
Incorrect Answers
This helps prevent another problem: A log parser uses `.*` greedily between two quotes and mistakenly spans multiple quoted fields. The present recurring risk is different: Substring regex matching without boundaries can misclassify related words.
This helps prevent another problem: A detection regex uses `^ERROR` but must find ERROR only at the beginning of a log record. The present recurring risk is different: Substring regex matching without boundaries can misclassify related words.
This helps prevent another problem: A network ACL blocks inbound packets by source IP and destination port but does not inspect whether an HTTP POST is malicious. The present recurring risk is different: Substring regex matching without boundaries can misclassify related words.