xx0hcd / Alt-Beacon-Payload

Beacon payload using AV bypass method from https://github.com/fullmetalcache/CsharpMMNiceness and shellcode generated from https://github.com/RCStep/CSSG.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alt-Beacon-Payload

Beacon payload using AV bypass method from https://github.com/fullmetalcache/CsharpMMNiceness and shellcode generated from https://github.com/RCStep/CSSG.

Clone this and save shellcode output file in the same directory (output filename is hard coded in the python script).

  1. Load the awesome shellcode generator into your beacon console (https://github.com/RCStep/CSSG).
  • use the C# format with leading zeros 0x90,0x90.
  • save as 'tmpshell.txt' in the same directory.
  1. Run the alt_beacon.py script.
  • Probably want to change the function/variables in the 'niceness_template.cs' file (assumed to be in the same directory). If you change '$$$LENGTH$$$' and '$$$NICENESS$$$' in the template file then you will also have to change where it is looking for that in the python script (lines 41,42 and 44).
  1. Outputs final.cs.
  • compile it or something.
  • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /unsafe /platform:x64 /out:C:\Windows\Temp\final.exe C:\Windows\Temp\final.cs
  1. Better automation/aggressor script?
  • ...

About

Beacon payload using AV bypass method from https://github.com/fullmetalcache/CsharpMMNiceness and shellcode generated from https://github.com/RCStep/CSSG.


Languages

Language:C# 51.1%Language:Python 48.9%