Results 1 to 15 of 15

Thread: using apis - write memory

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    256

    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!






  2. #2
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: using apis - write memory

    If its not a "hack" what would be the purpose of doing that?
    No, that wont do!

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    256

    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)






  4. #4
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    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.
    No, that wont do!

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    256

    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.






  6. #6
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    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?
    No, that wont do!

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    256

    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?






  8. #8
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    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.
    No, that wont do!

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    256

    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?






  10. #10
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: using apis - write memory

    I don't think that this topic will live much once admins or moderators see it
    Good luck with your "voodoo" application

    No, that wont do!

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2008
    Posts
    256

    Re: using apis - write memory

    lol, why does anyone want to help these days?






  12. #12
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    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!

  13. #13
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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.

  14. #14
    Hyperactive Member
    Join Date
    Aug 2006
    Location
    TeXaS
    Posts
    497

    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.

  15. #15
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    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
  •  



Click Here to Expand Forum to Full Width