Re: [Full-disclosure] Re: RSA SecurID SID800 Token vulnerable by design

2006-09-11 Thread Bojan Zdrnja

On 9/10/06, Lyal Collins [EMAIL PROTECTED] wrote:

If there's malware on the machine, and there is a connected USB token, then
authentication is only as good as the password - malware can probe the
connected token as often as desired.


Read my post again. That's not necessary true. The RSA SID800 token
has a smart chip running Java on it. While I don't know how the whole
thing works (that's why I asked the OP to sniff the USB traffic and
see what's going on), it's possible that the actual OTP generated by
the token is encrypted. In this case your malware can probe as much as
it wants, but it won't get anything - what you need is a directed
attack on the host part of the RSA authenticator (something what
3APA3A mentioned, by changing the GINA dlls) - same as with rootkits,
lower level wins.


And this data stream to the authentication host is still subject to a
variety of MITM attacks.


There is no perfect security.


In the event of an unconnected OTP token, a variety of MITM attacks still
applies to OTP tokens - in the SecurID-style form factor, printed lists or
anything similar.

In theory, with trusted data paths everywhere (internal to worksation as
well as he network) OTP is better than passwords alone.  But since this data
patch assumption is rarely 100% valid, OTP is as good as a password alone.
In the situation where data paths are trust-able, OTP is a somewhat better
than passwords alone.  Does the risk justify the costs involved (tokens,
token management, authentication host, and trusted data paths)?


What you're missing here is a pretty common problem today called
keyloggers. And 2FA like this effectivelly raises the bar *quite a
bit*. Sure, you can intercept some things, there are MitM attacks and
so on, but if your employee, who is using a machine on an airport
wants to log in (and there's a keylogger running), it *will* help.

This also helps when talking about brute force attacks - it makes them
even more difficult, and you don't have to worry about your users
using fred as password.

In security it's always about raising that bar a bit more.


Bojan

___
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


RE: [Full-disclosure] Re: RSA SecurID SID800 Token vulnerable by design

2006-09-09 Thread Lyal Collins
If there's malware on the machine, and there is a connected USB token, then
authentication is only as good as the password - malware can probe the
connected token as often as desired.
And this data stream to the authentication host is still subject to a
variety of MITM attacks.

In the event of an unconnected OTP token, a variety of MITM attacks still
applies to OTP tokens - in the SecurID-style form factor, printed lists or
anything similar.

In theory, with trusted data paths everywhere (internal to worksation as
well as he network) OTP is better than passwords alone.  But since this data
patch assumption is rarely 100% valid, OTP is as good as a password alone.
In the situation where data paths are trust-able, OTP is a somewhat better
than passwords alone.  Does the risk justify the costs involved (tokens,
token management, authentication host, and trusted data paths)?

Lyal


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bojan Zdrnja
Sent: Sunday, 10 September 2006 8:51 AM
To: 3APA3A
Cc: full-disclosure@lists.grok.org.uk; bugtraq@securityfocus.com
Subject: [Full-disclosure] Re: RSA SecurID SID800 Token vulnerable by design


On 9/9/06, 3APA3A [EMAIL PROTECTED] wrote:
 Dear Hadmut Danisch,

  2-factor authentication is not a way to protect against malware.

Well, it protects - the authentication process.

  SecurID  authentication  supports  single sign-on technology. As a 
 weak  side  of  this  technology,  it means, if single account on any 
 network  host  is  compromised,  this  account  is compromised in 
 whole network,  because  any resource can be accessed from compromised 
 host. An ability  to read current key from device is required to 
 support single sign-on.

It depends on the underlying SSO technology. In most cases today you have
web based SSO deployments which rely on a cookie. In this case, you don't
need to connect the token at all - all you have to do is login once and the
browser will take care of rest. As Brian noted in the following e-mail, if
an attacker can put a keylogger on your machine, he can certainly get the
cookie as well and use it.

  The  only  additional  attack factor this issue creates is attacker 
 can  get  _physical_  access  to  console with user's credentials _any 
 time_  while  user is logged in, while in case token can not be red 
 (e.g. it's  not plugged to USB) he can only access console short after 
 user logs in  to compromised host (while token is not changed).

No - the OTP can be used only once, so even if you manage to get both the
PIN/password and the OTP (remember, you need both to login) you can't use
that because the RSA authentication manager (the server side of the whole
process) marked that OTP as used.

In this case an attacker can only try to brute force the OTP (after all,
it's only 6 digits), but RSA has excellent measures against brute force
attacks (basically, after a certain, configurable, number of unsuccessful
logins the token is disabled; what's even better is that it tracks number of
incorrect OTPs with correct PINs - if that is higher than a certain number,
it puts the token into 2nd OTP mode which means you have to guess 2 OTPs
in a row).

I think these tokens offer excellent means for authentication. Sure, they
are not a silver bullet and don't solve all your security problems (nothing
does), but if you have users who have to login from a lot of insecure places
(airport lounges, cyber caffes) and are afraid of keyloggers stealing
passwords, two factor authentication really helps.

Cheers,

Bojan

___
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


___
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Re: [Full-disclosure] Re: RSA SecurID SID800 Token vulnerable by design

2006-09-09 Thread Brian Eaton

On 9/9/06, Lyal Collins [EMAIL PROTECTED] wrote:

If there's malware on the machine, and there is a connected USB token, then
authentication is only as good as the password - malware can probe the
connected token as often as desired.

snip

In theory, with trusted data paths everywhere (internal to worksation as
well as he network) OTP is better than passwords alone.  But since this data
patch assumption is rarely 100% valid, OTP is as good as a password alone.
In the situation where data paths are trust-able, OTP is a somewhat better
than passwords alone.


If you think about it in terms of how long an attacker has to act, I
think you'll come to a different conclusion.  Two-factor auth is
better than password alone even when the end user is typing OTPs into
a machine that is completely and totally rooted.  The key phrase in
your analysis is connected token.  Once the token is disconnected,
the malware no longer has access to the authentication data.  When a
password is stolen it could be usable for months.  When an OTP is
stolen it is usable for hours, if that.  Two-factor auth reduces the
risk because it reduces the length of time of the compromise.


Does the risk justify the costs involved (tokens,
token management, authentication host, and trusted data paths)?


That is the big question.  Even if you are willing to pay for
two-factor, transactional authentication might provide better value.

Regards,
Brian

___
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/