RedTeam
5.Machine
3.Active-Directory
General
Tools
Privesccheck

Top Commands

Powershell

Set-ExecutionPolicy Bypass -Scope process -Force
. .\PrivescCheck.ps1
Invoke-PrivescCheck
  • Set-ExecutionPolicy... ---> bypass the execution policy restrictions. To achieve this, you can use the Set-ExecutionPolicy cmdlet as shown below.

https://github.com/itm4n/PrivescCheck (opens in a new tab)

What is PrivescCheck

This script aims to enumerate common Windows configuration issues that can be leveraged for local privilege escalation. It also gathers various information that might be useful for exploitation and/or post-exploitation.