Re: Local Admins

jennifer.canterbury_at_degussa.com
Date: 09/05/03

  • Next message: Sam Baskinger: "Re: focus-ms@securityfocus.com"
    To: focus-ms@securityfocus.com
    Date: Fri, 5 Sep 2003 15:38:49 -0400
    
    

    If you have perl installed, here is a script.... substitue server name,
    group name, and file name if you want.

    use Win32::NetAdmin;

    $server = servername;
    $group = "groupname";

    open (OUT,">.\\info.txt");

              Win32::NetAdmin::GroupGetMembers ($server,$group,\@mg);

              $a=@mg;

                   foreach (sort @mg) {
                        $i++;
                        $user=$_;
                        print OUT "$user\n";

                   }

    close OUT;

    Best Regards / Mit freundlichen Grüßen

    Jennifer Canterbury
    System Administrator
    its.on

                                                                                                                                               
                        "CHM Security"
                        <chmsecurity@ho To: <focus-ms@securityfocus.com>
                        tmail.com> cc:
                                              Subject: Local Admins
                        09/05/2003
                        12:33 PM
                                                                                                                                               
                                                                                                                                               

    Is there an easy way to scan 2K/XP machines to determine who is a member of
    the administrator groups? We are having a lot of problems with our IT
    personnel adding local users as admins on their boxes which is causing us
    lots of problems. We just found one user who was hitting cancel everytime
    the SUS would send updates to her machine because it wasn't convenient. We
    have over 1000 machines in our domain and I really don't want to try and
    run
    this manually, especially when there is a chance some tech might come
    behind
    and start adding them back.

    Thanks!

    ---------------------------------------------------------------------------
    KaVaDo provides the first and only integrated Web application scanner and
    firewall security suite that prevent Web applications attacks, the most
    common form of online exploitation. Download a FREE whitepaper on Security
    Policy Automation for Web Applications.
    http://www.securityfocus.com/sponsor/KaVaDo_focus-ms_030818
    ---------------------------------------------------------------------------

    ---------------------------------------------------------------------------
    KaVaDo provides the first and only integrated Web application scanner and
    firewall security suite that prevent Web applications attacks, the most
    common form of online exploitation. Download a FREE whitepaper on Security Policy Automation for Web Applications.
    http://www.securityfocus.com/sponsor/KaVaDo_focus-ms_030818
    ---------------------------------------------------------------------------


  • Next message: Sam Baskinger: "Re: focus-ms@securityfocus.com"

    Relevant Pages

    • RE: Patch testing
      ... Just a thought, use mirrored disks, then before installing the patch ... Removable harddrives (if you can afford server downtime): ... firewall security suite that prevent Web applications attacks, ... Policy Automation for Web Applications. ...
      (Focus-Microsoft)
    • RE: Patch testing
      ... Half hour to ghost the server, ... > firewall security suite that prevent Web applications ... > whitepaper on Security Policy Automation for Web Applications. ...
      (Focus-Microsoft)
    • RE: Patch testing
      ... If you don't have mirrored disk capabilities - use Norton Ghost to snap an ... image of the system partition on the server before patching. ... > firewall security suite that prevent Web applications ... > whitepaper on Security Policy Automation for Web Applications. ...
      (Focus-Microsoft)
    • RE: key storage
      ... consists of a number of python scripts that allow you to create define ... if i could actually configure the server (or if i had written my own server ... > This message was sent using IMP, the Internet Messaging Program. ...
      (Security-Basics)
    • RE: username and Password sent as clear text strings
      ... administrator logged in on a domain server hitting the web. ... SSL was designed for client application-to-server application ... This is how web applications work. ... in Securing Web Applications ...
      (Pen-Test)