Pedro Reis

Web Application Reconnaissance & OSINT

30 May 2022 · osint, reconnaissance, dns-enumeration, web-security

Overview

An open-source intelligence exercise focused on the reconnaissance phase of a security assessment — the part that happens before any active testing. The goal was to profile a live WordPress-based web application entirely from publicly available information: finding it, mapping its infrastructure, and identifying weaknesses, all without sending anything that could be considered an attack.

Target details are anonymised here. The subject was a public-sector WordPress site identified through search operators; everything below describes the methodology, not the specific organisation.

What I did

Target discovery with Google Dorks. Using search operators such as site:*.pt index of:wp-content, I surfaced Portuguese WordPress installations exposing directory listings — a technique that finds real, live applications through nothing more than a search engine.

Version and surface filtering. From the candidates, I selected an application running a WordPress version with known vulnerabilities and enough subdomains to be worth mapping, confirming the subdomain count through DNS reconnaissance.

Network path enumeration. A traceroute (mtr) mapped every hop between my machine and the target’s web server, identifying the intermediate networks and their owners.

Domain registration lookup. A WHOIS query pulled the domain’s registration, expiration, and last-update dates, and the responsible name servers.

Subdomain enumeration and tool comparison. I ran the domain through Amass, AssetFinder, and DNSdumpster, comparing their coverage and speed against each other rather than trusting a single source.

Technology fingerprinting. For the discovered subdomains, I enumerated the web technologies and versions in use (WordPress and jQuery versions), then searched public vulnerability databases to tie those versions to specific known CVEs.

What I learned

Reconnaissance is where an assessment is won or lost, and almost all of it is passive — the target never knows it’s being profiled. The exercise also made the ethics concrete: the same techniques that map an attack surface for a defender can be misused, which is exactly why the authorisation and anonymisation around this kind of work matter as much as the technique itself.

← Back