HookAPI on Windows XP SP2 with 'Power Users'

c++ / delphi package - dll injection and api hooking
Post Reply
pto
Posts: 15
Joined: Wed Oct 20, 2004 5:21 pm

HookAPI on Windows XP SP2 with 'Power Users'

Post by pto »

I tried to run your example HookProcessTermination on XP with SP2. It works fine when I logged with Administrator rights. With just 'Power Users' rights, when I tried to run InjectService, it complains about not having enough rights.

Is there a way to get around this problem and make it work even for 'Power Users'?
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Which version of madCodeHook/madCollection are you using? I think there was a problem like this with an earlier version, but the current version 2.1.3.0 should not have this problem.
pto
Posts: 15
Joined: Wed Oct 20, 2004 5:21 pm

Post by pto »

I believe I'm running version 2.1.3 (or 2.1c). The date on madCHook.dll is August 17, 2004 3.41PM.

I looked at your version history and noticed that you've fixed IPC sending from under privileged account. The problem I'm having is installing the service (double clicking on InjectService.exe) with user having only 'Power Users' rights. That may be different than the IPC problem.
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Ah, sorry, I misunderstood you.

No, you do need admin access rights to install services. No way around it.
Post Reply