Decrypt firefox’s & chrome’s saved passwords
Firefox⌗
There are many tools available out there to decrypt firefox passwords, but we will using firefox_decrypt tool. Which is efficient and fast.
Steps:
-
First clone it to local system and
cd
into it.git clone https://github.com/unode/firefox_decrypt.git cd firefox_decrypt
-
Here we have our script
firefox_decrypt.py
, execute it with-h
option to get help menu.python firefox_decrypt.py -h
-
Get all the available profiles using
-l
option.python firefox_decrypt.py -l
-
Decrypt passwords, use any format like json, tabular, human, etc.
python firefox_decrypt.py -f tabular
-
Select your profile number 1 / 2 / 3 …
And voila, you have your passwords.
Chrome⌗
There are tools too to decrypt google chrome’s password, and we will use decrypt-chrome-passwords
Steps:
-
First clone the repository to local and
cd
into it.git clone https://github.com/ohyicong/decrypt-chrome-passwords cd decrypt-chrome-passwords
-
Install dependencies
pip install -r requirements.txt
-
Decrypt passwords using
decrypt_chrome_password.py
.python decrypt_chrome_password.py
And now, we have all the credentials.
How to secure your passwords?⌗
We just saw how we can easily decrypt passwords from browser dumps, so now to avoid this kinds of thing we can secure our passwords using either ways
Firefox⌗
- Using extensions: Bitwarden, 1Password, Lastpass, etc.
- Using Primary/Master under settings -> Privacy & security -> Login & Passwords.
Chrome⌗
- Using extensions same as firefox.
chrome doesn’t provide built-in feature of master/primary password.
So that’s it.