Re: WMI privilege enumeration

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 10/09/05

  • Next message: Steven L Umbach: "Re: Failure Event ID 560 on SC Manager"
    Date: Sun, 09 Oct 2005 16:38:28 +0200
    
    

    AndyL wrote:

    > Yes of course, but the rsop wmi classes return only paramters which are
    > defined in the group policy of the Active directory container, it doesn't
    > return local values or parameters which are not defined in the GP :-(
    >
    > I think they only way to enumerate local settings is to use the native C
    > LSA-API. Or does anyone has a another idea?
    >
    Hi,

    Instead of programming your own utility using the LSA-API, you can use
    the free DumpSec utility (formerly known as DumpAcl):

    From: "Ato Bisda" <atobi...@gmail.com>
    Subject: Re: Local Group Policy
    Date: Mon, 20 Jun 2005 08:36:57 -0400
    Message-ID: <us#JETZdFHA.3492@TK2MSFTNGP14.phx.gbl>
    Newsgroups: microsoft.public.windows.server.scripting

    <quote>
    Hello,

    I use an external program called DUMPACL (www.somarsoft.com) for this
    purpose.

    DUMPACL can be invoked from a command line to generate a CSV file of
    user rights.

    The syntax looks something like the following:

        dumpacl /rpt=rights /saveas=csv /outfile=rights.csv /computer=hostname

    You can run dumpacl from either a RUN or EXEC shell in VBScript and
    then parse the resulting CSV file. The "Log On Locally" privilege will
    show up as "SeInteractiveLogonRight".

    HTH,
    Ato

    </quote>

    -- 
    torgeir, Microsoft MVP Scripting, Porsgrunn Norway
    Administration scripting examples and an ONLINE version of
    the 1328 page Scripting Guide:
    http://www.microsoft.com/technet/scriptcenter/default.mspx
    

  • Next message: Steven L Umbach: "Re: Failure Event ID 560 on SC Manager"

    Relevant Pages

    • Re: Enumerating LSA
      ... logon as a batch job ... I use an external program called DUMPACL for this ... then parse the resulting CSV file. ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
      (microsoft.public.windowsxp.wmi)
    • Re: WMI privilege enumeration
      ... If you mean user privileges like "Log On Locally" etc., ... I use an external program called DUMPACL for this ... then parse the resulting CSV file. ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.security)
    • Re: Local Group Policy
      ... DUMPACL can be invoked from a command line to generate a CSV file of user rights. ... You can run dumpacl from either a RUN or EXEC shell in VBScript and then parse the ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
      (microsoft.public.windows.server.scripting)
    • Re: share folder permission
      ... DumpSec (formerly known as DumpAcl) ... has command line interface as well ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.windows.server.scripting)

    Loading