Fingerprinting is almost always the first step of an automated attack. Before trying anything, a bot wants to know what it is dealing with: WordPress, Joomla! or Drupal, which version, which plugins. This sorting lets it choose, from its list of known vulnerabilities, the ones with a chance of working, and skip sites that don't match. The OWASP Web Security Testing Guide (WSTG) devotes a separate chapter of the information gathering phase to it.
How fingerprinting works
Detection tools compare what the site returns with a database of signatures. OWASP mentions several families of clues:
- HTTP headers, such as
X-Powered-ByorX-Generator; - cookies, whose name often gives away the software (
wordpress_logged_in_…); - the HTML code: comments, the
<meta name="generator">tag, software-specific paths; - well-known files and folders, tested one by one;
- error messages that reveal paths or the platform.
Tools such as WhatWeb, Wappalyzer and WPScan automate this work. A bot needs only a few requests to classify a site.

Examples on WordPress
A standard WordPress site is recognized very quickly. The get_the_generator() function outputs the <meta name="generator" content="WordPress x.y"> tag in pages and an equivalent in RSS and Atom feeds, version included. Stylesheets and scripts carry the /wp-content/ and /wp-includes/ paths followed by a ?ver= parameter. The Link header announces the REST API, and many SEO, caching and page builder plugins sign the page code with a comment that gives their name and version. Our article on how bots and Wappalyzer recognize WordPress reviews these signatures one by one.
How to reduce your fingerprint
- Remove the generator tag and the HTML comments left by plugins.
- Remove
X-Powered-By(expose_php = Offin PHP) and make theServerheader less talkative, as OWASP recommends for response headers. - Remove unnecessary technical links (RSD, shortlinks) and close the URLs you don't use, such as XML-RPC.
Stay clear-eyed: OWASP files these measures under security through obscurity. They slow down the least sophisticated bots and reduce noise, but a determined attacker eventually identifies the software. They complement updates without ever replacing them: a vulnerable plugin stays vulnerable, whether it is visible or not. The article Hiding WordPress: what it does and what it doesn't sorts it all out.
For WordPress
WP Feint targets exactly these clues. The free version removes the WordPress mention, the comments and generator tags of known plugins and some technical links; it can also make the site pass for another CMS, so that bots try attacks that have no target there. The plugin's guide spells out its limits: the imitation adds the best-known clues of the announced software, it doesn't reproduce it in full, and a header may be missing on a page served by an upstream cache.