Banner

Secure Java / JEE Web Application Development Lifecycle (SDLC)

Live Classroom
Duration: 5 days
Live Virtual Classroom
Duration: 5 days
Pattern figure

Overview

The course focusses on the most common security vulnerabilities faced by web applications today. During the course, participants are trained to examine these vulnerabilities from a Java/JEE perspective, through a process of describing the threat and attack mechanisms, recognizing associated vulnerabilities, and, finally, designing, implementing, and testing effective defenses. The course is structured with intense practical labs which reinforce these concepts with real vulnerabilities and attacks

What You'll Learn

  • Understand potential sources for untrusted data
  • Understand the consequences for not properly handling untrusted data such as the denial of service, cross-site scripting, and injections
  • Test web applications with various attack techniques to determine the existence of and effectiveness of layered defenses
  • Prevent and defend the many potential vulnerabilities associated with untrusted data
  • Understand the vulnerabilities associated with authentication and authorization
  • Detect, attack, and implement defenses for authentication and authorization functionality and services
  • Understand the dangers and mechanisms behind Cross-Site Scripting (XSS) and Injection attacks
  • Detect, attack, and implement defenses against XSS and Injection attacks
  • Understand the concepts and terminology behind defensive, secure, coding
  • Understand the use of Threat Modeling as a tool in identifying software vulnerabilities based on realistic threats against meaningful assets
  • Perform both static code reviews and dynamic application testing to uncover vulnerabilities in Java-based web applications
  • Design and develop strong, robust authentication and authorization implementations within the context of JEE
  • Understand the fundamentals of XML Digital Signature and XML Encryption as well as how they are used within the web services arena
  • Detect, attack, and implement defenses for both RESTful and SOAP-based web services and functionality
  • Understand techniques and measures that can be used to harden web and application servers as well as other components in your infrastructure
  • Understand and implement the processes and measures associated with the Secure Software Development (SSD)
  • Acquire the skills, tools, and best practices for design and code reviews as well as testing initiatives
  • Understand the basics of security testing and planning
  • Work through a comprehensive testing plan for recognized vulnerabilities and weaknesses

