Time
12 hours 41 minutes
Difficulty
Advanced
CEU/CPE
13

Video Description

This module presents an overview of vulnerability assessment and penetration testing. It covers the subtle differences between the two and then digs into the various strategies and types of penetration testing. Vulnerability assessment or scanning is the process of looking for weaknesses in a system or environment. This spans physical, administrative, and logical weaknesses. Various examples of each kind are then presented. Penetration testing follows on the heels of a vulnerability assessment and determines if the discovered weaknesses can then be exploited. The field of ethical or white hat hacking comes under this process. We note that the goal is to never cause harm or data loss during this pen testing. The various phases of pen testing are discussed next along with the strategies and methodologies used during each phase.

Video Transcription

00:04
Okay, so let's go ahead and discuss vulnerability assessments in penetration testing, and I'll refer to that Is pen testing throughout? All right, so vulnerability assessments. What I'm doing is I'm looking for weaknesses, and we can do this for both physical, administrative and technical controls,
00:23
right? You know, a physical,
00:24
ah, vulnerability assessment or my windows locks are the doors locked, our people following the clean desk policy,
00:33
administrative pin test or vulnerability assessments about social engineering? Let me call a variety of extensions and find out who's gonna give me more information than they should. And then, of course, technical, also known as logical,
00:48
usually is what people think about when you do, say, vulnerability assessments in the I T world.
00:54
So we're gonna scan for ports that shouldn't be open, and we're gonna do our research. Ultimately, what our goal is is to figure out what the weaknesses are now. Penetration testing takes things a step further, and what we're looking for in that particular means is we're looking to can we exploit the weaknesses?
01:12
So it's one thing to have the weaknesses that we find in vulnerability assessments,
01:17
but can we exploit them, which Francis in depend testing. Ah, this is referred to his ethical hacking or white hat hacking, Uh, in some places. In some environments, they have a red and the blue team within the organization Theater back in defense team
01:34
ultimately, and I just went out down at the bottom. Miss Special Publication 800-42
01:42
has a lot of good information on security testing that isn't testable, just fun trivia for parties. But at least you know there's a reference if you want to get more information.
01:53
Okay, what degree of knowledge do the pin testers have? It depends. So there's zero knowledge Pen tests sometimes referred to his black box testing because the team that's doing the testing has no knowledge of the organization. So what they're looking is what can I learn from the Internet?
02:13
What can I gain information? What cut type of information cannot gain for social engineering attacks,
02:19
and for somebody that has no internal knowledge of the organization, how far can I go?
02:25
All right now, the next step partial knowledge show. Often, Ah, the team is Impersonating and maybe a regular user on the network. I have some knowledge about the organization, but nothing in death, and then the full knowledge test is ultimately trying to figure out
02:44
What could a rogue administrator
02:46
do? Uh, in relation to our network. So having full knowledge, passwords, rights, permissions, everything that would be needed, What can I get away with various degrees of knowledge
03:01
Now when we do talk about vulnerability scanning? Like I said, I'm looking for things that shouldn't be. There are their active hosts on the network that shouldn't be there. This is particularly interesting for like, uh, WiFi, uh, for access points,
03:17
because frequently we find that rogue access points have been set up.
03:23
You know, it's so much easier for me to have you connect to my rogue access point named your company than it is for me to try and crack into a W. P A. To protected network and try to decrypt the information. Why not just have everybody in the company connect my rogue access point?
03:42
Um, and they'll be none the wiser.
03:45
So we're looking for things that shouldn't be there. But other times of rogue infrastructure Road D h C P server. All I need support on the wall to get d h. C P server on your network. And once I get a d h e p server, usually your host will get that I p address from D H C P.
04:01
But I can also, if you haven't set up for our configuration,
04:05
I could populate your d N a server. You're routers. I could do a lot of damage with just a d h e p server on your network.
04:14
We're looking for vulnerable service's ports that are open. And, you know, we do talk about hardening a server. One of the first things we say is get rid of unnecessary service is because those service's air listening on ports and porches just doorways into the system.
04:32
Ah, what applications and operating systems have vulnerabilities? Have they've been patched? Do we have miss configured settings? Were default settings? You know, default settings are are just as bad or worse than miss configured settings. Ah, lot of systems come out of the box
04:51
for ease of use rather than security.
04:55
That's why you get access points with, um, broadcasting the s s I d. You get access points that have no password, don't even use web w p a W p A. To so you can have those issues and leaving the default settings. And the beauty of the default is that's what they all come with. End,
05:15
you know, for a long time, Cisco head
05:16
Ah, an administrative account ad men. And then the password was Cisco. And, you know, we've got to change those things.
05:25
Now, after I figured out what the vulnerabilities are that I'm gonna move to the pen testing phase and I'm gonna follow a za pen tester. Ideally, I'm gonna follow the same methodology that an attacker would use.
05:41
So we usually talk about five basic steps in an attack,
05:45
and the 1st 1 starts with reconnaissance. So what reconnaissance does is it allows me to go out and find out any information I can about your organization, but usually nets from the outside, so it will have any of that internal knowledge. So I go to the Internet
06:02
and I start researching, and I figure out what branch offices you have.
06:06
I see if I can find names of any managers, your senior executives, phone numbers, any information that I can pull that's out there, you know, let me check and see if you're hiring and if you're high hiring. Ah, units, Admin. While I've got a pretty good idea of what time server you're running.
06:26
So whatever I confined and ideally, what I'm gonna do is I'm gonna take the information that I've gathered in reconnaissance, and I'm going to use that as a means to get on your network whether I can get a lot enough information from reconnaissance. Maybe not. But the reconnaissance information could allow me to
06:46
conduct assessed the successful social engineering attack
06:49
and maybe get you to click on the link and email that install some backdoor software and maybe I can get a toehold on the network.
06:58
All right, Once I have my toe hold on the network, the next thing that I want to do is I wanna flip print the network. And when we talk about foot printing, what I'm looking to do is discover the essential devices on your network blooming map out the networking. As a matter of fact, in map is tool. That does that,
07:15
but I want to find out your i p addressing scheme. I want to know what servers do, what
07:19
I want to know. Um,
07:23
but where Those elements that would be of the greatest interest to an attacker. So in math, like we said, was a tool. Other tools for foot printing, something called a ping sweep. So I'm gonna ping Tenn 0.0 dot 0.1 dot 0.0 dot to 10.3 10.3
07:43
And ultimately, what I'm looking for is a reply. And once I get the reply, I'll then no, your i p dressing scheme
07:50
de ns zone transfers are a wealth of information, and at one point, time zone transfers were not even encrypted across the network. Most cases now would have them be encrypted. But maybe I can masquerade is of legitimate Deanna Server
08:07
and perhaps trick a legitimate DINA server into transferring their zone information.
08:11
You know, there are lots of ways to map the network. I could just simply evaluate traffic. And if I see a whole bunch of traffic going to particular Server 8 a.m. Well, I might say, Well, that's probably an authentication server. So many different ways to map out the network
08:30
now, once I find my desirable target and I figured out okay, this is the server and want to attack,
08:35
The next step is gonna be foot printing.
08:37
So where's fingerprinting is learning about the network? Foot printing is figuring out what operating system the desirable servers running. Because every operating system has vulnerabilities. And what I want to do is on the figure exactly what Os is running so I can check for those known vulnerabilities.
08:58
All right, so the vulnerability itself I'm gonna look for those weaknesses.
09:03
Those Miss configured settings, those default settings is the software unpatched. What are those vulnerabilities? And then ultimately, once I've gathered that information, this will lead me to the attack. Ideally, a successful penetration. But the thing with the pennant with penetrating this system is very frequently
09:22
I only access that system
09:24
as with the degree of privileges of the currently logged in user. So often that's a very low in set of permissions. I want to escalate those privileges and have administrative rights. What I really love to do is I'd love to get a root kit on the system
09:43
And if your units person, you know, route the term route goes back to
09:46
the ultimate authority in UNIX. So when we talk about a root kit, thes air nasty little pieces of software that get in there and get embedded with the operating system kernel. They're very difficult for most of these little Norton anti virus or McAfee and
10:03
very, very difficult to detect with basic any virus in any malware
10:09
applications because it is so embedded with the operating system kernel. And usually this offers me a backdoor into the system as a means a cz, an additional piece to the root kit
10:20
when a root kit is found on a system. Generally speaking, you have to blow out the whole system, reinstall the operating system and then restore data from backup. That could actually be a test question because it doesn't do me any good to restore the OS from backup. That's probably been corrupted.
10:41
Blow out the system,
10:43
reinstall the operating system, restored that data from back in.
10:48
All right, now, after that, uh, one of the things an attacker is gonna be very calmness enough is cleaning up after himself, uh, a zone attacker. We want to make sure that there's no indication I was ever president the present on the system. So I will go through and modified log files. If I'm able
11:07
Also any sort of service is that I have running.
11:11
I may want to rename them. It's legitimate surfaces and we refer to those his Trojan programs. So I might rename my malicious file explorer dot e x e right. That's a legitimate service that runs. And if you just glance at your processes, that wouldn't be necessarily anything that would trigger,
11:30
uh, our response.
11:31
So ultimately, these air, the five steps off a pen tests, but they're also the five steps of attack methodology as well.

Up Next

ISC2 CISSP

Our free online CISSP (8 domains) training covers topics ranging from operations security, telecommunications, network and internet security, access control systems and methodology and business continuity planning.

Instructed By

Instructor Profile Image
Kelly Handerhan
Senior Instructor