Web application penetration testing

Reconocimiento y recolección de información

Web Application Firewall (WAF)
wafw00f <target>
nuclei -u <target> -t dns/dns-waf-detect.yaml,http/technologies/secui-waf-detect.yaml,http/technologies/waf-detect.yaml -ts -silent
Domain Name System (DNS)
dig any <target> @<dns-server>
dnsrecon -d <target>
nuclei -u <target> -t dns -ts -silent
Subdominios y Virtual Host (VHost)
# Subdominios
subfinder -d <target> -recursive -all -silent | alterx -en -silent | dnsx -silent -o subdomains.txt
dnsx -d <target> -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -silent -o dnsx-subdomains.txt
ffuf -u http://FUZZ.<target>/ -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt:FUZZ -c -o ffuf-subdomains.html -of html
# Virtual Host (VHost)
ffuf -u http://<target>/ -w <path-wordlist>:FUZZ -H 'Host: FUZZ.<target>' -fs <size> -c -o ffuf-vhost.html -of html
SSL/TLS y algoritmos de cifrados
sslscan <target>
nuclei -u <target> -t ssl -ts -silent
Tecnologías web
whatweb -v -a 1 <target>
nuclei -u <target> -t http/technologies -ts --silent
Otros
  • Revisión de archivo robots.txt.

  • Revisión de código fuente.

    • Meta tags de HTML.

    • Titulo y pie de página (footer).

    • Comentarios.

    • Funciones y endpoints/APIs en archivos JavaScript.

Escaneo y enumeración

HTTP security headers
Redireccionamiento estricto de HTTP a HTTPS
Crawling y spidering
Fuzzing
Escaneo automatizado
  • Burp Suite Professional.

  • Nuclei.

  • OWASP Zed Attack Proxy (ZAP).

  • Nessus.

Explotación

Última actualización

¿Te fue útil?