2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Gpscript.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Description: Used by group policy to process scripts
|
2018-09-24 21:59:43 +02:00
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: Gpscript /logon
|
2018-09-24 21:59:43 +02:00
|
|
|
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
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: Gpscript /startup
|
2018-09-24 21:59:43 +02:00
|
|
|
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
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\gpscript.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\gpscript.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Code:
|
|
|
|
Detection:
|
|
|
|
- IOC: Scripts added in local group policy
|
|
|
|
- IOC: Execution of Gpscript.exe after logon
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Link: https://oddvar.moe/2018/04/27/gpscript-exe-another-lolbin-to-the-list/
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: Oddvar Moe
|
|
|
|
Handle: '@oddvarmoe'
|
2021-01-10 16:04:52 +01:00
|
|
|
---
|