🔥 3-day streak
Professional Security Operations Engineer213 / 241
Question 213 of 241

A detection engineer is writing a YARA-L rule to detect a specific attack: a single process both writes a file to a startup directory AND, within the same event, is flagged by the endpoint agent as low-reputation. Both conditions are fully described by fields within one individual process/file UDM event. The engineer's first draft uses two placeholder variables ($e1 and $e2) joined on principal.hostname with a 5-minute match window. Peer review flags this as unnecessarily complex. What is the most appropriate correction?

Reviewed for accuracy · Report an issueNext question