
Introduction to laws, standards and guidelines on cyber security.
Attack agents, types of attack and statistics on the main vulnerabilities.
Techniques, methodologies and tools available in the software development life cycle to increase the security of the developed applications.
Risk analysis and asset vulnerability research
Identify threats early through the threat modeling process in the design phase. Apply STRIDE categories and data flow diagrams to prioritize mitigations and security controls.
Use the Microsoft threat modeling tool to build a web architecture with a web client, web server, and database, then review threat analysis and html reports.
Contrast SAST tools like Checkmarx, Synopsis, SonarQube, and Fortify with DAST to detect vulnerabilities in source code; SonarQube also shows bugs, vulnerabilities, and code smells.
The methodologies and guidelines of OWASP (Open Web Application Security Project) for the secure development of applications
Discover secure coding standards from OWASP, SAMM, SEI, and MITRE CWE's 25 programming bugs. Learn guidelines for web applications and secure coding across Java, C/C++, Android, Perl, .NET, and iOS.
explains the tcp/ip stack and the http protocol, illustrating layered web architectures, security of every component, and the http request/response structure and handshake sequences for secure coding.
Explore the OWASP web security testing guide for ethical hacking on web apps, covering information gathering, authentication, session management, and input validation with tests, tools, and remediation.
Explore tools for vulnerability assessment and penetration testing (VAPT), including web crawlers, proxies, vulnerability scanners, and pentest frameworks like Burp, ZAP, Nessus, OpenVAS, Metasploit, and WebGoat.
Learn to test a web application using Burp proxy on Kali Linux, configure manual proxy, intercept and modify login requests, and perform brute-force attacks with Intruder.
Apply OWASP secure coding guidelines to validate input across all channels, perform canonicalization, enforce format, size, type, and range, use white-list validation with regular expressions, and validate outputs.
Learn how input validation prevents SQL injection by using parametric queries, mitigating login bypass and other attacks, and applying secure database practices per OWASP guidelines.
Explore the sql injection vulnerability lab using the vvwa project to see how input-based sql bypasses login, and apply parametric queries; note that Linq to Entities mitigates it.
Explore how LDAP and XPath injection vulnerabilities arise from missing input validation, enabling authentication bypass. The talk highlights parametric queries and input validation as countermeasures.
Explore cross-site scripting (XSS) vulnerabilities caused by unvalidated input, including DOM-based, non-persistent, and stored XSS, and learn remedies such as data normalization and regex filtering.
Explore cross-site scripting vulnerabilities in an ASP.NET lab by injecting scripts and observing execution, then implement mitigation by validating with a regular expression and normalizing input to prevent bypass.
Understand how os command injection occurs when server-side input reaches the operating system via system() or exec(), and prevent it with a white list of possible values and least-privilege practices.
Explore os command injection vulnerability in a lab that uses a server-side shell via a combo box to read environment variables. Mitigate by implementing a whitelist of acceptable commands.
Learn how local and remote file inclusion attacks arise from unvalidated input, using PHP and Java include vulnerabilities, and apply white-list validation to prevent LFI and RFI.
Explore local file inclusion and remote file inclusion vulnerabilities, learn how input path verification against a whitelist mitigates lfi and rfi attacks, and verify successful defense in a lab.
Learn secure file management to prevent unvalidated file uploads, validate incoming files, don’t rely on extension alone, and check the magic number (first 4 bytes) to stop webshell uploads.
Learn to identify unvalidated file upload vulnerabilities and mitigate risk by enforcing allowed file types, validating file headers, preventing webshell uploads, and enforcing size limits.
Explore how buffer overflow vulnerabilities arise from insufficient input validation in C and C++, stack and heap overflows, and how managed languages mitigate them except in unsafe or unmanaged contexts.
Explain xml injection and xml external entities vulnerabilities, showing how unvalidated input and parse configurations enable privilege escalation and data exposure, with remedies: regex validation, blocking tags, and xsd validation.
Explore XML external entities (XXE) vulnerabilities in a hands-on lab using the VVWA app, demonstrating an external entity attack pattern and how to mitigate by setting DtdProcessing to Prohibit.
Learn insecure deserialization risk from the Owasp top 10, and prevent tampering of serialized xml or json data by using digital signatures, https, trusted libraries, and type checks, with monitoring.
Explore authentication mechanisms for web applications, including basic, digest, windows integrated, and multi-factor options. Implement form-based authentication across ASP.NET, Java Spring, and PHP, and consider OpenID Connect for single sign-on.
Apply OWASP guidelines for authentication and password management by separating authentication logic, hashing passwords with robust algorithms, enforcing strong passwords, securing resets, and enabling multi-factor authentication.
Analyze authentication risks from network sniffing and man-in-the-middle attacks, including arp and dns poisoning and rogue dhcp, and explore brute-force and dictionary attacks with hydra and bettercap.
Learn how web applications manage sessions in a stateless HTTP world, using cookies and session IDs or tokens to authenticate users, store state, and revoke access on logout or timeout.
Apply built-in session management to generate session IDs, set risk-based timeouts, and refresh IDs after authentication. Use anti-forgery tokens and HttpOnly, Secure cookies per OWASP and security testing guidance.
Learn about cross-site request forgery (xsrf/csrf) and how attackers exploit active sessions via phishing or scripting, with anti-forgery tokens and server-generated hidden fields protecting critical actions.
Explore the main cryptographic algorithm types—symmetric and asymmetric—along with encryption guidelines to safeguard confidentiality, GDPR and ISO 27001 compliance, and secure key storage using FIPS 140-2 validated libraries and TPM.
Explore how symmetric cryptography uses the same key to encrypt and decrypt data, with 256-bit keys and AES as a block-based example for data at rest.
Explain how asymmetric cryptography uses public and private keys for secure data transmission, with digital certificates issued by certification authorities to verify keys, and RSA handshakes to exchange AES keys.
Explore hash algorithms and digests that secure data integrity and reveal changes. Review SHA-2 512-bit usage, collision minimization, and digital signatures that verify data integrity and authenticity in secure development.
Explore secure coding principles and the role of certifications in validating expertise for secure application development. Learn how secure coding certifications guide best practices and standards.
Provide links for further information to support secure coding and secure application development for the course.
The course is suitable for programmers, project managers or software architects and provides indications on the methodological bases, standards (as Owasp best practices) and tools (as SAST and DAST tools) for developing secure code, avoiding the inclusion of bugs or vulnerabilities in the programs. Various practical workshops are carried out to support the theoretical treatment, which show the use of the tools and the mitigation of some of the vulnerabilities most frequently found in web or desktop applications.
Disclaimer
The information contained in this course is distributed "as is" and is intended for educational purposes only. While the author/instructor has made every effort to ensure the accuracy of the information contained in this course, the author/instructor assumes no responsibility for any loss, damage, inconvenience, or disruption caused to third parties due to any action taken or not taken based on this course. Despite all precautions taken, errors or omissions may have inadvertently crept into this course. The author/instructor would appreciate it if such errors or omissions were brought to their attention for possible correction.
All trademarks and brands mentioned in this course are for educational and explanatory purposes only, not for commercial purposes, and are the property of their respective owners.