Get in Touch
 Duration 21 hours (3 days)

Course Outline

1. IT Security and Secure Coding

  • Fundamental Security Principles: Applying Confidentiality, Integrity, and Availability (CIA) to Java applications.
  • Secure Software Development Lifecycle (SSDLC): Integrating security considerations from the requirements phase through to deployment.
  • Secure Coding Paradigms: Implementing defence in depth, least privilege, and fail-safe defaults.
  • Standard Vulnerability Classifications: Understanding the Common Weakness Enumeration (CWE) and OWASP standards.

2. Web Application Security

  • Deep Dive into the OWASP Top Ten: Detailed analysis of Injection, Broken Authentication, and Sensitive Data Exposure.
  • Cross-Site Scripting (XSS): Examining Reflected, Stored, and DOM-based XSS scenarios in Java/JSP.
  • Cross-Site Request Forgery (CSRF): Understanding attack mechanisms and implementing Anti-CSRF tokens.
  • Session Management: Addressing cookie security, session fixation, and timeout management.
  • API Security: Protecting REST and SOAP endpoints against misuse.

3. Security of Web Services

  • Web Services vs. Traditional Web Apps: Analysing differences in attack surfaces.
  • Transport Layer Security: Configuring SSL/TLS for Java clients and servers.
  • Message Security: Ensuring integrity and confidentiality at the payload level.
  • Authentication Standards: Implementing OAuth 2.0, OpenID Connect, and JWT (JSON Web Tokens).

4. XML Security

  • XML Parsing Vulnerabilities: Preventing XML External Entity (XXE) attacks.
  • XML Schema Validation: Best practices for enforcing strict schema validation.
  • XML Digital Signatures: Implementing signatures to ensure non-repudiation.
  • XML Encryption: Standard approaches for encrypting XML content.

5. Foundations of Java Security

  • The Java Security Architecture: The java.security package and provider architecture.
  • Security Providers: Installing and configuring providers such as Bouncy Castle.
  • Access Control: Managing policy files, Permissions, and the Security Manager (Legacy vs. Modern).
  • KeyStore Management: Creating and managing keystores and truststores for certificates.

6. Practical Cryptography

  • Cryptographic Algorithms: Overview of Symmetric (AES), Asymmetric (RSA, ECC), and Hashing (SHA-256/512) algorithms.
  • Random Number Generation: Distinguishing between the risks of java.util.Random and the benefits of java.security.SecureRandom.
  • Key Management: Strategies for key generation, storage, and rotation.
  • Java Cryptography Architecture (JCA): Utilising Cipher, MessageDigest, and Mac classes.
  • Java Cryptography Extension (JCE): Understanding policy files and unlimited strength jurisdiction.

7. Java Security Services

  • SSL/TLS in Java: Utilising SSLSocketFactory and HttpsURLConnection.
  • Trust Managers: Customising trust verification for private PKI environments.
  • Authenticators: Programmatic authentication using Authenticator.getDefault().
  • Certificate Parsing: Reading and analysing X.509 certificates programmatically.

8. Java EE Security

  • Declarative Security: Role-based access control (RBAC) using web.xml and annotations.
  • Programmatic Security: Using HttpServletRequest.isUserInRole() and getRemoteUser().
  • JAAS (Java Authentication and Authorization Service): Configuring login.conf and implementing LoginModules.
  • Servlet Security: Container-managed security constraints and authentication methods (FORM, BASIC, DIGEST).

9. Common Coding Errors and Vulnerabilities

  • Insecure Deserialization: Addressing the risks of ObjectInputStream and bypassing security checks.
  • Command Injection: Mitigating OS-level execution vulnerabilities.
  • Path Traversal: Sanitising file system inputs to prevent directory traversal.
  • Reflection Abuse: Risks associated with java.lang.reflect and bypassing access control.
  • Hardcoded Credentials: Identifying and removing secrets from source code.
  • Cryptography Implementation Errors: Avoiding the use of ECB mode, weak keys, or static IVs.

10. Knowledge Sources

  • Static Analysis Tools: Utilising SonarQube, Checkmarx, and Fortify for automated scanning.
  • Dynamic Analysis Tools: Overview of Burp Suite and OWASP ZAP.
  • CVE Databases: Tracking and responding to new Java framework vulnerabilities.
  • Recommended Readings: A list of books, documentation, and secure coding checklists.

Requirements

None.

Number of participants


Price per participant

Testimonials (4)

Provisional Upcoming Courses (Require 5+ participants)

Related Categories