PowerShell
MITRE ATT&CK, Execution, Technique T1059.001
Basic Usage
Creating a PowerShell Session
Background: We can establish a persistent connection in PowerShell using Enter-PSSession. This can make life significantly easier and reduce overhead.
Executing Scripts Remotely
Background: We can execute scripts remotely with PowerShell.
Enumeration
Enumerate Installed Versions
Background: This can be helpful when determining if a PowerShell downgrade attack will work.
This is important as if PowerShell 2.0 is installed then we can bypass multiple security protections enabled in more recent PowerShell Version 5 releases:
Offensive PowerShell
Bypassing Execution Policy
Information: Execution policies can be disabled in multiple ways. It is not a sufficient security protection to prevent unsigned scripts from being loaded.
Bypassing Real-time Monitoring
Meterpreter Shell
Last updated