WEBVTT

1
00:00:00.450 --> 00:00:03.120
Every security tool runs on Linux.

2
00:00:03.290 --> 00:00:05.390
So the first skill is finding your

3
00:00:05.390 --> 00:00:07.360
way around it, on a machine that

4
00:00:07.360 --> 00:00:08.070
is yours.

5
00:00:08.920 --> 00:00:11.340
Linux keeps everything in one tree of

6
00:00:11.340 --> 00:00:12.010
folders.

7
00:00:12.180 --> 00:00:13.850
It starts at the root.

8
00:00:14.020 --> 00:00:16.580
Your own files live in your home folder.

9
00:00:16.750 --> 00:00:19.290
Settings live in etc, logs in var,

10
00:00:19.290 --> 00:00:21.320
and scratch files in tmp.

11
00:00:22.170 --> 00:00:23.750
You work in a terminal.

12
00:00:23.920 --> 00:00:25.510
You type a short command,

13
00:00:25.510 --> 00:00:27.700
and the machine answers in text.

14
00:00:27.870 --> 00:00:29.920
Three questions get you started:

15
00:00:29.920 --> 00:00:31.530
where am I, what is here,

16
00:00:31.530 --> 00:00:32.520
and who am I?

17
00:00:33.370 --> 00:00:35.020
Every file has an owner,

18
00:00:35.020 --> 00:00:37.090
and rules for who may read it,

19
00:00:37.090 --> 00:00:38.680
change it, or run it.

20
00:00:38.850 --> 00:00:41.610
One user, called root, can do anything.

21
00:00:41.780 --> 00:00:43.820
Use it only when you must.

22
00:00:44.670 --> 00:00:47.090
A throwaway sandbox forgets everything

23
00:00:47.090 --> 00:00:48.190
when it closes.

24
00:00:48.360 --> 00:00:50.430
A machine you own remembers.

25
00:00:50.600 --> 00:00:53.040
Your notes, wordlists and reports build

26
00:00:53.040 --> 00:00:54.190
up as you learn.

27
00:00:55.040 --> 00:00:57.340
So: know the tree, and keep your notes.

28
00:00:57.510 --> 00:00:59.540
In the lab, you start your machine,

29
00:00:59.540 --> 00:01:01.510
look around, and leave a note that

30
00:01:01.510 --> 00:01:03.100
is still there next time.
