|
-
Jun 18th, 2009, 04:54 PM
#1
Thread Starter
Hyperactive Member
using apis - write memory
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!
-
Jun 18th, 2009, 04:57 PM
#2
Fanatic Member
Re: using apis - write memory
If its not a "hack" what would be the purpose of doing that?
-
Jun 18th, 2009, 05:02 PM
#3
Thread Starter
Hyperactive Member
Re: using apis - write memory
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)
-
Jun 18th, 2009, 05:06 PM
#4
Fanatic Member
Re: using apis - write memory
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.
-
Jun 18th, 2009, 05:08 PM
#5
Thread Starter
Hyperactive Member
Re: using apis - write memory
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.
-
Jun 18th, 2009, 05:10 PM
#6
Fanatic Member
Re: using apis - write memory
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?
-
Jun 18th, 2009, 05:13 PM
#7
Thread Starter
Hyperactive Member
Re: using apis - write memory
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?
-
Jun 18th, 2009, 05:18 PM
#8
Fanatic Member
Re: using apis - write memory
Do you need a code to hide your process from task manager too, because your process will be visible once you execute it.
-
Jun 18th, 2009, 05:20 PM
#9
Thread Starter
Hyperactive Member
Re: using apis - write memory
yes, this i already have, i just cant use the api to write it from memory and execcute it. could you help me?
-
Jun 18th, 2009, 05:35 PM
#10
Fanatic Member
-
Jun 18th, 2009, 05:40 PM
#11
Thread Starter
Hyperactive Member
Re: using apis - write memory
lol, why does anyone want to help these days?
-
Jun 18th, 2009, 05:44 PM
#12
Fanatic Member
Re: using apis - write memory
Life isn't what it used to be
Last edited by Dungeon Keeper; Jun 18th, 2009 at 05:51 PM.
No, that wont do!
-
Jun 19th, 2009, 09:49 PM
#13
Re: using apis - write memory
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.
-
Jun 20th, 2009, 12:39 AM
#14
Hyperactive Member
Re: using apis - write memory
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.
-
Jun 20th, 2009, 02:57 AM
#15
Fanatic Member
Re: using apis - write memory
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
Last edited by Dungeon Keeper; Jun 20th, 2009 at 03:01 AM.
No, that wont do!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|