

The value that has been deliberately obscured here in Red is my unencrypted Netflix password: The aid is really key here because searching for this value we can find the unencrypted passwords in memory using them. This chunk of JSON should be extracted from memory. In the above example you should be able to make out encname which is the encrypted version of the username whereas you should find the unencrypted username ( unencryptedUsername) further into the JSON object for this account. To cut a long story short, this is a table that contains details of all of the password records and groups including unencrypted usernames. When we locate this chunk of JSON, the aid is an integer value. Reading through these write-ups and also looking through LastPass’s documentation we can see where it is installed depends on the browser that you use and also your choice of operating system:

The first question “well okay if I have the extension installed where are my passwords (albeit encrypted or not)?”. You can find links to some of these at the end of the article (if there are others that should be acknowledged please get in touch). The purpose of this blog is to show some techniques that we have had success with on different projects and hopefully help people make informed choices about where they store their passwords.īeing more focused on macOS in my work in recent years means that I have less opportunity to dump credentials from memory, that still doesn’t stop me wanting to though! Some stuff (well passwords) I found in Memoryįirst of all, we need to acknowledge Martin Vigo’s & Tavis Ormandy’s previous work looking into LastPass. One of these that regularly shows up during red team engagements is LastPass. There are many different products out there and I’m pretty sure doesn’t recommend any of them. Rather than dropping onto a host and finding passwords.xlsx on the desktop we have to look in other places now. Password Managers have become a way for organisations to make our life’s harder. It doesn’t matter how well you have implemented what really matters is how you store your keys. Having been in IT longer than I care to remember, one issue keeps coming up.
