module

Group Policy Script Execution From Shared Resource

Disclosed
2015-01-26
Created
2018-05-30

Description

This is a general-purpose module for exploiting systems with Windows Group Policy
configured to load VBS startup/logon scripts from remote locations. This module runs
a SMB shared resource that will provide a payload through a VBS file. Startup scripts
will be executed with SYSTEM privileges, while logon scripts will be executed with the
user privileges. Have into account which the attacker still needs to redirect the
target traffic to the fake SMB share to exploit it successfully. Please note in some
cases, it will take 5 to 10 minutes to receive a session.

Authors

Sam Bertram sbertram@gdssecurity.com
juan vazquez juan.vazquez@metasploit.com

Platform

Windows

Architectures

x86, x64

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/smb/group_policy_startup
msf exploit(group_policy_startup) > show targets
...targets...
msf exploit(group_policy_startup) > set TARGET < target-id >
msf exploit(group_policy_startup) > show options
...show and set options...
msf exploit(group_policy_startup) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.