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.
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 |
What a fingerprint proves
Section titled “What a fingerprint proves”Nginx banner on Ubuntu
Section titled “Nginx banner on Ubuntu”https://app.example.com Nginx:1.18.0, Ubuntu, React, Expresshttpx 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.
Retire.js hits jQuery
Section titled “Retire.js hits jQuery”js/files/b7e23a91c0d44f18.js jquery 1.12.4The 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.
Edge header
Section titled “Edge header”Server: cloudflarecloudflare 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.
Convincing duds
Section titled “Convincing duds”Backported package string
Section titled “Backported package string”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.
Banner that names the wrong server
Section titled “Banner that names the wrong server”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.
Library the bundle never calls
Section titled “Library the bundle never calls”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.
Trade-offs
Section titled “Trade-offs”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.
Step by step
Section titled “Step by step”-
Read what httpx already found. No new traffic needed.
Terminal window # URL and detected technologies, one host per linejq -r '[.url, ((.tech // []) | join(", "))] | @tsv' http/httpx.json > tech/httpx-tech.tsvTerminal window # Most common technologies across the whole targetjq -r '.tech[]?' http/httpx.json | sort | uniq -c | sort -rn | head -40Terminal window # Every host running a given technologyjq -r 'select(.tech[]? | test("Jenkins|Grafana|Confluence|GitLab"; "i")) | .url' http/httpx.json | sort -u -
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 formatwhatweb -a 1 -i http/live.txt --log-brief=tech/whatweb.txt -
Check JavaScript libraries with Retire.js against the files you downloaded in phase 9.
Terminal window # Scan local JS for libraries with known vulnerabilitiesretire --path js/files --outputformat json --outputpath tech/retire.json -
Browse with Wappalyzer on. It catches things a single request misses, such as analytics, CMS plugins and front-end frameworks that load late.
-
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.mdwith the evidence for the version.
WAF detection
Section titled “WAF detection”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.
# Identify the WAF or CDN on each live hostwafw00f -i http/live.txt -o tech/wafw00f.txtA 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.
CMS-specific scanners
Section titled “CMS-specific scanners”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.
# WordPress: enumerate vulnerable plugins and themes (add --api-token for CVE data)wpscan --url https://blog.example.com --enumerate vp,vt --rua --throttle 500# Drupal: version and module enumerationdroopescan scan drupal -u https://cms.example.com# Joomla: component and version scanjoomscan --url https://portal.example.comFavicon hash lookup
Section titled “Favicon hash lookup”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.
# Favicon hash for a host, then pivot on it as in phase 1httpx -u https://app.example.com -favicon -silentA 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.
How the output feeds the next phase
Section titled “How the output feeds the next phase”- Technology tags select Nuclei templates in phase 13.
nuclei -asuses detected tech to pick templates automatically. tech/cves.mdis a shortlist for manual verification.- Stack knowledge feeds back into wordlist choice in phase 11.
Common mistakes
Section titled “Common mistakes”- 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.
- 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),csrftokenandsessionid(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.
Open local graph around this page
Linked from here
Recon AtlasFor authorized testing only. Your scope is the map edge.