Course Overview
Are you a Java web developer and want to write secure code? Do you want to learn Ethical hacking and Web application security? With this hands-on injection attacks course you will start learning web security using one of the top vulnerabilities of OWASP Top 10 list. Injection attack is still listed in top 3 attacks in the OWASP Top 10 and it is important to prevent against injection attacks to develop secure web applications.
Krzysztof Telka: "Nice examples, where the host is presenting step by step how to exploit the application and then how to prevent. Lot of nice tools, features to check and examine the web page in case of hackers attack. CSV/Log4J/SQL made big wow effect on my face. The atendeers they will not be dissapointed Great job Ali, Thank you!"
You can always use the latest versions for spring boot, and other dependencies in this course. I will be constantly updating the dependency version in the last section's lectures. You may check that to see the required code and configuration changes for updated versions. Also if you would like to use subtitles during the course, you can turn on the captions on videos. I suggest using subtitles to make it easier to follow the lectures.
As part of the blue and red security teams,I have a practical knowledge and I am here to help you learn the injection vulnerability in detail
In this course, you will focus on different type of injection attacks;
SQL Injection
NoSQL injection
LDAP injection
LOG injection
CSV injection
Ethical hacking and Web application security are the two important subjects of Cyber Security field and having practical knowledge about Injections will enable you to better understand the security concepts and make a quick start.
In this course you will follow defense-in-depth principle and apply multiple solutions to each vulnerability to secure the web application in multiple layers.
You will follow a hands-on approach. You will not only learn how to exploit an application using different kind of injection attacks, but also develop the vulnerable applications from scratch in which you will have a common web login module with Thymeleaf and Bootstrap for a basic front-end, with Spring security form login authentication & authorisation, and with separate applications for SQL, NoSQL and LDAP injections.
The applications will be developed using Java, Spring boot and Spring Data along with the most used data sources, such as PostgreSQL for SQL Injection, MongoDB for NoSQL injection and OpenLDAP for LDAP injection.
In each section there will be;
Development of the vulnerable web application using Java, Spring boot and Spring security
Hacking of the application with various attack payloads and with Ethical hacking examples
Protection steps and the implementations to prevent injection attacks
At the end of the course you will understand the different type of injection vulnerabilities, perform injection attacks against the vulnerable web applications you have developed, and learn how to protect your applications against the injection attacks using various techniques such as,
Validation and sanitisation using white list approach
Parametrised queries with prepared statements
Escaping output
Using secure trusted libraries
Error handling and logging
General coding practices
If you want to skip the development and only perform the hacking of applications, you can jump into the injection lectures and download the source code provided in the resources section of that lecture. The source codes are in lecture 20 (SQL Injection), lecture 38 (NoSQL Injection), lecture 51 ( LDAP Injection), lecture 60 (LOG Injection) and lecture 74 (CSV Injection). Be aware that you will still need to install PostgreSQL for SQL Injection, MongoDB for NoSQL injection and OpenLDAP docker container for LDAP injection. You can see how to install and configure these data sources in the beginning lectures of each injection section.
Manoj Singh: "Talented instructor and great course!!! Just a small suggestion, If you could add a chapter about "Broken Access Control" topic that will be a great help."
For more detailed information on the progress of this course, you can check the introductory video and free lessons, and if you decide to enroll in this course, you are always welcome to ask and discuss the concepts and implementation details on Q/A and messages sections. I will guide you from start to finish to help you successfully complete the course and gain as much knowledge and experience as possible from this course.
Remember! There is a 30-day full money-back guarantee for this course! So you can safely press the 'Buy this course' button with zero risk and join this learning journey with me.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction 6 bài · 18 phút
- Why to learn Secure coding principles & Web security? Học thử 7:02
- Developing a secure application Học thử
- Secure coding principles Học thử
-
Structure of the course 4:23
-
Setting up the environment 6:56
- Understanding secure coding principles Học thử
Chương 2 GenAI Security with Java & Spring 1 bài · 6 phút
-
Introduction to GenAI Security 6:01
Chương 3 Creating the common web login module with Spring security 8 bài · 53 phút
-
Adding the base pom.xml with basic maven dependencies 7:37
- Creating common login module with dependencies, thymeleaf templates & bootstrap Học thử 7:26
- Creating the package structure and adding interfaces Học thử 3:27
-
Adding authentication provider and user details to customise form authentication 9:13
- Adding web security configuration for Spring security form login authentication Học thử 7:34
-
Spring security form login authentication
-
Adding API endpoints 6:00
-
Adding Custom Error Controller 11:15
Chương 4 SQL Injection 31 bài · 2 giờ 17 phút
-
Introduction to Injections 2:23
-
Explaining SQL injection 1:52
-
Preventing SQL injection attacks
-
Creating SQL Injection application with dependencies and configuration 8:49
-
Adding PostgreSQL init files, packages and validator implementation 7:53
-
Implementing Spring Data JPA entities 3:17
-
Adding Spring Data JPA repository interfaces 3:22
-
JPA repository interfaces
-
Implementing Spring Data JPA repository 8:39
-
Custom JPA repository implementation
-
Adding SQL injection user detail service implementation 6:40
-
Spring security
-
Implementing user service interface 3:26
-
Hacking SQL Injection application using login form with Http Post - Part 1 7:23
-
Hacking SQL Injection application using login form with Http Post - Part 2 6:35
-
SQL injection payload example 1
-
SQL injection payload example 2
-
Hacking SQL Injection application with Http Get - Part 1 8:50
-
Hacking SQL Injection application with Http Get - Part 2 6:19
-
Hacking SQL Injection application with Http Get - Part 3 - Using Burp Suite 12:20
-
Returning PostgreSQL specific information using SQL injection
-
Extending Http Get vulnerability to read system files - Part 1 7:47
-
Reading file content in PostgreSQL
-
Extending Http Get vulnerability to read system files - Part 2 8:00
-
Preventing Sql injection: Validation and Sanitisation 11:40
-
Input validation
-
Preventing Sql injection: Using Prepared statements 10:19
-
Preventing SQL injection
-
Preventing Sql injection: Summary 7:42
-
A final attack using a vulnerable SQL function 4:08
-
Understanding and preventing SQL Injection attacks
Chương 5 NoSQL Injection 18 bài · 1 giờ 25 phút
-
Explaining NoSQL injection 2:07
-
NoSQL Injection
-
Adding NoSQL injection module with dependencies using MongoDB 8:40
-
Adding configuration and init data file 7:54
-
Adding packages and validator implementation 4:34
-
Implementing mongoDB configuration 8:08
-
Initializing mongoDB documents
-
Adding repository interfaces 8:06
-
Implementing repository and adding service layer classes 8:53
-
Hacking NoSQL injection application: Using login form 10:09
-
NoSQL injection using where function in mongoDB with javascript
-
Hacking NoSQL injection: Using user info endpoint with Regex 6:00
-
Using MongoDB Regex
-
Preventing NoSQL injection: Validation and sanitisation 7:15
-
Preventing NoSQL injection: Using criteria Api 8:32
-
Preventing NoSQL injection: Using JPA repository 4:47
-
Spring data Template vs Repository
-
Understanding and preventing NoSQL Injection attacks
Chương 6 LDAP Injection 15 bài · 1 giờ 23 phút
-
Explaining LDAP injection 2:03
-
Adding LDAP injection module with LDAP schema file 7:53
-
Adding dependencies,configuration and startup file to initialisatize LDAP schema 9:40
-
Creating packages and adding Spring boot starter class to initialise LDAP data 6:28
-
Creating entity and validation implementations, and repository interfaces 5:15
-
Adding LDAP helper class for LDAP operations 11:55
-
Completing the user repository implementation 5:15
-
Completing the user role repository and service implementation 6:43
-
Hacking LDAP injection - Part 1 6:20
-
LDAP Query
-
Hacking LDAP injection - Part 2 5:51
-
Preventing LDAP injection: Validation and sanitisation 4:18
-
Preventing LDAP injection: Using secure libraries 11:35
-
Spring LDAP library
-
Understanding LDAP injection
Chương 7 LOG Injection 15 bài · 1 giờ 8 phút
-
Explaining LOG injection 3:45
-
Adding a new endpoint to use in LOG injection attacks 5:50
-
Adding log data endpoint and thymeleaf template to view logs by admin user 7:29
-
Adding Logback configuration 6:01
-
Creating the attacker application 4:05
-
Hacking LOG injection with Line Feed 5:04
-
Hacking LOG injection with Carriage Return 8:43
-
LOG injection output
-
Hacking LOG injection: XSS attack - Part 1 6:49
-
Hacking LOG injection: XSS attack - Part 2 5:33
-
XSS attack with LOG injection
-
Preventing LOG injection: Validation and using trusted libraries protections 8:02
-
Preventing LOG injection: XSS attacks 6:26
-
Preventing LOG injection
-
Understanding Log Injection
Chương 8 CSV Injection 15 bài · 1 giờ 19 phút
-
Explaining CSV injection 1:59
-
Adding new interfaces 4:44
-
Adding user detail Api methods for CSV injection 8:17
-
Adding export user details Api method for CSV injection 5:53
-
Adding data access implementation classes 4:19
-
Implementing user detail service 9:41
-
Implementing excel generator service 11:48
-
A new endpoint on attacker web site 1:30
-
Hacking CSV injection using excel formula 10:10
-
CSV/Formula Injection
-
Preventing CSV injection - Part 1 9:34
-
Spring custom validation using validation annotation
-
Preventing CSV injection - Part 2 11:10
-
Using Spring validation annotation
-
Understanding CSV Injection
Chương 9 Version updates: Update to latest Spring boot & other dependencies 1 bài · 10 phút
-
Update to spring boot 3.1.5 9:33
Chương 10 What's next 1 bài
-
Bonus Lecture
Requirment
-
Knowledge of Java
-
Basic knowledge of Spring Framework
-
Basic knowledge of SQL
-
Basic knowledge of Web application development
Outcomes
-
Ethical hacking with injection attacks
-
Web security
-
Secure coding
-
SQL Injection with PostgreSQL
-
NoSQL Injection with MongoDB
-
LDAP Injection with OpenLDAP
-
LOG Injection
-
CSV Injection
-
Spring security Form login authentication
-
Spring Data JPA
-
Spring Data MongoDB
-
Spring LDAP
-
Spring Validation
0 Student
1 Course
0 review