Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PE Binder in C++ & C#

Saw this thread https://hackforums.net/showthread.php?tid=6318965

PE Binding can be approached in numerous ways, but 1 thing: Your payloads have to be clean.

Doesn't have to but you know what I mean.

Here's my 30 minute POC in ++ and #:
  • A stub (if you truly care for evasion you can write a real loader. Since payload is clean, not needed that much)

  • A 16b footer metadata (sizes and magic marker)

  • When executed, the stub reads itself, extracts the payloads and runs both with current privs



The footer at the end allows the stub to locate and extract the bound executables without scanning for marker.

POC

This is barebones don't hate.

C#



++



AV Performance:

[Image: chrome-J3-AOH7-Hx-XY.png]

For educational purposes only.
(Feb 2, 2026 07:24 AM)CL1B Wrote:  For educational purposes only.

Interesting. In a known crybercrime forum.
Still not sure what to do with it, but i will dive deeper later today, thanks for taking the time to answer
(Feb 2, 2026 11:40 AM)ShellPower Wrote:  Still not sure what to do with it, but i will dive deeper later today, thanks for taking the time to answer

What do you mean not sure what to do with it?
(Feb 2, 2026 12:03 PM)CL1B Wrote:  What do you mean not sure what to do with it?

What to do to make this piece of code usable :)
(Feb 2, 2026 08:10 AM)NotYourFriend Wrote:  Interesting. In a known crybercrime forum.

This is not a cybercrime forum, illegal activity is specifically banned. Not sure why people think HackForums is blackhat, we are on clearnet, and a lot of users are only here to research, help provide info for cybersecurity experts to analyze, and create tech.

For example, this PE binder can be used as a whitehat program to combine a main program and its corresponding update-fetcher that might run in background silently. That would be a good quality of life improvement so someone does not need to run 2 programs, which could be too technical for Gen Z or other less savvy users.


(Feb 2, 2026 02:25 PM)ShellPower Wrote:  What to do to make this piece of code usable :)

compile it and then run the command given for exec program 1, 2, and then output.exe
(Feb 2, 2026 02:31 PM)Hackers Wrote:  This is not a cybercrime forum, illegal activity is specifically banned. Not sure why people think HackForums is blackhat, we are on clearnet, and a lot of users are only here to research, help provide info for cybersecurity experts to analyze, and create tech.

For example, this PE binder can be used as a whitehat program to combine a main program and its corresponding update-fetcher that might run in background silently. That would be a good quality of life improvement so someone does not need to run 2 programs, which could be too technical for Gen Z or other less savvy users.

I think he's mocking this forum as a whole "cry"ber crime. He's basically just trolling.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by vladimir2020Nov 16, 2023 03:04 PM 20 1,080 Nov 16, 2023 03:04 PM
Last Post: Theblazinghood
by Unam SanctamNov 2, 2023 09:36 AM 81 5,154 Nov 2, 2023 09:36 AM
Last Post: KrissTV
by EclipseSep 8, 2022 09:30 PM 11 654 Sep 8, 2022 09:30 PM
Last Post: AboHmam