Curriculum

  • Who is Safe?
    • Assumptions We Make
    • Security: The Complete Picture
    • Anthem, Dell, Target, Equifax, and Marriot Debriefs
    • Verizon’s 2018 Data Breach Report
    • Attack Patterns and Recommendations
    • Exercise: Case Study Setup and Review
  • Security Concepts
    • Motivations: Costs and Standards
    • Open Web Application Security Project
    • Web Application Security Consortium
    • CERT Secure Coding Standards
    • Microsoft SDL
    • Assets and Trust Boundaries
    • Threat Modeling
    • Exercise: Case Study Asset Analysis
  • Principles of Information Security
    • Security Is a Lifecycle Issue
    • Minimize Attack Surface Area
    • Layers of Defense: Tenacious D
    • Compartmentalize
    • Consider All Application States
    • Do NOT Trust the Untrusted

  • Unvalidated Data
    • Buffer Overflows
    • Integer Arithmetic Vulnerabilities
    • Unvalidated Data: Crossing Trust Boundaries
    • Defending Trust Boundaries
    • Whitelisting vs Blacklisting
    • Exercise: Defending Trust Boundaries
    • Exercise: Defending Trust Boundaries with Regular Expressions
  • Injection
    • Injection Flaws
    • SQL Injection Attacks Evolve
    • Drill Down on Stored Procedures
    • Other Forms of Injection
    • Minimizing Injection Flaws
    • Exercise: Defending Against SQL Injection
  • Broken Authentication
    • Broken Quality/DoS
    • Authentication Data
    • Username/Password Protection
    • Exploits Magnify Importance
    • Handling Passwords on Server Side
    • Single Sign-on (SSO)
    • Exercise: Defending Authentication
  • Sensitive Data Exposure
    • Protecting Data Can Mitigate Impact
    • In-Memory Data Handling
    • Secure Pipes
    • Failures in TLS/SSL Framework
    • Exercise: Defending Sensitive Data
  • XML External Entities (XXE)
    • XML Signature
    • XML Encryption
    • XML Attacks: Structure
    • XML Attacks: Injection
    • Safe XML Processing
    • Exercise: Safe XML Processing
    • Exercise: Dynamic Loading Using XSLT
  • Broken Access Control
    • Access Control Issues
    • Excessive Privileges
    • Insufficient Flow Control
    • Unprotected URL/Resource Access
    • Examples of Shabby Access Control
    • Sessions and Session Management
    • Exercise: Unsafe Direct Object References

  • Security Misconfiguration
    • System Hardening: IA Mitigation
    • Application Whitelisting
    • Least Privileges
    • Anti-Exploitation
    • Secure Baseline
  • Cross Site Scripting (XSS)
    • XSS Patterns
    • Persistent XSS
    • Reflective XSS
    • Best Practices for Untrusted Data
    • Exercise: Defending Against XSS
  • Deserialization/Vulnerable Components
    • Deserialization Issues
    • Identifying Serialization and Deserializations
    • Vulnerable Components
    • Software Inventory
    • Managing Updates
  • Insufficient Logging and Monitoring
    • Fingerprinting a Web Site
    • Error-Handling Issues
    • Logging In Support of Forensics
    • Solving DLP Challenges
    • Exercise: Error Handling
  • Spoofing, CSRF, and Redirects
    • Name Resolution Vulnerabilities
    • Fake Certs and Mobile Apps
    • Targeted Spoofing Attacks
    • Cross Site Request Forgeries (CSRF)
    • CSRF Defenses
    • Exercise: Cross-Site Request Forgeries

  • Cryptography Overview
    • Strong Encryption
    • Message Digests
    • Encryption/Decryption
    • Keys and Key Management
    • NIST Recommendations
  • Understanding What’s Important
    • Common Vulnerabilities and Exposures
    • CWE/SANS Top 25 Most Dangerous SW Errors
    • Strength Training: Project Teams/Developers
    • Strength Training: IT Organizations
    • Leveraging Common AppSec Practices and Controls
    • Exercise: Recent Incidents

  • Defending Web Services
    • Web Service Security Exposures
    • When Transport-Level Alone is NOT Enough
    • Message-Level Security
    • WS-Security Roadmap
    • Java’s XWSS API
    • Web Service Attacks
    • Web Service Appliance/Gateways
    • Exercise: Web Service Attacks
  • Defending Rich Interfaces and REST
    • How Attackers See Rich Interfaces
    • Attack Surface Changes When Moving to Rich Interfaces and REST
    • Bridging and its Potential Problems
    • Three Basic Tenets for Safe Rich Interfaces
    • OWASP REST Security Recommendations

  • SDL Process Overview
    • Types of Security Controls
    • Phases of Typical Data-Oriented Attack
    • Phases: Offensive Actions and Defensive Controls
    • Security Lifecycle Activities
  • Applying Processes and Practices
    • Threat Modeling Process
    • Modeling Assets and Trust Boundaries
    • Modeling Data Flows
    • Exercise: Threat Modeling
  • Risk Analysis
    • Identifying Threats
    • Relating Threats to Model
    • Mitigating Threats
    • Reviewing the Application
    • Exercise: Security Review

  • Testing Tools and Processes
    • Security Testing Principles
    • Dynamic Analyzers
    • Static Code Analyzers
    • Criteria for Selecting Static Analyzers
  • Testing Practices
    • OWASP Web App Penetration Testing
    • Authentication Testing
    • Session Management Testing
    • Data Validation Testing
    • Denial of Service Testing
    • Web Services Testing
    • Ajax Testing
waves
Ripple wave

Who should attend

This is an intermediate level JEE programming course, designed for developers who wish to get up and running on developing well-defended software applications.

This course is highly recommended for:

  • Senior software engineers
  • Senior programmer analysts

Prerequisites

There are no mandatory prerequisites for this course, however, completing the Foundations of Agile course prior to taking up this course would be beneficial.

Interested in this Course?

    Ready to recode your DNA for GenAI?
    Discover how Cognixia can help.

    Get in Touch
    Pattern figure
    Ripple wave