Results 1 to 12 of 12

Thread: Protecting EXE's Memory :/

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    114

    Protecting EXE's Memory :/

    I'd like to protect my EXE's memory from being read, written, etc. I'm pretty sure that this goes down to kernel level and i'd haveto compile a .sys and reference from that, but please correct me if im wrong And if i dont haveto go down to kernel level, then what api's would i use? neways thanks for any input

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Protecting EXE's Memory :/

    Read by Whom????? Windows already protects your exe's memory. Why do you want to attempt this?

  3. #3
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Protecting EXE's Memory :/

    I'm not quite sure, but i think that "Private" makes your reserved memory available only to you. But that's just an assumption

    edit: Try to reach a "Private" sub/function directly from another module. When you'll do that... maybe you'll be a step closer

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    114

    Re: Protecting EXE's Memory :/

    @randem: memory editors (game cheaters)
    @gavio: could you explain further?

  5. #5
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Protecting EXE's Memory :/

    Look at my edit. Maybe it's just me... maybe i don't know how to programme, but... i can't reach a private variable/sub/function (anything that is private) from another module. But that's in the same EXE!! I can't even start to think about from another EXE.

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Protecting EXE's Memory :/

    gavio,

    That's just for the VB compiler and subsystem. It has no effect on the OS.

    You can't hide memory, you can only encrypt it.

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    114

    Re: Protecting EXE's Memory :/

    yet again, i said protect, not hide and you could rootkit to hide the process, but they could still get the hook via window/pID. thats why im pretty sure you'd haveto drop down to kernel level with a .sys file and protect it from there... idunno though

  8. #8
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Protecting EXE's Memory :/

    They could go down to the kernel level and read it anyway. And that's only for data generated during runtime. Anything statically stored in the exe is always available on disk.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  9. #9

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    114

    Re: Protecting EXE's Memory :/

    yes, they could, but most people just use the utilities available. they have no clue how to make their own. there is nothing important stored into the exe itself. thnk you for your input though, does anyone else ahave any

  10. #10
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Protecting EXE's Memory :/

    That's true. Nothing important is stored in exe, looking from the data point of view. But looking from algorithm point of view, well, that's just another story

  11. #11

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    114

    Re: Protecting EXE's Memory :/

    dingdingding we have a winner lol
    even if i did an algorithm to hide the values, it could be reverse engineered out x_x
    thats why i need to block the functions overall... and im not sure what todo...

  12. #12
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Protecting EXE's Memory :/

    huh... maybe if you make a .ini file and put it in some weird place.

    c:\program files\fake program name\1548\some fake file\somewhere else\something\else\oh no\and here we go\settings.ini

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