🔥 3-day streak
Professional Security Operations Engineer165 / 241
Question 165 of 241

A detection engineer is drafting a YARA-L rule to catch a credential-dumping tool that must correlate a process-creation event with a subsequent registry-read event on the SAM hive from the same host within 5 minutes. Their first draft uses a single event variable ($e) with two selection blocks and adds a 'match' section grouping by principal.hostname. The rule fails to compile with an error indicating the match variables are not correlated across events. What is the root cause and the correct fix?

Reviewed for accuracy · Report an issueNext question