falsepositives: - IgfxCUIService.exe hiding *.cui files via .bat script (attrib.exe a child of cmd.exe and igfxCUIService.exe is the parent of the cmd.exe)
So I would suggest tuning the rule similar to the Sigma rule already does:
and not (parent.process.name: "cmd.exe"
and process.command_line: "attrib +R +H +S +A *.cui"
and process.parent.command_line: "C:\WINDOWS\system32\cmd.exe /c "C:\WINDOWS\system32\*.bat")
Link to rule
https://github.com/elastic/detection-rules/blob/main/rules/windows/defense_evasion_adding_the_hidden_file_attribute_with_via_attribexe.toml
Description
There is a known false positive of IgfxCUIService.exe using attrib.exe.
See this similar Sigma rule:
So I would suggest tuning the rule similar to the Sigma rule already does:
Example Data:
Hope you agree with me.
Greetings Martin