Hack Forums
Method Crypter Demo 2 - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: Method Crypter Demo 2 (/showthread.php?tid=6312191)



Method Crypter Demo 2 - PhillyStyle - Oct 26, 2025

Encrypt Your Methods Inside Your EXEs! (In C# 4.8) (2)

[Image: Method-Crypter2-Screen-Shot.png]

Previous version here: https://hackforums.net/showthread.php?tid=6311470

What's New?
  • Smaller File size:
    In version 2.0 the file size of Output.exe is dramatically reduced. From about 450 KB to just 23-26 KB. This is done by not including dnlib in the Crypted.exe anymore.

  • New payload injection method:
    In version 2.0 we no longer use junk methods for our encryption overhead. We don't encrypt to the method space anymore at all. Instead we encrypt to base64 encoded strings and inject them into the file, then we replace the code in the methods we encrypted with stack neutral junk code. Using a binary patching method that I created.

  • Output.exe no longer has to copy it's self to the temp directory to open it's self with dnlib because we don't use dnlib in Output.exe anymore. We just use memory offsets now.

  • Now that there is real code in our methods, the JIT compiler gets ahead of us compiling code we don't want compiled yet, so I had to add the Force Re-JIT section to the dialog.
    ForceReJit is the name of a method we use in Crypted Demo.exe, and all it does is force the Just In Time compiler to recompile code when we want it to.
    ForceReJit would break if Randomize Method Names was checked, so I had to fix that.
    So now in Method Crypter.exe, if you have Randomize Method Names Checked and Force Re-JIT contains a method name, it goes into your file, finds the Force Re-JIT method name string, and renames it to the new random method name string so that Force Re-JIT still works even when Randomize Method Names is checked. (I hope you can make some sense of that explanation.)

  • No longer detected as a virus by Windows Defender! At the time of me writing this (10/26/2025) this method is not detected as a virus and is safe to use in your programs for encryption/obfuscation, or whatever your reason is.



https://github.com/PhillyStyle/Method-Crypter-DEMO-2

Edit:
Commit base URL: (Click on browse files in the top right)
https://github.com/PhillyStyle/Method-Crypter-DEMO-2/commit/e5cf883398f849be2f7c4866d01ea3f7b1624656

Also, if anyone wants help encrypting methods in their C# projects and is overwhelmed by all this code, private message me.

Also, (The most important thing) nobody has given me their top score in console snake yet. 🤣


RE: Method Crypter Demo 2 - Hackers - Oct 26, 2025

At quick glance, I couldn't find anything malicious in the repo. Looks good to me from what I did review. GL with the project OP!

the commit base I reviewed:
https://github.com/PhillyStyle/Method-Crypter-DEMO-2/commit/e5cf883398f849be2f7c4866d01ea3f7b1624656

If you believe in security, please support my site suggestion & use commit URLs in your posts!!

https://hackforums.net/showthread.php?tid=6310370


RE: Method Crypter Demo 2 - PhillyStyle - Oct 26, 2025

(Oct 26, 2025 07:43 AM)nodes Wrote:  At quick glance, I couldn't find anything malicious in the repo. Looks good to me from what I did review. GL with the project OP!

the commit base I reviewed:
https://github.com/PhillyStyle/Method-Crypter-DEMO-2/commit/e5cf883398f849be2f7c4866d01ea3f7b1624656

If you believe in security, please support my site suggestion & use commit URLs in your posts!!

https://hackforums.net/showthread.php?tid=6310370

Thanks I added the URL to the post if that is OK with you. šŸ˜Ž

Edit: Also, what is the MyBB code to make usernames clickable?


RE: Method Crypter Demo 2 - Hackers - Oct 26, 2025

(Oct 26, 2025 08:55 AM)PhillyStyle Wrote:  Thanks I added the URL to the post if that is OK with you. šŸ˜Ž

nah don't say reviewed by me because I didn't go through every single possible line :)
but ill leave my reply there , I just looked it over and nothing seemed weird but I only do official code reviews for $$ ;)


RE: Method Crypter Demo 2 - PhillyStyle - Oct 26, 2025

(Oct 26, 2025 08:56 AM)nodes Wrote:  nah don't say reviewed by me because I didn't go through every single possible line :)
but ill leave my reply there , I just looked it over and nothing seemed weird but I only do official code reviews for $$ ;)

Got it. I deleted the reviewed part but left the link.


RE: Method Crypter Demo 2 - Phobia_ - Feb 28, 2026

Looks good, I’m gonna test this out later Ty for the release