EmpireProject / Empire

Empire is a PowerShell and Python post-exploitation agent.
http://www.powershellempire.com/
BSD 3-Clause "New" or "Revised" License
7.39k stars 2.81k forks source link

Obfuscated UserAgent in stage1 #1308

Closed StayPirate closed 5 years ago

StayPirate commented 5 years ago

Empire Version

2.5

OS Information (Linux flavor, Python version)

Debian 9 (stretch)

Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

The UA is obfuscated among the rest of the payload, it could lead to an easy detection rate from a network point of view if HTTP listener is in place.

Screenshot of error, embedded text output, or Pastebin link to the error

paRam($S, $SK, $UA = 'MOzIlla/5.0 (WINDoWS NT 6.1; WOW64; TRiDeNT/7.0; rv:11.0) lIkE GEcKo')FUnCtiON COnVeRtTo - RC4ByteSTrEaM {

mr64bit commented 5 years ago

Nice catch, thanks.