1 00:00:00,000 --> 00:00:03,840 So now it is the top of the hour. It is now 2 p.m. 2 00:00:04,220 --> 00:00:07,500 And it is my great pleasure to introduce to you, actually my 3 00:00:07,500 --> 00:00:10,720 half-co-author, happens to be my mentee at B-Side Las Vegas this year, 4 00:00:11,740 --> 00:00:15,680 Lokesh Pindewaker, who will talk about, you know, how you can learn 5 00:00:15,680 --> 00:00:18,940 hacking and hacking, the hacker's practice playground. 6 00:00:19,280 --> 00:00:22,020 So, without much ado, Lokesh. 7 00:00:36,900 --> 00:00:40,720 All right. Thanks, Ming, for the introduction. 8 00:00:43,620 --> 00:00:46,520 It's my pleasure to be here. It's my first DEF CON as well, 9 00:00:46,600 --> 00:00:51,200 so most of you, I saw a raise of hand that some of you are first 10 00:00:51,200 --> 00:00:54,960 to DEF CON, so that's great. I'm sharing the same experience as 11 00:00:54,960 --> 00:00:59,360 you all are sharing. So, thanks, thanks, packet 12 00:00:59,360 --> 00:00:59,700 hackers. 13 00:01:00,000 --> 00:01:01,900 Thank you, Hacking Village Wall of Sheep, for giving me 14 00:01:01,900 --> 00:01:05,700 opportunity to talk here about some of the things that I have 15 00:01:05,700 --> 00:01:10,240 done myself. So, a few days ago, I was talking at B-Sides about 16 00:01:10,240 --> 00:01:13,840 how I learned hacking, and Ming was there, who mentored me 17 00:01:13,840 --> 00:01:18,520 there. Here, I am talking about more on a practice ground, what 18 00:01:18,520 --> 00:01:24,220 one can do to learn hacking, and what hackers do in order to 19 00:01:24,220 --> 00:01:28,980 own their skills, in order to learn more, in order to improvise 20 00:01:28,980 --> 00:01:29,540 on their skills. 21 00:01:30,000 --> 00:01:33,340 So, let's begin. So, let me tell you what I'm going to tell you 22 00:01:33,340 --> 00:01:37,320 in the presentation. First, we'll start with why learning this, 23 00:01:37,420 --> 00:01:42,460 you know, why to learn hacking. Then, we'll start up with how we 24 00:01:42,460 --> 00:01:46,740 can create a lab environment, how we can learn techniques, the 25 00:01:46,740 --> 00:01:51,040 tricks, the trades. We'll talk about some of the caveats, and 26 00:01:51,040 --> 00:01:54,420 what are the opportunities that will come to you if you start 27 00:01:54,420 --> 00:01:57,180 practicing hacking, you know, if you start building your skills. 28 00:01:57,760 --> 00:01:59,980 And finally, we'll end up this talk with a little bit of a talk about the 29 00:02:00,000 --> 00:02:04,880 conclusion. And I'll be demoing some of the vulnerabilities, basic 30 00:02:04,880 --> 00:02:09,680 one. So, I just want to mention in the beginning that this is a 31 00:02:09,680 --> 00:02:13,960 very beginner's talk. So, if you are new to security, if you are 32 00:02:14,800 --> 00:02:19,080 trying to be, trying to learn new things, this is for you. So, 33 00:02:19,120 --> 00:02:22,620 let me begin with my introduction. Yes, I recently graduated from 34 00:02:22,620 --> 00:02:25,120 Northeastern University. I did my masters in information 35 00:02:25,120 --> 00:02:28,580 assurance. I started working as information security engineer. 36 00:02:30,000 --> 00:02:34,680 I blog at my infosec forever. And this is my Twitter address. So, 37 00:02:34,720 --> 00:02:40,520 let's begin. Customary disclaimer. All the tools and techniques that I'm 38 00:02:40,520 --> 00:02:45,040 going to show here, whether I'm talking about those techniques or I'm 39 00:02:45,040 --> 00:02:49,900 showing a demo, those are dangerous. And those are only for 40 00:02:49,900 --> 00:02:54,280 educational purpose. I'll not be liable if you use it for some 41 00:02:54,280 --> 00:02:59,580 nefarious purpose or anything. I'll not be liable, neither Wall of Sheep, 42 00:03:00,000 --> 00:03:03,280 or any of these presentations. Another thing is, it's illegal. If 43 00:03:03,280 --> 00:03:06,820 you try those things on your employer where you don't have 44 00:03:06,820 --> 00:03:10,020 permission or if you try those things in wild, it's completely 45 00:03:10,020 --> 00:03:13,920 illegal as per the federal laws or in some state laws as well. 46 00:03:14,020 --> 00:03:17,880 So, please use caution. Please get a written permission before 47 00:03:18,660 --> 00:03:25,460 trying out these tools. So, why learn this? Why have a 48 00:03:25,460 --> 00:03:29,980 practice ground for hacking? So, before trying out these tools, 49 00:03:30,000 --> 00:03:33,680 coming to hacking, let's start with something very specific to 50 00:03:33,680 --> 00:03:36,720 industry. That's pen testing. So, this is a cool definition from 51 00:03:36,720 --> 00:03:42,100 NIST. It talks about pen testing as a testing where assessors mimic 52 00:03:42,100 --> 00:03:46,620 real world attacks. Be it your network level attacks, infrastructure, 53 00:03:47,260 --> 00:03:51,780 system level, application, or even human. Nowadays, social engineering 54 00:03:51,780 --> 00:03:59,240 is a big, big, big thing while doing pen testing. So, it's where your 55 00:03:59,240 --> 00:04:03,340 assessors will work in order to get gauge the security of the system. 56 00:04:03,800 --> 00:04:07,800 So, why do we need pen testing in our organization or why do we need 57 00:04:07,800 --> 00:04:12,360 pen testing in our general life? The best reason is it's always better. 58 00:04:12,600 --> 00:04:17,040 It's cost-effective because if attacker will be able to exploit the 59 00:04:17,040 --> 00:04:21,660 whole, it'll be more expensive to fill that gap. Instead, just find it 60 00:04:21,660 --> 00:04:27,600 yourself, and it will be cheaper. The other reason is ways. You know, 61 00:04:27,620 --> 00:04:29,220 people are crazy about organizing. It's like, you know, there's a 62 00:04:29,220 --> 00:04:34,760 automated scanners, but they are not enough. They'll tell you a lot of false positives, 63 00:04:34,920 --> 00:04:42,740 but they are not enough. You have to go one notch up where you are trying things on your own 64 00:04:42,740 --> 00:04:48,980 because pen testing will never give you false positives. Sometimes it's required from your 65 00:04:48,980 --> 00:04:56,040 compliance standard. So take an example of PCI DSS. Last year, I think this year, they had 66 00:04:56,040 --> 00:05:02,300 specific guidelines on pen testing. So yes, if you are into compliance, if you are into PCI DSS, 67 00:05:02,460 --> 00:05:11,400 there's something that you should really look into. So that was from a pen testing side. Now 68 00:05:11,400 --> 00:05:17,900 coming back to the track of why we need our practice ground. So why? So as I mentioned 69 00:05:17,900 --> 00:05:23,760 in the disclaimer, you cannot just attack anyone in the wild. So that's where you need a ground 70 00:05:23,760 --> 00:05:25,440 where you can just practice your skills. 71 00:05:26,820 --> 00:05:34,400 Legally. The other reason is it's my, since I'm coming from a background, I just graduated from my 72 00:05:34,400 --> 00:05:40,840 school. So they don't teach how to break things. It's illegal to teach breaking things. But when 73 00:05:40,840 --> 00:05:49,260 you move from your school life to a corporate life, your employer will expect from you that 74 00:05:49,260 --> 00:05:55,480 you will be able to defend against all those sophisticated attacks, APTs and everything. So 75 00:05:56,040 --> 00:06:03,920 will you learn? You have never done anything. So this is where you will learn things. And the other 76 00:06:03,920 --> 00:06:08,540 thing that I noticed while I was giving interviews, while I was transitioning from my school days to 77 00:06:08,540 --> 00:06:17,000 industry is there's a strong need of security engineers, pen testers, and real practice is 78 00:06:17,000 --> 00:06:25,180 required. Real skills are required. You cannot just go in interviews with theoretical skills. So 79 00:06:26,400 --> 00:06:33,580 let me tell you how you will build your own lab. So recipe will include the basic stuff like you'll have 80 00:06:33,580 --> 00:06:38,740 some virtualization platform, some software that you'll use for attacking some software. Those are 81 00:06:38,740 --> 00:06:44,920 vulnerable because, again, the premise, legal. So those kind of things. And more important thing, the 82 00:06:44,920 --> 00:06:51,740 technique. You will need some mind. So beginning with the infrastructure, you can install it on 83 00:06:51,740 --> 00:06:56,020 Raspberry Pi, old laptop, anything. So let me tell you one simple thing. You can install it on a 84 00:06:56,040 --> 00:07:01,320 laptop. So let me tell you a story about myself. So I installed my first virtualization software on my old 85 00:07:01,320 --> 00:07:10,860 laptop. And that had a RAM of 256 MB. On the other hand, my phone has a RAM of 2 GB RAM. So think about the 86 00:07:10,860 --> 00:07:18,520 transition that technology has made over the years. So you can use anything to build your own lab. It will not 87 00:07:18,520 --> 00:07:25,600 cost you more money. About the software, there are a bunch of free software available like VirtualBox. But if you 88 00:07:26,040 --> 00:07:33,160 are not fortunate enough, like me, I was in Northeastern. Northeastern gave me free license of VMware Workstation. 89 00:07:33,420 --> 00:07:42,880 So that worked really well for me. Coming to attacking OS. So if you plan to attack something, you will need 90 00:07:43,460 --> 00:07:51,800 some kind of software to attack a specific vulnerability. Now there is one way to install each software 91 00:07:51,800 --> 00:07:56,020 one by one. Or on the other hand, you can just install a disability. You can install a server, you can install a 92 00:07:56,040 --> 00:08:05,200 distribution. Kali Linux is one of the popular, I'll say, distribution available in the market. And I think this 93 00:08:05,200 --> 00:08:10,000 week or next week, next week they are going to release the second iteration of Kali. Earlier it was known as 94 00:08:10,000 --> 00:08:19,600 Backtrack. And I've used it extensively from the Backtrack time 2, 3, 4, R1, R2, 5. But so Kali has a bunch of 95 00:08:19,600 --> 00:08:25,620 tools for all the things. Consider information gathering, vulnerability assessment, exploitation, 96 00:08:26,860 --> 00:08:35,640 forensics, or memory corruption, timing, stress testing, everything. So if you need a common operating system 97 00:08:35,640 --> 00:08:41,940 that covers all the tools, Kali is your go-to tool. But if you are planning to do something very specific, 98 00:08:42,120 --> 00:08:48,480 such as web application print testing. So I have more interest in web applications. So what will I do? 99 00:08:49,040 --> 00:08:55,720 Kali is good to go. But there are other options available. Samurai, on the other hand, concentrates more 100 00:08:55,720 --> 00:09:01,300 more on web application. It has bunch of tools available and vulnerable application installed, 101 00:09:01,500 --> 00:09:03,980 pre-installed, which are specific to web application vulnerabilities. 102 00:09:04,920 --> 00:09:10,440 Now coming to, again, one other story from my school days. So if you are into forensics, 103 00:09:10,500 --> 00:09:16,160 so when I took my forensics class, and I'm really honored that my forensics professor 104 00:09:16,160 --> 00:09:21,740 is also here, that when I took my forensics class, it has bunch of tools which were different. 105 00:09:21,740 --> 00:09:27,840 I have never used those tools in my life during trying out pen testing, but for that particular 106 00:09:27,840 --> 00:09:34,500 semester I had to concentrate more on forensics. So if I need to excel in forensics, I am concentrating 107 00:09:34,500 --> 00:09:39,120 more tools on forensics, Santoku is one of the good options available in the market. 108 00:09:39,340 --> 00:09:44,660 There are other attacking OS like Backbox, PenTube, Android, yes, because the age is 109 00:09:44,660 --> 00:09:49,360 getting mobile now, so we need to have some tools like Appy which can be installed on 110 00:09:49,360 --> 00:09:51,140 Windows or Android Tamer. 111 00:09:51,160 --> 00:09:51,720 Specifically, we need to have some tools like Appy which can be installed on Windows or Android Tamer. 112 00:09:51,720 --> 00:09:56,620 Specific to Android, that can be used for Android pen testing or mobile pen testing 113 00:09:56,620 --> 00:10:04,200 specifically. Now those were the tools of attack, you will need some software that are 114 00:10:04,200 --> 00:10:10,900 vulnerable in nature, pre-built with the vulnerabilities, the common vulnerabilities 115 00:10:11,780 --> 00:10:15,300 like SQL injection, cross-site scripting, buffer overflows, everything. 116 00:10:15,580 --> 00:10:21,460 So these are a few vulnerable platforms that I have used personally, and I found it 117 00:10:21,460 --> 00:10:29,300 very iterative to learn things on my own. Talking about Metasploitable, so it got upgrades, 118 00:10:29,560 --> 00:10:34,440 so earlier it was Metasploitable, now it's Metasploitable 2, coming from offensive security, 119 00:10:34,740 --> 00:10:41,740 the big vendors for security, they built this operating system with a bunch of vulnerabilities, 120 00:10:42,420 --> 00:10:46,000 web application vulnerabilities as well as network services are available there. 121 00:10:46,900 --> 00:10:51,440 So it's one of the things that you can install and start playing with your computer, and 122 00:10:51,440 --> 00:10:56,620 with your attacking tools on this. I'll show, in a few minutes, I'll be showing a demo 123 00:10:56,620 --> 00:11:03,840 of how you can exploit vulnerabilities on Metasploitable 2. But there are other vulnerable 124 00:11:03,840 --> 00:11:11,360 images available. So pen tested lab, Vulhub, they are giving out images specific to vulnerabilities. 125 00:11:11,880 --> 00:11:17,620 So last year when Heartbleed came, even I was very curious to try out Heartbleed attack, 126 00:11:17,860 --> 00:11:20,760 but I cannot try it on my own. 127 00:11:20,760 --> 00:11:27,140 Like just on any random site, I went to pen tested lab, I downloaded a specific image 128 00:11:27,140 --> 00:11:33,620 for this vulnerability, and started working on this. Same with web applications. When 129 00:11:33,620 --> 00:11:39,320 I was trying out to learn SQL injection, process tripping, I downloaded the, I started 130 00:11:39,320 --> 00:11:42,360 working on these and got to know more about it. 131 00:11:42,560 --> 00:11:47,160 One tool that I really want to mention is web code. Now the good thing about web code 132 00:11:47,640 --> 00:11:50,740 is it gives you a good function. It gives you a good function, it gives you a good 133 00:11:50,740 --> 00:11:56,960 format of lessons, and then the vulnerabilities. So you'll have lessons like injection, cross 134 00:11:56,960 --> 00:12:03,140 site scripting, and as you go through it, if you are stuck at some point, it has solutions. 135 00:12:03,520 --> 00:12:08,700 So you can just click on solution, try out those things, you'll learn it. The same way 136 00:12:08,700 --> 00:12:14,340 we have spoken about mobile application attacking software, we have vulnerable mobile applications 137 00:12:14,340 --> 00:12:20,300 like GoDroid, Insecure Bank B2, one of the applications my friend has created, I really 138 00:12:20,300 --> 00:12:26,060 want to mention. And this is a good application, both on Android, there is DVIA, damn vulnerable, 139 00:12:26,260 --> 00:12:34,500 iOS application that's on iOS platform. So these were the images or the vulnerable software 140 00:12:34,500 --> 00:12:40,200 that we spoke, were the things that you can install on your machine. But if you want to 141 00:12:40,200 --> 00:12:45,880 go cloud, hack.me in 2013, they released this platform, eLearn Security released this 142 00:12:45,880 --> 00:12:50,280 platform, and this is a cloud-based platform. You can just spin up your application, you 143 00:12:50,300 --> 00:12:56,620 can go to Apache or any database and start hacking that particular thing. It's a sandbox 144 00:12:56,620 --> 00:13:01,240 environment, completely safe, completely legal. So those are something that I use. This is 145 00:13:01,240 --> 00:13:08,880 a small glimpse of my laptop view. It has a bunch of attacking operating system, a bunch 146 00:13:08,880 --> 00:13:11,820 of vulnerable web applications as well. 147 00:13:12,280 --> 00:13:20,040 So till now we spoke about the tools or infrastructure, but this is not enough. Hacking is not point-and-shoot, 148 00:13:20,300 --> 00:13:26,260 so you just press that red button and it will, boom, no. You have to have fundamental. 149 00:13:27,300 --> 00:13:33,820 And one of the things that I have learned myself is going to OWASP. It is great resource 150 00:13:33,820 --> 00:13:39,480 about web application security. You go there. I still go there for small, small things 151 00:13:39,480 --> 00:13:44,700 because the way they have designed it, how to hide vulnerabilities and what is the vulnerabilities 152 00:13:44,700 --> 00:13:47,760 , and then how to mitigate it. 153 00:13:47,860 --> 00:13:50,280 Because as a security engineer, we need to be able to understand the vulnerability 154 00:13:50,300 --> 00:13:55,200 to know how to protect our application from certain vulnerabilities and OWASP is 155 00:13:55,200 --> 00:13:59,900 a great resource and that's where most of the people who are new to industry 156 00:13:59,900 --> 00:14:06,580 they make this misjudgment of just trying out tools just spinning off tools 157 00:14:06,580 --> 00:14:10,480 so that they learn it no you have to start from the fundamental you have to 158 00:14:10,480 --> 00:14:16,480 start from the basics so other other resources that I really go to our blogs 159 00:14:16,480 --> 00:14:20,780 every researcher put their research on blogs and that's another resource 160 00:14:20,780 --> 00:14:24,820 conference talks like this I got to learn more about things from conference 161 00:14:24,820 --> 00:14:29,980 talks videos most of the conference I was not able to go but these guys 162 00:14:29,980 --> 00:14:35,540 SecurityTube, IronGreek they put videos of conferences on their portals so that I 163 00:14:35,540 --> 00:14:41,600 can view them and learn things so I'll tell you another story from my network 164 00:14:41,600 --> 00:14:46,200 security practices class so there was an assignment on DOS attacks so I went to 165 00:14:46,200 --> 00:14:46,340 a 166 00:14:46,340 --> 00:14:53,200 my YouTube search about few of the DOS attacks and found Sam's talk on YouTube 167 00:14:53,200 --> 00:14:59,100 about a different vector for denial of service I use that and it got me extra 168 00:14:59,100 --> 00:15:04,600 points so that's one good thing so now that you have learned now we have 169 00:15:04,600 --> 00:15:09,740 learned how what are those softwares hardware and techniques it does not stop 170 00:15:09,740 --> 00:15:16,140 here once you know those things you need to start practicing again and again so 171 00:15:16,140 --> 00:15:16,320 it's not a matter of time it's not a matter of time it's not a matter of time 172 00:15:16,320 --> 00:15:20,820 it's not enough to know how to exploit a cross-site scripting vulnerability get 173 00:15:20,820 --> 00:15:25,780 creative try out different payloads it will give new directions you will get to 174 00:15:25,780 --> 00:15:31,240 know new things about that so always practice and dedicate your time so what 175 00:15:31,240 --> 00:15:35,760 something that I have found whenever we dedicate time to some technique we'll 176 00:15:35,760 --> 00:15:41,600 learn more about it so don't stop I just you know I achieved this no practice it 177 00:15:41,600 --> 00:15:45,100 again and again so let's go to demo the funniest part yeah I was just talking 178 00:15:45,100 --> 00:15:45,660 talking talking 179 00:15:46,320 --> 00:15:52,440 but I hope it's oh oh okay yeah it's visible perfect so this is I'm just 180 00:15:52,440 --> 00:16:04,340 talking up my VMWare and here's my Meta exploitable I've just started my 181 00:16:04,340 --> 00:16:16,300 Cali and I'll just show you a demo of how basic vulnerabilities can be exploited and you'll get to know that it's not that valid. 182 00:16:16,320 --> 00:16:21,160 tough to start learning about these things it's very easy to start the 183 00:16:21,160 --> 00:16:26,440 toughest part is to know the basics and to practice it again and again so 184 00:16:26,440 --> 00:16:32,740 dedication will be required so as I have mentioned metis ploidable is one of the 185 00:16:32,740 --> 00:16:42,420 vulnerable distributions so I'll just look for its IP address here we can see 186 00:16:42,420 --> 00:16:48,940 it's 192 168 15 and 131 it's our target that we have to our admission is to 187 00:16:48,940 --> 00:16:58,620 exploit this target as I mentioned we'll use Cali as our attacking software will 188 00:16:58,620 --> 00:17:05,760 just go to Cali and so when I was talking about metis ploidable I said it 189 00:17:05,760 --> 00:17:10,920 has bunch of applications web application network everything so let's 190 00:17:10,920 --> 00:17:12,000 start one by one 191 00:17:12,000 --> 00:17:17,860 so first is port scanning it's so if you are into industry if you know port 192 00:17:17,860 --> 00:17:26,900 scanning you the go-to tool the defector standard is nmap we can just in order to 193 00:17:26,900 --> 00:17:36,320 enumerate the services we can just write nmap 192 168 59.131 so nmap has 194 00:17:36,320 --> 00:17:41,980 multiple joints you you can use multiple options it gives very specific results 195 00:17:41,980 --> 00:17:46,600 in terms of scanning profiles like intense scan or if you just want no 196 00:17:46,600 --> 00:17:53,160 pink scan or something I'm not using any specific scan I'm just giving you a 197 00:17:53,160 --> 00:17:59,360 small demo of how easy it is to enumerate which ports are open what 198 00:17:59,360 --> 00:18:09,380 services are running but we can go into that detail so here you see that my nmap 199 00:18:09,380 --> 00:18:11,660 scan gave me 200 00:18:11,980 --> 00:18:16,880 this so these are the open ports available as you can see that FTP telnet 201 00:18:16,880 --> 00:18:23,500 I can easily choose my target that I'm going to exploit FTP or telnet or login 202 00:18:23,500 --> 00:18:28,100 VNC so these are things that I've already decided in my mind so my 203 00:18:28,100 --> 00:18:33,420 information gathering is done now I'll start searching for exploits and things 204 00:18:36,960 --> 00:18:41,880 so so in order to exploit people use metis ploidable even I use 205 00:18:41,980 --> 00:18:48,640 metis ploid a lot but in this demo I'll be demonstrating an interface for a 206 00:18:48,640 --> 00:18:54,960 metis ploid Armitage I'm sure some of you might be using this but I just 207 00:18:54,960 --> 00:19:02,560 wanted to show how easy it is to exploit some of the vulnerability if you 208 00:19:02,560 --> 00:19:09,720 know what exactly are you trying to do it will take some time to connect so in 209 00:19:09,720 --> 00:19:11,960 the meantime let's jump on to some of the features that I'm going to show you today. 210 00:19:11,980 --> 00:19:21,300 well ability so as I mentioned we have bunch of applications in metis ploidable 211 00:19:21,300 --> 00:19:25,260 to let's see what kind of applications we see here 212 00:19:33,540 --> 00:19:41,960 so I'm just accessing my metis ploidable from my host machines browser so it's very technical and you can see that it's very complicated as well it's very reliable. 213 00:19:41,980 --> 00:19:45,640 Here, I can see Matilide is one of the vulnerable applications, DVWA. 214 00:19:46,220 --> 00:19:48,220 So, let me show you DVWA. 215 00:19:52,440 --> 00:19:55,480 So, this is one of the vulnerable applications available. 216 00:19:56,220 --> 00:19:59,440 You can just download and start practicing about things. 217 00:20:00,000 --> 00:20:06,540 It has a bunch of vulnerabilities like SQL injection, RFI, LFI, cross-site scripting, command injection, everything. 218 00:20:06,540 --> 00:20:16,840 So, if you are really new to web application security, I highly recommend you to get this tool and try out different levels. 219 00:20:17,080 --> 00:20:17,960 It has different levels. 220 00:20:18,160 --> 00:20:25,700 And the other good thing about DVWA that I have found is, I read the source code just to understand what kind of things they are doing. 221 00:20:25,880 --> 00:20:29,240 What kind of things make it vulnerable and how to protect it. 222 00:20:29,420 --> 00:20:32,200 So, it has three levels, high, medium, low. 223 00:20:32,220 --> 00:20:35,420 Low is one level where it is completely vulnerable. 224 00:20:35,600 --> 00:20:36,360 Where high is... 225 00:20:36,360 --> 00:20:36,840 It's secure. 226 00:20:36,980 --> 00:20:40,400 So, just want to see how things can be secured. 227 00:20:41,200 --> 00:20:46,460 So, let me set the security level as low so that my vulnerabilities will work. 228 00:20:46,700 --> 00:20:51,120 And the basic one, if you talk to anyone, they'll give you... 229 00:20:51,120 --> 00:20:52,760 So, how to test cross-site scripting? 230 00:20:54,300 --> 00:20:58,780 So, I'll not put alert one as the first payload. 231 00:20:59,200 --> 00:21:03,960 It's quite easy because I already know that this is vulnerable to cross-site scripting. 232 00:21:04,000 --> 00:21:06,280 I'll just put script alert one and get an alert box. 233 00:21:06,360 --> 00:21:07,280 And it's cross-site scripting. 234 00:21:07,340 --> 00:21:08,720 But what is the method? 235 00:21:09,080 --> 00:21:13,900 The method is to see whether something is getting reflected from the server or not. 236 00:21:14,120 --> 00:21:17,820 So, let's try to see if something is getting reflected. 237 00:21:17,980 --> 00:21:19,900 If it is executing attacks or not. 238 00:21:20,380 --> 00:21:21,640 So, I'm putting it... 239 00:21:22,520 --> 00:21:24,840 I'm putting a tag as B just to bold. 240 00:21:25,020 --> 00:21:29,220 This will be bold. 241 00:21:30,780 --> 00:21:31,900 Let's see what happens. 242 00:21:33,140 --> 00:21:35,780 So, if you notice, this is different... 243 00:21:36,800 --> 00:21:37,160 And... 244 00:21:37,740 --> 00:21:38,540 Is it different? 245 00:21:40,020 --> 00:21:40,380 Yeah. 246 00:21:40,420 --> 00:21:40,840 So, this is... 247 00:21:41,260 --> 00:21:44,980 I don't know if you are able to make a judgment. 248 00:21:45,120 --> 00:21:47,580 Let me put it as italic just to make sure that... 249 00:21:53,020 --> 00:21:53,380 This... 250 00:21:57,520 --> 00:21:58,300 So, see here. 251 00:21:58,760 --> 00:22:00,160 It's reflecting something. 252 00:22:00,300 --> 00:22:00,940 So, something is happening. 253 00:22:01,040 --> 00:22:05,100 Now, we know that it's executing our scripts. 254 00:22:05,240 --> 00:22:05,920 And here... 255 00:22:06,900 --> 00:22:11,880 Here is the point where you can test whether it's actually vulnerable to cross-site scripting attacks. 256 00:22:12,320 --> 00:22:14,940 So, alert one gives you a proof of concept. 257 00:22:15,240 --> 00:22:16,140 I'll just show you. 258 00:22:16,860 --> 00:22:17,740 Document.cookie. 259 00:22:26,980 --> 00:22:27,940 And here you go. 260 00:22:30,440 --> 00:22:33,680 So, the same way you can try out cross-site scripting stored. 261 00:22:33,820 --> 00:22:33,980 Okay. 262 00:22:34,040 --> 00:22:34,940 So, some of that... 263 00:22:34,940 --> 00:22:35,680 Okay. 264 00:22:35,760 --> 00:22:36,140 So... 265 00:22:36,360 --> 00:22:38,320 So, here you can try out cross-site scripting. 266 00:22:39,260 --> 00:22:40,680 My favorite command injection. 267 00:22:41,040 --> 00:22:42,500 You can just see... 268 00:22:46,820 --> 00:22:48,980 What kind of commands you are executing on server. 269 00:22:50,600 --> 00:22:51,040 So... 270 00:22:54,380 --> 00:22:56,000 It's vulnerable to command injection. 271 00:22:56,280 --> 00:22:57,340 This is the way you do it. 272 00:22:58,240 --> 00:22:59,760 So, I think our... 273 00:22:59,760 --> 00:23:00,480 Yes. 274 00:23:00,680 --> 00:23:01,200 So... 275 00:23:01,840 --> 00:23:02,360 Yeah. 276 00:23:02,440 --> 00:23:05,560 I was taking that meantime just to introduce you to... 277 00:23:05,560 --> 00:23:07,720 So, web application security and how you can test it. 278 00:23:08,040 --> 00:23:11,240 Now, here I'm showing you this. 279 00:23:11,340 --> 00:23:15,880 So, what we did earlier, we did an Nmap scan to enumerate the services. 280 00:23:16,380 --> 00:23:18,920 In Armitage, you have two options. 281 00:23:19,520 --> 00:23:24,000 So, Metasploit also helps you in enumerating services. 282 00:23:24,400 --> 00:23:28,600 So, either you can use Metasploit's engine or Nmap engine to enumerate services. 283 00:23:28,820 --> 00:23:33,200 So, it has Nmap scan, different scans that I was talking about. 284 00:23:33,340 --> 00:23:34,680 And then you have MSF scans. 285 00:23:35,860 --> 00:23:40,600 So, I prefer to do both because it gives me more perspective about the target. 286 00:23:41,060 --> 00:23:43,780 But, you know, we can just do one also. 287 00:23:43,880 --> 00:23:44,720 That will also be enough. 288 00:23:45,560 --> 00:23:47,000 So, let me do it. 289 00:23:47,020 --> 00:23:48,640 Intent scan all TCP ports. 290 00:23:48,840 --> 00:23:51,800 This is my server. 291 00:23:52,060 --> 00:23:53,360 It started scanning. 292 00:23:59,080 --> 00:24:04,960 So, the other reason why I'm demonstrating Armitage is how easily you can see... 293 00:24:05,560 --> 00:24:10,600 So, you can see that there is a reverse bind shell connected to it or meter putter is executed. 294 00:24:11,180 --> 00:24:12,780 So, it's still executing. 295 00:24:13,520 --> 00:24:15,140 So, Nmap is running. 296 00:24:15,320 --> 00:24:16,520 It's enumerating. 297 00:24:18,060 --> 00:24:21,160 So, that gives us time for another demo. 298 00:24:21,300 --> 00:24:24,520 So, let's jump on to my favorite web code. 299 00:24:24,720 --> 00:24:27,980 For that, I have my favorite operating system available. 300 00:24:30,740 --> 00:24:32,420 Highly secured Windows XP. 301 00:24:35,560 --> 00:24:37,740 I have to watch what I'm reading there. 302 00:24:41,380 --> 00:24:41,860 People are taking questions. 303 00:24:41,860 --> 00:24:43,200 Just give me a few moments. 304 00:24:45,920 --> 00:24:47,780 So, any questions here in between? 305 00:24:48,000 --> 00:24:48,780 We can take... 306 00:24:52,080 --> 00:24:53,360 No questions here. 307 00:24:53,740 --> 00:24:54,900 Showing all the new stuff. 308 00:25:03,220 --> 00:25:05,540 So, the other thing that I'm going to discuss here is... 309 00:25:05,560 --> 00:25:11,420 demo is the web code how you can run it so web code is again coming from OWASP 310 00:25:11,420 --> 00:25:18,420 it is being developed in java and it has vulnerabilities in the form of lessons 311 00:25:21,140 --> 00:25:28,000 so quickly go i've just downloaded it from its link and i'm starting the apache server 312 00:25:28,680 --> 00:25:33,200 it uses tomcat as the observer so let me start it and then 313 00:25:37,560 --> 00:25:39,200 we can quickly go 314 00:25:54,060 --> 00:25:57,960 so as you see my server has started 315 00:26:04,080 --> 00:26:05,540 so it it it started 316 00:26:05,560 --> 00:26:11,320 it needs credentials we just log in with guest credential and it's contacting 317 00:26:15,980 --> 00:26:20,980 so as i was talking about these are in the left hand side you can see all the lessons 318 00:26:20,980 --> 00:26:25,460 if you just click on something it will do once you are done with one of the lessons 319 00:26:25,460 --> 00:26:32,160 it gives you green signals like okay fine you passed it so let's let's let's do something 320 00:26:32,700 --> 00:26:35,380 and the other thing is it has solutions show java 321 00:26:35,560 --> 00:26:39,860 something like if you want to know what is the source code of this vulnerable page it gives you 322 00:26:39,860 --> 00:26:44,660 a good look of the source code and you can actually see what is the vulnerability 323 00:26:49,180 --> 00:26:50,120 so let's see 324 00:26:56,240 --> 00:27:03,260 so here i'm just demonstrating a simple sql injection let's see john j smith 325 00:27:07,300 --> 00:27:18,000 all right so no matching records form so if i do this okay so here when when i when i'm able to 326 00:27:18,000 --> 00:27:23,120 exploit the sql injection i get a good message like congratulations you have done this and then 327 00:27:23,120 --> 00:27:29,280 whatever will and you if you notice here it gives you me it it gives me an check mark so that was 328 00:27:29,280 --> 00:27:34,200 all about webgoat try it out it's a good tool it's good to learn things so. 329 00:27:35,580 --> 00:27:37,600 Yeah, in the meantime our scan is complete. 330 00:27:37,860 --> 00:27:43,380 So even while doing the real-time pen testing, you know, you have to give time for your scans. 331 00:27:43,560 --> 00:27:47,040 In the meantime you can just try out different things to get more information. 332 00:27:47,740 --> 00:28:02,860 Once the scan is complete, we can just click on the console and we can see what kind of 333 00:28:02,860 --> 00:28:03,980 services are installed there. 334 00:28:03,980 --> 00:28:06,780 So we can see here FTP, the same thing that we... 335 00:28:07,980 --> 00:28:10,980 So let's try, let's search something related to FTP. 336 00:28:11,400 --> 00:28:13,940 Do we have anything running? 337 00:28:14,180 --> 00:28:15,960 Now it says vsftpd. 338 00:28:16,140 --> 00:28:21,800 So let's see if Metasploit has anything related to vsftpd. 339 00:28:21,940 --> 00:28:24,840 I can see one of the exploits available. 340 00:28:25,860 --> 00:28:29,320 So it's very easy to exploit this. 341 00:28:29,480 --> 00:28:33,080 You just need to drag it here, drop it on this. 342 00:28:33,100 --> 00:28:33,960 It will execute on this. 343 00:28:33,960 --> 00:28:37,940 It will ask you options, so if you have worked with Metasploit, you have to set certain options 344 00:28:37,940 --> 00:28:40,000 like what is the remote port or remote host. 345 00:28:40,180 --> 00:28:44,740 In this, we can set everything here, but as you see it already set the remote host as 346 00:28:44,740 --> 00:28:51,520 my Metasploit table IP address, so every option is already set up. 347 00:28:51,800 --> 00:28:57,220 It will not populate other things like username or password or anything else. 348 00:28:57,460 --> 00:29:02,800 So once we are done with the options, we can just say launch and it will start. 349 00:29:03,960 --> 00:29:04,600 Launching the... 350 00:29:07,160 --> 00:29:14,080 And if you notice, we got the root access and it changed the colors. 351 00:29:15,900 --> 00:29:19,840 And we get a new tab here, new setting here, which says shell. 352 00:29:20,800 --> 00:29:22,180 And here you go. 353 00:29:22,760 --> 00:29:26,320 We can interact with this, it's root. 354 00:29:26,500 --> 00:29:31,240 So we just exploited vsftpd on a vulnerable application. 355 00:29:31,400 --> 00:29:31,720 So here... 356 00:29:31,720 --> 00:29:33,940 This is how you can learn this. 357 00:29:33,940 --> 00:29:35,900 I was just searching for vsftpd. 358 00:29:35,940 --> 00:29:42,320 Sometimes it will work, sometimes it will not work based on the disconnect. 359 00:29:44,880 --> 00:29:47,580 So we can just search for find attacks. 360 00:29:47,920 --> 00:29:49,120 It will do a small query. 361 00:29:49,360 --> 00:29:54,180 It's not completely reliable, but yes, we can definitely do a small query of what kind 362 00:29:54,180 --> 00:29:55,880 of attacks can be possible on my target. 363 00:30:00,900 --> 00:30:03,240 And when you do that, you get... 364 00:30:03,240 --> 00:30:05,500 Another tab, which is attack. 365 00:30:05,760 --> 00:30:11,680 So it gives a suggestion of what kind of attacks can be possible and we can pick anything. 366 00:30:12,880 --> 00:30:16,120 Sometimes it will work, sometimes it will not work because this is just a suggestion 367 00:30:16,820 --> 00:30:21,140 from a heuristics point of view that these kind of attacks can be tried. 368 00:30:22,240 --> 00:30:25,000 So yeah, that's it from my demo site. 369 00:30:25,140 --> 00:30:25,920 Let's continue. 370 00:30:33,300 --> 00:30:34,900 So yes, so this... 371 00:30:34,900 --> 00:30:40,760 Till now we were talking about how we can set up our lab, how can we start learning 372 00:30:40,760 --> 00:30:44,880 about exploitation, how we can start learning about vulnerability assessments and everything. 373 00:30:45,200 --> 00:30:50,920 Now coming to real world, how we can learn in real world scenario, what kind of things 374 00:30:50,920 --> 00:30:53,780 are available and how we can learn new attack scenarios. 375 00:30:54,200 --> 00:31:00,020 Wargames and capture the flag competitions are good resources of experiencing the real 376 00:31:00,020 --> 00:31:00,480 world things. 377 00:31:01,000 --> 00:31:03,220 As you can see, even in Defcon, we have multi-task. 378 00:31:03,220 --> 00:31:04,500 We have multiple CTFs being organized. 379 00:31:05,100 --> 00:31:07,720 Participate in those kind of CTFs, you learn new things. 380 00:31:08,640 --> 00:31:13,440 But if you are not in a conference, how will you get involved in CTFs? 381 00:31:13,860 --> 00:31:18,760 Over the wire is one of the resources that I have used and I have been very successful 382 00:31:18,760 --> 00:31:24,500 with this in terms of learning things because it has multiple challenges based on web applications. 383 00:31:24,700 --> 00:31:30,360 So NetEase is one of the vulnerable web application challenge where it has level one, two, three. 384 00:31:30,500 --> 00:31:32,860 So first one will have some of the... 385 00:31:33,220 --> 00:31:36,800 Low level vulnerabilities, but as you go up, it will have more vulnerabilities. 386 00:31:37,140 --> 00:31:38,840 The other is like smash the stack. 387 00:31:39,100 --> 00:31:46,120 I have bunch of links just for the wargames and CTFs available globally on the internet. 388 00:31:46,400 --> 00:31:47,540 You can just contact me. 389 00:31:47,580 --> 00:31:48,640 I can give you a list of that. 390 00:31:50,540 --> 00:31:56,280 Apart from CTFs and wargames, nowadays I've seen from couple of years, people have started 391 00:31:56,280 --> 00:31:59,220 putting up challenges, online challenges on specific things. 392 00:31:59,460 --> 00:32:03,160 So last year, like last year, this screenshot, this screen capture is from... 393 00:32:03,220 --> 00:32:06,380 It's this game area that Google has put up. 394 00:32:06,440 --> 00:32:10,540 So last summer when I was interning, Google has put up a cross-site scripting challenge 395 00:32:10,540 --> 00:32:11,820 and it was a five level challenge. 396 00:32:12,240 --> 00:32:17,340 So I jumped onto it, tried different things, and finally I blogged it about how it is 397 00:32:17,340 --> 00:32:17,520 done. 398 00:32:17,640 --> 00:32:22,980 But the same way, other companies like Yahoo or Google Grower is one of the other application 399 00:32:22,980 --> 00:32:24,200 that I generally use. 400 00:32:25,560 --> 00:32:31,820 One good thing about these challenges is people write about the walkthroughs when they approach 401 00:32:31,820 --> 00:32:32,400 the challenges. 402 00:32:33,220 --> 00:32:38,580 So the way I have blogged my experience with the Exodus challenge that Google has put up, 403 00:32:38,640 --> 00:32:42,340 the same way other researchers also blog about their walkthroughs. 404 00:32:42,380 --> 00:32:44,000 So that helps fellow researchers. 405 00:32:44,200 --> 00:32:49,760 So I may not be able to get cross-site scripting payload within 15 characters or 11 characters, 406 00:32:49,960 --> 00:32:57,300 but I can revisit, I can visit others' walkthrough in order to get more understanding of that. 407 00:32:57,480 --> 00:33:03,200 And that's where Cure53's link comes into picture. 408 00:33:03,220 --> 00:33:05,960 It gives a good write-up of older challenges. 409 00:33:06,340 --> 00:33:09,900 It's based on cross-site scripting, what are the challenges that were put up in the past. 410 00:33:10,100 --> 00:33:14,420 They give a good walkthrough of what kind of payloads that they have used. 411 00:33:14,640 --> 00:33:20,320 And people submitted, people collaborated, and that's where I have learned most of my 412 00:33:21,180 --> 00:33:25,660 payloads, which I try to, you know, when there's a restriction, like a username field, 413 00:33:25,720 --> 00:33:27,860 it has a restriction of putting only seven characters. 414 00:33:28,140 --> 00:33:32,520 So I don't know if cross-site scripting is possible in seven characters, but yeah, those 415 00:33:32,520 --> 00:33:35,560 kind of things, maybe by encoding we can do that. 416 00:33:35,900 --> 00:33:41,200 So that brings me to another thing, you know, changing gears here. 417 00:33:41,500 --> 00:33:48,520 So we started with setting up our lab, then we learned how to exploit things, we started 418 00:33:48,520 --> 00:33:54,700 participating in CTFs, challenges, we are excelling at everything, and now suddenly 419 00:33:54,700 --> 00:33:56,360 we stumble upon a zero-day. 420 00:33:56,540 --> 00:33:57,660 So what will you do? 421 00:33:58,100 --> 00:34:01,680 So as a security practitioner, what I do is... 422 00:34:01,680 --> 00:34:01,900 I... 423 00:34:01,900 --> 00:34:04,780 I strongly believe in responsible disclosure. 424 00:34:05,040 --> 00:34:09,360 I have disclosed multiple critical vulnerabilities to vendors in the past. 425 00:34:09,480 --> 00:34:10,320 I do it regularly. 426 00:34:10,660 --> 00:34:15,360 So that's something that I recommend to everyone, because we are white hats at the end. 427 00:34:15,940 --> 00:34:17,200 So that's something. 428 00:34:17,400 --> 00:34:22,360 The other thing that it does, the responsible disclosure or coordinated disclosure, is 429 00:34:22,360 --> 00:34:24,960 it builds trust between the vendor and the community. 430 00:34:25,500 --> 00:34:31,180 So you don't need to threaten the vendor that I have got a critical bug in your system, 431 00:34:31,180 --> 00:34:37,540 and give me, like, $500 or something like that, otherwise I'll just disclose it, I'll 432 00:34:37,540 --> 00:34:40,800 exploit, or I'll just find out your user base, everything. 433 00:34:40,960 --> 00:34:41,640 So don't do that. 434 00:34:42,040 --> 00:34:45,300 Always try to build trust between vendors. 435 00:34:45,540 --> 00:34:49,920 And sometimes it gives you name and fame as well, and money. 436 00:34:50,100 --> 00:34:56,560 So since I was a student, it was a great resource to earn some good money out of bug bounty 437 00:34:56,560 --> 00:34:56,940 programs. 438 00:34:57,320 --> 00:35:00,100 So with this skill, it... 439 00:35:00,100 --> 00:35:00,680 I... 440 00:35:00,680 --> 00:35:01,160 I... 441 00:35:01,180 --> 00:35:05,460 I wanted to gain more exposure, more experience, and I started doing that. 442 00:35:05,680 --> 00:35:07,100 So I'll talk about that in a minute. 443 00:35:07,500 --> 00:35:14,680 So coming to the opportunity land, huge, huge opportunities, when you talk about information 444 00:35:14,680 --> 00:35:16,540 security and why we need... 445 00:35:18,340 --> 00:35:23,500 Why we need to learn hacking, because if you are with this kind of skill, people are ready 446 00:35:23,500 --> 00:35:24,280 to pay you a lot. 447 00:35:24,500 --> 00:35:29,380 And just to give you a brief glimpse, $100,000, it's huge. 448 00:35:30,340 --> 00:35:34,680 So coming to dollars, like, so I was talking about bug bounty programs. 449 00:35:35,240 --> 00:35:40,640 It's just good, because most of the companies have started putting up responsible disclosure 450 00:35:40,640 --> 00:35:47,580 pages on their web application just to communicate with the security researchers and awarding 451 00:35:47,580 --> 00:35:50,120 what they are trying to find out. 452 00:35:50,380 --> 00:35:56,940 And it started with, you know, Google and Facebook, they come early in the party, and 453 00:35:56,940 --> 00:35:58,000 now we have got... 454 00:35:58,000 --> 00:36:03,580 But specific platforms like Bug Crowd, Synac, or HackerOne, they... 455 00:36:03,580 --> 00:36:11,440 These are platforms where vendors put up their application for challenge, and security researchers 456 00:36:11,440 --> 00:36:16,320 from all over the globe, they try to exploit vulnerabilities in scope. 457 00:36:17,060 --> 00:36:25,940 And if it is a right vulnerability, it's a true positive, then vendor awards and awards 458 00:36:25,940 --> 00:36:33,380 ranges from anywhere between $10 to $35,000 or anything. 459 00:36:33,940 --> 00:36:38,640 I have disclosed multiple vulnerabilities to Sony, Prezi, Eventbrite, and that was, like, 460 00:36:38,720 --> 00:36:40,740 something that I still do it. 461 00:36:41,040 --> 00:36:43,220 And different programs offer different things. 462 00:36:43,460 --> 00:36:49,340 So for instance, I think a few months back, United launched a bug bounty program, and 463 00:36:49,340 --> 00:36:52,540 they are awarding miles, the flight miles. 464 00:36:52,800 --> 00:36:55,240 And so that's one of the good things. 465 00:36:55,240 --> 00:36:56,460 What bug bounty programs. 466 00:36:56,780 --> 00:37:04,440 But when one is trying to participate in bug bounty programs, there are some guidelines 467 00:37:04,440 --> 00:37:11,860 that I think I follow myself, and I recommend to everyone, because it's very important, 468 00:37:12,020 --> 00:37:14,960 and these guidelines will give you a big payout. 469 00:37:15,260 --> 00:37:22,860 And one of the good things, one of the things that is a main ingredient of getting a good 470 00:37:22,860 --> 00:37:24,380 payout is writing a concise report. 471 00:37:24,560 --> 00:37:24,740 Yeah. 472 00:37:25,240 --> 00:37:29,580 Even when we do formal pen testing, we try to write a concise report. 473 00:37:29,800 --> 00:37:32,200 So why not do the same thing with the bug bounty reports? 474 00:37:32,560 --> 00:37:37,960 So that's one of the things that will give visibility to the vendor. 475 00:37:38,540 --> 00:37:41,880 They'll be able to replicate the steps. 476 00:37:42,240 --> 00:37:43,860 The other thing is scope. 477 00:37:44,060 --> 00:37:51,860 As I mentioned earlier, just because the vendor has put up a site for you to exploit, don't 478 00:37:51,860 --> 00:37:52,660 exploit anything. 479 00:37:53,380 --> 00:37:54,520 Be in scope. 480 00:37:54,520 --> 00:38:00,920 So that's very important, because sometimes people get really annoyed when we try to go 481 00:38:00,920 --> 00:38:01,480 out of scope. 482 00:38:01,700 --> 00:38:03,000 And respect the vendor. 483 00:38:03,080 --> 00:38:03,720 Don't threaten them. 484 00:38:03,980 --> 00:38:05,500 So I'll tell you my experience. 485 00:38:05,680 --> 00:38:11,860 One of the bugs that I have reported last year in a password manager that got breached 486 00:38:11,860 --> 00:38:15,200 some time back, they fixed my bug last month. 487 00:38:15,360 --> 00:38:18,660 So it took around 12 months for them to fix a bug. 488 00:38:19,200 --> 00:38:22,180 But I never tried to threaten them. 489 00:38:22,280 --> 00:38:23,900 That's something that we need to follow. 490 00:38:23,900 --> 00:38:24,420 Respect them. 491 00:38:25,160 --> 00:38:27,820 And the last thing is don't copy-paste. 492 00:38:28,060 --> 00:38:29,860 There are a lot of cool bugs to find. 493 00:38:30,120 --> 00:38:34,440 Get creative and find something innovative, something new, something good. 494 00:38:34,700 --> 00:38:36,000 So don't copy-paste. 495 00:38:36,380 --> 00:38:41,260 And yeah, that's a few of the things that I generally recommend in order to excel in 496 00:38:41,260 --> 00:38:41,900 bug bounty programs. 497 00:38:42,660 --> 00:38:50,600 So this brings me towards the end of my talk, where let's discuss what we have discussed 498 00:38:50,600 --> 00:38:51,080 so far. 499 00:38:51,800 --> 00:38:52,320 1. 500 00:38:52,320 --> 00:38:56,700 One of the key things is the security industry is growing exponentially. 501 00:38:57,000 --> 00:38:59,080 There are new kinds of vectors, attacks. 502 00:38:59,460 --> 00:39:00,860 Everything is happening so rapidly. 503 00:39:01,480 --> 00:39:05,700 And the skill development is really a key to excel in this industry. 504 00:39:06,340 --> 00:39:11,520 And one cannot develop skills just by going into a school or just by attending a workshop. 505 00:39:12,080 --> 00:39:14,300 It's a continuous process. 506 00:39:14,800 --> 00:39:20,220 You have to start on your own practice, and then you can excel. 507 00:39:20,500 --> 00:39:21,040 2. 508 00:39:21,040 --> 00:39:26,520 The other thing is schools are good, classes are great, but they cannot teach everything 509 00:39:26,520 --> 00:39:27,060 in class. 510 00:39:27,280 --> 00:39:30,960 So, for example, my professor taught me how to do a SQL injection. 511 00:39:31,840 --> 00:39:36,840 But he cannot, he will not, you know, he will not be able to teach me all the ways 512 00:39:36,840 --> 00:39:43,940 because A, it's not feasible because of the time constraint and B, it's not in respect 513 00:39:43,940 --> 00:39:46,500 to the whole class because other people might not be interested. 514 00:39:46,700 --> 00:39:50,340 So you have to get that cue and then start developing on your own. 515 00:39:50,340 --> 00:39:56,080 The good thing about doing this is you get to know how to attack. 516 00:39:56,300 --> 00:40:02,820 And that makes you different because you'll be able to defend against more sophisticated 517 00:40:02,820 --> 00:40:05,600 attacks or even by sophisticated, the normal attacks. 518 00:40:06,100 --> 00:40:12,600 So that's one of the great things that once we have experience of exploitation, we'll 519 00:40:12,600 --> 00:40:13,880 be able to design better defenses. 520 00:40:14,680 --> 00:40:16,300 So that's one of the things. 521 00:40:16,440 --> 00:40:18,840 And that brings me to the end of my talk. 522 00:40:18,940 --> 00:40:20,320 These are a few of the references that I have. 523 00:40:20,320 --> 00:40:20,500 I hope you enjoyed it. 524 00:40:21,220 --> 00:40:21,720 Thank you. 525 00:40:21,720 --> 00:40:22,960 And any questions? 526 00:40:26,340 --> 00:40:26,840 Yes. 527 00:40:28,100 --> 00:40:28,600 Oh. 528 00:40:30,280 --> 00:40:30,780 Okay. 529 00:40:33,060 --> 00:40:33,560 Okay. 530 00:40:33,760 --> 00:40:34,040 Sure. 531 00:40:35,040 --> 00:40:35,540 Sure. 532 00:40:35,540 --> 00:40:37,220 So questions we'll have after the talk. 533 00:40:37,380 --> 00:40:37,780 All right. 534 00:40:37,940 --> 00:40:41,400 And thanks, thanks, thanks a lot to Wall of Sheep and having me here. 535 00:40:41,500 --> 00:40:47,720 Thanks a lot to Ming for spending time with me and giving me the mentorship. 536 00:40:48,220 --> 00:40:50,300 I'm really honored to have him. 537 00:40:50,740 --> 00:40:51,040 Thanks. 538 00:40:51,460 --> 00:40:52,100 Thanks a lot, guys. 539 00:40:52,240 --> 00:40:53,220 Thanks a lot for being here. 540 00:40:53,480 --> 00:40:53,780 Bye. 541 00:40:53,880 --> 00:40:54,180 Bye. 542 00:40:54,560 --> 00:40:54,860 Bye. 543 00:40:55,340 --> 00:40:55,640 Bye. 544 00:40:55,840 --> 00:40:56,140 Bye. 545 00:40:57,020 --> 00:40:57,320 Bye.