Re: Security of Win2k or WinXP built in EFS - continued from Meganet challenge

From: John M. Dlugosz (john_at_dlugosz.com)
Date: 09/27/03


Date: 26 Sep 2003 22:58:53 -0700


"George Ou" <2038george_ou9127@2342netzero.com2897> wrote in message news:<WTrcb.2902$6L1.538@newssvr29.news.prodigy.com>...
> No, you're missing a huge point. You can't just run some little test where
> you go in as admin and reset the user account. That assumes you know the
> admin password. If you log in as admin, of course you can reset other
> people's passwords.

True, but that was not the point of the test. I agree that knowing
the password of some admin account pretty much defeats the point of
needing to break into anything.

My point is that:
 1) the user's password was never entered, yet after changing it his
EFS still worked.
 2) the password for "the" special Administrator account was never
entered.

I conclude that the most fundimental key information present on the
disk can be accessed without knowing either of those two passwords.

Specifically, (a) no password is needed, the information is meerly
hard to find but a utility could step through the disk structures and
find it; or (b) it's encrypted so that any of the passwords on any
account can unlock it, and that's updated as passwords are changed.
Obviously, b is better but I've never heard about any such system in
Windows.

Common lore is (a). That would mean that although nuking the SAM is
an easy way to get in, it is not =necessary=. Someone could write a
utility to find the information instead.

A little poking around and I found
<http://www.derkeiler.com/Mailing-Lists/securityfocus/focus-ms/2002-02/0197.html>
. Also look up info on the syskey utility program.

(a) is indeed correct unless you configure SYSKEY to store the key on
a floppy or use a boot password. Then, the syskey key must be
presented when booting the computer or it cannot boot.

If, and only if this is done, are the EFS keys not readable by some
well-crafted boot disk.

--John

  If you nuke the SAM file, the admin password is set to
> NULL so you can log in as admin. BUT, nuking the SAM file also nukes all
> other user accounts. So there ARE NO OTHER USER accounts you can reset.
> All the other user accounts are lost unless you backed up the SAM file. The
> bottom line is, you have to crack the password by running L0pht against the
> SAM. You should have a strong password for both the Admin and your user
> accounts and if you don't, no security solution is going to protect you no
> matter how good it is. You must also delete the private key of the Admin
> after you offload it to a safe place. Domain users need not worry about
> that.
>
> This is NOT a fundamental EFS weakness. This is a deployment issue.
> Nothing will help you if you don't use strong passwords.
>
> George Ou



Relevant Pages

  • Re: Security of Win2k or WinXP built in EFS - continued from Meganet challenge
    ... > you go in as admin and reset the user account. ... If you log in as admin, of course you can reset other ... If you nuke the SAM file, the admin password is set to ... So there ARE NO OTHER USER accounts you can reset. ...
    (sci.crypt)
  • Re: User accounts
    ... Are you sure you're the "only" Admin user in your PC? ... "someone" set up a limited Acct for you so that you have limited privileges ... Got to start> control panel> user accounts> Change ... > limited access instead of comp administrator. ...
    (microsoft.public.windowsxp.general)
  • fileshare access by machines on LAN but not joined to domain
    ... The SBS box is to be a fileserver to machines on the LAN (which are ... In addition to the admin account on the server, ... My initial attempt at creating and sharing files to mobile user accounts was ... Admin, and created the share using the Server Management "Manage Shared ...
    (microsoft.public.windows.server.sbs)
  • Re: I messed up big time
    ... > Okay I screwed up big time. ... I was trying to set up user accounts / ... > groups / etc. so I could restrict my users, and somehow I did not set ... "Admin" then you are automatically logged in as that user after which you can ...
    (microsoft.public.access.formscoding)
  • Re: Can I reset a password or remove a username?
    ... it appears I must know the password answer to reset the ... passwordAnswer As String _ ... If you, as an admin, need to do this, Code against the Membership ... One gotcha. ...
    (microsoft.public.dotnet.framework.aspnet)