Code: 
OWASPJAVA
Duration: 
3-4 Day(s)
Price: 
£1500

Overview

This course provides the necessary skills and techniques to identify security risks in Java web applications and mitigate those risks through writing secure code. The course aligns to the OWASP Top 10 most critical web application security risks and takes students through the exploitation of vulnerable code so that they may experience them first hand. It then discusses mitigations in depths and provides students with the opportunity to secure the risks they have just exploited.

The course is presented as a mixture of lectures and hands-on exercises. Students are actively involved in exercising the practices an attacker would employ so that they can fully experience the risks and outcomes of a successful attack first hand. They will also leverage various manual and automated tools to help probe for vulnerabilities in a consistent fashion with what many attackers would use.

Skills Gained

  • Define and understand common website security risks
  • Remotely identify vulnerabilities in web applications
  • Employ practices to secure discrete units of code
  • Learn about native web browsers security defences
  • Apply the principles of security in depth
  • Automate scanning and detection of risks

Prerequisites

  • Delegates should already have experience of using the Java programming language, which can be gained by attending our Java programming language course.
  • Delegates should be proficient with developing Java web applications. They should have prior experience of delivering real world web sites although it is not expected that their experience be extensive.
  • Delegates should also already have experience of data access and data binding using APIs such as JDBC, JPA, and/or Hibernate.

Course Specifics

Course Outline

Module 1: Introduction to Web Security

  • Who's being hacked and who's doing the hacking?
  • The prevalence of website vulnerabilities
  • Key web application security concepts

Module 2: OWASP #1: Injection

  • Exploiting SQL injection in a vulnerable website
  • Whitelist validation
  • Creating parameterised queries
  • ORMs and stored procedures
  • Database permissions and the principle of lease privilege

Module 3: OWASP #2: Cross Site Scripting - XSS

  • Exploiting XSS in a vulnerable website
  • Implementing validation in Java by using filters and wrappers
  • Output encoding for different contexts
  • Native browser defences
  • Reflective, persistent and DOM XSS

Module 4: OWASP #3: Broken Authentication and Session Management

  • Exploiting broken authentication in a vulnerable website
  • Cookieless sessions
  • Increasing session security
  • Account management and password resets

Module 5: OWASP #4: Insecure Direct Object References

  • Exploiting direct object references in a vulnerable website
  • Implementing access controls
  • Indirect reference maps
  • Obfuscated identifiers

Module 6: OWASP #5: Cross-Site Request Forgery - CSRF

  • Exploiting CSRF in a vulnerable website
  • Leveraging the synchroniser token pattern
  • Using the OWASP CSRF Guard module for Java
  • Native browser defences against CSRF

Module 7: OWASP #6: Security Misconfiguration

  • Exploiting security misconfiguration in a vulnerable website
  • Using Maven to keep dependencies up to date
  • Correctly configuring custom errors, tracing and debugging
  • Encrypting configuration data

Module 8: OWASP #7: Insecure Cryptographic Storage

  • Exploiting cryptographic storage in a vulnerable website
  • Creating secure salted hashes
  • Secure password storage options in Java
  • Implementing symmetric encryption

Module 9: OWASP #8: Failure to Restrict URL Access

  • Exploiting unrestricted URLs in a vulnerable website
  • Using authorisation and security trimming
  • Leveraging the role provider
  • Employing principle permissions on classes and methods

Module 10: OWASP # 9: Insufficient Transport Layer Protection

  • Exploiting insufficient transport layer security in a vulnerable website
  • Properly implementing SSL on forms authentication
  • Secure cookies and HSTS
  • The dangers of mixed content

Module 11: OWASP #10: Unvalidated Redirects and Forwards

  • Exploiting unvalidated redirects in a vulnerable website
  • Whitelisting URLs
  • Referrer checking

Module 12: Other risks and tools

  • Clickjacking and other risks beyond the Top 10
  • Employing automated tools to detect vulnerabilities

Module 13: Summary

  • Going beyond technical controls to ensure application security
  • Implementing people processes in the secure development lifecycle

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

Upcoming Dates

Course Location Days Cost Date
Onsite
4 2000 £2000 2018-07-16
Leeds
3 1500 £1500 2017-11-09
London
3 1500 £1500 2017-10-27
Oxford
3 1500 £1500 2017-10-19
Liverpool
3 1500 £1500 2017-10-16
Belfast
3 1500 £1500 2017-10-04
Manchester
3 1500 £1500 2017-08-28
Exeter
3 1500 £1500 2017-08-18