Skip to content
PHASE 12/16OP PROFILE

Technology fingerprinting

Noise
Light active
Reads
http/httpx.jsonhttp/live.txtjs/files/
Writes
tech/httpx-tech.tsvtech/whatweb.txttech/retire.jsontech/cves.md

Scope checkActive phase. Check the program policy first. Send traffic only to in-scope assets, at the rate the program allows.

5 min readRecon Atlas

A version number turns a guess into a lookup, so find out what each host runs, down to the version where you can. That tells you:

  • which wordlists to use in phase 11,
  • which Nuclei templates to run in phase 13,
  • which public CVEs (Common Vulnerabilities and Exposures entries) might apply,
  • and which classes of bugs to expect. A Rails app and a PHP app break in different ways.
Tool Noise Role Status
httpx -td Light active Wappalyzer-style detection during probing, already in http/httpx.json Maintained
Wappalyzer Light active Browser extension, shows stack as you browse Extension maintained; the open-source engine is no longer published
WhatWeb Light active CLI fingerprinter with aggression levels Maintained
Retire.js Passive Flags JS libraries with known vulnerabilities. Runs on local files Maintained
wafw00f Light active Names the web application firewall (WAF) or content delivery network (CDN) in front of a host Maintained
wpscan Light active WordPress core, theme and plugin version scanner Maintained
droopescan Light active Drupal and Silverstripe version and module scanner Works
joomscan Light active Joomla component and version scanner Old, still useful
https://app.example.com Nginx:1.18.0, Ubuntu, React, Express

httpx saw nginx/1.18.0 and Express, and the page looks like React. Ubuntu may have patched that nginx without changing the number in the banner. Do not file the version. Do use the Express tag when you pick wordlists and templates.

A <meta name="generator"> tag or a file named jquery-1.12.4.min.js is a stronger hint than a header, and it can still be leftover from an old deploy. A hash of an unmodified vendor file, or a behavior that only one release has, is what you can trust.

js/files/b7e23a91c0d44f18.js jquery 1.12.4

The local file matches jQuery 1.12.4. It does not mean the app passes attacker input into the $ function or $.getScript. Search the bundle for those calls. If user input never reaches them, the old library is not a report. Programs close version-only findings.

Server: cloudflare

cloudflare or AkamaiGHost names the proxy in front of the site. It does not name the origin stack. Read the rest of the httpx line, and the body, before you pick a wordlist.

A banner of Apache/2.4.6 on CentOS, or OpenSSH_7.4 on Ubuntu, will match a pile of old CVEs in a generic scanner. The distribution often patched the package and left the version string alone. Version-only reports get closed.

Server: Apache/1.3.27 on a host whose behavior is a current Go service is a header someone set on purpose. Believe the behavior.

Retire.js flags a library that sits in a vendor chunk and is never invoked. An unused file is not a bug. The jQuery case above is the check.

whatweb -a 1 sends one request and reads the response. Higher aggression levels request known plugin paths and error URLs. On a perimeter device that extra traffic gets you blocked. Stay at 1 unless you already chose that host for a loud pass.

  1. Read what httpx already found. No new traffic needed.

    Terminal window
    # URL and detected technologies, one host per line
    jq -r '[.url, ((.tech // []) | join(", "))] | @tsv' http/httpx.json > tech/httpx-tech.tsv
    Terminal window
    # Most common technologies across the whole target
    jq -r '.tech[]?' http/httpx.json | sort | uniq -c | sort -rn | head -40
    Terminal window
    # Every host running a given technology
    jq -r 'select(.tech[]? | test("Jenkins|Grafana|Confluence|GitLab"; "i")) | .url' http/httpx.json | sort -u
  2. Second opinion with WhatWeb. Aggression level 1 sends one request per target and reads what comes back.

    Terminal window
    # Stealthy fingerprint of every live host, brief log format
    whatweb -a 1 -i http/live.txt --log-brief=tech/whatweb.txt
  3. Check JavaScript libraries with Retire.js against the files you downloaded in phase 9.

    Terminal window
    # Scan local JS for libraries with known vulnerabilities
    retire --path js/files --outputformat json --outputpath tech/retire.json
  4. Browse with Wappalyzer on. It catches things a single request misses, such as analytics, CMS plugins and front-end frameworks that load late.

  5. Map versions to CVEs. For each product and version pair you trust:

    • search the NVD at nvd.nist.gov and the vendor’s security advisories,
    • check whether a Nuclei template exists: nuclei -tl -tags <product> lists templates for that product,
    • check the CISA Known Exploited Vulnerabilities catalog for that product, which tells you what attackers use,
    • look for public write-ups or exploits, and read them before running anything.

    Record each match in tech/cves.md with the evidence for the version.

Knowing the WAF in front of a host tells you why requests get blocked and shapes every later phase. wafw00f names it from the response fingerprint.

Terminal window
# Identify the WAF or CDN on each live host
wafw00f -i http/live.txt -o tech/wafw00f.txt

A named WAF means content discovery and scanning need lower rates and, often, the origin-behind-CDN work in phase 4. No WAF on an origin is itself worth noting.

When fingerprinting names a CMS, its dedicated scanner enumerates the versioned plugins and themes where the real bugs live. Run only against the matching CMS, at a polite rate.

Terminal window
# WordPress: enumerate vulnerable plugins and themes (add --api-token for CVE data)
wpscan --url https://blog.example.com --enumerate vp,vt --rua --throttle 500
Terminal window
# Drupal: version and module enumeration
droopescan scan drupal -u https://cms.example.com
Terminal window
# Joomla: component and version scan
joomscan --url https://portal.example.com

A favicon is often unique to a product or framework, so its hash can name the stack even when headers are stripped. Hash it with httpx, then match the hash against a known-hash database such as the one FavFreak ships, or the favicon datasets in Shodan and FOFA.

Terminal window
# Favicon hash for a host, then pivot on it as in phase 1
httpx -u https://app.example.com -favicon -silent

A match on a known hash tells you the product, for example a specific admin panel or appliance. Searching the same hash through Shodan http.favicon.hash finds more of the target’s estate.

  • Technology tags select Nuclei templates in phase 13. nuclei -as uses detected tech to pick templates automatically.
  • tech/cves.md is a shortlist for manual verification.
  • Stack knowledge feeds back into wordlist choice in phase 11.
  • Reporting “outdated version” without a working impact. Most programs reject version-only reports.
  • Running exploits from GitHub without reading them. Some are broken, some are destructive, a few are malware.
  • Ignoring client-side libraries. An old jQuery or Angular can turn an injection point into XSS.
What to look for
  • Self-hosted products with a history of serious CVEs: Jenkins, GitLab, Confluence, Jira, Grafana, Citrix, Fortinet, Ivanti, MOVEit
  • Content management systems (CMSs) with plugins: WordPress, Drupal, Joomla. The plugins are where the bugs are
  • Debug-friendly frameworks in production: Laravel with debug on, Django debug pages, Spring Boot actuators
  • Mixed stacks on one domain, such as a PHP path under a Node app, which suggests a legacy service behind a reverse proxy
  • Old JS libraries flagged by Retire.js next to user input
  • Session cookie names that name the framework: PHPSESSID, laravel_session, JSESSIONID, connect.sid (Express), csrftoken and sessionid (Django), ci_session (CodeIgniter)
  • Framework headers: X-Powered-By, X-AspNet-Version, X-Drupal-Cache, X-Generator, X-Rack-Cache

Next, run narrow Nuclei scans chosen for each stack in phase 13.

Connections7 backlinks · 4 outgoingFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Recon AtlasFor authorized testing only. Your scope is the map edge.