How can i use the api to write my program to memory, and execute it from there, without saving it to hard disk?
@ ITS NOT A HACK ATTEMPT!
Printable View
How can i use the api to write my program to memory, and execute it from there, without saving it to hard disk?
@ ITS NOT A HACK ATTEMPT!
If its not a "hack" what would be the purpose of doing that? :)
because that file could be decompiled, or reverse engine ( i dont know how to write) , and this way, is the best way to do that, my programmers friends use that, but they dont teach me, i think because of the concorrence( i dont know how to write this too)
So if you write it to memory and execute from there it cannot be decompiled?
You still have your program on disk, and the memory is cleared every time you restart or turn of your pc. That don't have sense.
yes it have. i'll use a program to launch the program into memory, the program will be as a resource, and then it will be send to memory and executed from there.
Your program must be present on disk to load it into memory and if something is present on hard drive it can be accessed.
What would your program do?
why the program must be on hard disk? if i make the program2.exe as a resource in program1.exe, if i read it using for example byte_data() , how i can not use the program to inject into memory the byte_data() and execute it?
Do you need a code to hide your process from task manager too, because your process will be visible once you execute it. :D
yes, this i already have, i just cant use the api to write it from memory and execcute it. could you help me?
I don't think that this topic will live much once admins or moderators see it :D
Good luck with your "voodoo" application :D
:wave:
lol, why does anyone want to help these days?
Life isn't what it used to be :D
I've wondered how to do this myself.
There is code on PlanetSourceCode.com called "Commercial Strength Wrapper" or something like that. Anti-piracy thing.
The idea is to have your EXE encrypted on disk, or bundled inside another EXE (the loader).
The loader extracts the encrypted EXE, decrypts it in memory, and executes it from memory. It's very effective.
I looked into it a long time ago but never found a solution. Sorry.
I don't think there's anything malicious about what he's asking. :confused:
there is code on PSC that does this somewhat. it basically allows you to "inject" your app inside another executable. it used to work for me, some people have issues with it i believe. anyway, maybe this will help you out. download it here.
There is actually a topic and a source code for this here on forums too btw ;)
This code is perfect for making malicious stuff, not on disk and not shown in processes list :D