[Rule Tuning] Group Policy Discovery via Microsoft GPResult Utility
Link to Rule
https://github.com/elastic/detection-rules/blob/main/rules/windows/discovery_group_policy_object_discovery.toml
Rule Tuning Type
False Positives - Reducing benign events mistakenly identified as threats.
Description
The "Group Policy Discovery via Microsoft GPResult Utility" reports on legitimate scans done by Qualys. Since this repeats on every scanned Windows host, this creates quite a lot of spam in envs that use Qualys and it would be great to have this fine tuned.
Example Data
"message": "Process Create:\nRuleName: -\nUtcTime: 2026-11-09 07:16:22.270\nProcessGuid: {C8EFD831-7346-6AF1-C802-000000001E00}\nProcessId: 10980\nImage: C:\Windows\System32\gpresult.exe\nFileVersion: 10.0.26100.8115 (WinBuild.160101.0800)\nDescription: Query Group Policy RSOP Data\nProduct: Microsoft® Windows® Operating System\nCompany: Microsoft Corporation\nOriginalFileName: gprslt.exe\nCommandLine: "C:\Windows\system32\gpresult.exe" /SCOPE COMPUTER /R\nCurrentDirectory: C:\Windows\system32\WindowsPowerShell\v1.0\\nUser: NT AUTHORITY\SYSTEM\nLogonGuid: {C8EFD831-7278-6AF1-E703-000000000000}\nLogonId: 0x3e7\nTerminalSessionId: 0\nIntegrityLevel: System\nHashes: MD5=67CC8C264981417E39420430A154145E,SHA256=A805FB8B099F2E372D1067CD3618088EA36E1F09570FDE4A54D0BCDC5770F1C5,IMPHASH=11452041F55EC41ED1A28B9D7E2B1FB6\nParentProcessGuid: {C8EFD831-7345-6AF1-C202-000000001E00}\nParentProcessId: 16444\nParentImage: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe\nParentCommandLine: -windowstyle hidden -noninteractive -nologo -executionPolicy remotesigned -file "C:\ProgramData\Qualys\QualysTemp\QAS613E.ps1"\nParentUser: NT AUTHORITY\SYSTEM" "process.parent.args": [ "-windowstyle", "hidden", "-noninteractive", "-nologo", "-executionPolicy", "remotesigned", "-file", "C:\ProgramData\Qualys\QualysTemp\QAS613E.ps1" ],
Hi @bryans3c, I'd like to pick this up. Plan: in rules/windows/discovery_group_policy_object_discovery.toml, add a narrow exclusion for the Qualys scanner shown in the example data, matching process.parent.name powershell.exe together with process.parent.args under C:\\ProgramData\\Qualys\\QualysTemp\\*.ps1, and bump updated_date. I'll keep the exclusion tied to both the parent process and the Qualys temp path, so a gpresult launched from any other script still alerts. I'll run the repo's unit tests and EQL validation, and check the query against the issue's sample event plus a non-Qualys gpresult event. Could you assign it to me?