
Adopt an offensive security mindset for developers and master web and API penetration testing, the OWASP Top Ten vulnerabilities, HTTP headers, JSON, web tokens, and practical secure coding.
Explore the overview of web penetration testing, including information gathering, scanning, enumeration, mapping the target surface, and the distinctions among security audit, vulnerability assessment, and penetration testing.
Begin with information gathering, comparing black box, white box, and gray box approaches. Gray box offers the best balance, using passive and active techniques like search engines and subdomains.
Discover how to gather target information using search operators, caches, and nslookup; identify sites on the same IP and uncover leaked credentials on pastebin.
Explore how Shodan, Webalizer, and BuiltWith identify technologies across websites, enabling attackers to target vulnerable servers, scan by host or IP, and exploit weak libraries and plugins.
Perform active information gathering through scanning and enumeration with tools like Nmap and Nikto to identify live hosts, open ports, service versions, OS, and perform banner grabbing.
Map and analyze a web app by spidering traffic with Burp, identifying server technologies, entry points, and error messages to map vulnerabilities to business logic.
Demonstrates a reflected cross-site scripting attack on a vulnerable DVWA web app by exploiting unsanitized get parameters to steal cookies and hijack sessions.
Demonstrate stored cross-site scripting via a vulnerable comment form using beef, and explain fixes through server-side validation and output encoding to prevent attack vectors.
Demonstrates cross-site request forgery and session riding to force password change using forged requests and cookies. Explains clickjacking and open redirects, and how csrf tokens and http headers prevent them.
Examine OS command injection on servers, showing how attackers use shell_exec, ping, and netcat reverse shells; explore path traversal and file inclusion exposing config files and passwords.
Investigate how SMTP injection via contact forms enables attackers to craft multi-recipient emails, bypass CAPTCHA, and spawn spam, then learn input validation and regex checks to prevent it.
Prevent brute force and username enumeration with strong passwords, CAPTCHA, and rate limiting. Protect credentials in transit and at rest with TLS and proper hashing.
Explore SQL injection techniques, including error-based and blind variants, union-based data extraction, and potential read/write or OS command escalation, with OWASP-based prevention guidance.
Learn to use sqlmap to identify and exploit sql injection in a MySQL database, dump user data and hashes, crack passwords, and deploy a PHP backdoor or shell.
Explore the OWASP top ten API vulnerabilities and mitigations, compare traditional and API-based apps, and learn how strong authorization and token controls prevent data leakage.
Explores API top 10 vulnerabilities including broken authentication, excessive data exposure, broken function level authorization, and misconfigurations, with real-world examples and defense like rate limiting and proper access checks.
Learn the OWASP top ten web security risks, their vulnerabilities like injection, cross-site scripting, and cross-site request forgery, with mitigations and how the community updates categories from 2013 to 2021.
Learn how http security headers harden web apps by limiting vulnerabilities through headers like street transport security, content security policy, and CORS, plus XSS protection and cookie flags.
Json web tokens explain the header, payload, and signature; use for authentication and information exchange with rsa or mac signing; avoid none algorithm and insecure storage.
Learn technical measures and practices for developers, including input validation and encoding, bind parameters for database queries, protect data in transit, encrypt data at rest, and hash and salt passwords.
Encrypt data at rest and ensure data integrity with checksums or hmac, or MD5, and implement strict access controls, authentication, authorization, and secure session management with cookies.
Explore cryptography basics, cryptanalysis tools, and attacks, detailing confidentiality, integrity, authentication, and non-repudiation, plus symmetric and asymmetric encryption and the role of PKI and certificate authorities.
Hashing secures data integrity via irreversible digests, though md5 and sha are deprecated due to collisions. A secret-key based code adds authentication, and tls handshakes optimize communication using hybrid encryption.
You will learn to protect your web application by attacking it, by performing penetration testing on it. This course is rather theoretical with only some labs and demos.
Objectives
Develop ”Out-of-box” thinking
See security from an offensive perspective
Learn best security practices and (most and less) common attacks
Learn to defend your applications and infrastructure
Topics
Overview of Web Penetration Testing
OWASP Top Ten Web Vulnerabilities
API Top Ten vulnerabilities
HTTP Security Headers
JSON Web Tokens
Technical measures and best practices
Cryptography
Overview of Web Penetration Testing
Core problems
Web Technologies basics
Security Audit vs Vulnerability Assessment vs Pentest
Information Gathering
Scanning and Enumeration
Mapping the target surface
Attacking Users. Cross Site Scripting
Attacking the Server
Attacking Authentication
Attacking Data Stores
Top 10 API Security Vulnerabilities
API Vulnerabilities
Examples of vulnerabilities found in publicly accessible applications
OWASP Top Ten Web Vulnerabilities
A1: Injection
A2 – Broken Authentication and Session Management
A3 – Cross-Site Scripting (XSS)
A4 – Insecure Direct Object References
A5 – Security Misconfiguration
A6 – Sensitive data Exposure
A7 – Missing Function Level Access Control
A8 – Cross-Site Request Forgery (CSRF)
A9 – Using Components with Known Vulnerabilities
A10 – Unvalidated Redirects and Forwards
New Addition in OWASP TOP 10 - 2017
A4 - XML External entities (XXE)
A5 – Broken Access Control
A8 – Insecure Deserialization
A10 - Insufficient Logging & Monitoring
New additions in 2021
Common Vulnerabilities: XSS, SQL Injection, CSRF, XXE, LFI
HTTP Security Headers
Understand HTTP Security Tokens and their role
HSTS - Strict-Transport-Security
CSP - Content-Security-Policy
CORS
X-Frame-Options
X-XSS-Protection
X-Content-Type-Options
Referrer-Policy
Cookie flags: HTTPOnly, Secure
JSON Web Tokens
Understanding JSON WEB TOKENS
Token Structure
When can you use JWT
Issues
What is JWT good for?
Best Practices for JSON Web Tokens
Technical measures and best practices
Input Validation
Encoding
Bind Parameters for Database Queries
Protect Data in Transit
Hash and Salt Your Users' Passwords
Encrypt Data at Rest
Logging - Best practices
Authenticate Users Safely
Protect User Sessions
Authorize Actions
Cryptography
Cryptographic concepts
Algorithms
Cryptography and cryptanalysis tools
Cryptography attacks