Search found 8 matches

by rimba
Sun Jul 03, 2016 5:13 am
Forum: madKernel
Topic: How Properly Read Module/Process Memory
Replies: 7
Views: 26537

Re: How Properly Read Module/Process Memory

I found answer to my last question:

Code: Select all

aModule := aProcess.MainModule;
modInfoSize := sizeof(TModuleInfo);
GetMem (modInfo, modInfoSize);

OK := GetModuleInformation (aProcess.Handle.Handle, aModule.Handle, modInfo, modInfoSize);
where modInfo structure holds needed info
by rimba
Sun Jul 03, 2016 4:41 am
Forum: madKernel
Topic: How Properly Read Module/Process Memory
Replies: 7
Views: 26537

Re: How Properly Read Module/Process Memory

.. and another problem is how to find out the "size" of code.
by rimba
Sun Jul 03, 2016 4:17 am
Forum: madKernel
Topic: How Properly Read Module/Process Memory
Replies: 7
Views: 26537

Re: How Properly Read Module/Process Memory

I am searching a code sequece in process memory. That sequence is located version from version at different place. Wildcards are jmp addresses in code. So my idea is read code from memory to another allocated place and do the search here. I noticed you have public IProcess.ReadMemory function so I a...
by rimba
Sat Jul 02, 2016 11:44 am
Forum: madKernel
Topic: How Properly Read Module/Process Memory
Replies: 7
Views: 26537

Re: How Properly Read Module/Process Memory

The purpose is to find a smaller byte array with wildcards in the process and get the pointer to that occurence. Notepad serves only as example.
by rimba
Sat Jul 02, 2016 8:09 am
Forum: madKernel
Topic: How Properly Read Module/Process Memory
Replies: 7
Views: 26537

How Properly Read Module/Process Memory

Please advice How Properly Read Module/Process Memory e.g. Concept: aProcess := process('Notepad.exe'); aModule := aProcess.MainModule; BytesToRead:= ?? //Need to find size of Notepad in memory GetMem (ReadBuff, BytesToRead); //Allocate buf for all bytes GlobalLock ( ?? ) //How to protect readed mem...
by rimba
Sun Aug 09, 2009 7:49 am
Forum: madKernel
Topic: Feature request
Replies: 1
Views: 10637

Feature request

Hi Madshi,

should be possible to implement function Window such way, where the caption parameter could be in form 'Part of Window capt *' ? With asterisk at end of string. So to be possible find window if I know only part of its name?

Thanks. R.
by rimba
Fri Jul 04, 2008 12:22 pm
Forum: madCodeHook
Topic: Return Address to Window handle?
Replies: 0
Views: 8318

Return Address to Window handle?

Hi, please, exists a simple way how to get HWND when I know the address of Window Procedure. E.g. I hooked API function, first in the stack is the return address of calling Window Procedure. But there exists more instances of Windows (and win procs) which calls hooked API function. The calling modul...
by rimba
Sat Mar 22, 2008 1:33 pm
Forum: madCodeHook
Topic: Server 2003R2 64 Bit Problems
Replies: 4
Views: 4678

Re: Server 2003R2 64 Bit Problems

[quote="blackpaw"]Does madCodeHook work uner this? we are getting oddbal results. Using latest download (2.550) We're ok with just hooking 32 bit apps and that sort of works - Applications that are running when our hooking servcie is started are hooked, but any 32 bit apps that are started...