Skip to content

LootTool — Loot Collection

LootTool automates post-exploitation loot collection: downloading exposed files, cracking encrypted artifacts, classifying sensitivity, and building exfiltration archives.

Actions

ActionPurpose
collectDownload files from target using URLs
crackAttempt to crack encrypted files (KeePass, etc.)
classifyClassify file sensitivity
archiveCreate tar.gz of all collected loot
reportGenerate loot inventory report

Sensitivity Levels

LevelLabelExamples
0publicPublicly available information
1internalInternal documentation, non-sensitive
2confidentialBusiness data, internal communications
3restrictedPII, credentials, financial data
4top-secretEncryption keys, root access, crown jewels

Usage

Collecting files

LootTool(
  action="collect",
  target="http://target.com",
  urls=[
    "http://target.com/.env",
    "http://target.com/backup/database.sql"
  ],
  authToken="Bearer eyJ..."
)

Cracking encrypted files

LootTool(
  action="crack",
  files=[
    {"path": "./loot/keepass.kdbx", "type": "keepass"},
    {"path": "./loot/encrypted.zip", "type": "encrypted"}
  ]
)

Classifying files

LootTool(
  action="classify",
  files=[
    {"path": "./loot/.env", "type": "text"},
    {"path": "./loot/database.sql", "type": "sql"}
  ]
)

Creating exfiltration archive

LootTool(action="archive")

Generating loot report

LootTool(action="report")

Loot Flow

  1. Collect — Download accessible files from the compromised target
  2. Crack — Break any encrypted files discovered
  3. Classify — Assign sensitivity levels to every file
  4. Archive — Bundle into a tar.gz for proof-of-impact
  5. Report — Generate inventory with sensitivity classification

Released under the MIT License.