Thank you for sending your enquiry! One of our team members will contact you shortly.
Thank you for sending your booking! One of our team members will contact you shortly.
Course Outline
1. IT Security and Secure Coding
- Core Security Principles: Applying Confidentiality, Integrity, and Availability (CIA) within the context of Java applications.
- Secure Software Development Lifecycle (SSDLC): Integrating security considerations from the requirements phase through to deployment.
- Secure Coding Paradigms: Implementing defense in depth, the principle of least privilege, and fail-safe defaults.
- Standard Vulnerability Classifications: Gaining insight into CWE (Common Weakness Enumeration) and OWASP standards.
2. Web Application Security
- In-Depth Analysis of OWASP Top Ten: Detailed examination of Injection, Broken Authentication, and Sensitive Data Exposure.
- Cross-Site Scripting (XSS): Addressing 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: Ensuring cookie security, preventing session fixation, and managing timeouts.
- API Security: Protecting REST and SOAP endpoints from abuse.
3. Web Services Security
- Web Services vs. Traditional Web Apps: Analyzing 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: Adhering to best practices for strict schema enforcement.
- XML Digital Signatures: Implementing signatures to guarantee non-repudiation.
- XML Encryption: Applying standard methods for encrypting XML content.
5. Java Security Foundations
- Java Security Architecture: Exploring the
java.securitypackage and the provider architecture. - Security Providers: Installing and configuring providers such as Bouncy Castle.
- Access Control: Managing policy files, Permissions, and the Security Manager (comparing legacy and modern approaches).
- KeyStore Management: Creating and administering keystores and truststores for certificates.
6. Practical Cryptography
- Cryptographic Algorithms: An overview of Symmetric (AES), Asymmetric (RSA, ECC), and Hashing (SHA-256/512) algorithms.
- Random Number Generation: Understanding the risks of using
java.util.Randomcompared tojava.security.SecureRandom. - Key Management: Strategies for key generation, storage, and rotation.
- Java Cryptography Architecture (JCA): Utilizing
Cipher,MessageDigest, andMacclasses. - Java Cryptography Extension (JCE): Understanding policy files and unlimited strength jurisdiction.
7. Java Security Services
- SSL/TLS in Java: Implementing
SSLSocketFactoryandHttpsURLConnection. - Trust Managers: Customizing trust verification for private PKI environments.
- Authenticators: Performing 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) via
web.xmland annotations. - Programmatic Security: Utilizing
HttpServletRequest.isUserInRole()andgetRemoteUser(). - JAAS (Java Authentication and Authorization Service): Configuring
login.confand implementingLoginModules. - Servlet Security: Managing container-based security constraints and authentication methods (FORM, BASIC, DIGEST).
9. Common Coding Errors and Vulnerabilities
- Insecure Deserialization: Assessing the risks of
ObjectInputStreamand potential security check bypasses. - Command Injection: Mitigating vulnerabilities related to OS-level execution.
- Path Traversal: Sanitizing file system inputs to prevent directory traversal attacks.
- Reflection Abuse: Addressing risks associated with
java.lang.reflectand access control bypass. - Hardcoded Credentials: Identifying and eliminating 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: An overview of Burp Suite and OWASP ZAP.
- CVE Databases: Tracking and responding to new vulnerabilities in the Java framework.
- Recommended Readings: A curated list of books, documentation, and secure coding checklists.
Requirements
None.
21 Hours
Testimonials (4)
the knowledge of the trainer was very high - he knew what he was talking about, and knew the answers to our questions
Adam - Fireup.PRO
Course - Advanced Java Security
Practical exercises
Olek - Fireup.PRO
Course - Advanced Java Security
coding excercies
Mirek - Fireup.PRO
Course - Advanced Java Security
It opens up a lot and gives lots of insight what security