Get in Touch
 Duration 21 hours

Course Outline

1. IT security and secure coding

  • Fundamental Security Principles: Application of Confidentiality, Integrity, and Availability (CIA) within Java application contexts.
  • Secure Software Development Lifecycle (SSDLC): Integration of security measures from requirements gathering through deployment.
  • Secure Coding Paradigms: Implementation of defense in depth, least privilege, and fail-safe defaults.
  • Standard Vulnerability Classifications: Analysis of 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): Analysis of Reflected, Stored, and DOM-based XSS scenarios in Java/JSP environments.
  • Cross-Site Request Forgery (CSRF): Investigation of attack mechanisms and implementation of Anti-CSRF tokens.
  • Session Management: Evaluation of cookie security, session fixation, and timeout management protocols.
  • API Security: Strategies for securing REST and SOAP endpoints against unauthorized abuse.

3. Security of Web services

  • Web Services vs. Traditional Web Apps: Distinction of attack surface differences.
  • Transport Layer Security: Configuration of SSL/TLS for Java clients and servers.
  • Message Security: Ensuring Integrity and Confidentiality at the payload level.
  • Authentication Standards: Implementation of OAuth 2.0, OpenID Connect, and JWT (JSON Web Tokens).

4. XML security

  • XML Parsing Vulnerabilities: Prevention of XML External Entity (XXE) attacks.
  • XML Schema Validation: Adoption of best practices for strict schema enforcement.
  • XML Digital Signatures: Implementation of signatures to guarantee non-repudiation.
  • XML Encryption: Standard methodologies for encrypting XML content.

5. Foundations of Java security

  • The Java Security Architecture: Examination of the java.security package and provider architecture.
  • Security Providers: Installation and configuration of providers such as Bouncy Castle.
  • Access Control: Management of policy files, Permissions, and the Security Manager (Legacy vs. Modern implementations).
  • KeyStore Management: Creation and administration of keystores and truststores for certificate management.

6. Practical cryptography

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

7. Java security services

  • SSL/TLS in Java: Application of SSLSocketFactory and HttpsURLConnection.
  • Trust Managers: Customization of trust verification for private PKI environments.
  • Authenticators: Programmatic authentication implementation using Authenticator.getDefault().
  • Certificate Parsing: Programmatic reading and analysis of X.509 certificates.

8. Java EE security

  • Declarative Security: Implementation of role-based access control (RBAC) using web.xml and annotations.
  • Programmatic Security: Utilization of HttpServletRequest.isUserInRole() and getRemoteUser().
  • JAAS (Java Authentication and Authorization Service): Configuration of login.conf and implementation of LoginModule instances.
  • Servlet Security: Management of container-managed security constraints and authentication methods (FORM, BASIC, DIGEST).

9. Common coding errors and vulnerabilities

  • Insecure Deserialization: Risk assessment of ObjectInputStream and mitigation of security check bypasses.
  • Command Injection: Mitigation of OS-level execution vulnerabilities.
  • Path Traversal: Sanitization of file system inputs to prevent directory traversal exploits.
  • Reflection Abuse: Analysis of risks associated with java.lang.reflect and access control bypasses.
  • Hardcoded Credentials: Identification and removal of secrets from source code repositories.
  • Cryptography Implementation Errors: Correction of issues such as ECB mode usage, weak keys, or static IVs.

10. Knowledge sources

  • Static Analysis Tools: Deployment of SonarQube, Checkmarx, and Fortify for automated scanning.
  • Dynamic Analysis Tools: Overview of Burp Suite and OWASP ZAP capabilities.
  • CVE Databases: Protocols for tracking and responding to new Java framework vulnerabilities.
  • Recommended Readings: Compilation of books, official documentation, and secure coding checklists for government standards.

Requirements

None.

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories