The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > General Programming > Visual Basic


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 09-03-2007, 01:01 PM
GoofyHTS GoofyHTS is offline
Novice
Join Date: Aug 2007
Posts: 5
iTrader: (0)
GoofyHTS is on a distinguished road
DMA - Reading the value,not changing

Hi.

There is a program that uses DMA (i think) the memory address keeps on changing on each restart.

Where this value is displayed is in a runtime created window,might that be the reason the mem add is changing? (can't remember if i close the window and open it again if the mem add changes....)

but I only need to read this value (for analysis) so I need an exact address to this value. (oh and multiple windows can be opened with different figures)

Help?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #2 (permalink)  
Old 09-04-2007, 11:32 AM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,109
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
What is DMA sorry if I sound dumb

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following User Says Thank You to HelloWorld For This Useful Post:
TeraTask (09-04-2007)
  #3 (permalink)  
Old 09-04-2007, 05:17 PM
TeraTask's Avatar
TeraTask TeraTask is offline
PT Staff*
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 416
iTrader: (0)
TeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enough
Quote:
Originally Posted by HelloWorld View Post
What is DMA sorry if I sound dumb
lol. That's what I was thinking when I read this and why I didn't try replying.

__________________
Jeremy Miller
Content Farmer - Optimized Automated Blog Posting

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #4 (permalink)  
Old 09-04-2007, 05:25 PM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 615
iTrader: (0)
Lee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enough
Quote:
Originally Posted by TeraTask View Post
lol. That's what I was thinking when I read this and why I didn't try replying.
Your all being silly, its Direct Memory Access DUH!! lol





No really i had same thought and looked it up for you all , hope someone can help out more now.
Reply With Quote
  #5 (permalink)  
Old 09-04-2007, 05:48 PM
TeraTask's Avatar
TeraTask TeraTask is offline
PT Staff*
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 416
iTrader: (0)
TeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enoughTeraTask will become famous soon enough
Well, if the program is accessing memory directly and the program is directly changing it's address, it sounds like the program is the thing you need to go to the program's documentation or learn how to read your memory to find the memory address being directly accessed.

That's my guess, but that's just based on the fact that the methodology is called direct memory access.

As for memory addresses changing on window close, I believe it's true if the window is disposed and then recreated, but not if it's just hidden.

I could be wrong here, but that's just what seems to make sense to me.

__________________
Jeremy Miller
Content Farmer - Optimized Automated Blog Posting

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #6 (permalink)  
Old 09-08-2007, 05:00 AM
GoofyHTS GoofyHTS is offline
Novice
Join Date: Aug 2007
Posts: 5
iTrader: (0)
GoofyHTS is on a distinguished road
You get two types of DMA, direct memory access and what this program uses Dynamic Memory Allocation, which means every time the program is restarted it grabs a set of new memory addresses.

Is there a way i can get the memory address from the code of the program? (as it never changes address).

I know you can do this with games to NOP the instruction that decreases/increases the value but i only need to "read" this value.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #7 (permalink)  
Old 09-09-2007, 07:05 AM
GoofyHTS GoofyHTS is offline
Novice
Join Date: Aug 2007
Posts: 5
iTrader: (0)
GoofyHTS is on a distinguished road
I have found a way to get the DMA address from the code (code injection), only problem is I cannot move this value to the .code section of the exe, it gives me a "Access volation" error.

I noticed that i can move this value to anywhere "After" the code section, but maby i'll overwrite some data the program needs.

Does anyone know how to write a value to the .code section? you can do this with cheat engine, or a programming language (using writeprocessmemory) to write it (it works fine) but i need to do this in asm in my code cave so i can store the DMA address into a static location. Any help?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:51 AM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50