Re: CreateProcessAsUser "loses" privileges, why?
- From: "Ivan Brugiolo [MSFT]" <ivanbrug@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Apr 2005 15:26:12 -0700
Is the SeDebugPrivilege enabled or not before the CreateProcessAsUser call ?
You can use `!token <handle>` in a recent cdb/ntsd/windbg debugger to see
that.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Stefan Kuhr" <kustt110@xxxxxx> wrote in message
news:426974FB.2D2B229D@xxxxxxxxx
> Hello everyone,
>
> Stefan Kuhr wrote:
> >
> > <snip>
> > You also mention "the OSF code path" as opposed to LRPC. What is meant
> > with OSF? Does OSF mean all other RPC transports different to ncalrpc,
> > such as named pipes, sockets or whatever else, or does OSF mean "DCE RPC
> > without MS additions" (Open Software Foundation)?
>
> Just read this (from one of Ivan's postings): "...if the transport is
> LRPC, then all the privileges non enabled on the client token will be
> stripped before the token is ever seen by the server. if the transport
> is OSF (named pipes and Tcp), then all the privileges (enabled or not
> enabled) of the client token will be moved to the server side..""
>
> So OSF means "anything but LRPC" (is this MS specific terminology?). And
> it explains why my named pipe server end has the SE_DEBUG_NAME privilege
> assigned in the impersonation token. But it does not explain why the
> process started with CPAU with that token doesn't have the SE_DEBUG_NAME
> privilege assigned at all. Why is that the case?
>
> --
> Stefan
.
- Follow-Ups:
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- Re: CreateProcessAsUser "loses" privileges, why?
- References:
- CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Pavel Lebedinsky
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Ivan Brugiolo [MSFT]
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- Re: CreateProcessAsUser "loses" privileges, why?
- From: Stefan Kuhr
- CreateProcessAsUser "loses" privileges, why?
- Prev by Date: Re: CreateProcessAsUser "loses" privileges, why?
- Next by Date: Mirror display driver unloading fails
- Previous by thread: Re: CreateProcessAsUser "loses" privileges, why?
- Next by thread: Re: CreateProcessAsUser "loses" privileges, why?
- Index(es):
Relevant Pages
|