permanent ASM modification

Need Help With an Existing Feature in Memory Hacking Software? Ask Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

permanent ASM modification

Postby soundfish » Tue Apr 22, 2008 9:47 pm

Hello everyone,

I downloaded MHS to hack a small program called noiscraddle. It displays a nagscreen every few minutes, which I want to get rid of.

I found the adress which controls the visibility of the nagscreen and the ASM code which changes it. If I NOP the code the nagscreen doesn't appear anymore. So far so good. 8)

But now for my quenstion, how do make this hack permanent, is there a way to edit the .exe file?
Can I just dissasamble it and then NOP the ASM code I foundin MHS? If so, how do I find the correct code, MHS only displays the location of the ASM in the memory, not where it is in the .exe file.
soundfish
I Have A Few Questions
 
Posts: 3
Joined: Tue Apr 22, 2008 1:25 am

Postby WhiteHat » Tue Apr 22, 2008 10:02 pm

Use MHS Hex Editor. This tool allows you to open and edit file...

To find the correct location of the code in the .EXE files, try this
formula: address in EXE = your NOP address - 0x400000

If the formula isn’t working, just search for the perfectly match
array of bytes arround your NOP address between the memory
and the .exe file...


Edit: it was EXE not EXP ... >.<
Last edited by WhiteHat on Tue Apr 22, 2008 10:29 pm, edited 1 time in total.
.. to boldly go where no eagle has gone before...
User avatar
WhiteHat
Elang Djawa
 
Posts: 1059
Joined: Fri Jul 21, 2006 12:49 pm
Location: Away for a while...

Postby L. Spiro » Tue Apr 22, 2008 10:17 pm

The formula will not work.
Search for the actual bytes in the file and if you have only one match modify it via the Hex Editor.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby soundfish » Tue Apr 22, 2008 10:36 pm

I opend the memory in the Hex Editor and went to the location of the ASM code I found and copied a few bytes.
Then I opened the .exe file and searched for the bytes I copied from the memory, but it doesn't find anything :?

EDIT:
Also searched all dll files in the program directory, no luck either.
soundfish
I Have A Few Questions
 
Posts: 3
Joined: Tue Apr 22, 2008 1:25 am

Postby L. Spiro » Wed Apr 23, 2008 12:12 pm

MHS will come with a feature to tell you where it is in the file in the next version.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby soundfish » Wed Apr 23, 2008 6:09 pm

great, i'm looking forward to it.

Untill then I'll just see if i can find from where the ASM code is called and try to modify that :)
My guess is that it is some sort of openGL function I'm looking at right now, so i'll just try to find the function call.
soundfish
I Have A Few Questions
 
Posts: 3
Joined: Tue Apr 22, 2008 1:25 am


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests