Phase 05.05 · Proving It Mattered

Looting: Evidence of Impact

A shell is not a finding. Until you can show what that access reaches, a defender can wave it away — "so what if you got a foothold on a test box?" Looting is the discipline of collecting the proof that the access matters: the evidence that turns "theoretically exploitable" into "here is your customer database." For a penetration tester this is about impact, not theft — and the difference between those two words is the entire lesson.

00

Why looting exists

You have a shell. You escalated to administrator. You moved laterally to the file server. None of that, on its own, ends an argument — because a finding without demonstrated impact is easy to dismiss. The person who has to fund the fix will ask the only question that matters to a business: so what? So what if you got code execution on a server nobody important uses? So what if you have an account, if that account can't touch anything sensitive?

Looting answers that question with evidence. It is the act of going from access to proof of consequence — demonstrating, concretely, that the foothold you established leads to something the organization cares about losing: regulated customer records, source code, financial data, the credentials that unlock the rest of the estate. The word "looting" is borrowed from the attacker's playbook, but the tester's goal is inverted. A real intruder loots to profit. You loot to prove — to make the risk undeniable so it actually gets fixed.

Impact, not theft. The deliverable of looting is not a copy of the data. It is the demonstration that you could have taken it. Everything in this lesson follows from holding that line: you are building a case, not a stolen archive.
Lesson
05.05
Phase
Post-Exploitation
Feeds into
Reporting
01

The ethical line

This is the heart of the lesson, so it comes before any technique: demonstrate impact without causing harm. Your job is to prove you could reach sensitive data — not to exfiltrate the real, sensitive data itself. The moment you copy a live table of customer records out of the environment to "show" you had access, you have stopped testing and started breaching. You have created the exact loss you were hired to prevent, and you may now be holding regulated data you have no lawful basis to possess.

The proof and the harm are separable, and a professional always takes the proof without the harm. Instead of downloading a table of real customer records, you capture the smallest artifact that makes the point:

The hard rules around all of this: never remove real PII, PHI, or financial data from the client environment, and stay strictly inside the agreed scope. A reckless "loot" is not a clever flex — it can itself become a reportable breach, with the tester as the cause. When you are unsure whether an action crosses the line, the answer is to capture less, not more.

The test. Before you collect anything, ask: "If this artifact leaked, would it harm a real person or the client?" If the honest answer is yes, you are about to exfiltrate, not document. Find the redacted, counted, or schema-only version that proves the same point.
02

What makes good evidence

Good evidence is convincing and safe at the same time. It shows a skeptical reader that the access is real, what it reaches, and how serious that is — while never becoming a liability in your own hands. The strongest reports pair each claim of access with a specific, captured artifact. A few of the workhorses:

EvidenceProvesHow to capture safely
Shell + identityCode execution and your privilege level on the target.Screenshot the prompt showing whoami (or id) alongside the hostname. Root or SYSTEM in that output is the proof; no sensitive data is touched.
Sensitive share / database accessReach — the foothold leads to data that matters.Capture a redacted view, a directory listing, or a COUNT(*). Show the schema and scale, not the contents.
Recovered password hashesCredential exposure and the path to wider compromise.Record that hashes were obtained and from where. Handle them securely; never crack or reuse them out of scope.
Config & secret filesFurther compromise paths — keys, tokens, connection strings.Screenshot the file's existence and the type of secret, with the secret value masked. The location proves the exposure.

Notice the pattern: in every row the proof is the context — whose machine, what privilege, what kind of data, at what scale — not the raw secret itself. A redacted screenshot of a million-row table beats a stolen copy of that table on every axis that matters: it is more ethical, more defensible, and just as persuasive to the person deciding whether to fund the fix.

03

Capturing it cleanly

Evidence is only as good as its provenance. A blurry, undated screenshot with no command context is easy to argue with; a clean, reproducible record is not. Build every artifact so a defender can trust it and retrace it:

Some of what you collect is itself dangerous to hold. Credential material — password hashes, API tokens, session cookies, private keys — must be handled like the live ammunition it is: stored encrypted, transmitted only over secure channels, never pasted into a chat or a ticket in the clear, and destroyed after the report is delivered and accepted. You are a temporary, accountable custodian of this material, not its owner.

This is raw material, not the product. Everything you capture here becomes the backbone of the report. Clean, timestamped, command-anchored evidence is what lets the reporting phase tell a credible story — messy evidence forces you to either weaken the finding or go back and re-run it.
04

The defensive flip

Every looting step you just performed is also a checklist of controls that should have stopped it. Turning the engagement around, the defenses that blunt this stage are the ones the report should recommend:

Read together, these controls describe defense in depth around the data itself: minimize what exists, encrypt what remains, restrict who can reach it, and watch for anyone who tries. A mature environment forces a tester to work hard for thin evidence — and that difficulty is precisely the result a good program is trying to produce.

By this point you have your proof. The job is not finished: you still have a foothold, planted artifacts, and changes on the client's systems that do not belong there. Next, we account for all of it and put the environment back the way we found it — the discipline of post-engagement cleanup.