Get in Touch
 Duration 21 hours

Course Outline

1. IT security and secure coding

  • Core Security Principles: Applying Confidentiality, Integrity, and Availability (CIA) specifically 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: Understanding the CWE (Common Weakness Enumeration) and OWASP frameworks.

2. Web application security

  • Comprehensive OWASP Top Ten Analysis: In-depth examination of Injection, Broken Authentication, and Sensitive Data Exposure.
  • Cross-Site Scripting (XSS): Addressing Reflected, Stored, and DOM-based XSS scenarios within Java/JSP contexts.
  • Cross-Site Request Forgery (CSRF): Understanding attack mechanisms and implementing Anti-CSRF tokens.
  • Session Management: Ensuring Cookie security, preventing session fixation, and managing timeouts.
  • API Security: Protecting REST and SOAP endpoints from potential abuse.

3. Security of Web services

  • Web Services vs. Traditional Web Apps: Distinguishing the 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: Adopting best practices for strict schema enforcement.
  • XML Digital Signatures: Implementing signatures to guarantee non-repudiation.
  • XML Encryption: Utilizing standard approaches for encrypting XML content.

5. Foundations of Java security

  • The Java Security Architecture: Examining the java.security package and the provider architecture.
  • Security Providers: Installing and configuring providers such as Bouncy Castle.
  • Access Control: Managing Policy files, Permissions, and the Security Manager (distinguishing between Legacy and Modern approaches).
  • KeyStore Management: Creating and maintaining 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: Comparing the risks of java.util.Random versus 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.

7. Java security services

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

8. Java EE security

  • Declarative Security: Implementing Role-based access control (RBAC) using 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-managed security constraints and authentication methods (FORM, BASIC, DIGEST).

9. Common coding errors and vulnerabilities

  • Insecure Deserialization: Assessing the risks associated with ObjectInputStream and security check bypasses.
  • Command Injection: Mitigating OS-level execution vulnerabilities.
  • Path Traversal: Sanitizing file system inputs to prevent directory traversal attacks.
  • Reflection Abuse: Addressing risks linked to java.lang.reflect and access control bypasses.
  • 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: Leveraging 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 curated list of books, documentation, and secure coding checklists.

Requirements

None.

Custom Corporate Training

Training solutions designed exclusively for businesses.

  • Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
  • Flexible Schedule: Dates and times adapted to your team's agenda.
  • Format: Online (live), In-company (at your offices), or Hybrid.
Investment

Price per private group, online live training, starting from 3900 € + VAT*

Contact us for an exact quote and to hear our latest promotions

Testimonials (4)

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories