Our YARA+ETW pipeline had a hot rule. A flame graph of the engine, not the OS, found it. We split the rule.
Profile the detector. It is software. It has bugs and hot loops.
Refs: YARA
Lab / educational. Public binaries and patched classes only. Isolated VM.