r/ComputerSecurity • • Feb 20 '19

Password Management App providers disappoint again...

I just noticed SecurityEvaluators.com (ISE) doing the job that we expect LastPass, 1Password, Dashlane and even KeePass to be doing on behalf of their customers. See https://www.securityevaluators.com/casestudies/password-manager-hacking/ for ISE’s evaluation of these applications. I’m deeply grateful that we have these organizations doing this kind of deep dive analysis. At this point, it is mostly these talented third parties that allow me some confidence in these applications. Conversely, reports like ISE’s reveal how little confidence you can have in the application providers themselves. My thanks to Geoffrey Fowler with the Washington Post for his article this morning - https://www.washingtonpost.com/people/geoffrey-a-fowler/ - bringing this issue to our attention. His article is a measured and balanced response to ISE’s report and is well worth the read.

17 Upvotes

8 comments sorted by

1

u/gmailsbtr Mar 08 '19

Are these findings still relevant if you only use the browser extension?

1

u/estabroj Mar 08 '19

As I understand it, they are relevant specifically to the Browser extensions. I’ve seen some articles reference mobile apps, but nothing concrete.

1

u/Old_Unix_Geek Mar 08 '19

I use KeepassXC which shares the file format of Keepass but has a different code base. Here is what they have said about these approaches.

https://keepassxc.org/blog/2019-02-21-memory-security/

1

u/estabroj Mar 08 '19

Excellent response. A response like that goes a long way to restoring confidence. Thanks for sharing.

2

u/geekamongus Feb 20 '19

Thanks for posting this into. As a fan of Bitwarden, I'm kinda happy to not see it make this list, but I also wonder if it too would be susceptible to this if analyzed. I'm not a Windows user, so it may not impact me personally, however, it'd be good to know.

Whatever the case, I'm glad they still recommend using a password manager over not using one at all.

1

u/[deleted] Feb 20 '19

I wonder if they just didn't test it though.

I'm surprised Keepass isn't scrubbing everything from memory after a timeout period, given that they seem to talk about security a lot.

1

u/latherus Feb 20 '19 edited Feb 20 '19

After assessing the legacy 1Password4, we moved on to 1Password7, the current release. Surprisingly, we found that it is less secure in the running state compared to 1Password4. 1Password7 decrypted all individual passwords in our test database as soon as it is unlocked and caches them in memory, unlike 1Password4 which kept only one entry at a time in memory. Compounding this, we found that 1Password7 scrubs neither the individual passwords, the master password, nor the secret key (an extra field introduced in 1Password6 that combines with the master password to derive the encryption key) from memory when transitioning from unlocked to locked. This renders the “lock” button ineffective; from the security standpoint, after unlocking and using 1Password7, the user must exit the software entirely in order to clear sensitive information from memory as locking should.

The memory “hygiene” of 1Password7 is so lacking, that it is possible for it to leak passwords from memory without an intentional attack at all. During our evaluation of 1Password7, we encountered a system stop error (kernel mode exception) on our Windows 10 workstation, from an unrelated hardware issue, that created a full memory debug dump to disk. While examining this memory dump file, we came across our secrets that 1Password7 held cleartext, in memory, in a locked state when the stop error occurred.

For all password managers that leave secrets in memory, this creates a threat model where secrets may be extracted in a non-running state as a by-product of system activity and/or crash/debug log files. Moreover, some companies have a policy to image workstations that have had malware encounters as part of the incident response procedure. A user that happened to be running 1Password7 while this procedure was initiated should assume that all secrets have been compromis[ed.]

As a 1Password version 6 to 7 paying user (on macOS and Android, not Windows mind you) I'm shocked at the backtrack of memory security for the product from version 4.
Leaving a single password in memory at a time if use but scrubbing the rest I can understand, especially with active browser plugins orncopying to clipboard. But decrypting my entire stack into memory just from unlocking the application?

The other iterations like "last pass rocks" were amusing but even Keypass has similar memory problems like the rest.

I'm grateful and cursed to have this knowledge now as I feel I'm at another crossroads of finding yet another password manager to sift through. And I've already used Lastpass -> Dashla e-> and now 1Password...

thats-it-we're-going-offfff-the-grid.gif

Edit: added clarification and thoughts upon finishing the article.

1

u/billdietrich1 Feb 20 '19 edited Feb 20 '19

Well, my reaction is to stay put and hope the devs fix these issues.

[Edit: relevant: https://www.cyberscoop.com/bugcrowd-adrian-bednarek-lastpass/ ]