Question 1000
A security monitoring shift documents this situation: An analyst writes a regex for IPv4-looking log lines using an unescaped dot, and it matches unrelated strings. Which preventive control would most directly reduce recurrence of this same problem?
Explanation
Correct Answer
This addresses recurrence of the actual mechanism: In regular expressions dot is a wildcard unless escaped. It is tied to the same activity and supports the expected result: A test set matches intended dotted addresses and rejects unrelated delimiters.
Incorrect Answers
This helps prevent another problem: A parser matches `WARN` inside `WARNING` although the detection requires the exact token WARN. The present recurring risk is different: In regular expressions dot is a wildcard unless escaped.
This helps prevent another problem: A SIEM signature uses `[0-9]+` and unexpectedly accepts a two-digit port where exactly five digits are required in the test format. The present recurring risk is different: In regular expressions dot is a wildcard unless escaped.
This helps prevent another problem: A network TAP copies packets to a passive sensor, and the SOC expects the passive device to block the original packets directly. The present recurring risk is different: In regular expressions dot is a wildcard unless escaped.