Get in Touch

Course Outline

1. IT Security and Secure Coding

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

2. Web Application Security

  • Deep Dive into OWASP Top Ten: Detailed examination of Injection, Broken Authentication, and Sensitive Data Exposure.
  • Cross-Site Scripting (XSS): Analyzing Reflected, Stored, and DOM-based XSS scenarios in Java/JSP environments.
  • Cross-Site Request Forgery (CSRF): Understanding attack mechanisms and implementing Anti-CSRF token strategies.
  • Session Management: Securing cookies, preventing session fixation, and managing timeouts effectively.
  • API Security: Hardening REST and SOAP endpoints against unauthorized access and abuse.

3. Web Services Security

  • Web Services vs. Traditional Web Apps: Comparing 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: Enforcing strict schema practices to enhance security.
  • XML Digital Signatures: Implementing signatures to guarantee non-repudiation.
  • XML Encryption: Applying standard methods for encrypting XML content.

5. Foundations of Java Security

  • The Java Security Architecture: Exploring the java.security package and its provider-based design.
  • Security Providers: Installing and configuring providers such as Bouncy Castle.
  • Access Control: Managing policy files, Permissions, and the Security Manager (Legacy vs. Modern approaches).
  • KeyStore Management: Creating and maintaining keystores and truststores for certificate handling.

6. Practical Cryptography

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

7. Java Security Services

  • SSL/TLS in Java: Leveraging SSLSocketFactory and HttpsURLConnection.
  • Trust Managers: Customizing trust verification for private PKI environments.
  • Authenticators: Implementing programmatic authentication using Authenticator.getDefault().
  • Certificate Parsing: Reading and analyzing X.509 certificates programmatically.

8. Java EE Security

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

9. Common Coding Errors and Vulnerabilities

  • Insecure Deserialization: Mitigating risks associated with ObjectInputStream and bypassing security checks.
  • Command Injection: Preventing OS-level execution vulnerabilities.
  • Path Traversal: Sanitizing file system inputs to block directory traversal attacks.
  • Reflection Abuse: Addressing risks related to java.lang.reflect and circumventing access controls.
  • Hardcoded Credentials: Identifying and eliminating secrets from source code.
  • Cryptography Implementation Errors: Avoiding weak configurations like ECB mode, low-bit keys, or static IVs.

10. Knowledge Sources

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

Requirements

None.

 21 Hours

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories