1 00:00:00,720 --> 00:00:02,320 All right, folks. 2 00:00:02,320 --> 00:00:03,860 It is that time. 3 00:00:03,880 --> 00:00:08,500 If you have a seat that is in between you, please collapse down. 4 00:00:08,640 --> 00:00:10,160 Specifically you, sir. 5 00:00:10,160 --> 00:00:11,200 Thank you very much. 6 00:00:11,200 --> 00:00:13,080 If you would bring it in close. 7 00:00:13,700 --> 00:00:14,180 All right. 8 00:00:14,180 --> 00:00:17,000 With that, we are going to go ahead and kick everything off. 9 00:00:17,080 --> 00:00:19,620 I would like to introduce Iggy to the stage. 10 00:00:19,620 --> 00:00:20,500 Thank you. 11 00:00:28,340 --> 00:00:33,280 So hello, DEF CON, and welcome to my talk called Ticking SQLI. 12 00:00:33,280 --> 00:00:34,340 And we will begin. 13 00:00:34,820 --> 00:00:36,460 So what's in it for you today? 14 00:00:36,460 --> 00:00:40,160 Today we will explore types of SQL injection. 15 00:00:40,160 --> 00:00:44,320 We will focus a bit on time-based SQL injection. 16 00:00:44,660 --> 00:00:50,160 We will see the impact Team Ghost Shell did in the past using these kinds of techniques. 17 00:00:50,340 --> 00:00:52,660 We will understand why it's still relevant today. 18 00:00:52,660 --> 00:00:56,640 And you will have a good time with a pretty much good presenter today. 19 00:00:57,180 --> 00:00:58,220 So who am I? 20 00:00:58,220 --> 00:01:00,980 My name is Igor, but please call me Iggy. 21 00:01:00,980 --> 00:01:03,220 It's my nickname since childhood. 22 00:01:03,320 --> 00:01:05,740 I'm a security engineer at Axonius. 23 00:01:05,740 --> 00:01:22,520 One sentence about Axonius is it's a cybersecurity asset management platform that maps all your digital assets across your organization, normalizes them, duplicates them, and gives you comprehensive insights about them and much more. 24 00:01:22,520 --> 00:01:23,540 And why am I here today? 25 00:01:23,540 --> 00:01:35,560 I'm here today because I love learning stuff, especially in cybersecurity, from low level to high level, from lock-picking to RFIDs, and I'm studying a lot. 26 00:01:35,700 --> 00:01:41,260 And for my studies, I came to this idea to talk about this topic today. 27 00:01:41,700 --> 00:01:52,800 And the last thing about me, it's the first time I'm presenting, so thank you AppSecVillage for giving me this opportunity today to be in such an honorable stage as AppSecVillage and DEF CON. 28 00:01:52,820 --> 00:01:54,860 I truly appreciate it. 29 00:01:55,380 --> 00:01:56,280 And we'll begin. 30 00:01:56,280 --> 00:01:59,540 We'll begin by introducing what is SQL injection. 31 00:01:59,540 --> 00:02:06,940 SQL injection is a technique where attackers insert malicious SQL code into some input fields. 32 00:02:06,940 --> 00:02:12,120 It can be log-in forms, search boxes, or URL parameters. 33 00:02:12,700 --> 00:02:20,300 And they do it mainly to retrieve sensitive information from the database for the application. 34 00:02:21,020 --> 00:02:29,660 They can retrieve sensitive information, delete tables, and a lot of things that we'll see in the next slides. 35 00:02:30,580 --> 00:02:35,880 But the 36 00:02:50,440 --> 00:02:59,400 example that I like the most to show what it is, a SQL injection, is to see how it looks through the code. 37 00:02:59,480 --> 00:03:03,380 We have a query where the username and the password flows to its parameters. 38 00:03:04,120 --> 00:03:06,300 In the UI it looks something like this. 39 00:03:06,300 --> 00:03:08,000 You get a log-in form. 40 00:03:08,000 --> 00:03:12,380 It's like to demonstrate the most basic type of SQL injection. 41 00:03:12,960 --> 00:03:23,680 You have the username, you can enter admin, and some malicious payload to the password that basically means a single quote and some old condition that always evaluates to true. 42 00:03:24,240 --> 00:03:27,620 This flows to the query. 43 00:03:27,780 --> 00:03:33,580 The username gets the admin and the password gets some payload that always evaluates to true. 44 00:03:33,580 --> 00:03:46,720 And by that the attacker can bypass the authentication because it's sending it to the web application, sending it to its database, and it retrieves authentication bypass. 45 00:03:49,060 --> 00:03:53,240 We have some different types of SQL injection. 46 00:03:53,240 --> 00:03:56,020 First type called in-band or classic. 47 00:03:56,020 --> 00:04:02,960 What it means is that you see the results of your payload directly in HTTP response. 48 00:04:03,360 --> 00:04:10,920 Actually it also can be served as self-category, but I want to stick as many resources I'll state in it. 49 00:04:11,040 --> 00:04:16,560 So we have the in-band that you see the response directly into the web application. 50 00:04:16,620 --> 00:04:18,680 It also divided into two categories. 51 00:04:18,680 --> 00:04:20,400 One of them is error-based. 52 00:04:23,980 --> 00:04:33,300 Error-based, what it means is that you see the results of your payload that you rely on errors that you retrieve from the database to see some sensitive information. 53 00:04:34,940 --> 00:04:37,740 And you have union-based type. 54 00:04:38,180 --> 00:04:51,680 What it means in general, we will in a second see demonstration for this, but in one sentence union-based is concatenating two data, two data, so tables into one that contains both of them. 55 00:04:51,680 --> 00:04:56,960 Or we can say that it's two select statements that combined into one result. 56 00:04:57,200 --> 00:05:06,820 We combine to some expected data, additional concatenation of a table that retrieves sensitive information. 57 00:05:06,820 --> 00:05:09,120 We will see it in the next slides. 58 00:05:10,040 --> 00:05:19,500 So to demonstrate the error-based SQL injection, we can see that we should try to probe the application. 59 00:05:19,800 --> 00:05:28,540 Most of the times we will try through one single quote and two single quotes is the most type of entry points, but you have additional entry points and comments. 60 00:05:29,000 --> 00:05:38,380 And you're starting to get a sense of some error-based attack when you get from the one single quote 500 internal server error. 61 00:05:39,400 --> 00:05:43,600 And for the double single quotes, 200 okay. 62 00:05:43,600 --> 00:05:57,280 What it means is that the SQL query behind it in the back end cannot process the query correctly because it's not expected to receive 500 internal server error. 63 00:05:57,400 --> 00:06:00,260 And if you close it in single quotes, it suddenly is okay. 64 00:06:00,260 --> 00:06:05,100 So there's some probably manipulation that you can do on the SQL. 65 00:06:05,660 --> 00:06:07,720 So we'll try to do some manipulation. 66 00:06:07,720 --> 00:06:13,000 We can send a curl command that looks a bit messy, but it's very simple. 67 00:06:13,000 --> 00:06:19,800 It's trying to convert the version function that you sent to the database to retrieve its version. 68 00:06:19,900 --> 00:06:27,120 You try to convert it to an integer and compare it to one just so the well-closed will operate correctly. 69 00:06:28,200 --> 00:06:31,240 It will look something like this when it flows to the query. 70 00:06:32,860 --> 00:06:36,320 And you get the error, conversion failed. 71 00:06:38,140 --> 00:06:43,800 You get the MySQL that the server uses MySQL with a specific version. 72 00:06:43,920 --> 00:06:47,060 And by this, by this we retrieve a sensitive information. 73 00:06:47,400 --> 00:06:50,200 I want to state here that something important. 74 00:06:50,200 --> 00:06:56,860 I stick to this example of retrieving the version of the database in many additional slides that you will see later. 75 00:06:56,880 --> 00:06:59,940 I like this example because it's not too basic and not too advanced. 76 00:06:59,940 --> 00:07:03,020 It's something in the middle so it's easy to show it. 77 00:07:03,020 --> 00:07:08,360 But in these techniques you can do something even more advanced to retrieve hash passwords and so on. 78 00:07:08,540 --> 00:07:15,800 So, but we'll stick to the version because it's truly a real world example on one hand, but on the other hand it's not too complex. 79 00:07:16,920 --> 00:07:20,680 So, now we'll move to the union base as we showed before. 80 00:07:20,820 --> 00:07:28,740 And this presenting expected regular curl command to a server that I built. 81 00:07:28,740 --> 00:07:33,380 We send query equals to Alice and we'll retrieve some expected information. 82 00:07:33,860 --> 00:07:46,760 But when we try to manipulate with a union attack, we will edit a union, select the first, oh, the user that is currently connected to the database through the web application. 83 00:07:47,900 --> 00:07:53,340 We of course need to encode it and send it to the server and that's what we get. 84 00:07:53,340 --> 00:08:08,000 We get the Alice, the query equals to Alice as we saw before and we get the current user that's connected to the database for the web application and this is information that's not supposed to be retrieved, especially so easy. 85 00:08:08,000 --> 00:08:10,680 So, this is how union based attack looks like. 86 00:08:11,800 --> 00:08:17,080 After that we have many resources dividing into these categories. 87 00:08:17,260 --> 00:08:18,680 One of them is out of band. 88 00:08:18,680 --> 00:08:46,020 I won't elaborate about it too much because it's something not so popular, but to say it, to explain it in one or two sentences, out of band attacks are the kind of attacks that you cannot communicate with the web application, the server directly and you need to utilize some external server to exfiltrate data through the database and you use some HTTP request and DNS queries to exfiltrate this data, 89 00:08:46,020 --> 00:08:51,380 but it's something much, not so common, so we won't elaborate about it too much. 90 00:08:52,140 --> 00:09:00,080 The third category of attacks is in-kind, inferential or blind type of SQL injection is generally a bit of the opposite of the in-band of course. 91 00:09:00,300 --> 00:09:13,480 It's type of attacks that you cannot see your payload or the results of your payload directly in the web page and you need to infer the results of your payload from the behavior of the web application. 92 00:09:13,820 --> 00:09:17,640 It is divided into two categories, one of them is boolean based. 93 00:09:19,480 --> 00:09:22,700 I will explain by example what is boolean based and what is in-band. 94 00:09:22,700 --> 00:09:33,220 In-band is something that you can see the results of your payload , but generally speaking it evaluates your payload to true or false in some way of behavior of the web application and like that you can infer the results. 95 00:09:33,340 --> 00:09:38,160 To see an example of it, I will show you by demonstrating on B-Web. 96 00:09:38,320 --> 00:09:40,320 It's a buggy web application. 97 00:09:40,320 --> 00:09:43,260 It's a cool application to practice on. 98 00:09:43,260 --> 00:09:47,820 You can see here a payload of substring to the version of the database. 99 00:09:49,020 --> 00:09:59,520 In short, what it means, it takes the version, checks the field of character and compares it to 6 in this case and comments all the rest. 100 00:10:00,060 --> 00:10:06,400 We flow it to the search field and we see that the movie does not exist. 101 00:10:06,400 --> 00:10:14,220 But when we change the 6 to a 5 and we flow it again to the search box, we get that the movie does exist. 102 00:10:14,220 --> 00:10:21,480 So we can infer by that that when you compare it to 5, the first character of the version of the database is starting with a 5. 103 00:10:21,840 --> 00:10:33,520 And in this kind of blind SQL injections, you need to enumerate each character until you get the whole picture. 104 00:10:33,720 --> 00:10:35,420 But that's how it looks like. 105 00:10:38,780 --> 00:10:44,880 And the last type of inferential blind that we will focus a bit more today called time-based. 106 00:10:44,880 --> 00:10:51,460 Time-based in a way is similar to Boolean-based, but it relies on the time delays that you get from the server. 107 00:10:52,140 --> 00:11:00,360 And that's how you can infer your SQL payload by sending a time delay of, for example, 10 seconds. 108 00:11:00,360 --> 00:11:09,500 The database is delayed with its response for 10 seconds and that's how you can infer if your payload was evaluated to true or false. 109 00:11:12,990 --> 00:11:17,150 And that's how a time-blind SQL injection will look like. 110 00:11:17,150 --> 00:11:23,970 To my web server I added a parameter of elapsed time to see how much it takes for the server to respond. 111 00:11:24,210 --> 00:11:29,670 So in particular query where it equals to Alice, the elapsed time was immediate. 112 00:11:30,270 --> 00:11:42,270 But when we try to run a time-based payload, for example, it will look like this with closing single quote so the SQL payload will operate normally. 113 00:11:42,270 --> 00:11:59,070 And a sleep command that causes the server to delay for 5 seconds, we encode it and we will construct in the URL, sending it back, and we can suddenly see that with the sleep command of 5 seconds, the elapsed time was 5 seconds. 114 00:11:59,450 --> 00:12:03,650 So in general what it means is that the time delay was successfully executed. 115 00:12:04,910 --> 00:12:09,990 Before we continue about time delays, I want to elaborate a bit about tools that will be connected. 116 00:12:10,730 --> 00:12:14,530 There are many tools to uncover SQL injection. 117 00:12:14,530 --> 00:12:18,630 One of them is a bit less popular called Havij. 118 00:12:18,690 --> 00:12:27,390 I decided to include it because when I researched about Team Goshel, some resources stated they used this tool and I never met it before. 119 00:12:27,770 --> 00:12:38,690 And it's a tool that was used back then a few years ago, but it's still, people can use it today, but it's much less popular or a good tool. 120 00:12:39,370 --> 00:12:56,430 We have many DAS tools, like personally here is a BELP suite by Paul Swigel that can scan your site as a DAS tool and find the SQL injection as we see here in the picture that I scanned my web server. 121 00:12:56,850 --> 00:13:02,750 But the most common tool for SQL injection and uncovering them is called SQL Map. 122 00:13:04,010 --> 00:13:05,590 I'm so happy that I was able to use this tool. 123 00:13:07,270 --> 00:13:11,230 So, SQL Map will look something like this. 124 00:13:11,350 --> 00:13:14,870 You run SQL command on the URL that you want to scan. 125 00:13:14,870 --> 00:13:23,530 In this example, we see batch command, what it means is a non-interactive command that won't interfere in the process of executing. 126 00:13:23,550 --> 00:13:26,450 And please retrieve us the database version. 127 00:13:26,710 --> 00:13:36,310 When we run it, we can see that SQL Map uncovers that we have Boolean based, time based and union, union attack seal. 128 00:13:36,550 --> 00:13:42,910 And we see the stuff that we wanted to retrieve that the database uses SQLite behind the curtain. 129 00:13:44,170 --> 00:13:49,290 To show you, of course, SQL Map can do a bit more advanced stuff, like in this example. 130 00:13:51,110 --> 00:13:56,330 We can execute SQL Map with a time delay of 5 seconds. 131 00:13:56,790 --> 00:13:59,230 I'll run it with a batch command as before. 132 00:13:59,590 --> 00:14:04,610 And please return us the banner of the database. 133 00:14:04,790 --> 00:14:07,750 And we can see that it successfully works. 134 00:14:07,750 --> 00:14:14,010 We can retrieve the banner of equals to 8.3.0. 135 00:14:15,210 --> 00:14:19,190 And before I continue to the next slide, I want to emphasize something important. 136 00:14:20,430 --> 00:14:25,330 For my personal opinion, we cannot rely on many automation tools. 137 00:14:26,170 --> 00:14:31,370 We always need to have the ability to write our own scripts to some particular cases. 138 00:14:31,370 --> 00:14:32,590 We don't need to be afraid. 139 00:14:32,590 --> 00:14:36,830 And like in a perfect world, we need to master a combination of the two. 140 00:14:36,830 --> 00:14:41,330 We can master the automating tools and writing our own scripts. 141 00:14:41,810 --> 00:14:47,470 And a script of executing time delay can look something simple as this. 142 00:14:47,470 --> 00:14:53,130 We can have a script with, of course, some constants and some expected parameters. 143 00:14:53,130 --> 00:14:56,030 But in general, it will be divided into three functions. 144 00:14:56,130 --> 00:15:01,230 One function that will check the delay of the HTTP response and will record it. 145 00:15:01,850 --> 00:15:04,770 The second function will extract the version character. 146 00:15:04,770 --> 00:15:08,650 It takes the position that we are checking in our payload. 147 00:15:08,890 --> 00:15:11,150 It compares it to the character. 148 00:15:11,150 --> 00:15:14,050 Character enumerates for all the ASCII's. 149 00:15:14,310 --> 00:15:18,050 It compares to the position in the version that we want to retrieve. 150 00:15:18,050 --> 00:15:22,790 If it got the sleep time, then it means that we successfully executed it. 151 00:15:22,790 --> 00:15:25,590 Or if not, it didn't work. 152 00:15:26,150 --> 00:15:30,530 And the first function, it continues to enumerate all the ASCII's that we want to retrieve . 153 00:15:30,530 --> 00:15:36,610 It takes all the next indexes in the version number and recalls the version that we are retrieving of the database. 154 00:15:37,510 --> 00:15:41,590 And eventually it will look something like this when we are running it. 155 00:15:43,490 --> 00:15:45,370 Extracting the database version. 156 00:15:48,570 --> 00:15:50,170 So it's very simple. 157 00:15:50,170 --> 00:15:51,430 Simple as that. 158 00:15:52,010 --> 00:15:53,370 As we can see. 159 00:15:55,130 --> 00:16:01,410 To move to a bit more real world examples, I want to show you a few stuff. 160 00:16:01,410 --> 00:16:05,210 One of them, a real world example of a guy called Mola. 161 00:16:05,210 --> 00:16:08,690 Here is YouTube and his site. 162 00:16:08,690 --> 00:16:16,970 I really like to learn about real world examples because it really demonstrates what we need, what's truly important. 163 00:16:17,150 --> 00:16:27,410 And here he claims that he earned a bounty of $5,000 finding the next payload that you will see in a fast billing site. 164 00:16:28,550 --> 00:16:41,370 What he claims that he did to execute this bounty, he ran a steep command that we saw before, concatenated to some parameter that the site had, per page equals to one, and executed time delay. 165 00:16:41,770 --> 00:16:44,530 He got truly five seconds delay. 166 00:16:45,130 --> 00:16:47,070 Then he executed this payload. 167 00:16:47,070 --> 00:16:50,110 This payload is exactly as the substring we saw before. 168 00:16:50,110 --> 00:16:54,710 The mid is equal to the substring, but particular to MySQL version. 169 00:16:54,890 --> 00:16:57,290 And it checks the version fills character. 170 00:16:57,390 --> 00:17:00,290 If it equals to five, go to sleep for 15 seconds. 171 00:17:00,290 --> 00:17:01,930 If not, return zero. 172 00:17:02,150 --> 00:17:05,610 And in this case, it didn't get any delay. 173 00:17:05,630 --> 00:17:12,390 But when he changed the five to eight, he could successfully gain 15 seconds delay. 174 00:17:12,390 --> 00:17:14,230 And by that, he gained a bounty. 175 00:17:15,670 --> 00:17:22,990 Just to show you a bit more real world examples, one of them looks something like this. 176 00:17:22,990 --> 00:17:28,210 It's some bounty that uses XOR, an interesting payload that always evaluates to true. 177 00:17:28,210 --> 00:17:34,330 And some bounty that was discovered in Department of Defense in HackerOne system. 178 00:17:34,630 --> 00:17:48,730 The second one was pretty simple concatenation to expected parameters of sleep seven seconds, also disclosed to HackerOne and found in the automatic website. 179 00:17:49,070 --> 00:17:55,870 And the third one, my favorite, combines script, union and sleep commands. 180 00:17:55,870 --> 00:18:00,170 Some real combination of all of them. 181 00:18:04,310 --> 00:18:12,690 And the third bounty gained, what I found from resources when I checked it, got bounty of $2,100. 182 00:18:14,490 --> 00:18:23,130 So, all of those stuff that we seen was utilized by Tim Gorshel in the past. 183 00:18:23,130 --> 00:18:28,350 They used a lot of SQL injection, especially time delays, something given what they did. 184 00:18:28,350 --> 00:18:31,570 They were operating in 2012. 185 00:18:32,090 --> 00:18:39,590 And they utilized even simpler SQL commands that we saw before. 186 00:18:40,070 --> 00:18:43,710 And as I said, they were operating in 2012. 187 00:18:43,710 --> 00:18:47,230 They are not related to APT39 or some Iranian government. 188 00:18:47,230 --> 00:18:49,730 They actually were a hacktivist group. 189 00:18:51,330 --> 00:18:56,050 I'm just curious, how many people of you know what hacktivism is? 190 00:18:56,050 --> 00:18:57,330 Please raise your hands. 191 00:18:58,090 --> 00:18:59,550 Okay, okay, not bad. 192 00:18:59,630 --> 00:19:01,010 Approximately half. 193 00:19:01,010 --> 00:19:13,290 So, hacktivism is when you attack a group that is trying to promote some political change or some social agenda that you believe in and you promote it by hacking. 194 00:19:13,410 --> 00:19:15,750 And that's what Tim Gorshel will. 195 00:19:15,750 --> 00:19:17,910 They were a hacktivist collective. 196 00:19:18,970 --> 00:19:24,350 And just to see what they did and who they were, they started to operate in 2012. 197 00:19:24,350 --> 00:19:30,990 They hacked the University of Arkansas because one of the guys there called Zoom was arrested. 198 00:19:31,010 --> 00:19:33,590 So, they hacked it in terms of protest. 199 00:19:34,650 --> 00:19:40,830 After that, DeadMallocs was appealed. 200 00:19:40,830 --> 00:19:42,790 DeadMallocs was the admin of the group. 201 00:19:42,790 --> 00:19:52,170 He appealed in their main communication channel in Facebook stating that he doesn't, in an ironic way, that he doesn't want to fight with FBI or CIA or something like this. 202 00:19:52,170 --> 00:19:58,590 But on the other hand, we will leak a bunch of stuff in the coming year. 203 00:19:58,630 --> 00:20:06,090 So, as he promised, he started, they started to attack the government, make additional hacking projects. 204 00:20:06,110 --> 00:20:14,750 They had Project Dragonfly where they hacked China government and leaked thousands of sensitive information. 205 00:20:15,070 --> 00:20:20,570 It included like hash passwords, some personal data and like everything they got. 206 00:20:20,630 --> 00:20:21,790 Later, Hellfire. 207 00:20:21,790 --> 00:20:27,590 In Project Hellfire, they hacked governments, financial sectors and other companies. 208 00:20:27,610 --> 00:20:35,070 In Project West Wing, they focused on universities around the globe from Harvard, Stanford to University of Rome and Tokyo. 209 00:20:35,730 --> 00:20:40,810 And they even declared a war in Project Black Star against Russia. 210 00:20:42,850 --> 00:20:56,570 In all of these projects, they hacked like, they leaked thousands to millions of records from personal information to hash passwords, as I said before. 211 00:20:56,570 --> 00:21:00,650 But many of this information was publicly already disclosed. 212 00:21:00,650 --> 00:21:05,790 Still, on the other hand, it was sensitive information that truly was released. 213 00:21:05,790 --> 00:21:15,070 But what they achieved through it, they achieved their main cause, to raise awareness to their hacktivism and to their operations. 214 00:21:16,170 --> 00:21:21,510 So, later, in Project White Fox, they basically hacked everyone to raise awareness to hacktivism. 215 00:21:21,510 --> 00:21:26,110 And they introduced their new cool logo. 216 00:21:27,890 --> 00:21:30,850 Later came Sunrise Hacks of Africa. 217 00:21:31,350 --> 00:21:39,990 2015 introduced a new term of dark hacktivism that's raising the normal hacktivism into cyber warfare levels in a much more scale. 218 00:21:40,090 --> 00:21:45,390 And in 2016, this story came to an end when Dead Melox, the leader, came clean. 219 00:21:45,390 --> 00:21:49,950 He came clean to some newspaper, sent them an email that, hi, it's me. 220 00:21:49,990 --> 00:21:54,230 I'm Eugene, the man who's behind Dead Melox, the leader of Team Goshel. 221 00:21:54,230 --> 00:21:57,070 He sent his passport and even a picture. 222 00:21:57,210 --> 00:22:06,150 They still didn't believe him, so he posted on his Twitter account to the next web, the journal that he came clean to, that, hello, it's truly me. 223 00:22:08,230 --> 00:22:12,270 So, why they did what they did? 224 00:22:12,510 --> 00:22:14,550 It's typical for hacktivism. 225 00:22:14,830 --> 00:22:23,630 For example, Westmin, they hacked to raise awareness to the foreign students' standards of the education today. 226 00:22:23,890 --> 00:22:31,050 In Blackstar, they claimed that the Russian is a government of tyranny and regret. 227 00:22:31,050 --> 00:22:34,030 They criticized their government. 228 00:22:34,610 --> 00:22:42,530 In White Fox, essentially, they wanted to promote hacktivism worldwide and draw attention to the freedom of information. 229 00:22:43,390 --> 00:22:50,510 And they had many other causes, like even in Japan, they wanted to piss them off just as it is. 230 00:22:51,470 --> 00:22:55,310 So, I want all of you to know this today. 231 00:22:55,310 --> 00:23:03,650 I know that you are thinking SQL injection is old and Team Goshel was operated in 2012, but I will show you that what is old is still worth gold. 232 00:23:04,430 --> 00:23:06,130 We can see some statistics. 233 00:23:06,130 --> 00:23:10,150 In our top ten, SQL injection is part of the injection section. 234 00:23:10,150 --> 00:23:11,850 It's still on the top. 235 00:23:12,090 --> 00:23:16,250 In many years, it was the first one and now it's like the third one. 236 00:23:18,930 --> 00:23:22,210 Oops, it confused me for a second. 237 00:23:22,450 --> 00:23:24,590 Yes, it was. 238 00:23:24,790 --> 00:23:32,550 NVD is ranking SQL injection in the second place for many, many years. 239 00:23:33,030 --> 00:23:38,930 It's considered one of the most stubborn weaknesses ranked in the third place by Mitre. 240 00:23:39,530 --> 00:23:50,050 And GitHub security advisor also stating that, and it's truly stated that SQL injection is not relevant to modern languages like Vue, React, Python, stuff like this. 241 00:23:50,050 --> 00:24:03,870 But for my opinion, what's important to know here is that the concepts or the mindset that you set for yourself when you are learning about these attacks can be implemented to many other fields because they are all related. 242 00:24:03,870 --> 00:24:07,010 You can use similar techniques to other attacks. 243 00:24:07,930 --> 00:24:15,150 And if I still didn't convince you, you can earn bug bounties easily using those kinds of techniques like this one. 244 00:24:15,290 --> 00:24:19,390 It was disclosed critical vulnerability to Department of Defense. 245 00:24:21,430 --> 00:24:25,090 And so we are coming to an end and I want to leave you with some homework. 246 00:24:25,090 --> 00:24:30,510 I don't want to state here ten resources, but I want to state one and good one that I use. 247 00:24:30,510 --> 00:24:33,570 I don't get money by PulseWiggle, by the way. 248 00:24:33,630 --> 00:24:39,290 I truly recommend them because it's free resource, theoretical and practical combined. 249 00:24:39,290 --> 00:24:41,610 Very recommended and it dives deep. 250 00:24:42,470 --> 00:24:51,070 So to recap, it's hard to make a 25 minute lecture because I want to talk about many stuff and I only have 25 minutes. 251 00:24:51,070 --> 00:24:56,910 So I tried my best and if you gain even one small little thing today, I will be genuinely happy. 252 00:24:58,070 --> 00:25:02,230 And that's it if you want to connect with me like LinkedIn and Twitter. 253 00:25:02,510 --> 00:25:03,370 And that's it.