Click here to get back home

Looking for Single Computer Two Factor Authentication

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Looking for Single Computer Two Factor Authentication Will 04-20-2008
Posted by Will on April 20, 2008, 2:23 pm
Please log in for more thread options
Is there a simple two-factor authentication application / hardware combo
that could be used to secure individual computers? I want to secure just
domain controllers and key servers without the hassle of rolloing two-factor
authentication for an entire network. The tool would need to secure any
network-based authentication that tries to run the domain administrator's
credentials in on an RPC (port 135) or file sharing (port 445) request. I
have already restricted domain administrator accounts to login locally, but
I have been told that such restrictions don't close all of the network based
doors to the domain controller.

The computers are shared on a kvm switch, so I may be restricted in the kind
of keyboard I could use. A specialized keyboard that takes a smartcard is
okay as long as the keyboard could work as an ordinary keyboard for
computers that don't run the smartcard enabled software.

I would strongly prefer to use a solution that would work with Microsoft's
built in smartcard functions.

Any referrals to vendors and products is appreciated.

--
Will



Posted by Steve Riley [MSFT] on April 20, 2008, 11:07 pm
Please log in for more thread options
There's no way to do what you ask -- require 2FA only when an admin
credential appears on particular ports (Winlogon doesn't use RPC for
authentication, anyway).

What security risks are you trying to mitigate here?

--
Steve Riley
steve.riley@microsoft.com
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com



> Is there a simple two-factor authentication application / hardware combo
> that could be used to secure individual computers? I want to secure
> just
> domain controllers and key servers without the hassle of rolloing
> two-factor
> authentication for an entire network. The tool would need to secure any
> network-based authentication that tries to run the domain administrator's
> credentials in on an RPC (port 135) or file sharing (port 445) request.
> I
> have already restricted domain administrator accounts to login locally,
> but
> I have been told that such restrictions don't close all of the network
> based
> doors to the domain controller.
>
> The computers are shared on a kvm switch, so I may be restricted in the
> kind
> of keyboard I could use. A specialized keyboard that takes a smartcard
> is
> okay as long as the keyboard could work as an ordinary keyboard for
> computers that don't run the smartcard enabled software.
>
> I would strongly prefer to use a solution that would work with Microsoft's
> built in smartcard functions.
>
> Any referrals to vendors and products is appreciated.
>
> --
> Will
>
>

Posted by Will on April 21, 2008, 1:48 pm
Please log in for more thread options
> There's no way to do what you ask -- require 2FA only when an admin
> credential appears on particular ports (Winlogon doesn't use RPC for
> authentication, anyway).

There is checkbox (from memory) for accounts in Windows 2003 AD that says
something like "Require smartcard for logon". That certainly suggests
that one could restrict a domain administrator to logging in only by a
smartcard.

One question is does that checkbox pertain only to console logins, but gets
ignore for authentication over the network on either RPC or port 445?


> What security risks are you trying to mitigate here?

The obvious one would be someone steals the domain administrator password or
uses it without permission. Having access to a physical token as well as
something only you know certainly gives one far more opportunity to control
domain administrator logins than any scheme that uses passwords only.

--
Will


> > Is there a simple two-factor authentication application / hardware combo
> > that could be used to secure individual computers? I want to secure
> > just
> > domain controllers and key servers without the hassle of rolloing
> > two-factor
> > authentication for an entire network. The tool would need to secure
any
> > network-based authentication that tries to run the domain
administrator's
> > credentials in on an RPC (port 135) or file sharing (port 445) request.
> > I
> > have already restricted domain administrator accounts to login locally,
> > but
> > I have been told that such restrictions don't close all of the network
> > based
> > doors to the domain controller.
> >
> > The computers are shared on a kvm switch, so I may be restricted in the
> > kind
> > of keyboard I could use. A specialized keyboard that takes a smartcard

> > is
> > okay as long as the keyboard could work as an ordinary keyboard for
> > computers that don't run the smartcard enabled software.
> >
> > I would strongly prefer to use a solution that would work with
Microsoft's
> > built in smartcard functions.
> >
> > Any referrals to vendors and products is appreciated.
> >
> > --
> > Will
> >
> >



Posted by Steve Riley [MSFT] on April 21, 2008, 5:13 pm
Please log in for more thread options
There are two ways to require smart cards for logon. You can configure:

* user account properties in Active Directory
* group policy for specific computers or groups of computers

There is no "require smart cards for administrators" setting and there is no
way to require smart cards depending on which traffic arrives at particular
network ports.

Group policy offers two settings for requiring smart cards. "Interactive
logon: require smart card" does exactly that. "Interactive logon: smart card
removal behavior" allows you set what happens when the smart card is
removed.

