How to Recover Saved Passwords in Brave Browser

How to Recover Saved Passwords in Brave Browser

This research article shows you all password secrets of Brave browser including where all your website passwords are stored, how it is stored and how to recover it automatically.

Brave Browser Password Secrets

Brave browser stores all your website login passwords in the “Login Data” file at following location

[New Brave Browser]
C:\Users\[user_name]\AppData\Local\BraveSoftware\Brave-Browser\

[Old Brave Browser] 
C:\Users\[user_name]\AppData\Roaming\Brave\

This “Login Data” file is stored in SQLite database format. It contains database table called “logins” where each website login details are stored.

Here are some of the interesting fields stored in this table,

origin_url - main link of the website
action_url - login link of the website
username_element - name of the username field in the website
username_value - username used for login
password_element - name of the password field in the website
password_value - password used for login (encrypted)	

Here action_url, username_value and password_value refers to website login link, username and encrypted password respectively.

Brave browser encrypts the website password using Windows DPAPI (Data Protection API) functions.

These DPAPI functions perform encryption of password using user and machine specific data. As a result encrypted password cannot be decrypted by another user or another computer.

Hence Brave browser password recovery has to be performed on the same computer as same user.

How to Decrypt Brave Browser Passwords

Brave uses Windows DPAPI function, CryptProtectData to encrypt the website password. We can decrypt this password using the function called CryptUnprotectData.

Here is the sample C++ program to decrypt the Brave website password.

void DecryptPassword(char *passData, int passLen, char *password, int length)
{
	DATA_BLOB DataPassword;
	DATA_BLOB DataOutput;
	
	DataPassword.cbData = passLen;
	DataPassword.pbData = (BYTE *) passData;

	if( CryptUnprotectData(&DataPassword, NULL, 0, 0, 0, 0, &DataOutput) == FALSE )
	{
		printf("CryptUnprotectData failed with error 0x%.8x", GetLastError());
		return;
	}

	memcpy(password, DataOutput.pbData, DataOutput.cbData);
	password[DataOutput.cbData] = 0;
	
	
	printf("Successfully Decrypted Password is %s ", password);

}

How to Recover Brave Browser Passwords

Here is simple way to recover all your Brave browser passwords without worrying about where it is stored and how to decrypt it.

You can use our XenArmor Browser Password Recovery Pro software to instantly & easily recover all your saved website login passwords from Brave browser as shown in video below,

Here are the simple steps to recover all your saved passwords,

  • Step 1: Download & Install Browser Password Pro from here
  • Step 2: Next launch the software on your computer
  • Step 3: It will automatically discover, decrypt and display all the saved Brave passwords as shown below
It can also help you to delete your saved website passwords to protect from other users, hackers or ransomwares on your computer.

For more details, please refer to Online User Guide

Hope this article has helped you to understand the password secrets of Brave browser.

Let us know what do you think. Please comment below if you have any queries or suggestions.

 


Leave a Reply

Your email address will not be published. Required fields are marked *