mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-25 22:39:27 +01:00
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
---
|
|
Name: Gpscript.exe
|
|
Description: Used by group policy to process scripts
|
|
Author: 'Oddvar Moe'
|
|
Created: '2018-05-25'
|
|
Commands:
|
|
- Command: Gpscript /logon
|
|
Description: Executes logon scripts configured in Group Policy.
|
|
Usecase: Add local group policy logon script to execute file and hide from defensive counter measures
|
|
Category: Execute
|
|
Privileges: Administrator
|
|
MitreID: T1216
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1216
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
|
- Command: Gpscript /startup
|
|
Description: Executes startup scripts configured in Group Policy
|
|
Usecase: Add local group policy logon script to execute file and hide from defensive counter measures
|
|
Category: Execute
|
|
Privileges: Administrator
|
|
MitreID: T1216
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1216
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
|
Full Path:
|
|
- Path: C:\Windows\System32\gpscript.exe
|
|
- Path: C:\Windows\SysWOW64\gpscript.exe
|
|
Code Sample:
|
|
- Code:
|
|
Detection:
|
|
- IOC: Scripts added in local group policy
|
|
- IOC: Execution of Gpscript.exe after logon
|
|
Resources:
|
|
- Link: https://oddvar.moe/2018/04/27/gpscript-exe-another-lolbin-to-the-list/
|
|
Acknowledgement:
|
|
- Person: Oddvar Moe
|
|
Handle: '@oddvarmoe'
|
|
--- |