Hack Forums
12 runEXE Methods | Open Source | FREE | Unique Run/Open Executable | Windows C - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: 12 runEXE Methods | Open Source | FREE | Unique Run/Open Executable | Windows C (/showthread.php?tid=6266377)



12 runEXE Methods | Open Source | FREE | Unique Run/Open Executable | Windows C - Hackers - Mar 19, 2024

12 Working Examples - Unique Run EXE Methods - Native Windows - C



This repo contains 12 total prototypes. Each program loads a local helloworld.exe, in a unique way. This is meant to help you better understand the many ways of running a program in Windows.

- 1) Read .exe file & push binary data to tmp file to run process

- 2) Copy .exe file to new tmp path and run process

- 3) Use original .exe in new process

- 4) Use shell execute to open the .exe

- 5) Copy .exe to new folder, run new file as process, then delete the copied file & the new directory

- 6) Use shell execute to open the .exe in a suspended process, resume the thread to run program

- 7) Schedule a task (schtasks) to run the program at 8:40PM (20:40 military time)

- 8) Use cmd.exe to open the program, from a process

- 9) Create a .vbs file with a simple WScript shell to run our program, ran from system(), with .vbs file removal at end

- 10) Create a registry key that will run our exe from our custom command, then execute the command with cmd /c start

- 11) Create a temporary .bat file that runs an exe

- 12) Use Powershell to start a process to run the exe








What's next?
Once you fully understand each of the 12 methods, you should work on converting your original exe to binary data and loading into a header file. This will let you then work on the next step of saving the binary data to a tmp file so you can use any of the methods here without the original .exe file packaged in with your final program.

What's next for me?
I will probably do another POC thread like this - such as 13 runPE methods that use binary data from a resource or header file.



Disclaimer
This is not a crypter guys and girls. I have a few free crypters you can use if that's what you are looking for. This is just a collection of 12 run .exe methods written in C for beginners to learn more & get started with their own tools.








[Image: espanakrypt-banner.jpg]





[Image: Screenshot-2024-03-10-075315.png]




RE: 12 Stub.c Files | Open Source | FREE | Unique Run EXE Methods - Syndicate - Mar 19, 2024

Hackers always coming in clutch with the free services. Looks good brother :)


RE: 12 Stub.c Files | Open Source | FREE | Unique Run EXE Methods - Hackers - Mar 19, 2024

(Mar 19, 2024 06:59 PM)Syndicate Wrote:  Hackers always coming in clutch with the free services. Looks good brother :)

Thanks man, this is the first time I've even tried a few of these, especially the last few on the list there 9-12.
Happy to share as I continue to learn more :)

Also, this thread is a POC for my project: aicrypter.com
- I generated all of these with AI based on the single-file example I made - CryptDemo here: https://github.com/LNodesL/CryptDemo
- I had to obviously modify some things, fix bugs, test, etc too
- I am thinking about maybe building up a large lib of different methods like this & training a model that will output unique variations of run methods


RE: 12 Stub.c Files | Open Source | FREE | Unique Run EXE Methods - Syndicate - Mar 19, 2024

(Mar 19, 2024 07:04 PM)nodes Wrote:  Thanks man, this is the first time I've even tried a few of these, especially the last few on the list there 9-12.
Happy to share as I continue to learn more :)

Also, this thread is a POC for my project: aicrypter.com

Honestly watching you learn and seeing you continue to grow is pretty inspiring to me 🙂


RE: 12 runEXE Methods | Open Source | FREE | Unique Run/Open Executable | Windows C - White_Inky - Mar 20, 2024

Thank you so much nodes for your contribution!!! This is a precious gem!


RE: 12 runEXE Methods | Open Source | FREE | Unique Run/Open Executable | Windows C - hack4to - Mar 20, 2024

thanks so much for every free stuff to learn...


RE: 12 runEXE Methods | Open Source | FREE | Unique Run/Open Executable | Windows C - Hackers - Mar 20, 2024

(Mar 19, 2024 07:05 PM)Syndicate Wrote:  Honestly watching you learn and seeing you continue to grow is pretty inspiring to me 🙂
Thanks for this again :)
This IS the motivation

(Mar 20, 2024 02:26 AM)White_Inky Wrote:  Thank you so much nodes for your contribution!!! This is a precious gem!
You're welcome, glad I've been able to help you in convo too. Hope this helps you explore more methods that are similar to the other one :)

(Mar 20, 2024 04:41 AM)hack4to Wrote:  thanks so much for every free stuff to learn...
No problem, glad you enjoy it!!


RE: 12 Stub.c Files | Open Source | FREE | Unique Run EXE Methods - sunnybeach52 - Mar 30, 2024

(Mar 19, 2024 07:05 PM)Syndicate Wrote:  Honestly watching you learn and seeing you continue to grow is pretty inspiring to me 🙂

I agree. It's not the "free code", but being motivated by watching your journey and your generous sharing spirit.

OK, OK, .... enough brown-nosing (lol) , thanks a bill for the above


RE: 12 Stub.c Files | Open Source | FREE | Unique Run EXE Methods - Hackers - Mar 31, 2024

(Mar 30, 2024 04:05 PM)sunnybeach52 Wrote:  I agree. It's not the "free code", but being motivated by watching your journey and your generous sharing spirit.

OK, OK, .... enough brown-nosing (lol) , thanks a bill for the above

That's nice to hear. But of course it's both - I am more focused on the learning than the code overall. I hope to learn & teach basically, as I progress through C/C++ more.