How To Take This Class

Course Overview

Securing JEE Web Services is a lab-intensive, hands-on JEE security training course, essential for experienced enterprise developers who need to produce secure JEE-based web services. In addition to teaching basic programming skills, this course digs deep into sound processes and practices that apply to the entire software development lifecycle.

Course Prerequisites

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.

Course Audience

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.

What You'll Learn

Upon successful completion of this course, students will be able to:
  • Understand the consequences for not properly handling untrusted data such as denial of service, cross-site scripting, and injections
  • Be able to 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 concepts and terminology behind supporting, designing, and deploying secure services
  • Appreciate the magnitude of the problems associated with service security and the potential risks associated with those problems
  • Understand the currently accepted best practices for supporting the many security needs of services
  • Understand the vulnerabilities associated with authentication and authorization within the context of web services
  • Be able to detect, attack, and implement defenses for authentication and authorization functionality
  • Understand the dangers and mechanisms behind Cross-Site Scripting (XSS) and Injection attacks
  • Be able to 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 services
  • Design and develop strong, robust authentication and authorization implementations within the context of JEE
  • Understand the fundamentals of XML Digital Signature as well as how it can be used as part of the defensive infrastructure for web services
  • Understand the fundamentals of XML Encryption as well as how it can be used as part of the defensive infrastructure for web services
  • Understand and defend vulnerabilities that are specific to XML and XML parsers

Course Duration

4 Days

Course Outline

  1. Misconceptions
    • Thriving Industry of Identity Theft
    • Dishonor Roll of Data Breaches
    • TJX: Anatomy of a Disaster
    • Heartland: What? Again?
  2. Security Concepts
    • Terminology and Players
    • Assets, Threats, and Attacks
    • OWASP
    • CWE/SANS Top 25 Programming Errors
    • Categories
    • What they mean to your services
  3. Defensive Coding Principles
    • Security Is A Lifecycle Issue
    • Minimize Attack Surface
    • Manage Resources
    • Application States
    • Compartmentalize
    • Defense In Depth - Layered Defense
    • Consider All Application States
    • Not Trusting The Untrusted
    • Security Defect Mitigation
    • Leverage Experience
  4. Reality
    • Recent, Relevant Incidents
    • Find Security Defects In Web Application
  5. SOA Overview
    • SOA Defined
    • Cross-Cutting Concerns
  6. Challenges
    • Identity and Propagation
    • Real-time Transactions
    • Diverse Environments
    • Information Protection
    • Standards compliance
  7. Services and Security
    • SOA Components
    • Service Lifecycle
    • Security Policies
    • Appliances and Gateways
  8. Authentication and Authorization
    • Requirements
    • Applicable OASIS Standards
    • SAML
    • SAML Assertions
    • Authentication, Attributes, and Authorization Statements
    • SAML Usage Scenarios
  9. Defending XML
    • Understanding common attacks and how to defend
    • Operating in safe mode
    • Using standards-based security
    • XML-aware security infrastructure
  10. Defending Web Services
    • Security exposures
    • Transport-level security
    • Message-level security
    • WS-Security
    • Attacks and defenses
  11. WS-Security
    • WS-Security Stack
    • JEE and WS-Security
    • Best Practices
  12. XML Digital Signature
    • Architecture
    • Working with XML Digital Signature
    • Integrating XML Digital Signature into Web Services
    • Best Practices
  13. XML Encryption
    • Architecture
    • Working with XML Encryption
    • Integrating XML Encryption into Web Services
    • Best Practices
  14. Top Security Vulnerabilities
    • Unvalidated Input
    • Sources of Untrusted Input
    • Trust Boundaries
    • Designing and Implementing Defenses
    • Overview of Regular Expressions
    • Broken Access Control
    • Broken Authentication and Session Management
    • Cross Site Scripting (XSS/CSRF) Flaws
    • Designing and Implementing Defenses
    • Injection Flaws
    • Designing and Implementing Defenses
    • Error Handling and Information Leakage
    • Four Dimensions of Error Response
    • Proper Error Handling Design
    • Insecure Storage
    • Insecure Management of Configuration
    • Direct Object Access
    • Spoofing
  15. Secure Software Development (SSD)
    • SSD Process Overview
    • CLASP Defined
    • CLASP Applied
    • Asset, Boundary, and Vulnerability Identification
    • Vulnerability Response
    • Design and Code Reviews
    • Applying Processes and Practices
    • Risk Analysis
  16. Security Testing
    • Testing as Lifecycle Process
    • Testing Planning and Documentation
    • Testing Tools And Processes
    • Static and Dynamic Code Analysis
    • Testing Practices
    • Authentication Testing
    • Session Management Testing
    • Data Validation Testing
    • Denial Of Service Testing
    • Web Services Testing