createRemoteThread() problem...

Discussions Related to Game Hacking and Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

createRemoteThread() problem...

Postby maybnxtseasn » Fri Nov 26, 2010 10:57 am

for some reason the createremotethread() function is failing when i try it on calc.exe, or notepad.exe....when i use getLastError() it returns an error code of 5 : ACCESS_DENIED

anyone have any ideas how/what i am doing wrong?

and yes i am using OpenProcess(CREATE_THREAD_ACCESS, FALSE, ProcessID);
-thx
maybnxtseasn
I Have A Few Questions
 
Posts: 7
Joined: Thu Feb 18, 2010 7:41 am

Re: createRemoteThread() problem...

Postby L. Spiro » Fri Nov 26, 2010 2:47 pm

http://msdn.microsoft.com/en-us/library/ms682437(v=VS.85).aspx

A handle to the process in which the thread is to be created. The handle must have the PROCESS_CREATE_THREAD, PROCESS_QUERY_INFORMATION, PROCESS_VM_OPERATION, PROCESS_VM_WRITE, and PROCESS_VM_READ access rights, and may fail without these rights on certain platforms.



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

Re: createRemoteThread() problem...

Postby maybnxtseasn » Fri Nov 26, 2010 4:21 pm

yea sorry about the above openProcess i didnt paste it from my program..i tried all those. i even tried the all_access macro in the function openProcess()
maybnxtseasn
I Have A Few Questions
 
Posts: 7
Joined: Thu Feb 18, 2010 7:41 am

Re: createRemoteThread() problem...

Postby L. Spiro » Fri Nov 26, 2010 7:01 pm

Give your process debug permissions or run as administrator.


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

Re: createRemoteThread() problem...

Postby denispn » Sat Nov 27, 2010 8:18 am

The same heappens to me, but i'm quite sure that it is because calc.exe and notepad.exe are 64-bits and your program is 32-bits.

Cheers,
ctl3d32
denispn
Hacker Smacker
 
Posts: 43
Joined: Wed Dec 26, 2007 9:45 am


Return to General Related Discussions

Who is online

Users browsing this forum: No registered users and 0 guests