the life cycle of a target and the long tail · lesson 2 of 9 · sources checked 2026-11-22
the reconnaissance report
This lesson writes what one target declares and what the own system must have, in one fixed report template.
purpose
Each engineer looks at a new target in a different way, and the notes of one engineer are hard for a second engineer to read. A fixed template puts the same facts in the same place for each target. A second engineer can then read a target fast, and a missing fact is easy to see.
objectives
- List the eight fields of the report template.
- Fill the interface fields of the report from a capture of a lab target.
- Explain why the detection class is a cost and risk input only.
- Describe what reconnaissance traffic shows to the defender of a site.
new terms
- reconnaissance report
- A report in a fixed template that describes how one target is built and protected.
how it works
A reconnaissance report describes one target in a fixed template. It comes after the intake record and before the onboard step. It records two things: what the site declares, and what your own system must have.
the source of each fact
Each fact of the report comes from one of three places:
- A page that the site publishes: the robots file, the terms, and the documentation of an interface.
- A capture in a browser of your own lab target, or of a target whose owner gave permission.
- The intake record: the fields and the volume of the request.
No step of the report tests the protection of a site. For example, the report does not send requests to see when the site refuses them. The detection class comes from what the site shows in a normal visit, or from what the site declares.
the eight fields
The template has eight fields in a fixed order. The diagram shows them. The methods of each field come from earlier modules.
- Render model: where the content of the page comes from.
- Data interfaces: the JSON interfaces, feeds, and sitemaps of the page.
- Entry paths: each entry path to the target pages, for example a list page or a search.
- Flows: each flow from the entry path to the data, with its success criterion.
- Account boundary: which data is behind a login.
- Fields, change, and load: the data fields, the page structure, the change rate, and the site load limit.
- Detection class: the class of protection only.
- Legal flags: the robots.txt file, the terms, personal data, and the inputs of the agreement.
For example, a server render sends the content in the first response. A client render builds it with a script after the first response. More detail is in Render models: server render, client render, hydration, edge-cached shells (not yet published) and Data interfaces behind the page (not yet published).
An account adds cost and legal risk. More detail is in Authentication flows and the account boundary.
the interface fields from a capture
A HAR file is a JSON record of the requests and responses of one browser visit. A script can read it and fill field 2.
For example, a response with the type JSON goes into the list of JSON interfaces. A response with an error status, for example a refused login, is not a data interface. The script keeps the path of each request and drops the host name.
A script cannot fill the other fields. A flow, an account boundary, and a legal flag are decisions of an engineer. Thus the script writes "to fill by the engineer" in each of them.
the detection class
The report names the class of protection, for example "a rate limit" or "a commercial detection product". It does not name the product, and it does not give a way past it. The class is a cost and risk input for the decision of the operator.
A normal visit can show the class, for example a block page or a script that reads the browser. More detail is in Signals, markers, and attribution.
A strong class makes the onboard step slower and the repairs more frequent. It can also be a sign that the site does not want automated collection. Then the report can end with "use the official interface" or "do not start".
what the defender sees
The defender of a site can see reconnaissance traffic before the first collection job. The traffic is cold, wide, and slow:
- Cold: a new visit with no cookies.
- Wide: many paths, with a few requests on each path.
- Slow: a low rate of requests, for example one request each minute.
The traffic also has no purchase and no login.
Each of these traits is a signal for the detection side. The report records the requests of the reconnaissance with their count. Thus the operator can compare that load with the load that the site can carry.
the two sides
| automation side | detection side |
|---|---|
| A report in one template lets a second engineer read a target fast. The methods are the same as in the modules on pages, flows, and signals. The report records what the site declares, and the detection class only as a cost and risk input. | Reconnaissance traffic is cold, wide, and slow: many paths, a few requests on each path, and no purchase or login. A defender can see this pattern before the first collection job. |
design decisions
| option | gain | cost | when it is correct |
|---|---|---|---|
| One fixed template for each target | A second engineer finds each fact in the same place. | A special target can have a free note. | For each target after intake |
| Fill the interface fields with a script | Less manual work, and the same form for each capture | A capture shows only one visit in one browser. | For each lab capture |
| Leave the other fields to the engineer | A judgment stays with a person. | More time for each report | For flows, the account boundary, and the legal flags |
| The detection class as a class only | No step tests or gets past a protection. | The cost estimate is less exact. | Always |
| A capture on your own lab target only | No load on a third-party site, and no question of permission | A lab target is not the real site. | For training and for a first template |
diagram
the reconnaissance report template: eight fields in a fixed order
- Render modelServer render, client render, or hydration: where the content of the page comes from.
- Data interfacesThe JSON interfaces, feeds, and sitemaps that the page uses, and an official interface if one exists.
- Entry pathsThe routes to the target pages: list pages, search, or deep links.
- FlowsThe steps from the entry path to the data, with the success criterion of each flow.
- Account boundaryWhich data is behind a login. The site must give permission for data behind a login.
- Fields, change, and loadThe data fields, the page structure, the change rate, and the load that the site can carry.
- Detection classThe class of protection only, as a cost and risk input. No product name and no way past it.
- Legal flagsThe robots file, the terms, personal data, and the inputs of the agreement, for the attorney of the reader.
code example
The example reads a small synthetic HAR capture of your own lab target. The capture holds the six requests of the section "Data". The script fills field 2 and writes "to fill by the engineer" in each other field.
Fill the interface fields of a reconnaissance report from a synthetic lab HAR capture, with no host name. Leave the other fields to the engineer.
// Fill the interface fields of a reconnaissance report from a small HAR capture.
// The capture is synthetic: six requests of a visit to a lab target.
// The report keeps the path of each request and drops the host name.
type Entry = {
request: { method: string; url: string };
response: { status: number; content: { mimeType: string } };
};
type Har = { log: { entries: Entry[] } };
const TO_FILL = "to fill by the engineer";
const OTHER_FIELDS = ["render_model", "entry_paths", "flows", "account_boundary",
"fields_change_load", "detection_class", "legal_flags"];
function entry(method: string, url: string, status: number, mimeType: string): Entry {
return { request: { method, url }, response: { status, content: { mimeType } } };
}
// The url has no scheme in this synthetic capture: a host name, then the path.
const har: Har = { log: { entries: [
entry("GET", "lab.example/events", 200, "text/html"),
entry("GET", "lab.example/api/events", 200, "application/json"),
entry("GET", "lab.example/api/events", 200, "application/json"),
entry("GET", "lab.example/feed", 200, "application/atom+xml"),
entry("GET", "lab.example/style", 200, "text/css"),
entry("POST", "lab.example/api/login", 401, "application/json"),
] } };
function kindOf(mime: string): string {
if (mime.includes("json")) return "json interface";
if (mime.includes("atom") || mime.includes("rss")) return "feed";
if (mime.includes("xml")) return "xml document (sitemap or feed)";
return "";
}
function pathOf(url: string): string {
const slash = url.indexOf("/");
return slash < 0 ? "/" : url.slice(slash); // drop the host name
}
type Row = { method: string; path: string; kind: string; count: number };
function interfaces(h: Har): Row[] {
const seen = new Map<string, Row>();
for (const { request, response } of h.log.entries) {
// A response with an error status is not a data interface.
if (response.status < 200 || response.status > 299) continue;
const kind = kindOf(response.content.mimeType);
if (!kind) continue;
const path = pathOf(request.url);
const key = `${request.method} ${path}`;
const row = seen.get(key) ?? { method: request.method, path, kind, count: 0 };
row.count++;
seen.set(key, row);
}
return [...seen.values()].sort((a, b) => a.path.localeCompare(b.path));
}
console.log("data_interfaces:");
for (const r of interfaces(har)) console.log(` ${r.method} ${r.path}, ${r.kind}, requests: ${r.count}`);
console.log(`capture_requests: ${har.log.entries.length}`);
for (const name of OTHER_FIELDS) console.log(`${name}: ${TO_FILL}`);output
The data interfaces with their method, path, kind, and count of requests. Then the count of requests in the capture, and the seven fields that the engineer fills.
data_interfaces:
GET /api/events, json interface, requests: 2
GET /feed, feed, requests: 1
capture_requests: 6
render_model: to fill by the engineer
entry_paths: to fill by the engineer
flows: to fill by the engineer
account_boundary: to fill by the engineer
fields_change_load: to fill by the engineer
detection_class: to fill by the engineer
legal_flags: to fill by the engineerThe output shows two data interfaces with their paths and no host name. The login response has an error status, thus it is not in field 2.
data
The table holds six synthetic requests from a capture of a lab target. No row describes a real site. The exercise uses this table.
| request | method | path | response type | status |
|---|---|---|---|---|
| 1 | GET | /events | HTML | 200 |
| 2 | GET | /api/events | JSON | 200 |
| 3 | GET | /api/events | JSON | 200 |
| 4 | GET | /feed | Atom XML | 200 |
| 5 | GET | /style | CSS | 200 |
| 6 | POST | /api/login | JSON | 401 |
The page of request 1 is a list page. The list of events comes from request 2 and request 3, after the first response.
failure modes
| problem | cause | correction |
|---|---|---|
| A second engineer cannot find the flows of a target. | Each engineer writes the report in a different form. | Use the one template with its eight fields in order. |
| The report holds a host name of the lab. | The script copies the full address of each request. | Keep the path only, and drop the host name. |
| The report sends test requests against the protection of a site. | The engineer wants an exact detection class. | Record the class from a normal visit or from what the site declares. |
| An extractor for page HTML is built, but a JSON interface gives the data. | Nobody read the capture for data interfaces. | Fill field 2 from a capture before the onboard step. |
| The data behind a login goes into the plan with no permission. | The report has no field for the account boundary. | Fill field 5, and send the question to the attorney with the legal flags. |
check questions
List the eight fields of the reconnaissance report template, in their order.
sample answer
Render model, data interfaces, entry paths, flows, account boundary, the fields with the change rate and the load, detection class, and legal flags.
A script reads a HAR file of a lab capture. Which field of the report can it fill?
- The flows, with the success criterion of each flow
- The legal flags
- The data interfaces, with the method, the path, and the kind of each interface
answer
c. The data interfaces, with the method, the path, and the kind of each interface
The capture holds the requests and the response types, so a script can fill the data interfaces. A flow, an account boundary, and a legal flag are decisions of an engineer.
Why does the script keep only the path of each request?
- The report must hold no host name of the lab.
- The path is shorter to read.
- The host name changes with each request.
answer
a. The report must hold no host name of the lab.
The report keeps the path of each request and drops the host name.
Explain why the report gives the detection class as a cost and risk input only.
sample answer
The report names only the class of protection. It names no product and gives no way past it, and no step tests the protection of the site. The class tells the operator that the onboard step is slower and that repairs are more frequent. A strong class can also be a sign that the site does not want automated collection.
Describe what reconnaissance traffic shows to the defender of a site.
sample answer
The traffic is cold, wide, and slow. It is a new visit with no cookies, it goes to many paths with a few requests on each, and it has a low rate. It has no purchase and no login. A defender can see this pattern before the first collection job.
exercise
exercise Do this task on paper, with the six synthetic requests of the section "Data". Do not send a request to a site.
- Write field 2 of the report: each data interface with its method, its path, and its kind.
- Write the render model of the list page.
- Write the account boundary from request 6.
- Write two traits of this capture that a defender can see.
sample answer
The answer uses the six synthetic requests of the task.
Field 2 has two rows: GET /api/events, a JSON interface with two requests, and GET /feed, a feed. Request 6 has the status 401, thus it is not a data interface. Request 5 is a style file and not a data interface.
The list of events comes from a JSON interface after the first response. Thus a script in the browser makes the list, and the render model is a client render.
Request 6 is a login with the status 401. Thus some data is behind a login, and the site must give permission for that data. A defender can see many paths with one or two requests on each path, and no purchase.
sources
- My model of the reconnaissance report template and of its eight fields, 2026-11 (not public).