Time
9 hours 47 minutes
Difficulty
Intermediate
CEU/CPE
10

Video Transcription

00:01
Hi. Welcome back to the course. So the last video we talked about web servers now in this video for Web applications were actually gonna go through the loss Top 10. And also with this module. Actually, part of the resource is for the course. I've included downloadable documents of the old lost top 10. That kind of walks through each of these areas a little more in debt.
00:22
So the all lost top 10 for 2017 on the web application, security risk. I'm just gonna read through these and the more action and go into each one of just a little bit. We hit these at a very high level.
00:32
So number one injection number two, broken authentication number three, sentence sensitive data exposure
00:39
number four, XML, external entities or XXI. Number five, broken access control, sixes, security, Miss Configuration
00:48
A number seven is cross site scripting or excesses.
00:51
Number eight. It's insecure. Do serialization number nine is using components with known vulnerabilities in the number 10 insufficient logging in monitoring.
01:00
So we're just gonna go through each one of these at a high level, So injection flaws So basically, these can result in different types of data loss or even data corruption.
01:07
So the ways to prevent him we could use a safe A p i R application programming interface. And basically, we want something that will avoid the interpreter so that the code can't run.
01:17
We can also white list to service side input validation. Use sequel controls within the queries, and that'll help us just basically prevent a mass disclosure and the event of a sequel Injection attack,
01:30
broken authentication. So the main thing this can lead to obviously, if you're your credentials, were stolen our identity theft and fraud.
01:38
So ways to prevent it are multi factor authentication. So, for example, if your username and password or stolen but you set up multi factor so you receive a text and you have to put in a certain code to be able to log in than the attacker is gonna have a problem doing that unless they compromise your phone.
01:53
So also not using default credentials. So, like if you got a router, for example, you're not gonna use the or you're gonna change it as soon as possible the default credentials of that router, and that way there's no real risk. Their oven attacker getting into your system through that avenue.
02:09
Check for weak passwords to make sure employees were putting in strong pastors. In the easiest way to do that, I just put a strong password policy in place. You could find information about that in Mist 863. That'll give you some generalized information about a password guy guidelines.
02:25
We can also hardened against your new Marais Shin of accounts and then limit the number of field log in attempts. And that should reduce the risk somewhat if the identity stolen
02:36
so sensitive day exposure. Now this can lead identity set. That's kind of the main thing with it. S O Prevention is gonna be classifying the data that's being processed, stored and transmitted. So we know what the data is. The actual critical or valuable data and which ones, you know, weaken, you know, that are maybe just a paper taller, something we could throw in the trash,
02:53
applying a proper appropriate controls and then, of course, encrypting all data arresting and transferred. That does protect quite a bit
03:02
excited male external entities, or XXI. Eso basically weaknesses in next in milk processors and that can lead to things like data extraction or did not, even denial of service or distributed denial of service and also internal system scans.
03:17
So ways to prevent it Using less complex data formats like Jason, we can also patching Upgrade, which is a theme throughout this course, right with all the different software issues on then Disable XML External entity processing inside of XML documents and headers,
03:36
Broken access control. So this can basically allow an attacker to get administrative prison purposes and then also, users can escalate privileges and be able to delete records and access. Records were not supposed to access
03:51
prevention, obviously denied by default. So if they don't have access explicitly given to them, then it's gonna deny them, even with some type of failure. Generally disabling the Web server directory listing log access control failures,
04:06
security. Miss King of figuration. So this can lead to unauthorized access to the computer or even in worst case scenarios. A complete system compromise so wasted, prevented, basically build up the platform or use a platform without unnecessary features listed in it, or remove those as soon as you can
04:23
hard on different systems and then also make your application in architecture infrastructure segment,
04:30
so cross site scripting attacks.
04:31
These could lead a remote code execution on the victim's prosper. So basically, what that's gonna lead to is either skeet stealing a credentials, delivery of malware, or both
04:42
so wasted, prevented. We could separate untrusted data from the active browser content. We can also
04:47
basically escape using untrusted. Http. Request data and then enabling content security policies
04:57
so insecure d serialization. This could lead to remote execution
05:01
and then the prevention. We can implement integrity checks like digital signatures. We can also do that cold isolation and then logging the dis serialization exceptions and failures.
05:14
And then we also have using components with no vulnerabilities. So this can obviously lead to massive data breaches on dso. Wasted, prevented, are patching again, and then also obtaining are downloads from official sources. So, you know, just because it's a lower cost to go to this You know this person posting on Craigslist to download your your stuff?
05:33
Go the official sourcing downloaded.
05:36
And then, of course, making a continuous inventory of the climate server side Frank Marx and libraries and use. We could make sure there's nothing nefarious on there.
05:46
All right, so if insufficient logging and monitoring. So this can basically just leave this successful exploitive. We're not monitoring what's going on. So we want to make sure that we ensure that all of the log in and access control failures are logged with sufficient context. We can actually go back through it and make some kind of sense of it.
06:04
So along the same line, we want to assure the logs have generated in an easily consumed format and establish effective monitoring and alerts.
06:15
So we got a quick posts assessment question here. So one way to prevent against broken access control is to deny By what?
06:25
All right, so if you said denied by default, you are correct. So again, if we didn't die by default and even if someone's credentials are compromised, we've already put systems in place to try to reduce the amount of damage it can cause.
06:38
So in this video, we wrapped up our discussion of Web servers and applications. In the next video, we're gonna jump right into our labs on the subject, and then in the following module, we'll talk about sequel injection

Up Next

Penetration Testing and Ethical Hacking

If the idea of hacking as a career excites you, you will benefit greatly from completing this training here on Cybrary. You will learn how to exploit networks in the manner of an attacker, in order to find out how protect the system from them. Those interested in earning their Certified Ethical Hacker (CEH) will want to start by taking this course

Instructed By

Instructor Profile Image
Ken Underhill
Master Instructor at Cybrary
Master Instructor