Blog | G5 Cyber Security

Burp Suite: Decode Base64 Passwords

TL;DR

You’ve found a password encoded in base64 within Burp Suite. This guide shows you how to quickly decode it back into plain text using Burp Repeater and the built-in decoder.

Steps

  1. Identify the Base64 Encoded String: Locate the password string in your Burp Suite response. It will typically contain a mix of uppercase letters, lowercase letters, numbers, plus signs (+), forward slashes (/), and equal signs (=).
  2. Send to Repeater: Right-click on the request containing the encoded password and select “Send to Repeater”. This allows you to modify and resend the request.
  3. Highlight the Encoded String in Repeater: In the Repeater tab, highlight the base64 encoded string within the response body.
  4. Decode with Burp’s Decoder: Right-click on the highlighted string and select “Convert selection”. A menu will appear; choose “Base64 decode”.
  5. View Decoded Password: The decoded password will be displayed in a new window or within the Repeater response. If it’s still encoded (e.g., URL-encoded), repeat step 4 with the appropriate decoding method.

Example

Let’s say you find this string in your Burp Suite response:

SGVsbG8gd29ybGQh

Follow these steps:

  1. Send the request to Repeater.
  2. Highlight SGVsbG8gd29ybGQh in the response body.
  3. Right-click and select “Convert selection” -> “Base64 decode”.

Burp Suite will decode it to:

Hello world!

Troubleshooting

Exit mobile version