Armory sends many requests from one template. Each request puts a different value from a wordlist into the template. Use it to try many user IDs, paths, or payloads, then find the response that stands out.

An Armory run grouped by response length, with one outlier

Make a template

  1. In the Ledger, right-click a request and select Send to Armory.

    Marasi makes a new template that holds the request.

  2. Open Armory and select the new template.

  3. Put a marker around each value that you want to change. Wrap the original value in two @@:

    GET /v1/users/@@1007@@ HTTP/1.1
    Host: api.example.com

    The original value is the fallback. Armory uses it when a marker does not get a value from a wordlist.

  4. Click Save.

Add a wordlist

A wordlist is a text file with one value on each line. All projects share the same wordlists.

  1. Add the file with the CLI:

    marasi wordlist add ./user-ids.txt

    The command moves the file into the Marasi wordlists folder. Copy the file first if you want to keep the original.

  2. In Armory, click Add wordlist and select the file.

Change a value before it goes in

You can add helpers after a marker to change each value before Armory puts it into the request. Armory applies them from left to right, so you can chain them.

@@1007@@.base64()
@@Sam Rivera@@.lower().urlencode()
Helper What it does to the value Admin User becomes
upper Changes it to upper case ADMIN USER
lower Changes it to lower case admin user
reverse Reverses the characters resU nimdA
trim Removes spaces at the start and end Admin User
base64 Encodes it as Base64 QWRtaW4gVXNlcg==
hex Encodes it as hexadecimal 41646d696e2055736572
sha256 Replaces it with its SHA-256 hash, in hexadecimal 07b74567… (64 characters)
urlencode Encodes it for a query string. A space becomes +. Admin+User
pathescape Encodes it for a URL path. A space becomes %20 and / becomes %2F. Admin%20User
raw Turns off escaping in gRPC message bodies Admin User

Pick an attack type

The attack type decides how Armory combines your markers and wordlists. This example shows what each type sends from one template and two short lists:

Templateuser=@@sam@@&pass=@@secret@@
List 1admin root
List 21234 toor

harpoon list 1 · 4 requests

user=admin&pass=secret user=root&pass=secret user=sam&pass=admin user=sam&pass=root

One marker at a time. The other marker keeps its fallback.

broadside list 1 · 2 requests

user=admin&pass=admin user=root&pass=root

The same value in every marker.

tandem lists 1 and 2 · 2 requests

user=admin&pass=1234 user=root&pass=toor

The lists move together, value by value.

maelstrom lists 1 and 2 · 4 requests

user=admin&pass=1234 user=admin&pass=toor user=root&pass=1234 user=root&pass=toor

Every combination of the lists.

Some examples of when to use each one:

  • Use harpoon to test one parameter, or to test several parameters one by one.
  • Use broadside when the same value must appear in several places, such as a user ID in the path and in the body.
  • Use tandem for pairs that belong together, such as user names and their passwords.
  • Use maelstrom to try every user name with every password.

Run the template

  1. Select the Attack type.
  2. In Concurrency, set how many requests Armory sends at the same time, from 1 to 100.
  3. Click Launch.

The run shows under the template on the left. Its requests fill the table at the bottom.

To pause a run, hover over it in the list and click Pause run. To continue, click Resume run. Armory sends the rest of the requests, with none lost or sent twice.

Find the response that is different

Set Group by to Status or Length. Armory puts requests with the same status code or the same response length into one group, with the smallest groups first. A group that holds only one request gets a mark. That request is usually the one to look at.

To keep a result, right-click the request. You can send it to Launchpad or link it to a finding.

Next step

Record findings and export a report with Logbook.