• Stars
    star
    215
  • Rank 178,001 (Top 4 %)
  • Language
    C
  • Created about 1 year ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Execute shellcode from a remote-hosted bin file using Winhttp.

RemoteShellcodeExec

A simple PoC of executing shellcode from a remote-hosted bin file using Winhttp. This is demo of the relevant blog post: Shellcodes are dead, long live fileless shellcodes.

TL;DR

  • Executing the shellcode from a remote-hosted server, will make the executable file itself drastically reduce it's entropy.
  • Implemented a simple heap encryption, to avoid the shellcode being visible
  • Profit (0/26 detections)

Demo

U8LjkcA.mp4

Credits

https://decoded.avast.io/threatintel/decoding-cobalt-strike-understanding-payloads/
https://twitter.com/teamcymru_S2/status/1604091964386705409
https://www.huntress.com/blog/hackers-no-hashing-randomizing-api-hashes-to-evade-cobalt-strike-shellcode-detection