Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_lolbin_gpscript.yml
T

31 lines
1014 B
YAML
Raw Normal View History

title: Gpscript Execution
2022-05-02 19:19:12 +02:00
id: 1e59c230-6670-45bf-83b0-98903780607e
status: test
description: Detects the execution of the LOLBIN gpscript, which executes logon or startup scripts configured in Group Policy
2022-05-02 19:19:12 +02:00
references:
- https://oddvar.moe/2018/04/27/gpscript-exe-another-lolbin-to-the-list/
2022-05-02 19:19:12 +02:00
- https://lolbas-project.github.io/lolbas/Binaries/Gpscript/
author: frack113
date: 2022-05-16
modified: 2023-06-14
2022-10-28 15:06:36 +02:00
tags:
- attack.defense-evasion
2022-10-28 15:06:36 +02:00
- attack.t1218
2022-05-02 19:19:12 +02:00
logsource:
product: windows
category: process_creation
detection:
2022-05-16 22:02:41 +01:00
selection_img:
- Image|endswith: '\gpscript.exe'
- OriginalFileName: 'GPSCRIPT.EXE'
selection_cli:
CommandLine|contains:
- ' /logon'
- ' /startup'
2023-06-14 15:35:33 +02:00
filter_main_svchost:
2023-06-14 11:33:58 +02:00
ParentCommandLine: 'C:\windows\system32\svchost.exe -k netsvcs -p -s gpsvc'
2023-06-14 15:35:33 +02:00
condition: all of selection_* and not 1 of filter_main_*
2022-05-02 19:19:12 +02:00
falsepositives:
- Legitimate uses of logon scripts distributed via group policy
2022-05-02 19:19:12 +02:00
level: medium