WEBVTT

00:00.730 --> 00:02.140
Hey everybody welcome to the next video.

00:02.140 --> 00:04.760
The Linux operating system module.

00:04.790 --> 00:06.650
So in this video it's going to be pretty quick.

00:06.650 --> 00:08.750
We're going to be talking about the ideas.

00:08.750 --> 00:16.340
So in this case with the I.D. we look if we just use the word command Heidi we get a little bit of information

00:16.340 --> 00:17.150
here.

00:17.180 --> 00:19.900
Now the first part is the you idea which is the user I.D..

00:20.060 --> 00:23.490
This is assigned to the user.

00:24.100 --> 00:31.080
And you see what you see yesterday.

00:32.540 --> 00:37.430
So if we look in here this we can see our user I.D..

00:37.550 --> 00:44.360
Normally users start at a thousand and worked their way up and roots obviously zero now understanding

00:44.360 --> 00:49.280
that this is the user I.D. because you might see the I.D. but not the user name in certain situations

00:49.280 --> 00:55.010
when you're digging through the operating system looking for something.

00:55.010 --> 00:57.590
Now the next time we want to do is we CGI.

00:57.680 --> 01:07.130
So we have the JD is the particular group in my case the main group that I built that I belong to is

01:07.190 --> 01:08.120
the group called Brandon.

01:08.120 --> 01:12.280
That's fairly common with the new Linux install like this.

01:12.480 --> 01:20.870
And we have our actual groups where this is our actual full list of groups that Brandon is associated

01:20.870 --> 01:21.680
with.

01:21.680 --> 01:27.560
Now if we kept it you see group we get a lot of stuff.

01:27.650 --> 01:27.980
Right.

01:28.760 --> 01:34.660
So if we grew up for Brandon we get our groups as well.

01:34.820 --> 01:39.650
Now I.D. is just a quick way to to grab that information relatively quickly.

01:39.800 --> 01:44.960
But if you want to find out like for example if you're trying to move laterally let's say you're part

01:44.960 --> 01:53.710
of this group over here plug in dev or plug dev and you see that the user John over here and plug in

01:53.720 --> 01:56.850
Dove is also in Sudo.

01:56.930 --> 02:04.580
So maybe now your job is to try to get good access to that user account who's in plugin Dev which does

02:04.580 --> 02:05.480
have sudo access.

02:05.500 --> 02:09.050
So understanding what users have sudo access and what don't.

02:09.050 --> 02:16.580
So for example sudo dash L is always a good thing to list for because it always shows there are pseudo

02:16.580 --> 02:19.700
rights in this particular case doesn't say no password.

02:19.700 --> 02:22.920
It does require a parser but I have zero access to everything.

02:23.000 --> 02:29.210
Now in some cases you're going to see that maybe they have pseudo no password setup on the account so

02:29.210 --> 02:30.720
pseudo Shell is always a good thing.

02:30.740 --> 02:33.040
Just quickly look up on.

02:33.410 --> 02:39.370
So when you first get on a box do a quick look at the I.D. and then who am I.

02:39.470 --> 02:45.980
Just just to make sure you're getting the full aspect of what the user is look for stuff like sudo any

02:45.980 --> 02:53.120
admin based groups just understand that this structure is going to be relatively the same between flavors

02:53.120 --> 02:54.400
of Linux.

02:54.560 --> 02:57.530
So just understand what you want to look for.