http://www.microsoft.com/technet/security/guidance/networksecurity/securesmartcards/scpgch03.mspx
has some good information for you, please read through it. For a variety of
reasons, configuring smart card requirements on user (in your case,
administrator) accounts creates several problems, as described in the guide.
Instead, you should configure GPOs with the smart card settings you want,
then link those to the OUs containing the computers (in this case, domain
controllers) that you want to require smart cards for. Note that this is for
interactive logon only, including remote desktop and terminal server; these
settings don't apply for access over the network.

There's really nothing you need to do for network (non-interactive) access.
Remember, computers and users need to be able to contact the domain
controllers over the network for authentication purposes :)


Now about my risk question... A password isn't something a person can
"steal." In your environment, under what circumstances could an unauthorized
person obtain the password? Domain admins legitimately possess the password,
so they already have permission to use it. By definition, then, this means
that any use of the password without permission is by someone who isn't a
domain admin and has somehow obtained the password. Besides yourself, who
else in your organization should legitimately know this password? Do you
trust these people not to share the password?

--
Steve Riley
steve.riley@microsoft.com
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com



>> There's no way to do what you ask -- require 2FA only when an admin
>> credential appears on particular ports (Winlogon doesn't use RPC for
>> authentication, anyway).
>
> There is checkbox (from memory) for accounts in Windows 2003 AD that says
> something like "Require smartcard for logon". That certainly suggests
> that one could restrict a domain administrator to logging in only by a
> smartcard.
>
> One question is does that checkbox pertain only to console logins, but
> gets
> ignore for authentication over the network on either RPC or port 445?
>
>
>> What security risks are you trying to mitigate here?
>
> The obvious one would be someone steals the domain administrator password
> or
> uses it without permission. Having access to a physical token as well as
> something only you know certainly gives one far more opportunity to
> control
> domain administrator logins than any scheme that uses passwords only.
>
> --
> Will
>
>
>> > Is there a simple two-factor authentication application / hardware
>> > combo
>> > that could be used to secure individual computers? I want to secure
>> > just
>> > domain controllers and key servers without the hassle of rolloing
>> > two-factor
>> > authentication for an entire network. The tool would need to secure
> any
>> > network-based authentication that tries to run the domain
> administrator's
>> > credentials in on an RPC (port 135) or file sharing (port 445) request.
>> > I
>> > have already restricted domain administrator accounts to login locally,
>> > but
>> > I have been told that such restrictions don't close all of the network
>> > based
>> > doors to the domain controller.
>> >
>> > The computers are shared on a kvm switch, so I may be restricted in the
>> > kind
>> > of keyboard I could use. A specialized keyboard that takes a
>> > smartcard
>
>> > is
>> > okay as long as the keyboard could work as an ordinary keyboard for
>> > computers that don't run the smartcard enabled software.
>> >
>> > I would strongly prefer to use a solution that would work with
> Microsoft's
>> > built in smartcard functions.
>> >
>> > Any referrals to vendors and products is appreciated.
>> >
>> > --
>> > Will
>> >
>> >
>
>

Posted by Will on April 21, 2008, 10:33 pm
Please log in for more thread options
> There are two ways to require smart cards for logon. You can configure:
>
> * user account properties in Active Directory
> * group policy for specific computers or groups of computers

Either of those is acceptable. Since I have three administrators on two
domain controllers, selecting user account properties is perfectly
acceptable. We don't use domain administrator accounts on any machine
other that domain controllers or for any purpose other than administering
the domain controller, do our exposure to restricting those accounts to use
of smartcards seems low.


> There is no "require smart cards for administrators" setting

I hope I didn't say that there was such a setting.


> ...and there is no way to require smart cards depending on which traffic
> arrives at particular network ports.

>
http://www.microsoft.com/technet/security/guidance/networksecurity/securesmartcards/scpgch03.mspx
> has some good information for you, please read through it. For a variety
> of reasons, configuring smart card requirements on user (in your case,
> administrator) accounts creates several problems, as described in the
> guide. Instead, you should configure GPOs with the smart card settings you
> want, then link those to the OUs containing the computers (in this case,
> domain controllers) that you want to require smart cards for. Note that
> this is for interactive logon only, including remote desktop and terminal
> server; these settings don't apply for access over the network.

Assuming that the domain administrator user account was configured to only
allow login to the domain controllers *and* was configured to require
smartcards, the question is what APIs or applications that require
authentication might continue to work with userid and password and no
smartcard? In other words, I want to know what continued exposures would I
have for a domain administrator whose credentials had been compromised, once
smartcards are required for interactive login of his or her account and the
account was restricted to login to the domain controllers only.


> There's really nothing you need to do for network (non-interactive)
> access. Remember, computers and users need to be able to contact the
> domain controllers over the network for authentication purposes :)

I was never proposing to remove any privilege for users or computers to
access resources on a domain controller.


> Now about my risk question... A password isn't something a person can
> "steal."

