Authentication with Single Sign On

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
8 hours 19 minutes
Difficulty
Beginner
CEU/CPE
8
Video Transcription
00:00
Okay, let's take a look at authentication in the domain environment.
00:04
What we're trying to do is bring in something called single sign on
00:08
when we talk about single sign on. The idea is that when we log on to the domain at any point in time, first thing in the morning, then that grants access to all the objects in the domain that we have permission to.
00:19
I don't have to log in every time that I want to access the printer. I don't have to log into this file server, then log into the database server.
00:27
You take that for granted today that that's just how it is. You log on to the domain, you have domain resources,
00:33
but that isn't how it always has been.
00:35
One of the tools that really allows us to work is Kerber. Ross
00:39
Kerberos is a network authentication, protocol and service that we will look at in just a few minutes.
00:45
Now. If we want to extend that idea beyond just our local domain and log in a single time at our organization and then be able to access many resources throughout the Internet, then that's going to require Federated Services,
00:58
Federated services are trust that are pre configured ahead of times that authentication credentials can be passed back and forth.
01:04
We're going to look at that when we look at S a M L. And we're going to look at open ID Connect as well.
01:11
So the pros and cons of single sign on definitely easier to use for users. I don't want to have to keep track of 1500 passwords.
01:19
I just want to have a single set of credentials, log in and get access to the resources I need.
01:25
It's actually better for an administrator because they only have a single account database that they have to manage. And they have that central control.
01:33
Everybody is logging into the same database. I control the password list. I control the protections, the policies, so much better control.
01:41
Of course, the downside is we have a single point of failure
01:45
If the domain controller fails and we can't access the domain,
01:49
not to mention the fact that if my single set of credentials gets compromised, an attacker would get keys to the kingdom. They have everything that can be accessed with a single set of keys.
01:59
Supposing some cons,
02:00
but we really decided that the benefits outweigh the costs of the single sign on.
02:05
That's the environment that we work with. Like we said on the Internet, we really have to strive to get there. So that's a single set of credentials, will give me access to everything I need.
02:14
We're not there yet, but that's the goal,
02:16
and that's the direction we're headed towards.
02:20
Kerberos is a single sign on technology. It's both a protocol and a service.
02:24
Those of you keeping chocolate ports, its port 88 if I remember correctly, 88 keys on a piano and Carrboro starts with K Eat.
02:32
I don't know why, but I've always remembered it that way.
02:37
The goal here is single sign on to the domain
02:39
now. We don't really get into cryptography in this class, but there's something called symmetric cryptography.
02:46
Symmetric cryptography means that we're what's encrypted with a key has to be decrypted with the same key.
02:51
There's only one key that's used both to encrypt and decrypt data.
02:54
We're not going to get into the encryption and decryption activities here. We're just really focusing on authenticity.
03:01
Encourage. Boris does use encryption as well to give us additional protection.
03:06
Yeah.
03:08
Now to explain Kirby Ross, I want to take you back to my childhood. I heard up in Greensboro, North Carolina. This is actually a pretty dull place to grow up. If you're a kid,
03:17
there's not a lot of actions shaking down in Greensboro, North Carolina, acceptably April, the G Y C Carnival come to town. That's Greensboro Youth Council.
03:27
You know the carnival is coming to town because you drive past the Carolina Circle Mall. There would be a big white fence that just suddenly went up overnight. We knew that meant the carnival is coming. We knew that everything inside that white fence was where the carnival was going to be. Everything else was just the rest of the parking lot.
03:43
That weight fence set off the carnival realm from everything else. Inside was the realm. Outside was not the first night the carnival would open up was always on Wednesday, and we would go.
03:53
Usually. Admission to the carnival is pretty cheap, and they'd ask you to bring a couple of cans of food for their food drives so you could get your emission free.
04:00
We always look for the worst fans of food and cabinet.
04:02
Do we have any Can beats back there. Any sliced carrots anyway just takes me back to bringing can full of beats to the carnival. And we get in now. I'm in the carnival. Does that mean I can ride all the rides? No. It just means I'm in the realm.
04:16
What can you do in the realm?
04:17
Not much. Well, what I really want to do is ride the rides. When I say going through admission, what does that get us? What actually does get us is a wrist strap.
04:28
Do you remember the risk traps and carnival is the crowning fairies. Are they either paper or plastic? They aggravate use are always tugging at it. That proves that you came in through admission.
04:38
What? I really want our tickets. But if I go to the ticket booth and I try to buy a bunch of tickets and he doesn't see my wrist strap guide, the ticket booth says Nope. You must have jumped the fast go out and come back in the right way, and I'll sell you the tickets. The wrist strap really does is it shows I've come to the carnival. The cracked way, and it allows me to get what I really want, which are tickets.
04:58
I go back in, pay my money, have my wrist strap and go get my tickets.
05:01
Here's the thing. Before I was old enough to go on my own, I would go with my mom. My mom is a wonderful, lovely lady, but she was tied with a bunny.
05:11
My mother is not a spendthrift. By any stretch of the imagination I get in the carnival, they would sell these packs of tickets for $50. Nope. If I wanted to ride the Ferris wheel in the Ferris wheels. Three tickets. Do you know what I got? I got three sad little measly tickets. I went to the Ferris wheel. I rode the Ferris wheel. That was fun. I want to write again.
05:30
Nope. All right now, I want to ride the bumper cards back to the ticket booth. I get four tickets to ride the bumper cards. Then I want to ride the swings back to the ticket booth. My mother was not going to buy one ticket more than she had to come in through the admission booth. I get my wrist drop, which allows me to buy tickets, and we have to come through the admission booth one time
05:48
every time I want to ride a ride. I had to go back to the ticket booth. I get tickets for that ride back to the ticket booth. Go to the next ride. If I want to go back to the Ferris wheel later, I'd have to go back to the ticket booth and buy more tickets.
06:01
That is exactly how Kerberos works, except there are fewer Ferris wheels involved.
06:06
If we looked at Kerberos, the way this works is single sign on. I sit down on my laptop in the morning and I provide login credentials. Those credentials are correct. I get back a ticket granting ticket a tgt
06:19
that's like my wrist drop that proves I've authenticated.
06:23
Now I've got my TGT. I'm in the realm and I want to print to server I with my T g t. I send a request to the ticket granting service. The ticket granting service comes back and gives me a ticket for print server I and I send that ticket in the print job to the print server
06:38
later. If I want to access the database server or whatever other server. I go back to the ticket booth,
06:44
show them my T g t say I want to access the database server and the ticket granting service gives me my ticket. Okay, so it's one time through the authenticating server. Just once I provide my log in credentials. Many times I go back to the ticket granting server.
07:00
Those are the two main roles in Kerberos. You have the authenticating service if the ticket granting service when the two of those rules are combined, which they always are. Those are two services on the same system. That system is referred to as the K D. C.
07:15
Keep in mind that the Kerberos doesn't solve every problem. There's some other issues to be concerned with. Kerberos. One thing that's really important is time synchronization. Your clocks have to be synchronized within five minutes of each other, or you'll have systems that can't access the domain
07:30
that requires that we have some sort of synchronization of time. Often that's network time protocol NTP.
07:38
Another issue is your tickets are stored on your workstation. If your workstation is compromised and someone could forge your identity, that's pretty much true anyway, right? Once I'm sitting at your workstation, then I can impersonate you. The K D. C. Is that single point of failure. It's also extremely desirable for an attacker because that's where all the credentials are.
07:59
Also, Kerberos doesn't do anything to prevent guessing passwords, right? Kerberos, Just the last for single sign on. It doesn't fix every problem, but it's something that we've been using for years and years Windows and UNIX systems. It's been very successful, all things considered.
Up Next