Best practice for recording login sequences

Burp Suite DAST's recorded login sequence feature enables you to specify login details that Burp Scanner can use when performing authenticated scanning on applications with complex login mechanisms.

While the Burp Suite Navigation Recorder Chrome extension is easy to use in itself, successfully recording a login sequence for a sophisticated authentication mechanism can be a complex process.

We have compiled some advice that should help you record login sequences successfully.

Limitations of recorded login sequences

Although recorded login sequences are intended to handle a wide variety of login mechanisms, they do have some limitations:

Note

Recorded logins do not support CAPTCHA because CAPTCHA systems are specifically designed to deny automated systems such as our recorded login tool. Adding support would likely result in CAPTCHA providers patching the methods we would use to bypass the CAPTCHA mechanism, potentially creating a cycle of us finding CAPTCHA vulnerabilities and providers patching them out.

Tips for recording successful login sequences

These tips will help you to create recorded login sequences that work first time:

Status checker best practices

When configuring the status checker alongside your recorded login sequences, follow these guidelines:

Troubleshooting recorded login sequences for Burp Suite DAST

If Burp Scanner is unable to replay a recorded login sequence during a scan then it cannot perform an authenticated crawl. However, the scan will still run.

If your login sequence does not break any of the limitations for recorded logins, and you have followed all the best practice tips listed above, then you should download the event log for the scan. The log error messages could tell you whether the issue was with the login sequence itself or whether there was a general issue with the browser.

Some log entries may represent temporary failures that were later resolved. For example, if the target site imposes rate limits, you might see entries saying that the crawler was unable to log in. However, it may have logged in successfully later in the scan.

Related pages