Used by group policy to process scripts Located at: C:\Windows\System32\gpscript.exe; C:\Windows\SysWOW64\gpscript.exe.
gpscript gpscript Sandbox: execFile · Timeout: 30s
security.execution.command Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Executes logon scripts configured in Group Policy. (Add local group policy logon script to execute file and hide from defensive counter measures)
Gpscript /logon Executes startup scripts configured in Group Policy (Add local group policy logon script to execute file and hide from defensive counter measures)
Gpscript /startup | Type | Rule / Indicator |
|---|---|
| sigma | https://github.com/SigmaHQ/sigma/blob/c04bef2fbbe8beff6c7620d5d7ea6872dbe7acba/rules/windows/process_creation/proc_creation_win_lolbin_gpscript.yml |
| ioc | Scripts added in local group policy |
| ioc | Execution of Gpscript.exe after logon |
gpscript is a Windows LOLBin. Used by group policy to process scripts Located at: C:\Windows\System32\gpscript.exe; C:\Windows\SysWOW64\gpscript.exe.