Course Code: 19165

Securing Java / Java EE Web Applications Training

Class Dates:
4 Days
Class Time:
Instructor-Led Training, Virtual Instructor-Led Training


  • Course Overview
  • In this 4 day course, you will examine best practices for defensively coding JEE web applications, including XML processing and web services. You will repeatedly attack and then defend various assets associated with a fully functional web application. This hands-on approach drives home the mechanics of how to secure Java EE web applications in the most practical of terms.

    PCI Compliant Developer Training: Version 3.0 of the Payment Card Information Data Security Standard (PCI-DSS) and the Payment Application Data Security Standard (PA-DSS) have placed an increased emphasis on information security training and awareness. This class can help meet the annual training requirements for your developers and vendors. This secure coding training addresses common coding vulnerabilities in software development processes.
  • Audience
  • Developers who wish to develop secure Java web applications


  • Familiarity with Java and Java EE is required
    Programming experience is highly recommended
    At least six months of Java and Java EE working knowledge recommended

Course Details

  • Topics
  • Security Misconceptions
  • Security Concepts
  • Web Vulnerabilities
  • Cross Site Scripting (XSS)
  • Injection
  • Spoofing, CSRF, and Redirects
  • OWASP Top Ten
  • Cryptography Overview
  • Best Practices
  • Defending XML
  • Defending Web Services
  • Defending Rich Interfaces and REST
  • 1. Introduction: Misconceptions
  • Security: The Complete Picture
  • TJX: Anatomy of a Disaster?
  • Causes of Data Breaches
  • Heartland - Slipping Past PCI Compliance
  • Target's Painful Christmas
  • Meaning of Being Compliant
  • Verizon's 2013 Data Breach Report
  • 2. Foundation
  • Security Concepts
  • Motivations: Costs and Standards
  • Open Web Application Security Project
  • Web Application Security Consortium, CERT Secure Coding Standards
  • Assets are the Targets, Security Activities Cost Resources
  • Threat Modeling, System/Trust Boundaries
  • 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
  • 3. Vulnerabilities
  • Unvalidated Input, Buffer Overflows, Integer Arithmetic Vulnerabilities
  • Unvalidated Input: From the Web, Defending Trust Boundaries,Whitelisting vs Blacklisting
  • Overview of Regular Expressions, Regular Expressions,Working With Regexes in Java , Applying Regular Expressions
  • Broken Access Control, Access Control Issues, v
  • Insufficient Flow Control, Unprotected URL/Resource Access,
  • Examples of Shabby Access Control, Session and Session Management
  • Broken Authentication, Broken Quality/DoS, Authentication Data
  • Username/Password Protection, Exploits Magnify Importance
  • Handling Passwords on Server Side, Single Sign-On (SSO)
  • Cross Site Scripting (XSS), Persistent XSS, Reflective XSS, Best Practices for Untrusted Data
  • Injection, SQL Injection Attacks Evolve, Drill Down on Stored Procedures
  • Other Forms of Injection, Minimizing Injection Flaws
  • .
  • Error Handling and Information Leakage
  • Fingerprinting a Web Site, Error-Handling Issues
  • Logging In Support of Forensics, Solving DLP Challenges
  • Insecure Data Handling, Protecting Data Can Mitigate Impact
  • In-Memory Data Handling, Secure Pipes
  • Insecure Configuration Management, System Hardening: IA Mitigation
  • Application Whitelisting, Least Privileges, Anti-Exploitation, Secure Baseline
  • Direct Object Access, Dynamic Loading
  • Race Conditions, Direct Object References
  • Spoofing, CSRF, and Redirects, Name Resolution Vulnerabilities
  • Fake Certs and Mobile Apps, Targeted Spoofing Attacks, Cross Site Request Forgeries (CSRF)
  • CSRF Defenses are Entirely Server-Side, Safe Redirects and Forwards
  • 4. Best Practices
  • Cryptography Overview,
  • Strong Encryption, Message digests,Keys and key management
  • Certificate management, Encryption/Decryption
  • Understanding What's Important
  • Common Vulnerabilities and Exposures, OWASP Top Ten for 2013
  • CWE/SANS Top 25 Most Dangerous SW Errors
  • Monster Mitigations
  • Strength Training: Project Teams/Developers
  • Strength Training: IT Organizations
  • 5. Defending XML, Services, and Rich Interfaces
  • Defending XML
  • XML Signature, XML Encryption, XML Attacks: Structure
  • XML Attacks: Injection, Safe XML Processing
  • Defending Web Services
  • Web Service Security Exposures, When Transport-Level Alone is NOT Enough
  • Message-Level Security, WS-Security Roadmap
  • XWSS Provides Many Functions, Web Service Attacks
  • Web Service Appliance/Gateways,
  • Defending Rich Interfaces and REST
  • How Attackers See Rich Interfaces, Attack Surface Changes When Moving to Rich Interfaces
  • Bridging and its Potential Problems, Three Basic Tenets for Safe Rich Interfaces
  • OWASP REST Security Recommendations