|
-
Aug 24th, 2011, 05:10 PM
#1
Thread Starter
Hyperactive Member
Read Ram.
I was doing some searching I couldn't find any usefull tip.
I was wondering if I can read/write to RAM and if I can pinpoint a specific program and read the data is writing to RAM.
If so, please guide me in what I need to read on.
Thank you very much!
-
Aug 24th, 2011, 05:47 PM
#2
Re: Read Ram.
How about viruses and hacking? As a general rule, programs do not write into the memory space reserved for other programs. Operating systems try to enforce this, so pretty much anything that attempts to circumvent those rules is going to be either misguided or malicious or both. Consider what that would allow you to do. What is in memory at all times? The program you are interested in, to be sure, but also the operating system itself. Overwrite the right parts of THAT code in RAM, and your computer might crash so hard that your only alternative would be to reformat the drives. It isn't likely that the damage would be that severe, but it could easily result in a BSoD. Naturally, MS would prefer that people not write programs that wreck their OS or lock their computers, and the people who would most like to achieve that result would be those with malicious intent.
So, considering the damage that it would allow you to do to peoples computers, including your own, would you like what you are asking for to be easy?
My usual boring signature: Nothing
 
-
Aug 24th, 2011, 06:00 PM
#3
Thread Starter
Hyperactive Member
Re: Read Ram.
 Originally Posted by Shaggy Hiker
How about viruses and hacking? As a general rule, programs do not write into the memory space reserved for other programs. Operating systems try to enforce this, so pretty much anything that attempts to circumvent those rules is going to be either misguided or malicious or both. Consider what that would allow you to do. What is in memory at all times? The program you are interested in, to be sure, but also the operating system itself. Overwrite the right parts of THAT code in RAM, and your computer might crash so hard that your only alternative would be to reformat the drives. It isn't likely that the damage would be that severe, but it could easily result in a BSoD. Naturally, MS would prefer that people not write programs that wreck their OS or lock their computers, and the people who would most like to achieve that result would be those with malicious intent.
So, considering the damage that it would allow you to do to peoples computers, including your own, would you like what you are asking for to be easy?
I'm really not that much interested in writing, but I just want reading.
I just need it to read some data of my program. I want to make is as secure as I can. So if I can read what it generates then I can see if it's possible to make is secure.
Thank you
-
Aug 25th, 2011, 09:41 AM
#4
Re: Read Ram.
If it's your program, why not expose the information directly?
My usual boring signature: Nothing
 
-
Aug 25th, 2011, 10:44 AM
#5
Member
Re: Read Ram.
If I understood correctly, you want to read a specific program's allocated memory.
Take a look at ReadProcessMemory and WriteProcessMemory, they're pretty easy to use.
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
|