Our company has a “three strikes and you’re out” domain login policy. Any way to bring a Notes 6 client into compliance with this policy?
In advance, thank you.
Our company has a “three strikes and you’re out” domain login policy. Any way to bring a Notes 6 client into compliance with this policy?
In advance, thank you.
Subject: Login: “Three strikes and you’re out” policy
The Notes security model is too complex for such a policy…
Consider the following:
– You “unlock” your ID file with a password. This happens completely on the client (no servers involved).
– After an ID file is unlocked, the credentials in the ID file are presented to every server you’re trying to contact, and each of these servers either grant or deny access based on their own settings (password checking, public key checking). This is the “authentication” part.
Once an ID file is stolen, the would-be hacker can start working on unlocking the ID on his local machine, which is by definition untrusted. If the hacker would succeed in unlocking that particular ID file, he can then authenticate with a server which is not aware of the number of logon attempts the hacker made to actually unlock the ID file.
In an untrusted environment, there is simply no way to securely store a counter to keep the number of logon attempts (and which would trigger your policy):
– If it’s stored in the registry or local filesystem, it is simply reset by the hacker.
– If it’s stored in the ID file itself, a hacker can work on multiple copies, or reset the counter value in the ID file.
Since there is no way (other than good passwords) to prevent unlocking a stolen ID file, a “three strikes and you’re out policy” would not offer any added security which is why it is not an option.
When defining a security policy for your environment, you should adapt a specific policy for the Notes client security model. By using an ID file, it has a lot of advantages over simple password authentication. The weaknesses of this policy are also different from a password-based authentication scheme, and should be taken into account.
When talking about simple password authentication (e.g. for web access or SMTP/POP/IMAP mail access), this is of course a different story.
cheers,
Bram
Subject: Login: “Three strikes and you’re out” policy
You want this for the client or web? There are all sorts of ways to make web logins 3 strike compliant and a quick google session will probably turn up many promising hits. The client really shouldn’t need that though.
First, you gotta have a Notes ID file. If someone got that then you’ve got physical security issues.
Also, even once they have that, they still have to know the password. Each time they enter an incorrect password it takes longer and longer for the password promt to come back. Just try it. It only takes a second or third failed attempt to start the delay. After four or five you’re up to 15 seconds delay and it keeps growing. Brute force attacks would not get far at all…
Subject: RE: Login: “Three strikes and you’re out” policy
While I mostly agree on the security of having an ID file in the first place, the added security introduced by the delays after repeated logon attempts is (at best) superficial.
While it is true that for a normal logon attempt on the ID file (via the Notes client or via the API), the delay is introduced.
Anybody who is serious enough to attempt attacking an ID file (i.e.: write a program for feeding candidate passwords via the Notes API), will most probably be able to “patch” his version of the notes libraries to just skip the introduced delays (using a debugger is not exactly rocket science).
cheers,
Bram
Subject: RE: Login: “Three strikes and you’re out” policy
Actually, the only way to decode a Notes ID’s private key with the password is through the Notes API (the custom extensions to the RSA BSafe architecture are not publically documented.) So you have to use the Notes API to do it. And the delay is thread-specific. You’ll notice it comes into play even on stuff like @VerifyPassword.
According to Iris people I’ve talked to, while it’s possible to bypass the figleaf by creating and destroying independent threads, the operation is pretty expensive.
Subject: RE: Login: “Three strikes and you’re out” policy
Hi Nathan,
I’m well aware that the Notes extensions to BSAFE are not publically documented, and hence the Notes API is the only practical way to unlock ID files.
My point was simple: it’s not exactly rocket science to run the password verification process within a debugger to figure out where exactly the delay is implemented. I’m not saying that it’s trivial, but somebody who really wants to bruteforce an ID file and who is a bit comfortable with assembly and a debugger should be able to easily create a patched version of the notes DLLs that just skips the delay.
The delay is there to scare off casual hackers… It’s not going to stop somebody who is determined and knowledgeable. (anybody fancy a challenge? ![]()
cheers,
Bram
Subject: RE: Login: “Three strikes and you’re out” policy
Feel free to give it a shot. The crypto guys at Iris are extremely competant.
Subject: Login: “Three strikes and you’re out” policy
I’m still living in R4 land, but have asked this same question a number of times over the last 5 years or so. The best I’ve heard is that the newer Notes versions offer API functions that provide a handle on the login process. Try searching here and in the R4/5 forum to see if you can find any code that might work (try three strikes or login api)
I work in a regulated environment (medical device) and we had to find a way to track electronic signature attempts. I built a separate eSig system that tracks the number of times someone tries to ‘sign’ a document and locks them out of the signing process after 3 failed attempts. The system could be extended to kick them out of Notes and make it difficult for them to log back in (nothing that couldn’t be bypassed, but enough to keep most people out of Notes). It’s not perfect but has worked well for us (in the Sandbox if you’re interested).
If you can move the 3 strikes policy from ‘starting Notes’ to ‘doing some regulated activity’, you may be able to implement a similar system.
hth
Doug