pentesting, updated
Map the application architecture
Work out the components behind the app: database, auth model, reverse proxies, firewalls and WAFs.
Goal
Understand the moving parts behind the application, so later tests account for proxies, WAFs and the auth/authorization model.
How to test
Infer the pieces from behaviour:
- Database — error messages, injection responses, ORM markers.
- Authentication method — form login, SSO/SAML, OAuth, basic/NTLM.
- Authorization model — roles and what each can reach.
- Reverse proxy / load balancer — header ordering,
Via,X-Forwarded-*, differing server banners across requests. - Firewall / WAF — detect with
wafw00f https://example.com; probe with a benign payload and watch for block pages or406/403on specific patterns.
What to look for
A rough component diagram: what sits in front (CDN/WAF/proxy), what the app runs on, where state lives, and how auth and roles are enforced.
Notes
A WAF changes how every later injection test behaves — identify it now so you plan encoding and evasion (within scope) rather than being surprised later.
References
- OWASP WSTG-INFO-09 — Map Application Architecture.
- Related: fingerprint framework.