What a website pentest really tests
An automated scanner lists outdated software versions. A pentester goes further: they chain vulnerabilities the way an attacker would. A poorly protected search field gives access to the database, the database gives accounts, an account gives control of administration.
- Authentication: weak passwords, bypassed two-factor authentication, sessions that don't close.
- Access rights: a customer viewing another customer's data by changing a number in the URL.
- Injections: SQL, malicious scripts (XSS), sending rigged files.
- Configuration: files left online, accessible backups, missing security headers.
- Business logic: price modified before payment, promo code usable a hundred times.
At White Hat, automated pre-audits serve as a first step: 3,080 pre-audits completed out of 5,079 scans launched. They spot the obvious. Manual testing finds what actually pays for an attacker. Duration, deliverables and price for an initial assessment: see the website security audit.
Black box, grey box or white box: which to choose
The mode determines what the tester knows before starting.
- Black box: no information, like a stranger on the Internet. Useful for measuring public exposure.
- Grey box: a user account provided. This is the best value for money for an SME, because most serious vulnerabilities hide behind login.
- White box: access to code and architecture. The most comprehensive, reserved for critical applications.
The process remains the same. You sign a quote and precise scope, the test takes place during agreed time slots, you are alerted immediately if a critical vulnerability is found, then you receive the report.
A good report contains a summary readable by an executive, each vulnerability classified by severity with proof, and corrections to make in order. After correction, a retest confirms the hole is closed. If you also need to comply with NIS2, read NIS 2: is your SME or mid-market company concerned and the NIS2 audit page.
Questions to ask before signing
Is the scope in writing?
Yes, or don't sign. Domains, applications, exclusions, test hours and emergency contact must be in the contract. A serious tester never attacks a site without a signed mandate.
Who is doing the test?
Ask for the name of the person at the keyboard, not just the company. With a freelance pentester, it's the same person from quote to report.
Is the report usable by your developer?
It must provide proof, impact, and correction for each vulnerability. An 80-page scanner export is not a pentest report.
Is a retest planned?
Without it, you don't know if the fixes hold.
What if the site is already under attack?
Don't test: handle the incident first. Follow the first 72 hours after a breach, then schedule the test.
Conclusion
A pentest doesn't make a site invulnerable. It tells you what an attacker would find, in what order to fix it, and leaves you written proof of your diligence. To frame a test on your site, describe your scope: quote signed before any action. Scope, duration and price of a test: see the web application pentest page, or the IT security audit page for a broader assessment.
Request a security audit
Read more