Types of Web Server Attacks and Countermeasures

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
7 hours 6 minutes
Difficulty
Intermediate
CEU/CPE
7
Video Transcription
00:00
Hey, everyone, welcome back to the course. So in this video, we're gonna talk about some different types of Web server attacks as well as some of the countermeasures we could do against them.
00:08
So we've got many different types of attacks we've got. Did Austin denial of service attacks. We've got DNS hijacking DNS Amplification directory. Traverse ALS men in the middle and we'll talk about each one of these a little bit. We've got phishing attacks, Miss configurations, defacement attacks, web cache poisoning, ssh, attacks
00:26
and password cracking attacks.
00:29
So let's talk about denial of service in the DDOS attacks. So this is basically where the attacker is going to send a large volume of request to that single, uh, server.
00:38
And so the whole goal here is to eat up bandwidth to overwhelm the server with requests. So it affects the availability of that server or applications to the user that actually needs them. So it eats up the memory. It's up the network bandwidth and essentially the whole goals to take off. Take that server offline so it can't actually be used.
00:59
We have DNA server hijacking. So this is where the attacker compromises the DNS. server and actually changes the settings.
01:04
So, for example, if I'm trying to go to my favorite Thai restaurant website, theater actors actually compromising DNS. So when I type in, let's just say Thai restaurant dot com. It redirects me to a website that looks similar to the real one,
01:21
and but that websites actually on the Attackers server. So it's a malicious site
01:26
and I entered my log in credentials for the site and the attacker has my log in so a better example There is probably, ah, bank right bank website. I go, I think I'm logging into my bank website. In fact, I'm actually logging into the Attackers website now they know my user name and password for the bank. They go in, they log in, they clean on my account, and I don't even know anything until
01:45
the next day when my mortgage
01:47
payment doesn't go through
01:49
DNs amplification attack. So this is basically where the Attackers taking advantage of DNs recursive methods. So essentially they're redirecting.
01:59
Think they're spoofing I p addresses, and then they're redirecting to amplify that attack
02:05
directory traverse alot attack. And so for the ch exam, you're gonna want to just be familiar with all of these And having taken the thieve version 11, which is a new one coming out in January of 2020. Uh, just taking that beta test, I can tell you that you do want to just be familiar with
02:22
the different types of attacks here. I can't tell you specifically which ones but just know you wanna be familiar with these a little bit going into that example,
02:31
director traversed attacks. So essentially, just using this attack to access directories that the Attackers shouldn't be able to access on that web server
02:42
man in the middle of attacks. So again, just injecting themselves in between that session of the client and the Web server s early in the course. We talked about an example of throwing a football to our friend. So I throw the football to my friend and you jump in between and and catch the football. We're talking about American football here
02:59
on you catch the football. You're that man in the middle, essentially, your
03:02
capturing that data packet. And then you're throwing it to to my friend and completing. You know the transaction. There are the three way handshake
03:12
on DSO you're basically taking over that session. So you're jumping in between the session and looking at the data that's flowing through it.
03:20
We've got phishing attacks.
03:21
This is where the attacker might be using the fake websites. So they redirect, for example, to that fake Web website. That fake banking website
03:29
on the goal there is stealing the credentials, right? So now they can log into your banking account and they could steal of all of your money,
03:36
miss configurations of the Web server. So we might be using default credentials. And so the Attackers able to gain access, also air messages. So as you're sending queries to the site, it's giving them very verbose air messages, telling them information about that back end database
03:51
and also miss configure security certificates. So we're not. The attack was able to exploit that,
03:55
and we're they're able to downgrade our site to an insecure site as well as running things like unnecessary services on that Web server
04:03
and lastly, enabling remote admin functions or not disabling them if we don't actually need them
04:11
Web cache poisoning attacks. So this is basically where the Attackers gonna flush the Web server cash and then send their own information into the cash. So they're gonna send their own request malicious requests into the cash.
04:21
Ssh! Brute force attacking where the Attackers gonna brute force? Ssh! To try to get the log in credentials.
04:29
And then they basically they've got an encrypted tunnel, so to speak that they can transmit malware. And it's not detected by your ideas system
04:36
password cracking for the web server. So basically, transmission of default passwords allows us to try to crack those passwords SMTP servers, uh,
04:46
using trying to crack essays, tunnels
04:50
as well as if If we're using, like, FTP servers and not secure FTP for transmitting that data
04:58
and they do this sort of variety of methods, it could be guessing it or mawr likely dictionary or brute force attacks. Eso brute force attacking and using dictionary attacks.
05:10
So what are some of the things we can do against Web server attacks? Well, weaken do things like patching. We can also make sure that we're focused on Onley using the protocols that we need. We can check the user accounts, make sure only accounts that need to be running a running as well as making sure we limit access to the files and directories, So let's talk about each one of those a little bit.
05:30
So with our patching and updates, we wanna identify any vulnerabilities that we may have based off the operating system and applications and use on that Web server. Before we deploy these patches to production, we wanna make sure we actually test things, see if we're breaking stuff. If so, let's identify what the issue is. Maybe there's a
05:47
a specific step we missed in the process of updating with that patch,
05:51
and we have to go to the manufacturer site and download it and then update that one area not related to Web servers but one area not related that you might see that in is I. C s networks where we way might try to, for example, patch R H m I, and
06:09
we forget one step in the process. So then we have to go to the manufacturer website and download
06:13
that patch and then reinstall the patch. We just did. And so we wanna make sure that we test these things first before we put him into production,
06:21
and we could do this through Patch management, right? We can have good patch management in place. Also making sure we have backups just in case something's wrong with that backup and part of that being making sure we have a proper BCP and DRP the business continuity plan as well as the disaster recovery plan. So what happens if something goes wrong? Can we continue business and how do we do so
06:41
and then? Disaster recovery plan?
06:43
What happens if there's an actual, like natural, natural disaster? How do we recover from that and making sure you update those security certificate? So making sure we keep the latest version of the certificate on our Web server
06:55
protocols. So basically, let's block unnecessary ports or airports that we're not gonna be using block ICMP traffic. So blocking those ping that ping traffic
07:03
blocking any unnecessary protocol. So if we don't need it, let's not have it open on our Web server. That's just all additional areas where the attacker can get in updating the system software and using I p. SEC policies. Eso using that with insecure protocols like FTP until net
07:21
our accounts again. Just making sure that if there's accounts created that our default credential accounts, we disable those because we don't need those accounts to log in, make sure that any accounts that are live are using the concept of least privilege. So that way they only get access to the information that they need, removing any access to the database.
07:42
So if an account on the Web server doesn't actually need database access, we remove that access,
07:46
removing stored procedures as well as well as unused application extensions and ensuring that we've got strong password policies for the accounts that are live on our Web servers.
07:58
And then for a final file on directories, we want to eliminate any unnecessary dot jar files, as well as removing sensitive configuration information and disabling the the basically the serving or the ability of the attacker to see the directory listings, as well as eliminating any non Web files from that Web server.
08:18
So just a quick, quick question here for you default log in credentials in use or an example of which of the following is that a defacement attack? Miss confirm Miss configuration or poisoning.
08:28
All right, this one is pretty easy, right? This one is miss configuration.
08:31
So in this video, we just talked about some of the different types of Web server attacks. We also talked about some of the counter measures we could do to help protect against those attacks.
Up Next