But of course a password can be stolen. A person can install a keyboard
sniffer on a computer where the password is used, which would certainly by
any reasonable meaning of the word be an example of stealing the password.
A person can peek at someone typing in their password and remember it, which
is certainly close to stealing it if they then go on to use it. A person
can also find a note with the password written on it and then take it for
their later use.

No doubt one can design business processes to make all of these things
harder to do. But you can never make any of them impossible. There
should not be a debate that such kinds of theft are possible.


> In your environment, under what circumstances could an unauthorized person
> obtain the password? Domain admins legitimately possess the password, so
> they already have permission to use it. By definition, then, this means
> that any use of the password without permission is by someone who isn't a
> domain admin and has somehow obtained the password. Besides yourself, who
> else in your organization should legitimately know this password? Do you
> trust these people not to share the password?

There are other cases besides just being a domain admin and not being one.
For example, you might have a junior admin who you trust to take certain
actions, but you want to be able to designate when that person has access.
A very practical business process to grant such a person time-limited access
to a domain controller would be to hand him his smartcard token, together
with specific instructions on what to do, and then require the smartcard
back when he is done.

In any case, you are addressing the "why" and I was in my original question
addressing the "what". I wanted to know does anyone make a relatively
cheap product to secure specific machines. Every time I read an article
like the one you referenced above, I walk away thinking using smartcards is
going to be a $30K project involving a lot of custom systems integration,
involving someone who knows a lot of about certificates. What I was
hoping for was a sub $1000 out-of-box product with two readers included that
I could just install, generate certificates directly into the smartcard with
that product, and then secure the smartcards. Once I get into issues like
installing a certificate server, figuring out how to get one of its
certificates onto some generic smart card, mixing and matching a reader from
one vendor with a smartcard from another vendor, etc, it starts to feel like
a project with a long learning curve. Since I am both time and budget
constrained, knowing what can be done cheaply and quickly is important.

Does nothing simple for securing a small number of servers exist?

--
Will


>>> There's no way to do what you ask -- require 2FA only when an admin
>>> credential appears on particular ports (Winlogon doesn't use RPC for
>>> authentication, anyway).
>>
>> There is checkbox (from memory) for accounts in Windows 2003 AD that says
>> something like "Require smartcard for logon". That certainly suggests
>> that one could restrict a domain administrator to logging in only by a
>> smartcard.
>>
>> One question is does that checkbox pertain only to console logins, but
>> gets
>> ignore for authentication over the network on either RPC or port 445?
>>
>>
>>> What security risks are you trying to mitigate here?
>>
>> The obvious one would be someone steals the domain administrator password
>> or
>> uses it without permission. Having access to a physical token as well
>> as
>> something only you know certainly gives one far more opportunity to
>> control
>> domain administrator logins than any scheme that uses passwords only.
>>
>> --
>> Will
>>
>>
>>> > Is there a simple two-factor authentication application / hardware
>>> > combo
>>> > that could be used to secure individual computers? I want to secure
>>> > just
>>> > domain controllers and key servers without the hassle of rolloing
>>> > two-factor
>>> > authentication for an entire network. The tool would need to secure
>> any
>>> > network-based authentication that tries to run the domain
>> administrator's
>>> > credentials in on an RPC (port 135) or file sharing (port 445)
>>> > request.
>>> > I
>>> > have already restricted domain administrator accounts to login
>>> > locally,
>>> > but
>>> > I have been told that such restrictions don't close all of the network
>>> > based
>>> > doors to the domain controller.
>>> >
>>> > The computers are shared on a kvm switch, so I may be restricted in
>>> > the
>>> > kind
>>> > of keyboard I could use. A specialized keyboard that takes a
>>> > smartcard
>>
>>> > is
>>> > okay as long as the keyboard could work as an ordinary keyboard for
>>> > computers that don't run the smartcard enabled software.
>>> >
>>> > I would strongly prefer to use a solution that would work with
>> Microsoft's
>>> > built in smartcard functions.
>>> >
>>> > Any referrals to vendors and products is appreciated.
>>> >
>>> > --
>>> > Will



Similar ThreadsPosted
Solution for securing VPN/IAS using 2-factor SMS Authentication June 11, 2005, 1:37 pm
Smartcard for multi-factor authentication March 2, 2006, 10:01 am
Recommendation for a good two-factor authentication product July 25, 2007, 6:58 pm
Single login per account possiable? September 28, 2005, 9:07 pm
Transition from a single enterprise CA to a tiered CA May 3, 2007, 12:38 pm
How do I block a single IP address from logging on as Administrator? October 31, 2007, 9:39 am
PKI - Single Offline Root for Multiple Forest March 24, 2008, 9:02 pm
Any MS security options for single server 2008 x64 as notebook OS? January 17, 2008, 7:12 pm
Kerberos machine authentication - apparent authentication failures May 30, 2005, 10:35 am
Windows 2003 Single Mode - Workstation Login says: DOMAIN (Win 200 January 10, 2006, 8:41 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap