Two-factor authentication using a hardware token

posted Oct 20th 2009 8:21am by
filed under: security hacks

RSA-SecurID-hardware-token

We ran into a friend a while back who was logging into her employer’s Virtual Private Network on the weekend. She caught our attention by whipping out her keys and typing in some information from a key-fob. It turns out that her work uses an additional layer of protection for logging into the network. They have implemented a username, pin number, as well as a hardware token system called SecurID.

The hardware consists of a key-fob with an LCD screen on it.  A code is displayed on the screen and changes frequently, usually every 60 seconds. The device is generating keys based on a 128-bit encryption seed. When this number is fed to a server that has a copy of that seed, it is used as an additional verification to the other login data.

This seems like a tech trickle-down of the code generating device from GoldenEye. It does get us thinking: with the problems free email services have been having with account theft, why aren’t they offering a fee-based service that includes a security fob? With the right pricing structure this could be a nice stream of income for the provider. We’re also wondering if this can be implemented with a microcontroller and used in our home network. As always, leave comments below and let us know if you’ve already built your own system using these principles.

Update: Thanks to Andre for his comment that tells us this type of security is available for Apache servers. The distribution includes a server side authentication system and a Java based token generator that can run on any handheld that supports Java.



105 Responses to Two-factor authentication using a hardware token

  • paul says:

    to my recollection, paypal offers these devices as well. though alot of companies are just using a juniper sslvpn with a SSO login…. thats asking for trouble imo

  • Paul J says:

    If I recall correctly AOL briefly offered a secure email service, which used these SecureID fobs; it was mainly for business customers. Don’t think it lasted very long, like 99% of their products.

  • heltoupee says:

    These things have been around for forever. An alternative to building one in hardware would be to create an iPhone/Blackberry/Pre app that does the same thing. The app would be initialized securely from within the employer’s network, then function the same way as this keyfob does. I’d be willing to bet that something like this exists already. If not, there’s your million-dollar idea.

  • dubyaohohdee says:

    My Networking prof claims to have one for paypal.

  • Ron Proctor says:

    The first time I saw one of these was in the late 90s…

  • Ben Ryves says:

    When logging into your online banking in the UK (and no doubt other countries) you need to insert your card into a portable card reader, enter your PIN and then type the resulting code shown on its LCD into a field on the login page.

  • James says:

    I have to agree with heltoupee – I know someone who worked for British Telecom some 15 years ago who had to log in with a per-minute changing ID number on a keyfob to check his email?

  • TUP says:

    These devices are also available from blizzard for their warcraft accounts for about 6$ as a one time fee.

    People who went to blizzcon this year got a special edition fob in their giftbags

  • curtis says:

    I had the PayPal fob for a few weeks… until it died randomly and I was locked out of my account…

  • Phil H. says:

    For $5 you can get something simmilar from PayPal.

  • Dan says:

    >This seems like a tech trickle-down of the code generating device from GoldenEye.

    Um, right…

    SecurID has been around for about 20 years… about 5 years older than GoldenEye… I tried to get an exact date, but the patents were filed starting in ’85 and the RSA site says “20-year history of outstanding performance and innovation”.

  • Git says:

    While the type of code generation may have changed over time, I was using an lcd key fob to log into a remote machine back in 1999 (and even then I suspect it wasn’t a new technique). The biggest annoyance was that the code changed every 15 seconds, and as the remote machine was slow to respond it would usually take 3 to 5 attempts to get in during the small window.

    I like your idea. Hell, if Google offered one for their auth that cost $20 then I’d buy it right now.

    Ideally tho you’d need a way of using the same unit for multiple services, otherwise you’d have a pocket full of fobs :/

  • Dan says:

    The standard fobs rotate on a 60 second timer, but they do have 30 second models which are much nicer for network ops where you’re logging into devices more quickly than once per minute.

  • David says:

    The issue with an IPhone/Blackberry app is that they aren’t secure. If it just runs on the phone the device would lose sync for the server and if it is connected it is an insecure connection that would not improve security. The only thing it does is require you to link the phone to the user, but given you can log into the bank page from the phone, that shouldn’t be too hard.

    These really only work for places where you need the extra security and can respond with tech support(like replacing the fob) in a timely manner. Forcing SSL and stronger rotating passwords should be enough to secure an email account for the general public.

    • Saphiric says:

      As mentioned before, blizzard ha been using these thingies for WoW accounts for a while. However they do actualy have an app for the iPhone that does the exact same thing, it doesn’t run all the time, and you can use it when your not connected to the Internet. It just works, and it’s frigging awesome.

  • doomstalk says:

    PayPal’s are even fancier. They’ve got eInk displays, and are about the size of a credit card.

  • EdZ says:

    The key part of this is that it is a separate hardware device. The viewed key is derived from the internal key, but figuring out the internal key from the viewed key is very, very, VERY difficult, and thus the ‘next’ displayed key is assumed to be safe and secret until it is needed for use. If this were implemented on a phone in software, it would be trivial to read out the internal key and render the system insecure. You’d have to add a proprietary hardware module to the phone in order for it to work.
    Yes, it might be possible to read the internal key from the keyfob by prying it apart with sufficient care, but I’d assume there were safeguards against this (keeping everything ‘secret’ on one piece of silicon, requiring continuous power to keep the memory of the internal key alive, etc).

  • Peter says:

    I don’t see why an iphone/blackberry app would make it any less secure. As the above poster said, it would need to be initialized (get the seed) while connected securely within the network. Afterwards, it doesn’t need to connect at all, just generate an ID based off that seed.

    At worst, an attacker would still have a password and username to put in, nothing lost.

  • Asmor says:

    As has been mentioned, Blizzard offers this for World of Warcraft and, now, their new Battle.net system.

    There’s also an iPhone/iPod Touch implementation which is free. That’s what I used.

    Blizzard claims that there’s never been an account hacked which was using one of these, though I doubt they’re in wide enough usage for that to be a truly great claim.

  • Thomas says:

    Blizzard does this for World of Warcraft already. There has been no verified instances of a WoW account being hijacked when an authenticator (as Blizzard calls it) was present and active on the account.

  • Neckbeard says:

    I wonder if you could do this with an Arduino and an LCD

  • ax0n says:

    SecurID, originally made by Security Dynamics before RSA bought it, was around several years before GoldenEye. They’re NOT new.

    The problem with SecurID apps is that the seed file, in combination with the serial number, is all that’s needed to clone the system. The ACE/Server needs these two pieces of information, which are provided on removable media with the tokens as an file called nnnnnnnn.asc (where n* is the serial number stamped on the token) probably ascii-armored, uuencoded or base64 version of a raw binary seed.

    If you can get the .asc file, you know the serial number (the filename) and you have the seed (the contents of said file), and you can then run it through any of a number of freely available tools, such as this beauty: http://seclists.org/bugtraq/2000/Dec/459 which will spit out the next few numbers that will show up on the screen.

    If the seed file is stored in any kind of decode-able format and it can be harvested from your phone/pda/whatever, it is most certainly less secure than the hardware. You can’t get the seed off the hardware tokens. With hardware tokens, the seed exists only on the media that shipped with the fobs (hopefully locked away or destroyed) and on the authentication server. That is more secure.

  • Roofus says:

    Cannot beleive this is the first you’ve seen these, they’ve been around for ages. I know there are websites out there with free services offering these as an extra layer of security, E-Trade I beleive is one of them. And I do know I’ve seen smartphone apps to replace these types of keys.

  • Carl says:

    RSA has been doing these at minimum of 4 years in the enterprise space and my online banking has had similar (http://en.wikipedia.org/wiki/Chip_Authentication_Program) for 2 years now.

  • Cmd 0c3 says:

    @Peter
    The point of having a hardware token is to minimize the window an account could be compromised.

    These are quite effective assuming the holder is a trusted user. Some of the tokens usually have tamper detection in the hardware – so if it is opened it dies.

  • agrajag9 says:

    I have one of these keyfobs for my office network VPN connection. It is a random number generating device that has the same algorithm as the VPN concentrator. What happens is that when using the RSA algorithm, you have some ciphertext (c), message (m), and a few other numbers, p, q, n, e, and d. p and q are both large primes and n is the product of these two primes (n = p*q). You then chose some e > 1 that is coprime to the totient of p and q, which can be expressed as phi(p,q) = (p-1)*(q-1). Then GCD[e,(p-1)*(q-1)] = 1. Next we compute d, the multiplicative inverse of e mod phi(p,q), which can be expressed as the congruence de = 1 (mod phi(p,q)). Now we have our public key, n & e, and our private key, n & d. We now compute c = m^e (mod n) and m = c^d (mod n). See wikipedia for a good example.

    There is an issue with this however, in that if the same m is sent to e or more different people and those people share the same e value, then it’s easy to solve for n by using the Chinese Remainder theorem.

    This is where the keyfob comes in, I suspect. RSA does not tell people exactly how these work, and for very good reason. It is probably a padding mechanism for the original m value. When entering your username/password you create a new key pair, and you have to enter the number on the keyfob to tell your end what pad to use, in addition to using it to verify in a third way that the user is authentic.

    This might seem like a great idea for an iPhone app, but the iPhone app would need to be reseeded every time it started and that seed would need to be given to the endpoint somehow. Also the keyfobs are decently physically secure as well, but nothing is perfect in that respect – even the moon can be opened up and analyzed (as NASA has recently shown us).

  • singu says:

    Actually there is a way to securely implement this on the phone, as most phones ( GSM at least ) have already hardware security module installed – it’s called SIM card. Newest generation of SIM cards actually can allow for another application to co-exist, so it can be used as smartcard and or such one-time-password ( OTP ) generation.

    As far as DIY goes… it’s all matter of crypto-hash algorithm ( available ), hard to get secret key ( so.. epoxy over the circuit board, disabled debugging, etc ) and the most-important one – to ensure that the clock on the damn thing is very reliable. The same goes for the clock on the server. AFAIK the drift of the build-in clocks in microcontrollers is not enough over the lifetime of such hardware token ( 3-5 years ) so special external module with better accuracy.

  • ax0n says:

    Singu: There are options on the authentication server to allow for clock drift. In fact, I believe that it’s capable of not only accepting the next- and previous-key in the sequence, but if you are consistently entering a key behind its normal window, it will adjust for a time offset on a per-token basis. Say I’m always entering the number that it thinks should be NEXT (not the one it thinks should be currently displayed), it will actually adjust my keyfob’s timetable in the system. The Auth server is always synchronized with NTP, so it’s rarely off global time by more than a few seconds.

    agrajag9: The algorithm has been reverse engineered (see the link in my above post) and it’s easy to implement, even though RSA never told anyone how it works.

    Also, if a phone/PDA application can access and otherwise decode the seed file, it doesn’t matter where or how it’s stored, it’s vulnerable.

  • pillbox says:

    I’ve had the Paypal dongle for about five years now.
    Friend that worked as a Admin for Merril Lynch had one that looked like a credit card. He had this about 10 years ago.
    Nothing new. Wonder why this technology is not available for the small business/home user yet..

  • Craig says:

    I manage a SecurID server at my job. The value of “two-factor” authentication is that there are, well..um, two factors. Something you know (the pin) and something you have (the key fob). If there were an app, it’d be trivial for someone/trojan/malware to obtain the seed. Then you’re back to one factor authentication — like a password, something you know. If an attacker has the technical ability to obtain the seed out of the app, it’d be nothing for them to obtain the pin & username.

    With the SecurID fob, you can trust that there is only ONE copy of the ‘seed’.

    Sure they could make an app, but that defeats the two-factor security model.

  • Stefan says:

    My company is using these devices and I have one allowing me to connect through VPN. I think it’s a great additional security as the network I can connect to is international and contains several companies. I ave 60 seconds to log in and today this is far enough for the speed of the servers.

  • Chris says:

    everyone in my office/company has one of these for vpn access and for loggin into secure sites within the intranet. (largest telecom company in canada). userid is text over 6 chars, personal code of 4 digits + 6 digit code from the fob. the number changes avery 60 seconds, and is very random. not sure of the cost, but the admin geek that used to be here a few years ago mentioned itwas upwards of 100$ t the company per fob – i’m guessing he was throwing me a line of crap though. they do die if you open them though, and batteries only last about 5 years.

  • Ed says:

    Hmm, RSA is proprietary & hacked, you can do the same using the OATH algorithm which is more secure and is public (RFC4226), also see http://www.openauthentication.org. Works fine, easy to implement, dozens of vendors offering OATH-compliant tokens… RSA is pretty much a thing of the past, just lives on because of the large install base…

    This type of solutions have been around for ages, my father used more advanced challenge/response devices than this RSA token in the 80′s to authenticate to his corporate network!

  • denoobifyme says:

    A recent article on online banking points out that this is merely one more layer that can be compromised as easily as the other layers, as long as the user or bank is running Win-don’ts. Since you’re hauling around a fob anyway, why not make it a USB stick with a livecd Linux distro? That way, your bank account, email, and various private files are incapable of running any .exe files and you’re therefore virus- and malware-free.

  • [H]ackerK says:

    I recall the days of PalmPilot, RSA has the KeyFob app for PalmOS.

  • Ste says:

    the paypal/ebay model is run by verisign under the VIP (https://idprotect.verisign.com/learnmore.v)

    someone should code the VIP into a ssh server or somthing like that, that would be pretty cool.

  • Daniel says:

    I used to use one of these a fair amount. The reason you don’t see them more is because they are a PITA from a usability perspective. The pointy-haired-one will be calling _you_ when he looses it. I have heard stories of people playing ‘RSA Key Poker’ with the values, though…

  • mojo says:

    I’m surprised no-one has made an open version of this. Imagine being able to have a keyfob that you can use for almost any site.

    All that is needed is a device like this with a microcontroller and a public/private key setup. The code is generated using the private key you set up and verified with the public key that any website can get (either from you or from a central server). The code change every minute with the time used as the cleartext.

  • CDub says:

    SafeWord also does two factor authentication for much cheaper than RSA. They also have integration for messaging and active directory and they have phone apps as well.

  • Falcolas says:

    @ax0n: Sure, the dongle/phone apps are vulnerable, if you have access to the dongle in the first place. This is not the case with most phishing/keylogger attacks on paypal/WoW/email accounts.

    It’s less a foolproof method of protection; it is another link in the “something you know, something you have, something you are” authentication toolchain.

    And there is a case of white-hats using social engineering to decouple a WoW authentication dongle from an account in the past… so even with all this in place, it’s still possible to be hacked.

  • Pete says:

    I always thought the RSA fobs or software tokens should be called 3 factor authentication as a 4 digit pin is required in the code as well. The pin can be similar between all users or in my case i always issued dissimilar pin’s for more security.

  • Chris says:

    We’ve been using a RSA secure card with similar generated numbers at work for years to place orders with our manufacturer. (copier / printer supplier) Adding a additional layer of security like this is the only thing I can think of that brings credit/debit card security up to an acceptable level.

    Also – weather the seed is stored in software or in hardware it is stored in the device somewhere and thus will be targeted for extraction.

  • nave says:

    We use one to log in to our frost bank account. They are pretty cool but it would get annoying if I had to use one every time I wanted to log into gmail or something else.

  • Jay says:

    I’ve been using a OTP device called a Yubikey. This is a hardware device the size of a small USB drive and it emulates a keyboard. So instead of reading a number off an LCD screen, you touch a button and it types the OTP in for you. The company that makes it is hoping to make money off of selling the hardware device itself and is open sourcing the back-end software infrastructure needed for the hardware device. I was able to 2-factor authentication enable my website by adding just a few lines of code to the website’s existing authentication programming. You can read more about the Yubikey at the Yubico homepage: http://www.yubico.com

  • jkl says:

    I build my own “token” midlet last year.
    It does both time based authentication and signing.

    http://www.serious-thinking.nl/serious-sign/

  • darksim905 says:

    I just wish these were easily available for end consumer use and easy to implement.

  • Till says:

    Lufthansa time-tables for pilots are secured the same way via vpn + rsa-device with unique pins every day.

  • wdfowty says:

    my pops has had this thing for years, but i never knew what in the world it did. you learn something new every day :D

  • Seth says:

    Overseas they have much more secure banking. The credit cards now have computer chips. Home banking often uses fobs and other systems.

    The reason we don’t have this in the US is the banking industry doesn’t want to pay for it. For some reason they rather pay for fraud.

  • stunmonkey says:

    Disappointed at the fact that hack-a-day just ‘discovered’ basic 20-year-old security technology everyone knows about.

    Pleased the average reader is familiar with and/or screwed with these already.

    Readers – Good work, carry on.
    Hack-a-day – WTF? look around once in awhile. The world isn’t entirely arduino-based.

  • DarkLoki says:

    I had one of these when i worked for AT&T, code changes every 60 seconds

  • superlopez says:

    I own a full box of RSA tokens of my old dot com buble employer, a use for these would be a great hack.

  • Mark says:

    Wow, this seems like old news. Those tokens have been around for years. BofA will sell you a 20$ credit card size version that has a smart card as well.

  • Dan says:

    That Yubico thing looks neat. That would be easy to implement using just an AVR, a clock chip, and a battery. A couple of 8-pin surface mount chips could easily fit into a small key fob. There is already code out there for emulating a keyboard on AVR.

    The PayPal card had RFID hardware on it (I don’t know if it is activated). I’m hoping that someone figures out how to reprogram the key on those cards so they can be repurposed for custom applications.

  • kidmose says:

    Along with the fob SecurID also provides an application, a softtoken they call it, oppossed to the fob which they call a token, that you feed a seed from the server and then it generates the code based on the system time.

    It would work on the phone as you just would have to set your clock correctly.

  • ProblemChild says:

    I was hoping that someone had actually done his own Hacka-token. Only to find that it was just a SecureID token which has been around for well over the decade that I’ve been issued with various incarnations of these Tokens. Various PAM modules are around for all sorts of UNIX and no doubt windows variants, I don’t know if you can “re-Use” existing tokens or do you need extra information not physically on the token to derive the key…. This would be more interesting …Sorry

  • Xitdis says:

    stunmonkey makes a good point, and it was something I was thinking about as well. The recent “discovery” of two-factory authentication by this author is sort of disappointing.

  • jkl says:

    Doing it yourself is not that hard as the algorithm does not need to be that complex.

    Hard part is fitting the algorithm in a nice and clean pocket size device.
    (for a reasonable price ;-)

    Thats why I wrote the midlet for my mobile (see posting above), if anyone wants to give a go on a PIC or atmega, javascript source code is included on my project page and one can download the java midlet project from the same page.

  • bah says:

    Yep, old, also old-ish but similar – in the UK a challenge/response bit of hardware has been getting popular with banks for online banking, you insert your card into something which looks like a calculator, enter your pin + a code the website gives you, and it gives you another code you enter back into the website. Have these turned up in the USA yet (not being sarky, honest, just interested!). I assume the challenge code provided is hashed (based on account number & transaction amount or something?) and you’re entering the resulting value, anyone know any different?

  • nope says:

    Yeah. Worked with some people that had these ten years ago. Why is this news again?

  • Roman says:

    Bruce Schneier has written about some issues with relying on two factor authentication. http://www.schneier.com/blog/archives/2009/09/hacking_two-fac.html

  • maxdamage says:

    I’ve had the paypal one for years.

  • Emsi says:

    It’s so old. I’ve been using it for over a DECADE! :)

    There’s plenty of variants of it. The cutest one do not require a keyfob but can be installed on the cell phone as an app (you only need to distribute the seed), so there is not need for an additional gadged. The one I’m using for about 3 years now is the CERB solution made by: http://wheel.pl/

  • testle says:

    we use the SecureID with keypad (http://www.tokenguard.com/images/tokens/SD520.gif) gives you an additional layer of security. You not only have to own the token, but you also need to know the secret (:

  • testle says:

    sorry … forgot to add the key message: it’s to expensive for massrollout (:

  • Mike Donovan says:

    I’ve been trying to find a local vendor for these keyfob-substitutes, but all I have so far is a demo card:

    http://www.passwindow.com/

    They look cheap enough (in theory) to junkmail to potential customers, and no more inconvenient than a keyfob. (If they open-sourced it, I think they could put SecureID out of business.)

  • threepointone says:

    This is not something I’d make myself for security. I’m assuming RSA did it right, which they probably did given that they’re almost exclusively a security company. Typically these devices are protected from disassembly and key extraction down to the silicon level–there are likely tamper sensors on the chip itself, so that removing power or trying to de-encapsulate the chip will immediately cause complete erasure of the memory (look up some of dallas’s secure microcontrollers for some examples). Unlike your ol’ standard DRAM or SRAM, the memory cells they use are also designed to leave no trace whatsoever when the power is removed, so you can’t do things like freeze attacks. (I think there’s also an on-chip temperature sensor that causes forceful erasure of memory on most of these guys if you try that attack anyway)

  • hueyduck says:

    The device has no display but a similar functionality and is fully opensource.

    http://shop.embedded-projects.net/product_info.php/info/p176_Open-Kubus-USB-Stick.html

  • dAz says:

    my work uses a similar OTP system, but instead of carrying a seperate keyfob I get a SMS message to my registered work phone when I log in giving me a 6 digit number which expires after 5 minutes. saves on the cost of extra hardware

  • Sören says:

    I’ve been thinking about this a while ago: I’m using full harddisk encryption on all my systems. Sometimes my girlfriend needs to have access to them as well, even when I’m not around. I really don’t want to tell her 20 Bytes over the phone, so I thought I’d implement a device that acts like a smartcard: http://das-labor.org/wiki/DongleExtension

    Within the next days I will implement this in hardware. I expect that to be reproduceable & stable in two weeks ;)

  • Marc says:

    Yep, used one over 10 years ago….pain in the neck when the battery dies. We use to share our codes and try and figure out the program.

  • Ben says:

    I wonder how prevalent it is that the user decides it’s too much of a hassle to keep track of and tapes it to their monitor at work.

  • Ed says:

    heltoupee:
    RSA have a “SecurID Token for BlackBerry” product already: http://www.rsa.com/node.aspx?id=1165

  • atanok says:

    Thank you, hackaday, for this hackless, everyone-has-already-seen-it, absolutely uninteresting post.

    And not even a mention to how if you get a hold of the seed, the token’s useless.

    What is all this irrelevant posting, really?
    A bunch of writers keeping up their writing quotas?
    If there was one thing this website would benefit from, it’s _less, more relevant_ content.

  • Samr600 says:

    CryptoCard offer a Blackberry Application for use with thier product which can be intergrated with the usual VPN Solutions

    http://www.cryptocard.com/products/cryptocardauthenticationtokens/st-1tokenforblackberry/

    The token is event based but provides a similar level of security to RSA SecureID

  • DubMuffin says:

    CardXX used to (maybe they still do) manufacture these in a credit card format. Thin-film battery with an LED based display. Looked really slick since they were so thin and still had LED’s…

  • anon says:

    Please go back to one post per day.

  • Simon says:

    I can’t believe you guys are holding this up as a “hack”. Do you not live in the same world as the rest of us? Every company and government agency I’ve ever worked for has used these tokens.

    What’s up for tomorrow’s hack – sending data over a wire? Recording spoken words on paper using a pen? The wheel?

  • jack lang says:

    rsa is ok if you want to be safe ,you use a new key
    by email . The best way is program sent by what ever means is avalible radio sneaker net for the
    new key internet to be secure oops avalible.\

  • ellisgl says:

    I remember a credit card sized device that did the same thing back in the 90′s.

  • PidGin128 says:

    >> #comment-102824
    @Simon, I agree, one a day. and maybe a preview page where we can see/vote the submissions?

    I think the value here is clearly all the opensource implementations everyone shared above, as well as the discussion itself.

    –PidGin128

  • Stuart says:

    Barada, for android phones, implements 2 factor OTP functionality and is free as well.

  • tj says:

    Hardware dongles for DRM on software have been around a while too, just not in use as much as software protectors like AsProtect, SecuRom etc..

    I’ve actually seen a couple variants reversed. I think Securemetric still offers hardware fob DRM.

    You put some anti-debug on a PE, then generate VM op codes and string crypto off of an algorithm internal to the fob, which has no debug interface on the chip, and you have an insane level of software protection. Just make sure the PE VM thread that does inline emulation can’t be patched to dump VM translations like VMprotect/SecuRom/Themida are susceptible to.

    I’ve also seen RSA dongles used, this was at a state government data center though. You could in theory still get the data by hooking input in an OS. This is why I use Password Safe.

  • George Stone says:

    Looked into these. They’re hilariously overpriced.
    Went with certificates instead.

  • sam says:

    I’ve got the paypal one of these.. (not the credit card sized one.. this ones tiny)

    Its an awesome bit of kit.. and fully compatible with ANY sites/apps that use Verisign Identity Protection (VIP).

    If you loose your fob theres also a backup service that will one time text (SMS) a code to a pre registered mobile.. so you can get a code that way to login if you have the registered phone with you.

    Dunno why more places dont use it.

  • SecurID says:

    Don’t forget – a year or two it was going around in the Geek News that there are sniffers sitting in the StarBucks of the world who can see the PIN and SecurID generated number that you typed and if they can then also enter the same PIN and Toekn Number before the SecurID Token Number changes – they are In!!
    Just don’t hit Enter/Send until the number is just about ready to expire! (Try getting 1000+ people in your Company to do that!! ;-)

  • ax0n says:

    Wrong. You can’t use the same number twice in a row.

    Case in point: I have to log in to a VPN, then I have to RDP to a server. The VPN connection requires a one-time pass from my SecurID fob, and maybe 10 seconds later I can get the RDP prompt, which also asks for my OTP from SecurID. I always have to wait for the number to change before it will let me in. The central authentication server won’t let you use the same number twice between changes.

  • mr_daemon says:

    @SecurID: I highly doubt that’s how it works. The ones I have used void that generated number the moment it is used to successfully login and won’t accept it again, thus someone would have to enter your SecurID number and login with it /before/ you get to do so yourself, which is probably possible but improbable.

    Those have been around forever, even world of warcraft offers this.

    That made me think of a similar authentication factor for ssh, called skey. It’s basically a one time password authentication scheme. When you login, instead of a password, the system offers you a challenge, which you enter in an OTP generator along with your passphrase, which in turns generates a one time password that looks a bit like this:

    BEER MOAT FUEL WHALE JOHN FIVE APPLE

    Once you authenticate with that password it’s null and void. And since the OTP algorithm is pretty simple (it uses SHA1 in the latest revisions) you can easily get an OTP generator for your phone (j2me, iphone, etc). This way you never enter anything sensitive into the computer you are logging into, which thwarts keyloggers. Perfect for internet cafés and untrustworthy places.

  • lee says:

    you can actually use the paypal key with your openid account which is gaining some acceptance among various online account providers like aol, verisign, google, yahoo, facebook and more.
    http://berbs.us/2007/08/how-to-use-your-paypal-security-key-with-openid/

  • itwork4me says:

    I really appreciate aXon’s link…I have one of these. I actually have a really nice small version -for the hip Sys Admins. Just this morning I was trying to think of a way to pass the credentials from my nt terminal server session to the server session(0) where the authentication window opens. I figured I would use a javascript to authenticate the token and get the next numbers in queue on my webserver and then run the code I receive as a send key (using the next code supplied) to my server. Why? Why not figure it would be cool to add to my current virtual pc in a Win2kAS terminal services session.

  • Dr.Danger says:

    RSA has already released a software app for the iPhone/Blackberry. We use the soft and hard versions at my job for VPN and OWA. You still have to use a PIN to get a correct code, which is an 8-digit code instead of the keyfob’s 6-digit code. The software always gives you a code, it just give you a bad code if you use the wrong pin, so you can’t tell until you try to use the code. If the server is on a 4-try lockout, it is pretty secure. Your ID is set through an encrypted user token that is imported into the software. The only way to hack this is if you know the PIN and acquire the token, you can get in.

  • kevino says:

    You kids…

    I used to administer a secureID server I believe I bought it in 1995. Ran on a solaris sparc 10.

    I was running version 3.52 of the code, not exactly new.

    They allow all sorts of devices, software and operating systems to authenticate using radius or tacacs to a centralized server, the user has a 4-8 digit pin and enters a usrename and the pin+the code on the fob.

    The server keeps track of the fob, and knows what the code on it should be at any particular time. Each successful login resets the clock sync, if you don’t login for a while (or the server has a lot of clock drift) you need to get in touch with the admin to sync the pin manually. If you are a doofus and reset the system clock to 1985 to try to avoid Y2K bugs then all 5000 people on the server have to call in and resync, as my replacement discovered.

    A successful login makes the user unavailable until the code changes. A code entered wice puts the token into next token mode, which can be annoying. I think you can enter your pin in reverse to get an under duress login, if someone has a gun to your head trying to get into your bank account, or sensitive system. The admin gets an email and is supposed to call the cops.

    I did this twice, it always involved alcohol.

    You would need to do a man in the middle attack to hijack the ssl or IPSEC connection, and then enter the code into the remote system before the user and send user a bad result somehow. This is all encrypted so, good luck super cracker.

  • kohr says:

    This is news? lol.

    These things like a few of you had said have been around for so many years. AOL Oppsec employees used to have them to log into their internal accounts.

    When you’d log into one of the employee’s internal’s accounts you couldn’t sign on without the current key. The way around that was to use a very out of date AOL version, hehe.

  • Jason Koller says:

    It seems to me there are two possible approaches to this using something people already carry.
    A cell phone.

    Option 1: Mobile Phone Synchronized Encryption App
    An App could be written for various phones (iPhone, Pre, Android,
    ect … ) that work on the same concept of an encryption key. The user
    could generate his own custom key, and enter it into his phone via SD
    card, SMS, or EMail. This key would be unique to his account allowing
    only him to log in. The code would change every few minutes and use
    the cell network clock as the source. This would work just like the RSA Key Fob.

    Option 2: Randomly Generated Code sent via SMS
    A new code could be randomly generated and
    sent to the user’s phone via SMS. The code would include upper and
    lower case letters, numbers, and special characters, just like any
    good password should. Each code would only be valid for a few minutes
    and logging on before the server had received the request for
    the code would be prohibited.

    of course it could be hacked,
    Just like any other security method.
    But it does stack the odds to be more in your favor.

  • Shaun says:

    Verisign’s PIP service (which can also be an OpenID provider) can use the verisign tokens (I got mine through paypal) as an extra layer of authentication.

  • Harry Barracuda says:

    We use the Cryptocard version and it works fine. The person that said it can be compromised if you’re using it from Windows clearly doesn’t understand the technology.

    Until biometrics and RFID implants have matured, this is probably the most effective protection against illegal access.

    Not cheap though!

    And yes, it requires a user PIN and the code from the token to gain access; the user still then has to login to the domain. You can get SSO options but in my book that weakens security so why bother?

  • Leave a Reply

    XHTML: You can use these tags: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

    Send us your hacks










         




    Hacks

    Resources