Playbooks
To help enterprise security teams rapidly convert platform capabilities into operational outcomes, this guide outlines three battle-tested playbooks: Perimeter Reconnaissance & Baseline Construction, Zero-Day Emergency Verification, and Hybrid Multi-Cloud Distributed Probing.
Playbook 1: External Perimeter Baseline Construction
Step 1: Create Project and Ingest Root Domains
- Navigate to "Projects" → "New" and create a project (e.g.,
Corporate External Perimeter Audit). - Switch to this project using the top project selector.
- Under "Assets" → "Domains" → "New", enter all registered root domains (
example.com,example.org).
Step 2: Launch the Asset Discovery Workflow
- Go to "Recon & Automation" → "Automation Studio" → "Workflows" and locate the pre-packaged
Full Asset Discoveryworkflow. - Click "Run", selecting your newly entered root domains as inputs.
- The engine automatically orchestrates the multi-stage pipeline:
- Subdomain Enumeration: Subfinder runs across passive sources, discovering thousands of candidate subdomains.
- DNS Validation & IP Aggregation: Wildcard DNS responses are pruned; valid A/AAAA records resolve to distinct IP blocks.
- Port & Service Discovery: High-speed port probing identifies exposed listening services.
- Web Signatures: Live HTTP endpoints are crawled for headers, tech stacks, titles, and Favicon hashes.
Step 3: Configure Automated Tagging Rules
- Under "Asset Config" → "Tag Management":
- Rule 1: When page title contains
AdminorConsole, apply tagCoreAdmin. - Rule 2: When server header matches
ShiroorSpringBoot, apply tagJavaWeb.
- Rule 1: When page title contains
- New assets arriving from scans are immediately categorized for prioritized vulnerability triage.
Step 4: Explore the Topology Graph
Open "Projects", enter the project workbench and switch to the "Asset Graph" tab to inspect the visual relationship map linking Companies $\rightarrow$ Domains $\rightarrow$ Subdomains $\rightarrow$ IPs $\rightarrow$ Web Endpoints.
Playbook 2: Zero-Day Emergency Ingestion & Verification
When a critical remote code execution flaw breaks in widely deployed middleware (e.g., Apache OFBiz / Spring RCE), security operations must locate affected assets and verify PoCs within 30 minutes.
Step 1: Query Cyberspace Engines
- Open "Cyberspace Search" → "Search Config".
- Select your configured engine (e.g., FOFA, Hunter, Shodan) and enter the fingerprint syntax:text
app="Apache-OFBiz" && country="CN" - Review matching hosts belonging to your organizational IP/domain allocations.
Step 2: One-Click Asset Ingestion
- Select the relevant search hits and click "Import Selected".
- Choose your active incident response project. TestNet normalizes addresses, deduplicates entries, and registers them into the active inventory.
Step 3: Dispatch Dedicated Verification PoCs
- In "Workflows", run the built-in
Full Auto Scanworkflow (which includes a Nuclei node) or build a dedicated workflow, specifying the emergency 0-day YAML template in the Nuclei node parameters. - Target the freshly ingested Web assets and click "Run".
- Distributed probe nodes execute non-destructive PoC checks in parallel across all candidate hosts.
Step 4: Incident Triage & Alerts
- Confirmed vulnerable endpoints automatically flow into the Vulnerabilities table with severity ratings and PoC evidence.
- Pre-configured notification rules immediately push formatted incident summaries to WeCom (Enterprise WeChat) / DingTalk ops groups via Webhooks.
Playbook 3: Distributed Hybrid Cloud & On-Premises Probing
Enterprise attack surfaces frequently span multi-cloud environments, private data centers, and corporate office networks. TestNet orchestrates heterogeneous probe nodes with ease:
┌──────────────────────────────┐
│ TestNet Server (Cloud) │
└──────────────┬───────────────┘
│ HTTP Long-Polling Keep-Alive
┌────────────────┴────────────────┐
▼ ▼
┌──────────────────────────────┐ ┌──────────────────────────────┐
│ Public Probe (AWS Tokyo) │ │ Private Probe (On-Prem VM) │
│ Whitelist: recon & subdomain │ │ Whitelist: HTTP/TCP probes │
│ Role: Cyberspace, OSINT Sub │ │ Role: 10.0.0.0/8 Port Sweep │
└──────────────────────────────┘ └──────────────────────────────┘Key Deployment Insights
- Outbound-Only NAT Traversal:
- Client nodes connect back to TestNet Server via HTTP long-polling. No inbound public ports or complex firewall exceptions are required.
- Node Workload Separation via Tool Whitelists:
- Under "Scanning Nodes" → "Configure", assign a tool whitelist per probe to separate workloads: keep recon and subdomain-collection tools on the public probe, and HTTP/TCP probing tools on the internal probe.
- Once restricted, the dispatcher only assigns tasks for whitelisted tools to the matching probe, preventing internal probes from receiving external scanning jobs.
- Defense-in-Depth Probe Isolation:
- Probe nodes enforce a 90-binary whitelist and volume mount restrictions. When deploying to untrusted networks, set
allow_ssrfandallow_privilegedtofalsein the probe'sconfig.yamlto enable internal-range blocking and privileged-container defenses. See Node Sandbox & Security Policies.
- Probe nodes enforce a 90-binary whitelist and volume mount restrictions. When deploying to untrusted networks, set
Scenario 4: Continuous Asset Monitoring & Weekly Security Reports
The biggest enemy of an asset inventory is "built once, then abandoned": new services go live unnoticed and decommissioned assets linger. Combining cron-triggered workflows + notification rules + the Project Workbench, TestNet can run a zero-headcount continuous monitoring and weekly reporting loop:
Step 1: Set Up Recurring Inspection Workflows
- Create one inspection workflow per core asset domain (e.g., the
Domain Recon Pipeline— subdomain discovery + web probing), settrigger.typetoCRONin the trigger config, and fill in the 6-field cron expression to match your cadence (e.g., every Monday 08:00). - For fast-moving inventories, add a
Deep Asset Monitor-style workflow to diff asset changes on a daily granularity. - Workflows are enabled once saved; for temporary maintenance, switch the workflow to
DISABLEin the list to pause scheduling without deleting the definition.
Step 2: Subscribe to Change Notifications
- Configure email/Webhook channels under "System" → "System Config" (Webhooks work with WeCom, DingTalk, and Lark bots).
- Under "Asset Config" → "Notification Linkage", subscribe to the
NEW_ASSET(new asset ingested) andNODE_OFFLINE(probe offline) events so fresh assets and monitoring blind spots reach the ops channel immediately. - New vulnerabilities found by inspections are pushed via the vulnerability notification rules; subscribing to
WORKFLOW_FAILEDalso alerts you when an inspection itself misbehaves.
Step 3: Produce the Weekly Report at the Monday Meeting
- Open "Projects" → the Project Workbench: the top section aggregates key metrics and growth trends across the 8 asset types — a screenshot is your report material.
- In the "Run Center", filter this week's workflow run records and confirm every inspection pipeline finished cleanly (anything other than
COMPLETED/PARTIALdeserves a click-through). - Filter this week's new assets by tag (e.g., "Pending Review"), assign an owner for the first security assessment, and close the loop.
Key Points
- Inspection output is ingested and deduplicated exactly like manual runs, so the inventory won't bloat; duplicate assets merge attributes and refresh "last discovered".
- A probe going offline fires
NODE_OFFLINE: the most common cause of "silent inspection failures" is a dropped node — check the Scanning Nodes page for offline nodes before compiling the report. - To inspect only specific asset types, scope them via
assetTypesin the trigger config; finer filtering belongs in node input bindings andwhenconditions.