Secure Java Web Application Development Lifecyle (SDL) is a lab-intensive, hands-on Java / JEE security course. This training is essential for experienced enterprise developers who need to engineer, maintain, and support secure JEE-based web applications. In addition to teaching basic secure programming skills, this course digs deep into processes and practices that apply to the entire software development lifecycle.
Students will thoroughly examine best practices for defensively coding web applications, including XML processing, rich interfaces, and both RESTful and SOAP-based web services. Students will repeatedly attack and then defend various assets associated with fully-functional web applications and web services. This hands-on approach drives home the mechanics of how to secure JEE web applications in the most practical of terms.
Security experts agree that the least effective approach to security is "penetrate and patch". It is far more effective to "bake" security into an application throughout its lifecycle. After spending significant time trying to defend a poorly designed (from a security perspective) web application, developers are ready to learn how to build secure web applications starting at project inception. The final portion of this course builds on the previously learned mechanics for building defenses by exploring how design and analysis can be used to build stronger applications from the beginning of the software lifecycle.
This workshop is a key component to our Best Defense IT Security Training Series. Although this edition of the course is Java-specific, it may also be presented using .Net or other programming languages.
- Upcoming Dates and Locations
-
Guaranteed To Run
- Course Outline
-
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 and 2014 Data Breach Reports
Session: Foundation
Lesson: Security Concepts
Lesson: Principles of Information Security
- 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
- Security Is a Lifecycle Issue
- Minimize Attack Surface Area
- Layers of Defense: Tenacious D
- Compartmentalize
- Consider All Application States
- Do NOT Trust the Untrusted
Session: Vulnerabilities
Lesson: Unvalidated Input
Lesson: Overview of Regular Expressions
Lession: Broken Access Control
Lesson: Broken Authentication
Lesson: Cross Site Scripting (XSS)
Lesson: Injection
Lesson: Error Handling and Information Leakage
Lesson: Insecure Data Handling
Lesson: Insecure Configuration Management
Lesson: Direct Object Access
Lesson: Spoofing, CSRF, and Redirects
Lesson: Cryptography Overview
Lesson: Understanding What's Important
- Buffer Overflows
- Integer Arithmetic Vulnerabilities
- Unvalidated Input: From the Web
- Defending Trust Boundaries
- Whitelisting vs Blacklisting
- Regular Expressions
- Working With Regexes in Java
- Applying Regular Expressions
- Access Control Issues
- Excessive Privileges
- Insufficient Flow Control
- Unprotected URL/Resource Access
- Examples of Shabby Access Control
- Session and Session Management
- Broken Quality/DoS
- Authentication Data
- Username/Password Protection
- Exploits Magnify Importance
- Handling Passwords on Server Side
- Single Sign-on (SSO)
- Persistent XSS
- Reflective XSS
- Best Practices for Untrusted Data
- Injection Flaws
- SQL Injection Attacks Evolve
- Drill Down on Stored Procedures
- Other Forms of Injection
- Minimizing Injection Flaws
- Fingerprinting a Web Site
- Error-Handling Issues
- Logging In Support of Forensics
- Solving DLP Challenges
- Protecting Data Can Mitigate Impact
- In-Memory Data Handling
- Secure Pipes
- Failures in the SSL Framework Are Appearing
- System Hardening: IA Mitigation
- Application Whitelisting
- Least Privileges
- Anti-Exploitation
- Secure Baseline
- Dynamic Loading
- Race Conditions
- Direct Object References
- 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
- Strong Encryption
- Message digests
- Keys and key management
- Certificate management
- Encryption/Decryption
- 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
Session: Defending XML, Services, and Rich Interfaces
Lesson: Defending XML
Lesson: Defending Web Services
Lesson: Defending Rich Interfaces and REST
- XML Signature
- XML Encryption
- XML Attacks: Structure
- XML Attacks: Injection
- Safe XML Processing
- 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
- 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
Session: Secure Development Lifecycle (SDL)
Lesson: SDL Process Overview
Lesson: Applying Processes and Practices
Lesson: Risk Analysis
- Software Security Axioms
- Security Lifecycle – Phases
- Awareness
- Application Assessments
- Security Requirements
- Secure Development Practices
- Security Architecture/Design Review
- Security Code Review
- Configuration Management and Deployment
- Vulnerability Remediation Procedures
- Threat Modeling Process
1. Identify Security Objectives
2. Describe the System
3. List Assets
4. Define System/Trust Boundaries
5. List and Rank Threats
6. List Defenses and Countermeasures
Session: Security Testing
Lesson: Testing Tools and Processes
Lesson: Testing Practices
- Security Testing Principles
- Black Box Analyzers
- Static Code Analyzers
- Criteria for Selecting Static Analyzers
- OWASP Web App Penetration Testing
- Authentication Testing
- Session Management Testing
- Data Validation Testing
- Denial of Service Testing
- Web Services Testing
- Ajax Testing
- Who should attend
-
This is an intermediate-level JEE / web services programming course, designed for developers who wish to get up and running on developing well defended software applications. This course may be customized to suit your team's unique objectives.
- Pre-Requisites
-
Familiarity with Java and JEE is required and real world programming experience is highly recommended. Ideally students should have approximately 6 months to a year of Java and JEE working knowledge.