[00:09.140 --> 00:13.860] So, I'm Gabrielle. I'm an Offensive Security Advisor at Desjardins. [00:14.020 --> 00:18.180] And I do different things. I'm involved in the community, [00:18.180 --> 00:20.080] on different advisory boards. [00:20.080 --> 00:22.000] I'm not going to bore you too much with this. [00:22.000 --> 00:24.100] I'm going to go straight to the point. [00:25.240 --> 00:29.460] So, what is Android Application Pen Test? [00:31.400 --> 00:39.790] So, I'm pretty sure everyone here knows what a pen test is. [00:39.790 --> 00:42.930] So, I'm not going to make a definition of this. [00:43.210 --> 00:49.410] So, it's a type of pen test that is part of a list that pen testers usually provide. [00:49.690 --> 00:53.010] And so, most of us are generalists. [00:53.010 --> 00:58.030] But usually we can, you know, get an expertise in something. [00:58.030 --> 01:03.710] And so, we can be network experts, we can be mobile experts. [01:03.710 --> 01:05.050] So, it really depends. [01:05.150 --> 01:10.190] And so, Android app is different from other pen tests [01:10.190 --> 01:14.410] because most of the time we will have an executable to analyze. [01:15.070 --> 01:19.490] And so, for example, for web apps, you will have a URL. [01:19.590 --> 01:24.430] But for an external pen test, you will have an IP address. [01:24.530 --> 01:27.970] But for a mobile pen test, we have an executable. [01:27.970 --> 01:31.910] So, we can externalize it or we can dynamically analyze it. [01:32.410 --> 01:36.830] So, yeah, except if you're doing a white box pen test. [01:36.830 --> 01:39.750] So, you will have probably code on other pen tests. [01:39.750 --> 01:41.650] But most of the times, there's not. [01:41.850 --> 01:44.170] Except if you do white box, of course. [01:50.650 --> 01:54.450] So, why? That's a tough question. [01:54.690 --> 02:01.030] Well, even if Google Play carefully chooses the app for the store, [02:01.030 --> 02:04.750] there are still apps that are vulnerable or even dangerous. [02:04.750 --> 02:11.390] Like in July 2022, there was this family of app by Kelly Tech. [02:11.390 --> 02:17.270] It was installed about 3 million times on Android. [02:17.270 --> 02:20.010] And it was a malware family. [02:20.230 --> 02:24.750] So, it was describing users to premium services [02:24.750 --> 02:29.430] without them even knowing they were subscribing to premium services. [02:29.430 --> 02:35.790] And it took around six months to Google to remove it from the app stores. [02:37.290 --> 02:42.190] So, that's partly why. [02:42.190 --> 02:50.730] And also, I'm going to tell you what about Android APIs. [02:50.730 --> 02:54.130] So, why do dev use APIs in the first place? [02:54.130 --> 03:02.970] So, for example, it's a very convenient way to access to remote data. [03:02.970 --> 03:05.690] So, for example, if you want a weather forecast, [03:05.690 --> 03:09.590] if you want social media platforms, if you want cloud storage services, [03:09.590 --> 03:10.990] it's very convenient. [03:11.450 --> 03:16.110] It's also very convenient for third-party integration, [03:16.110 --> 03:19.750] like payment gateways or things like this. [03:19.750 --> 03:22.390] If you want to improve your app performance, [03:22.390 --> 03:26.730] it's also very convenient because it reduces the amount of data [03:26.730 --> 03:30.290] that needs to be transferred between app and server. [03:30.690 --> 03:34.890] And you can also request only the data that you need. [03:35.510 --> 03:39.130] And also, it's a way to avoid code reuse. [03:39.370 --> 03:42.470] So, instead of writing everything from scratch, [03:42.470 --> 03:45.510] you just take code that is already made, [03:45.510 --> 03:49.070] and it's very convenient, and you will save time and effort. [03:49.070 --> 03:52.370] And it's flexible and scalable, [03:53.130 --> 04:00.410] and so it's a way to separate back-end from front-end. [04:00.630 --> 04:04.850] And finally, if you want, you can make your own APIs, [04:04.850 --> 04:06.830] and you can monetize them. [04:07.210 --> 04:11.170] So, a lot of very good advantages. [04:13.210 --> 04:18.530] So, here is the Android application pen test process. [04:18.530 --> 04:21.630] So, first we have to define the scope. [04:21.970 --> 04:25.730] And so, we are going to take care of the legal matters. [04:25.730 --> 04:28.790] So, this is going to be the planning phase, the first one, you can see. [04:28.930 --> 04:30.710] Then you have the reconnaissance. [04:30.710 --> 04:34.030] So, it's as usual in a pen test, there is a reconnaissance phase. [04:34.250 --> 04:37.030] Here, what you can do more than in other pen tests [04:37.030 --> 04:39.270] is that you can check out on Google Play [04:39.270 --> 04:43.010] any infos you can find about the app, [04:43.930 --> 04:46.910] and do some reconnaissance on the company. [04:47.790 --> 04:50.810] And so, then you have the static analysis. [04:50.810 --> 04:52.930] So, you are going to look at the code. [04:53.350 --> 04:56.030] You are going to check for specific elements there. [04:56.030 --> 04:59.650] So, I'm going to go a little more in detail in this later. [04:59.870 --> 05:01.910] And then you have the dynamic analysis. [05:01.910 --> 05:04.370] So, you are going to intercept the traffic [05:04.370 --> 05:06.870] and look for potential vulnerabilities. [05:07.190 --> 05:09.630] And finally, you have the report phase, [05:09.630 --> 05:15.070] where you are going to present and explain the findings you've had. [05:15.070 --> 05:20.270] So, we'll dive into the three here a little later. [05:24.280 --> 05:27.020] So, about the lab... [05:27.020 --> 05:33.500] Okay, the lab installation is probably way bigger than in any other pen test, [05:33.500 --> 05:35.800] because you have this huge setup. [05:35.800 --> 05:41.200] And if you have never done this before, it can be a little overwhelming. [05:41.600 --> 05:45.400] So, I'm going to explain also how to set up [05:45.400 --> 05:50.920] an Android pen test application lab. [05:52.660 --> 05:54.460] So, what do you need? [05:56.600 --> 06:01.600] So, you will need JADX. [06:01.600 --> 06:05.280] So, JADX is going to be useful to decompile the code for analysis. [06:05.440 --> 06:08.480] You can also use an APK tool, which I really like, [06:08.480 --> 06:10.900] because it goes further than JADX. [06:10.900 --> 06:13.480] You can reverse-engineer the APK. [06:13.480 --> 06:15.840] You can make modifications to the code, [06:15.840 --> 06:19.020] and then you can put it back into an APK file, [06:19.020 --> 06:20.800] which is pretty convenient. [06:21.320 --> 06:23.320] You can also use ADB. [06:23.320 --> 06:28.920] So, you are going to be able to interact with the device or VM. [06:28.920 --> 06:32.160] And in our case, I'm going to show you the setup for a VM. [06:32.920 --> 06:37.500] And you have also Android Studio to create the VM. [06:37.600 --> 06:42.320] And you have Burpsheet to intercept the response and the request, [06:42.320 --> 06:44.100] and to analyze the traffic. [06:48.820 --> 06:51.920] So, this is the setup for the lab. [06:51.920 --> 06:52.920] So, how to install. [06:52.920 --> 06:54.820] So, this is made for Ubuntu. [06:55.140 --> 06:58.440] But if you check the resource at the end of the matrix, [06:58.440 --> 07:01.700] you will find the info for other systems. [07:02.340 --> 07:04.240] So, for JADX, you need Java. [07:04.300 --> 07:08.840] And you can use the command on the screen to install Java. [07:08.860 --> 07:13.320] And then you just launch it with ./.jadxgui. [07:14.020 --> 07:17.440] For ADB, you can also use the command on the screen. [07:17.440 --> 07:19.280] It's really, really straightforward. [07:19.340 --> 07:22.560] And for APK tool and Android Studio, [07:22.560 --> 07:25.240] just go to the links and follow the steps. [07:25.240 --> 07:27.140] Like, the documentation is very good, [07:27.140 --> 07:30.160] so you should be all set for this. [07:33.920 --> 07:37.020] So, first now, I'm going to show you a video [07:37.660 --> 07:40.140] on how to set up the emulator. [07:47.730 --> 07:51.730] Okay, if it's working... [07:53.470 --> 07:55.170] Okay, perfect. [08:03.060 --> 08:08.200] Okay, so you can go to Android Virtual Device Manager. [08:08.200 --> 08:13.160] And you can click on Add a Virtual Device. [08:13.400 --> 08:16.020] And so you can choose the hardware you want. [08:16.020 --> 08:21.900] So, depending on what hardware you want to use, really. [08:22.720 --> 08:26.500] So, then you choose it, you click Next. [08:26.500 --> 08:29.980] And then you will have to choose a system image. [08:30.000 --> 08:31.560] So, you have to be careful. [08:31.760 --> 08:36.260] In the Android manifest, you will be able to see the API level. [08:36.720 --> 08:39.520] So, this way you can choose the proper API level, [08:39.520 --> 08:42.580] so that your application actually works [08:42.580 --> 08:45.000] on the device you are going to do. [08:48.160 --> 08:51.520] And you give it a name, and you should be good to go. [08:56.460 --> 09:00.760] So, I had plenty, so I had to take another name. [09:00.760 --> 09:02.380] Like, it's not very creative. [09:03.680 --> 09:05.840] Okay, and then you just click here. [09:06.000 --> 09:08.120] And I'm going to go a little further. [09:08.120 --> 09:09.880] So, it's going to launch. [09:09.880 --> 09:11.180] It takes a little while. [09:11.180 --> 09:15.200] And then you will have a screen that looks like this here. [09:19.260 --> 09:20.060] Okay. [09:21.180 --> 09:25.060] So, next is going to be how to configure BURP. [09:25.060 --> 09:26.660] So, it's another video. [09:29.700 --> 09:36.260] So, you will have to go to proxy options. [09:36.420 --> 09:38.440] You are going to need a certificate. [09:39.220 --> 09:44.260] So, you select DER, but you are going to name it CER. [09:44.460 --> 09:46.900] And you put it in a place where you remember. [09:54.770 --> 09:59.110] Okay, and then you will have it successfully exported. [09:59.130 --> 10:01.890] And you can drag it and drop it in. [10:02.310 --> 10:06.190] You can actually use ADB, but you can also drag and drop. [10:06.190 --> 10:08.230] It's pretty fast and straightforward. [10:10.430 --> 10:14.910] And so, it's going to be in the phone, but you are going to need to install it as well. [10:14.910 --> 10:18.510] So, you have to go to the settings and security. [10:25.970 --> 10:33.810] And then you have to go to the... from... it's like here. [10:34.470 --> 10:36.150] Install from SD card. [10:36.150 --> 10:39.710] So, don't go to download straight away. Just go to internal storage. [10:39.710 --> 10:44.590] Like, there's a glitch on the video, but it's the one. [10:44.790 --> 10:46.690] And then you go to download. [10:47.890 --> 10:52.730] You give it a name that you will remember afterward. [10:53.610 --> 10:58.390] And you are going to be prompted to make a PIN, so just make a PIN. [10:59.870 --> 11:03.930] So, I always put this off because I don't need it. It's a VM. [11:04.870 --> 11:08.090] And I put a very safe PIN, as you can see. [11:15.680 --> 11:19.580] And yes, I disabled the notification as well, because it can be... [11:19.580 --> 11:21.320] But everything is installed. [11:23.520 --> 11:26.860] And then we can try to see... [11:26.860 --> 11:33.000] First, we need to go to the burp again. [11:33.000 --> 11:35.560] And to add the interface. [11:35.560 --> 11:38.720] So, you are going to need to bind it to a port. [11:38.720 --> 11:40.720] So, remember which one. [11:40.720 --> 11:44.660] I put 8082, but it can be anything that is not busy. [11:45.420 --> 11:46.880] And all interfaces. [11:46.880 --> 11:51.420] So, this way you will be able to intercept all the traffic on 8082. [11:52.060 --> 11:55.120] And you have to do the setup here. [11:55.560 --> 11:59.480] In the proxy tab, in the settings. [11:59.620 --> 12:02.820] There's a proxy tab, and you change it here. [12:02.820 --> 12:06.540] So, one thing here is to be careful, because you are going to change it. [12:06.540 --> 12:09.660] And the apply button is going to light up. [12:09.840 --> 12:12.400] Don't forget to click it once you have done the changes. [12:12.400 --> 12:17.480] Because if you don't do this, it's not going to remember the changes. [12:23.030 --> 12:25.470] And now we can just check. [12:25.470 --> 12:30.150] So, we check that the intercept is on, and we should be able to intercept traffic. [12:30.150 --> 12:31.610] And that's how it works. [12:39.620 --> 12:41.580] So, that's for... [12:41.580 --> 12:44.380] So, for the example, this is the apps I used. [12:44.380 --> 12:50.300] So, one is called PIVA, which is Purposefully Insecure and Vulnerable Android Application. [12:50.300 --> 12:53.380] And one is called Injured Android. [12:53.380 --> 12:59.620] And so, just a reminder that you need to have the authorization before testing anything. [13:08.000 --> 13:10.720] And next is the static analysis. [13:10.720 --> 13:14.060] So, we are going to check the Android manifest. [13:14.240 --> 13:16.440] And the strings.xml. [13:16.440 --> 13:18.860] We can also enumerate database. [13:18.860 --> 13:22.400] So, there are plenty of tools on GitHub for this purpose. [13:22.660 --> 13:24.980] And, of course, you can check for sensitive data. [13:24.980 --> 13:27.780] Like, I really recommend that you check for sensitive data. [13:28.200 --> 13:33.560] And so, first, I'm going to show you some examples on the Android manifest file. [13:33.960 --> 13:37.820] But before this, I want to show you how to check the code. [13:38.460 --> 13:42.800] So, you can use either JADX or APK tool. [13:42.800 --> 13:45.880] So, if you use JADX... So, this is a command. We saw it before. [13:45.880 --> 13:49.100] And if you use APK tool, you can use this one. [13:49.100 --> 13:52.600] And you will have the decompiled file that will look like this. [13:57.490 --> 14:04.730] And so, when you want to analyze the code for API endpoints... [14:05.530 --> 14:11.370] So, you can search for keywords like HTTP or HTTPS. [14:11.370 --> 14:16.690] You can look for functions or classes that will handle network requests or responses. [14:16.690 --> 14:18.810] So, I will show you an example later. [14:18.810 --> 14:22.190] You can analyze the manifest file. [14:22.390 --> 14:26.230] So, there are going to be metadata about the app. [14:26.230 --> 14:28.430] You can check for declared permissions. [14:28.430 --> 14:30.930] You can check for service and activities. [14:30.990 --> 14:35.930] You can also look for permissions that are related to network communications. [14:36.030 --> 14:41.290] And you can also analyze GES and AIDL files. [14:41.290 --> 14:48.390] So, if it uses WebView or Android interface definition language, which is AIDL. [14:48.390 --> 14:51.650] So, this is going to be used for inter-process communication. [14:51.830 --> 14:54.730] So, you might find API endpoints in there. [14:54.930 --> 14:59.490] And so, I'm going to show an example in GES also in another slide. [15:01.790 --> 15:04.270] So, this is how it's called. [15:04.270 --> 15:07.990] So, this is really an example of the code. [15:07.990 --> 15:11.110] So, you have here an asynchronous task. [15:11.110 --> 15:13.130] I'm sorry with my accent. It's awful. [15:13.430 --> 15:14.350] Asynchronous. [15:14.350 --> 15:18.530] And so, that makes a GET request to an API endpoint. [15:18.530 --> 15:20.150] So, what's an asynchronous task? [15:20.150 --> 15:25.470] It's a way to perform a long-running operation in the background [15:25.470 --> 15:28.230] without blocking the user interface. [15:28.230 --> 15:31.290] So, for example, say you want to load a large file. [15:31.490 --> 15:34.390] You're going to use an asynchronous task. [15:36.450 --> 15:39.750] So, that's the one. [15:39.750 --> 15:44.250] And then, this is how to fetch the API. [15:45.390 --> 15:52.810] So, here we are going to have an Android app that uses WebView to display a web page. [15:52.870 --> 15:59.190] And so, in the web page, we can see that GES communicates with an API to fetch data. [15:59.270 --> 16:05.210] And so, you have JavaScript code here that calls the fetch data function that you can see here. [16:05.230 --> 16:09.530] And it makes a GET request to an API endpoint. [16:09.530 --> 16:13.330] So, this is api.example.com. [16:13.330 --> 16:15.750] So, it's pretty obvious. [16:16.290 --> 16:20.850] So, now I'm going to show you a fun finding. [16:23.150 --> 16:27.750] Fun for Pentester, but not that fun for developers, I'm afraid. [16:28.670 --> 16:32.670] So, you can find hard-coded secrets. [16:32.670 --> 16:40.210] So, during static analysis phase, you might find hard-coded API keys. [16:40.210 --> 16:42.710] I hope you will find less and less of these. [16:43.250 --> 16:49.730] And so, in this article, we have an example of this in this article on your left. [16:53.870 --> 16:59.270] There are still lots of Android apps that still have hard-coded secrets. [16:59.270 --> 17:04.770] And in the video here that I really recommend you watch, [17:04.770 --> 17:07.270] Alyssa Knight found... [17:07.270 --> 17:11.470] She found a private key with a blank password. [17:11.870 --> 17:14.150] So, that's not working either. [17:14.730 --> 17:18.550] So, in the next slide, I'm going to show you an example of an API key. [17:22.020 --> 17:28.280] And this is in Geo.Android, and so they left us a Google API key. [17:30.700 --> 17:36.300] So, you can always check strings for .xml. [17:36.360 --> 17:40.900] So, it's located in slash res slash values. [17:40.900 --> 17:44.300] And this is a nice way to find things like this. [17:44.300 --> 17:46.360] So, here we have an API key. [17:46.400 --> 17:49.660] But it should be stored securely outside of the app. [17:49.660 --> 17:52.520] And if you find this, you have to report it. [17:53.100 --> 17:56.000] It's obvious, but I prefer to say it. [17:58.590 --> 18:06.670] Okay, so here is a quick video to make search with Jadix GUI. [18:10.870 --> 18:13.870] So, you have this little one tool here. [18:13.870 --> 18:19.310] And you can basically check for anything, and you will find everything in here. [18:21.050 --> 18:25.470] But as we are going to see, there are other ways as well. [18:29.530 --> 18:31.030] You can grab it. [18:31.850 --> 18:35.810] I really prefer this method to grab it. [18:35.990 --> 18:41.710] Because sometimes it's really way more simple to make a grab directly in the decompiled code. [18:41.750 --> 18:49.410] So, with APK tool, you probably have all the decompiled it all and everything. [18:49.410 --> 18:53.310] And you can grab it in the folder where you have all the decompiled code. [18:53.330 --> 18:58.190] And also, if you use MobSF, there's a slash uploads directory. [18:58.190 --> 19:03.190] And you will have a lot of code in here. [19:03.350 --> 19:07.570] And so, you can also grab in this directory if you want to. [19:07.870 --> 19:13.490] And if you want more grab commands, you can check out my Git book. [19:13.490 --> 19:18.970] There's a link here with more tips on grab. [19:25.150 --> 19:28.850] Here are some tools for static analysis. [19:28.850 --> 19:34.140] So, Firebase enum is going to let you find Firebase instances. [19:34.610 --> 19:39.290] And Firebase scan is going to check for misconfigurations. [19:39.310 --> 19:43.590] Cloud enum is going to check for cloud instances from different providers. [19:43.850 --> 19:50.150] And it's useful to enumerate database or public resources in the cloud. [19:50.150 --> 19:57.130] And sometimes, just like we saw before, you can find also AWS secret key. [19:57.130 --> 20:01.510] And so, you can try to use it to access resources on AWS. [20:01.830 --> 20:06.170] So, it's really also something that's worth mentioning in the report if you find it. [20:09.610 --> 20:11.970] So, what to check during the dynamic analysis? [20:11.970 --> 20:18.150] So, this is the part where we are going to intercept the traffic with burp and analyze it. [20:18.150 --> 20:23.170] So, this is the phase where we are going to check also for tabjacking. [20:23.390 --> 20:26.930] So, it's a clickjacking equivalent, but in mobile app. [20:26.930 --> 20:31.250] Are you able to capture screens that contain sensitive data? [20:32.010 --> 20:34.430] Also, check the AWS top 10. [20:34.770 --> 20:37.570] But I'm going to show you some examples. [20:41.580 --> 20:48.000] So, first, how to find API endpoint during the dynamic analysis phase? [20:48.000 --> 20:51.900] So, these are pretty common endpoints that we can find. [20:51.900 --> 20:57.280] But you can also fuzz and use a word list with plenty of API endpoints. [20:57.280 --> 21:00.360] This one is just an example, but you can find plenty online. [21:00.520 --> 21:04.560] And I really also recommend the Seqlist repository. It's very good. [21:07.820 --> 21:17.460] And now, I'm going to show you an example of a vulnerability for an Android application. [21:22.180 --> 21:27.260] So, this is not going to be a sensitive app. [21:27.260 --> 21:33.580] This is going to be PIVA, but let's pretend for the sake of the example that this is a banking application, for example. [21:33.580 --> 21:38.400] So, you go to this page, which should be, let's say, your information. [21:39.080 --> 21:43.480] And you go to anywhere else in the phone, and then you go back. [21:44.960 --> 21:48.460] And you still see all the information is private here. [21:48.460 --> 21:49.880] So, this should not happen. [21:49.880 --> 21:54.420] You have a specific function that could let you block this. [21:54.420 --> 21:57.320] So, this is a vulnerability that you have to mention. [21:57.800 --> 21:59.480] So, this is an example. [22:08.230 --> 22:13.870] So, just like with any other pen test, we have automatic tools. [22:13.870 --> 22:16.930] So, this does not replace your critical thinking. [22:16.970 --> 22:19.650] So, you cannot only rely on those. [22:19.650 --> 22:23.910] But you can also use them to gain some time. [22:23.910 --> 22:32.070] So, the thing that you have to do, though, is to verify that everything it finds is not a false positive. [22:32.270 --> 22:35.810] So, we can use MobSF, but you can also use Quark. [22:35.810 --> 22:40.530] So, Quark is going to help you to find common security vulnerabilities in Android. [22:40.530 --> 22:47.130] And you can also create a proof of concept, like evidence for tapjacking, for example. [22:47.130 --> 22:49.750] So, it's really a good gain of time. [22:53.270 --> 22:59.070] And so, these are general tips for common API vulnerabilities to look for. [22:59.070 --> 23:06.510] So, we have... the first one is one I have a tendency to find quite often. [23:06.510 --> 23:12.030] So, it's when you are able to access to resources that do not belong to you. [23:12.130 --> 23:14.510] So, you can check for these vulnerabilities. [23:14.570 --> 23:20.950] You can use the link to the OWASP top 10 here to find the more vulnerabilities that you can look for. [23:21.490 --> 23:27.530] And for more details on API pen test, there's also a link to my Git book here as well. [23:28.370 --> 23:34.610] And so, one thing to be careful is the context. [23:34.690 --> 23:43.190] Because sometimes you are going to find a vulnerability that is going to be exploitable in the context of a web application, but not of a mobile application. [23:43.190 --> 23:54.830] So, if we take CORS, for example, it's a mechanism that will allow a web app to make a request to a different origin than the one from which the application was served. [23:54.850 --> 24:03.250] So, it will allow you to prevent malicious website to access sensitive information from other websites. [24:03.250 --> 24:10.050] So, it's not applicable to an Android application because it's not in a web browser context. [24:10.050 --> 24:18.910] But, if the Android application interacts with a web service or an API that implements CORS, then it could be vulnerable. [24:18.910 --> 24:27.510] So, the context is really important and I would recommend that if you have a doubt, just still report it, but as informational. [24:33.290 --> 24:38.270] Another general tip is to use a checklist. [24:38.770 --> 24:43.470] So, you can use a checklist to have all the checks for OWASP top 10. [24:43.470 --> 24:50.210] So, it's really convenient because you have the most common vulnerabilities we have in the wild. [24:50.330 --> 24:57.170] There is an amazing tool that works for this. It's called MindAPI. You have the link here. It's by David Sopas. [24:57.170 --> 25:02.610] It's very, very good and it does good work as a checklist. [25:03.670 --> 25:12.710] And also, you have a snippet here of a checklist from the book that you can see here, Black Hat GraphQL. [25:12.710 --> 25:19.550] And it's for API pen test, for GraphQL API pen test. [25:19.590 --> 25:23.530] And you can find it in the book of Nick, Alex, and Dolev Pari. [25:23.790 --> 25:27.970] And so, there are also multiple advantages to using a checklist. [25:28.030 --> 25:32.630] Like, it's a way to make a consistent and standardized pen test. [25:32.970 --> 25:38.290] It's a way also to make sure that you are going to cover every aspect of your target. [25:38.290 --> 25:40.930] And also, it helps you stay organized. [25:40.930 --> 25:46.930] And you will have also a detailed record of your testing activities, which is really, really convenient. [25:46.930 --> 25:50.090] Because sometimes you might forget what you have tested. [25:50.090 --> 25:54.350] Believe me, it happens. I have a tendency sometimes to test multiple times. [25:54.350 --> 25:57.030] So, this is why I stick on a checklist. [25:57.310 --> 26:00.890] And it makes you more efficient and it helps you gain time. [26:01.110 --> 26:03.450] So, I really recommend this. [26:03.450 --> 26:10.890] And you can also make your own checklist if you don't feel like anything here is good. [26:10.890 --> 26:14.530] You can just make your own and do your thing. [26:18.530 --> 26:20.870] Okay, how to report. [26:23.900 --> 26:27.280] So, this is the usual structure of any pen test report. [26:27.280 --> 26:31.560] You have the executive summary and you have the part vulnerability report. [26:31.560 --> 26:35.600] The second part vulnerability report can also be used for bug hunters. [26:36.420 --> 26:42.080] So, the executive summary is going to be for the executives of a company. [26:42.160 --> 26:54.340] So, it's going to need a high-level explanation, no technical details, and a global posture on why findings and attack combination could impact the company. [26:55.980 --> 27:01.500] So, I'm going to show also an example of the vulnerability I mentioned before. [27:01.780 --> 27:04.020] So, here we have the severity. [27:04.020 --> 27:08.920] So, you change it according to the context and to the application. [27:09.420 --> 27:12.480] And it can be higher or lower. [27:12.700 --> 27:14.480] And the general description. [27:14.720 --> 27:18.580] So, then you have this general description until input. [27:18.580 --> 27:20.720] And then you have the context. [27:20.720 --> 27:22.720] The context is also very important. [27:25.320 --> 27:32.260] And this is also where you put your evidence, the request and the response. [27:35.090 --> 27:39.530] And then, here are the remediation steps. [27:39.530 --> 27:45.370] So, it can be more detailed than this, but the slide is quick. [27:45.370 --> 27:48.650] But you can put way more details than this. [27:48.650 --> 28:00.570] And you have also resources that you can provide for people who are going to correct a vulnerability to actually have references that they can rely on, which is really helpful. [28:04.440 --> 28:06.000] And that's it. [28:06.000 --> 28:10.460] So, you can get the slides and all the resources here. [28:10.460 --> 28:16.100] So, I didn't put together a list of resources because it would have been like 10 slides. [28:16.100 --> 28:18.420] So, you can find them all here. [28:18.520 --> 28:20.000] It's going to be easier. [28:20.000 --> 28:21.980] And it's organized and everything. [28:29.680 --> 28:35.400] And also, I did an article on Pentest Magazine. [28:35.400 --> 28:37.240] And I also did a blog post. [28:37.240 --> 28:41.340] So, the article is 29 USD, but the blog post is free. [28:41.400 --> 28:43.420] So, if you want to check it out. [28:45.100 --> 28:52.040] And if you want to check what you remembered from this presentation, there's also a quiz that you can do. [28:59.680 --> 29:00.780] Thank you. [29:00.840 --> 29:02.120] Thank you, everyone.