Principle:7onez Cti expert DOM Artifact Extraction
| Knowledge Sources | |
|---|---|
| Domains | OSINT, Web_Collection |
| Last Updated | 2026-10-28 14:00 GMT |
Overview
Method for extracting owner-attributable artifacts from a web page's HTML/DOM by combining direct extraction, JS-bundle analysis, and asset-layer probing, with boilerplate filtering and archive-unwrap normalization.
Description
DOM Artifact Extraction addresses the problem of surface-level collection: a naive collector reads meta tags and visible text, but misses the artifacts that actually attribute an operator. The principle identifies multiple extraction layers that must be combined:
1. Direct extraction: meta tags, trackers (GA4/GTM/UA), Sentry DSNs, SaaS IDs, crypto addresses, token contracts, emails, social links, Telegram/WhatsApp contacts, phones, footer text, and prose selectors (copy-pasted disclaimers that survive re-skins).
2. Asset layer: JS bundles and their source maps. On an SPA kit the shell HTML is empty and ALL operator config lives in the bundles. The extractors are re-run over the bundle source and results merged with provenance kept in `assets.js_derived`.
3. Boilerplate filtering: platform-owned artifacts (e.g. Wix Sentry DSNs) are dropped — they are boilerplate, not the operator. This prevents false attribution to the platform.
4. Archive unwrap: Wayback/archive wrappers are unwrapped so the original site is treated as the origin, not the archive host.
Usage
Use this principle when designing web collection tools where:
- The page's own HTML is insufficient — JS bundles carry the operator config on SPAs.
- Platform boilerplate must be distinguished from operator artifacts to prevent false attribution.
- Archived pages must be normalized so the original site is the origin.
- Artifacts must carry provenance so the KB knows which came from the page vs. the bundle.
Theoretical Basis
The principle is a multi-layer extraction with provenance merge. Each layer extracts independently and results are merged, keeping provenance. The key invariant is that a merged artifact from the JS bundle is never confused with one from the page HTML — the KB records the source layer.
# Abstract algorithm (NOT real implementation)
def extract(html, base_url, assets):
artifacts = direct_extract(html) # layer 1: page HTML
if assets:
js_derived = extract_from_bundles(assets) # layer 2: JS bundles
artifacts = merge(artifacts, js_derived, provenance="js_derived")
artifacts = drop_boilerplate(artifacts) # layer 3: platform filter
base_url = unwrap_wayback(base_url) # layer 4: normalize origin
return artifacts
The boilerplate filter is a denylist approach: known platform artifacts (Wix Sentry DSNs, shared CSS hashes) are explicitly dropped. This is more conservative than an allowlist — it risks false negatives (dropping a real operator who happens to use Wix) but prevents false positives (attributing every Wix site to one operator).
Related Pages
Implemented By
- Implementation:7onez_Cti_expert_WP_Analyze_Analyze
- Implementation:7onez_Cti_expert_Collect_One
- Implementation:7onez_Cti_expert_Intel_Cmd_Open
Used By Workflow
- Workflow:7onez_Cti_expert_Domain_Investigation (Step 3: Collect Phase)
- Workflow:7onez_Cti_expert_Deterministic_Case_Pipeline (Step 1: Open Case and Seed Collection)