ProfessionalCommunity Edition

Enumerating identifiers

  • Last updated: December 3, 2024

  • Read time: 2 Minutes

Web applications often use identifiers to refer to items of data or resources, such as:

  • Usernames and passwords.
  • Document IDs.
  • Account numbers.

You can use Burp Intruder to enumerate valid or interesting identifiers from a large number of potential items.

Step 1: Find a request

Find a request that contains an identifier in a parameter, and that has a response with interesting data about the identifier.

Step 2: Set a payload position

Configure a single payload position at the parameter's value.

Setting the payload positions

Step 3: Set a payload type

Use a suitable payload type to generate potential identifiers to test, using the correct format or scheme. Start the attack.

Setting the payload type enumerating

Step 4: Analyze the results

Sort the attack results based on various attributes to identify any anomalous results. This will allow you to infer valid identifiers. For example, a valid identifier may return a different HTTP status code.

Setting the payload type

Note

If a valid identifier returns a response containing a specific expression, you can define a match grep item to identify responses that contain this expression. For example, you could search for phrases such as "password incorrect" or "login successful" to locate successful logins. For more information, see Burp Intruder attack settings.

Use cases

You can configure your attack to enumerate a huge variety of identifiers, for example:

  • Enumerate usernames - Use the username generator payload type to insert a long list of possible usernames into an application's login failure message.
  • Enumerate passwords - Use the simple list payload type to insert a set of common passwords into an application's login failure message, alongside known valid usernames.
  • Enumerate order IDs - Use the custom iterator payload type to cycle through potential order IDs in a known format. You can then use these to view order details.
  • Enumerate session tokens - Use the bit flipper payload type to systematically modify a token that has been encrypted using a CBC cipher, to try to meaningfully tamper with its decrypted value.

Related pages

Was this article helpful?