🔥 3-day streak
Professional Security Operations Engineer220 / 241
Question 220 of 241

A detection engineer is finalizing a multi-event YARA-L rule that correlates process-creation events with subsequent outbound network events over a 10-minute match window. During validation the rule compiles but the test run against 30 days of historical data times out repeatedly. Investigation shows the events section applies a `re.regex()` function with the `nocase` flag against the full `principal.process.command_line` field on every event before the join key is evaluated. Which change most directly reduces the rule's evaluation cost while preserving detection intent?

Reviewed for accuracy · Report an issueNext question