Get Handle Owner,...
- From: "Kerem Gümrükcü" <kareem114@xxxxxxxxxxx>
- Date: Wed, 4 Jun 2008 02:27:01 +0200
Hi,
my application has sufficient privileges enabled
and i can open any process,thread,kernel/user-object
to query information from the objects. The Point is
that i want to find out, from who owns this handle, e.g.
the Username of the Owner. Calls to GetKernelObjectSecurity
and GetUserObjectSecurity return sometimes different information
than e.g. Process Explorer. I also dont want to do things like
get the process token->Impersonate->GetUserName->RevertToSelf.
Calls to GetSecurityInfo also just return owner of the token, but
not the Usercontext that was responsible for the creation of the
Token. Invoking LookupAccountSid works just fine after i got
the sid buffers. I hope, you know what i want to do. Who created
the handle and in what user context has it been created,...
SYSTEM_OBJECT_INFORMATION (ntquerysysteminformation) is
also not really helping, SYSTEM_OBJECT_INFORMATION neither,...
Am i missing something here, or am i just to tired, after a hard day
full of work...:-)
Regards
Kerem
--
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
.
- Follow-Ups:
- Re: Get Handle Owner,...
- From: Jeroen Mostert
- Re: Get Handle Owner,...
- Prev by Date: Re: Device Driver that uploads it's own code?
- Next by Date: Re: Get Handle Owner,...
- Previous by thread: Device Driver that uploads it's own code?
- Next by thread: Re: Get Handle Owner,...
- Index(es):
Relevant Pages
|