WEBVTT

1
00:00:00.120 --> 00:00:02.720
<v Speaker 1>Welcome to a deep dive that might just change how

2
00:00:02.759 --> 00:00:04.360
<v Speaker 1>you look at the digital world around you.

3
00:00:04.599 --> 00:00:07.400
<v Speaker 2>Yeah, today we're really pulling back the curtain on hacking.

4
00:00:07.679 --> 00:00:10.439
<v Speaker 1>But and this is key, not from the criminal side.

5
00:00:10.599 --> 00:00:13.519
<v Speaker 1>We're looking at the people who learn these techniques to

6
00:00:14.759 --> 00:00:15.599
<v Speaker 1>well defend.

7
00:00:15.400 --> 00:00:18.600
<v Speaker 2>Us all exactly. Our main source today is this book

8
00:00:18.879 --> 00:00:23.559
<v Speaker 2>Ethical Hacking, A hands on Introduction to Breaking In. And

9
00:00:23.679 --> 00:00:27.280
<v Speaker 2>it's really practical, not just theory then, no, not at all.

10
00:00:27.519 --> 00:00:29.920
<v Speaker 2>It shows you how systems get compromised, you know, from

11
00:00:29.960 --> 00:00:34.159
<v Speaker 2>the basics of networks right up to complex exploitation. It's

12
00:00:34.200 --> 00:00:36.960
<v Speaker 2>solid stuff, technically reviewed by people like doctor ed Novak,

13
00:00:37.159 --> 00:00:39.119
<v Speaker 2>who really knows his security and privacy.

14
00:00:39.200 --> 00:00:42.560
<v Speaker 1>Okay, so what's our mission here? What do we want you,

15
00:00:42.719 --> 00:00:44.159
<v Speaker 1>the listener to get out of this?

16
00:00:44.719 --> 00:00:46.840
<v Speaker 2>Well, the goal is to help you start thinking like

17
00:00:46.840 --> 00:00:49.799
<v Speaker 2>an ethical hacker, someone who can, you know, carefully look

18
00:00:49.799 --> 00:00:52.640
<v Speaker 2>at a system, figure out its weaknesses and find ways.

19
00:00:52.399 --> 00:00:54.520
<v Speaker 1>In, but purely for defensive reasons.

20
00:00:54.600 --> 00:00:56.880
<v Speaker 2>Right, It's kind of a shortcut to understanding these hidden

21
00:00:56.920 --> 00:00:59.880
<v Speaker 2>cyber threats and honestly how much they impact our every

22
00:01:00.079 --> 00:01:00.600
<v Speaker 2>day lives.

23
00:01:00.840 --> 00:01:02.000
<v Speaker 1>All right, let's dive in.

24
00:01:02.320 --> 00:01:07.040
<v Speaker 2>So the influence of hacking today it's huge. It touches everything,

25
00:01:07.120 --> 00:01:11.200
<v Speaker 2>doesn't it, elections, power grids, big infrastructure, even just our

26
00:01:11.239 --> 00:01:12.120
<v Speaker 2>personal safety.

27
00:01:12.200 --> 00:01:15.840
<v Speaker 1>Absolutely, it's not abstract. Remember the Colonial pipeline attack in

28
00:01:15.840 --> 00:01:20.319
<v Speaker 1>twenty twenty one that caused real panic, flight cancelations, actual

29
00:01:20.400 --> 00:01:24.640
<v Speaker 1>fuel shortages. Millions of people felt that directly.

30
00:01:24.719 --> 00:01:27.079
<v Speaker 2>And that's just one example. We've seen attacks on companies,

31
00:01:27.120 --> 00:01:31.079
<v Speaker 2>even countries just accelerate like crazy over the past decade.

32
00:01:31.159 --> 00:01:34.120
<v Speaker 1>Yeah, twenty twenty one alone was wild hackers stealing over

33
00:01:34.159 --> 00:01:37.040
<v Speaker 1>one hundred million in crypto, trying to poison a water

34
00:01:37.079 --> 00:01:37.640
<v Speaker 1>supply in.

35
00:01:37.599 --> 00:01:41.719
<v Speaker 2>Florida, attacking Pfizer, hitting government agencies all over the place.

36
00:01:41.840 --> 00:01:43.159
<v Speaker 1>So why is this happening? Why?

37
00:01:43.280 --> 00:01:46.519
<v Speaker 2>Now? Well, fundamentally, it's because we depend so much on

38
00:01:46.560 --> 00:01:49.799
<v Speaker 2>technology right. Our entire society, our economy, it all runs

39
00:01:49.799 --> 00:01:52.640
<v Speaker 2>on it. So attacks on that tech infrastructure have massive

40
00:01:52.680 --> 00:01:55.040
<v Speaker 2>knock on effects socially and economically.

41
00:01:55.079 --> 00:01:58.760
<v Speaker 1>So understanding hacking isn't really optional anymore, pretty much essential. Yeah,

42
00:01:58.799 --> 00:02:00.719
<v Speaker 1>and to really get it, you need to get your

43
00:02:00.760 --> 00:02:02.719
<v Speaker 1>hands dirty safely though exactly.

44
00:02:02.840 --> 00:02:04.879
<v Speaker 2>That's where setting up your own virtual lab comes in

45
00:02:05.159 --> 00:02:08.400
<v Speaker 2>is crucial. You need this isolated space to learn and

46
00:02:08.479 --> 00:02:13.199
<v Speaker 2>practice without accidentally messing up your real computer or network.

47
00:02:13.080 --> 00:02:16.520
<v Speaker 1>Keeps everything secure. So what does this lab look like? Typically?

48
00:02:16.879 --> 00:02:20.120
<v Speaker 2>Usually you'd set up a few virtual machines or vms.

49
00:02:20.159 --> 00:02:22.759
<v Speaker 2>You'd have something like a Kithens router firewall that's like

50
00:02:22.800 --> 00:02:27.400
<v Speaker 2>your virtual networks bodyguard. Then a Kali Linux machine. Think

51
00:02:27.439 --> 00:02:29.960
<v Speaker 2>of that as your ethical hacking toolkit. It's packed with

52
00:02:30.000 --> 00:02:33.560
<v Speaker 2>specialized software, got it. You probably want a couple of

53
00:02:33.599 --> 00:02:39.159
<v Speaker 2>say Ubuntu Linux desktops as targets just to practice attacking

54
00:02:39.199 --> 00:02:42.599
<v Speaker 2>common systems. And definitely a metasploitable VM.

55
00:02:42.639 --> 00:02:46.400
<v Speaker 1>Metasploitable yeah, like, that's the one designed to be vulnerable exactly.

56
00:02:46.639 --> 00:02:49.120
<v Speaker 2>It's deliberately full of holes, so it's perfect for profiting

57
00:02:49.159 --> 00:02:52.080
<v Speaker 2>attacks without doing any real harm. It's a safe target.

58
00:02:52.159 --> 00:02:54.840
<v Speaker 1>And you run all this using virtual box.

59
00:02:55.120 --> 00:02:57.520
<v Speaker 2>Yeah. Virtual box is a great option. It's free and

60
00:02:57.680 --> 00:03:00.800
<v Speaker 2>lets you create these virtual computers inside your actual computer.

61
00:03:01.240 --> 00:03:04.199
<v Speaker 2>You just need a reasonably decent machine yourself. You know

62
00:03:04.280 --> 00:03:07.599
<v Speaker 2>of hard drive space, maybe thirty gigs free and enough

63
00:03:07.759 --> 00:03:11.599
<v Speaker 2>RAM say four gigs minimum, ideally more to run several

64
00:03:11.719 --> 00:03:12.199
<v Speaker 2>vms at.

65
00:03:12.159 --> 00:03:15.240
<v Speaker 1>Once, right, like building a whole mini network inside your laptop,

66
00:03:15.280 --> 00:03:17.360
<v Speaker 1>a safe little sandbox precisely.

67
00:03:17.680 --> 00:03:21.639
<v Speaker 2>So let's talk about the digital battlefield itself. The network fundamentals. Okay,

68
00:03:21.960 --> 00:03:25.199
<v Speaker 2>at the most basic level, everything on the Internet travels

69
00:03:25.199 --> 00:03:27.280
<v Speaker 2>in packets. You have to think of them like a

70
00:03:27.639 --> 00:03:31.080
<v Speaker 2>digital envelopes sense, Yeah, and each envelope has a from

71
00:03:31.199 --> 00:03:33.879
<v Speaker 2>address and a two address. Those are the source and

72
00:03:33.919 --> 00:03:37.800
<v Speaker 2>destination MSE addresses for local stuff, and IP addresses for

73
00:03:37.840 --> 00:03:39.319
<v Speaker 2>getting across the wider Internet.

74
00:03:39.360 --> 00:03:41.560
<v Speaker 1>And the routers they're like the post offices.

75
00:03:41.479 --> 00:03:44.240
<v Speaker 2>Exactly like sorting offices. They look at the destination IP

76
00:03:44.319 --> 00:03:47.560
<v Speaker 2>address and forward the packet along the way. It's all hierarchical.

77
00:03:48.039 --> 00:03:51.319
<v Speaker 2>The lowest level is your local network, your land like

78
00:03:51.400 --> 00:03:55.120
<v Speaker 2>your home Wi Fi, all connected through one main router.

79
00:03:55.120 --> 00:03:58.680
<v Speaker 1>Which brings us to something like ARP spoofing. You mentioned

80
00:03:58.680 --> 00:03:59.919
<v Speaker 1>that as an example.

81
00:03:59.719 --> 00:04:03.199
<v Speaker 2>Yes, NRP spoofing. It's a classic example of exploiting a

82
00:04:03.240 --> 00:04:08.280
<v Speaker 2>fund metal maybe slightly flawed protocol. Basically, if you're on

83
00:04:08.319 --> 00:04:11.879
<v Speaker 2>say public Wi Fi at a coffee shop, yeah, an

84
00:04:11.879 --> 00:04:16.000
<v Speaker 2>attacker on that same network could potentially use airpacepoofing to

85
00:04:16.079 --> 00:04:19.319
<v Speaker 2>intercept your unencrypted web traffic. See what sites you're visiting,

86
00:04:19.360 --> 00:04:19.920
<v Speaker 2>that kind of thing.

87
00:04:19.959 --> 00:04:21.480
<v Speaker 1>How does that work? Sound sneaky?

88
00:04:21.720 --> 00:04:24.839
<v Speaker 2>It is. The attacker basically tricks both your computer and

89
00:04:24.879 --> 00:04:28.040
<v Speaker 2>the router. They convince your machine that the attacker's machine

90
00:04:28.040 --> 00:04:30.600
<v Speaker 2>is the router. They convince the router that the attacker's

91
00:04:30.639 --> 00:04:31.600
<v Speaker 2>machine is your computer.

92
00:04:31.759 --> 00:04:33.240
<v Speaker 1>So all the traffic goes through though.

93
00:04:33.199 --> 00:04:35.240
<v Speaker 2>Exactly they become a man in the middle. And this

94
00:04:35.399 --> 00:04:38.759
<v Speaker 2>just highlights how risky unencrypted communication on public Wi Fi

95
00:04:38.800 --> 00:04:41.680
<v Speaker 2>can be. Even simple tools like earl snarf can then

96
00:04:41.720 --> 00:04:44.279
<v Speaker 2>pull out things like the website addresses you visit from

97
00:04:44.279 --> 00:04:45.399
<v Speaker 2>that intercepted traffic.

98
00:04:45.600 --> 00:04:49.079
<v Speaker 1>Wow. Okay, so how do ethical hackers actually see and

99
00:04:49.199 --> 00:04:50.480
<v Speaker 1>analyze this traffic?

100
00:04:51.040 --> 00:04:53.959
<v Speaker 2>Good question. That's where you need to understand the Internet

101
00:04:54.040 --> 00:04:58.319
<v Speaker 2>protocol stack. Think of protocols as just rules for talking,

102
00:04:58.959 --> 00:05:01.720
<v Speaker 2>like how human and say hello to start a conversation

103
00:05:02.160 --> 00:05:05.879
<v Speaker 2>and goodbye to end it. Computers need similar rules and

104
00:05:05.920 --> 00:05:08.120
<v Speaker 2>it's layered right. Yeah. It typically shown as a five

105
00:05:08.199 --> 00:05:11.040
<v Speaker 2>layer stack. Yeah. Information gets wrapped up kind of like

106
00:05:11.120 --> 00:05:13.279
<v Speaker 2>nesting dolls as it moves down the layers.

107
00:05:13.399 --> 00:05:17.160
<v Speaker 1>So like the application layers where your browser works with HTTP.

108
00:05:16.959 --> 00:05:19.560
<v Speaker 2>Right, then it goes down to transport maybe using TCP,

109
00:05:20.240 --> 00:05:23.879
<v Speaker 2>then network with IP addresses, data link with AMC addresses

110
00:05:23.920 --> 00:05:27.399
<v Speaker 2>for the local network, and finally physical turning it into

111
00:05:27.439 --> 00:05:29.720
<v Speaker 2>electrical signals or light pulses.

112
00:05:29.519 --> 00:05:32.319
<v Speaker 1>And each layer does its job independently.

113
00:05:32.040 --> 00:05:34.759
<v Speaker 2>Pretty much, which is efficient, but it also means a

114
00:05:34.800 --> 00:05:37.439
<v Speaker 2>weakness of one layer, like ARP at the data link

115
00:05:37.519 --> 00:05:38.759
<v Speaker 2>layer can be exploited.

116
00:05:38.839 --> 00:05:41.519
<v Speaker 1>And what about ports. You hear about open ports being bad.

117
00:05:41.720 --> 00:05:45.279
<v Speaker 2>Ah, ports they're essential. They let multiple programs on your

118
00:05:45.279 --> 00:05:47.639
<v Speaker 2>computer use the network at the same time, like your

119
00:05:47.639 --> 00:05:51.319
<v Speaker 2>browser uses port four four three for HTTPS, your email

120
00:05:51.360 --> 00:05:52.279
<v Speaker 2>client uses others.

121
00:05:52.399 --> 00:05:53.360
<v Speaker 1>But they're also a risk.

122
00:05:53.600 --> 00:05:56.800
<v Speaker 2>They can be open ports are like open doors into

123
00:05:56.800 --> 00:06:01.439
<v Speaker 2>your system. Attackers scan for open ports because they represent

124
00:06:01.800 --> 00:06:04.800
<v Speaker 2>potential ways to interact with services running on your machine.

125
00:06:05.000 --> 00:06:06.920
<v Speaker 2>They're often the first thing an attacker looks for.

126
00:06:07.560 --> 00:06:10.199
<v Speaker 1>So how do you actually see all this packet stuff?

127
00:06:10.399 --> 00:06:13.639
<v Speaker 2>The key tool here is wire Shark. Think of it

128
00:06:13.680 --> 00:06:17.879
<v Speaker 2>as your network microscope. It captures every single packet going

129
00:06:17.879 --> 00:06:19.600
<v Speaker 2>in and out of your computer's network.

130
00:06:19.360 --> 00:06:22.000
<v Speaker 1>Interface, every single one. That must be a lot of data.

131
00:06:22.639 --> 00:06:26.160
<v Speaker 2>It can be thousands. Yeah, but wire shark has power fulfillters.

132
00:06:26.279 --> 00:06:28.399
<v Speaker 2>You can tell it show me only traffic to this

133
00:06:28.439 --> 00:06:32.319
<v Speaker 2>specific IP address, or show me packets containing the word password.

134
00:06:32.519 --> 00:06:34.160
<v Speaker 2>It lets you cut through the noise and find what

135
00:06:34.199 --> 00:06:36.680
<v Speaker 2>you're looking for. It's how you really visualize what's happening.

136
00:06:36.759 --> 00:06:39.160
<v Speaker 1>You can even monitor firewall traffic.

137
00:06:38.839 --> 00:06:42.199
<v Speaker 2>Absolutely on something like a pfens firewall VM. You could

138
00:06:42.240 --> 00:06:45.360
<v Speaker 2>use a tool called TCP dump to capture traffic passing

139
00:06:45.399 --> 00:06:48.399
<v Speaker 2>through it, save it and analyze it later, maybe even

140
00:06:48.480 --> 00:06:49.480
<v Speaker 2>using online tools.

141
00:06:49.600 --> 00:06:52.199
<v Speaker 1>Okay, that covers the fundamentals. Let's move into Part three,

142
00:06:52.319 --> 00:06:55.639
<v Speaker 1>exploitation techniques actually breaking in right.

143
00:06:56.000 --> 00:07:00.279
<v Speaker 2>A really fundamental concept here is getting remote control. Key

144
00:07:00.319 --> 00:07:02.199
<v Speaker 2>technique is the reverse shell.

145
00:07:02.399 --> 00:07:04.879
<v Speaker 1>Reverse shell sounds backwards.

146
00:07:05.160 --> 00:07:08.240
<v Speaker 2>It kind of is. Imagine an attacker manages to run

147
00:07:08.279 --> 00:07:11.399
<v Speaker 2>some malicious code on your machine. Now, instead of the

148
00:07:11.439 --> 00:07:13.800
<v Speaker 2>attacker trying to connect in through your firewall, which is

149
00:07:13.879 --> 00:07:17.319
<v Speaker 2>usually blocked, this malicious code connects out from inside your

150
00:07:17.360 --> 00:07:19.160
<v Speaker 2>network to the attacker's waiting machine.

151
00:07:19.399 --> 00:07:23.079
<v Speaker 1>Uh so it bypasses the firewalls incoming rules.

152
00:07:23.120 --> 00:07:27.079
<v Speaker 2>Clever, very clever, and it gives the attacker persistent access

153
00:07:27.199 --> 00:07:28.680
<v Speaker 2>a way back in whenever they want.

154
00:07:28.839 --> 00:07:31.160
<v Speaker 1>And if they do that to lots of machines.

155
00:07:30.759 --> 00:07:33.519
<v Speaker 2>Then you have a botnet, a whole network of compromised

156
00:07:33.519 --> 00:07:37.160
<v Speaker 2>computers or bots, all under the attacker's control, and they can.

157
00:07:37.120 --> 00:07:39.959
<v Speaker 1>Use these bots for what DEDAS attacks.

158
00:07:40.079 --> 00:07:42.560
<v Speaker 2>DDAs is a big one. Yeah, overwhelming a website or

159
00:07:42.639 --> 00:07:45.240
<v Speaker 2>server with so much traffic from the botnet that it

160
00:07:45.360 --> 00:07:47.079
<v Speaker 2>just falls over, it goes offline.

161
00:07:47.160 --> 00:07:49.120
<v Speaker 1>Wasn't there a famous botnet, Mira.

162
00:07:49.240 --> 00:07:52.360
<v Speaker 2>Miri exactly back in twenty sixteen was huge, infected something

163
00:07:52.439 --> 00:07:54.759
<v Speaker 2>like three hundred thousand devices.

164
00:07:54.199 --> 00:07:58.480
<v Speaker 1>Mostly those Internet of Things devices, right, cameras, routers.

165
00:07:58.519 --> 00:08:01.199
<v Speaker 2>Yeah, basic stuff. And the crazy part is how it

166
00:08:01.240 --> 00:08:03.879
<v Speaker 2>infected them, mostly just by logging in with the default

167
00:08:04.000 --> 00:08:06.480
<v Speaker 2>usernames and passwords that people never changed.

168
00:08:06.560 --> 00:08:09.040
<v Speaker 1>Wow, just default credentials yep.

169
00:08:09.399 --> 00:08:11.920
<v Speaker 2>And what made me write tricky to stop was how

170
00:08:12.000 --> 00:08:15.399
<v Speaker 2>the bots found their master, their commanding control server or

171
00:08:15.519 --> 00:08:18.759
<v Speaker 2>C two. They didn't use a fixed IP address, They

172
00:08:18.759 --> 00:08:22.199
<v Speaker 2>looked up a domain name a URL, which the attackers

173
00:08:22.199 --> 00:08:24.800
<v Speaker 2>could easily change. Made it much harder to take down

174
00:08:24.800 --> 00:08:25.480
<v Speaker 2>the whole network.

175
00:08:25.600 --> 00:08:28.079
<v Speaker 1>Okay, so controlling machines is one thing. What about data

176
00:08:28.720 --> 00:08:30.480
<v Speaker 1>that leads to cryptography? Right?

177
00:08:30.639 --> 00:08:35.080
<v Speaker 2>Yeah? And ransomware absolutely. Crytography is fundamental to digital security

178
00:08:35.320 --> 00:08:39.399
<v Speaker 2>and ransomware. Oh that's the nightmare scenario where malware encrypts

179
00:08:39.440 --> 00:08:40.440
<v Speaker 2>all your important.

180
00:08:40.120 --> 00:08:42.000
<v Speaker 1>Files, it demands money to get them back.

181
00:08:42.120 --> 00:08:45.360
<v Speaker 2>Right, malicious encryption to understand the risks, it helps to

182
00:08:45.360 --> 00:08:48.320
<v Speaker 2>know a bit about how encryption works, even simple concepts

183
00:08:48.720 --> 00:08:50.039
<v Speaker 2>like the one time pad.

184
00:08:49.960 --> 00:08:52.519
<v Speaker 1>That's the theoretically unbreakable one.

185
00:08:52.799 --> 00:08:55.559
<v Speaker 2>Theoretically yes, if the key is truly random and you

186
00:08:55.639 --> 00:08:58.080
<v Speaker 2>only use it once. The critical part is only once.

187
00:08:58.200 --> 00:09:00.879
<v Speaker 1>What happens if you reuse the key big problems.

188
00:09:01.200 --> 00:09:04.039
<v Speaker 2>If you encrypt two different messages with the same one

189
00:09:04.080 --> 00:09:08.039
<v Speaker 2>time pad key, you actually leak information that lets someone

190
00:09:08.080 --> 00:09:11.879
<v Speaker 2>potentially figure out both original messages. It shows how even

191
00:09:11.919 --> 00:09:15.679
<v Speaker 2>a perfect system can fail catastrophically if used incorrectly.

192
00:09:15.759 --> 00:09:18.919
<v Speaker 1>So for real world security, we use things like RSA

193
00:09:19.440 --> 00:09:21.279
<v Speaker 1>public key cryptography exactly.

194
00:09:21.399 --> 00:09:24.960
<v Speaker 2>RSA is a cornerstone, uses a pair of keys, a

195
00:09:25.000 --> 00:09:27.639
<v Speaker 2>public key you can share with anyone, and a private

196
00:09:27.759 --> 00:09:28.840
<v Speaker 2>key you guard.

197
00:09:28.600 --> 00:09:31.759
<v Speaker 1>Fiercely, and if someone encrypts a message with my public.

198
00:09:31.440 --> 00:09:35.159
<v Speaker 2>Key, only you with your corresponding private key, can decrypt it.

199
00:09:35.159 --> 00:09:37.679
<v Speaker 2>It guarantees confidentiality.

200
00:09:36.840 --> 00:09:39.440
<v Speaker 1>And the other way around. Encrypting with a private key

201
00:09:39.840 --> 00:09:40.559
<v Speaker 1>that acts like.

202
00:09:40.559 --> 00:09:43.720
<v Speaker 2>A digital signature. If you encrypt something or usually a

203
00:09:43.720 --> 00:09:46.679
<v Speaker 2>hash of something, with your private key, anyone can use

204
00:09:46.679 --> 00:09:48.840
<v Speaker 2>your public key to verify that you must have been

205
00:09:48.840 --> 00:09:50.240
<v Speaker 2>the one who signed it.

206
00:09:50.320 --> 00:09:54.279
<v Speaker 1>Proves authenticity, which is crucial for things like secure websites

207
00:09:54.480 --> 00:09:58.240
<v Speaker 1>HDTPS that uses TLS right Transport layer security.

208
00:09:58.480 --> 00:10:02.159
<v Speaker 2>Right TLS uses all these public private keys for authentication,

209
00:10:02.639 --> 00:10:06.399
<v Speaker 2>and keys change symmetric encryption for the actual data transfer

210
00:10:06.840 --> 00:10:11.240
<v Speaker 2>message authentication codes. For integrity, it relies on certificate authorities

211
00:10:11.679 --> 00:10:14.200
<v Speaker 2>CAAs to vouch for the public keys and build that

212
00:10:14.279 --> 00:10:14.960
<v Speaker 2>chain of trust.

213
00:10:15.159 --> 00:10:17.440
<v Speaker 1>But attackers still try to break it, like trying to

214
00:10:17.480 --> 00:10:22.039
<v Speaker 1>force a connection down from HTTPS to unencrypted HTTP.

215
00:10:22.200 --> 00:10:25.279
<v Speaker 2>They definitely try. It's called SSL stripping, but modern browsers

216
00:10:25.320 --> 00:10:29.480
<v Speaker 2>fight back with something called HTCs HTT Strict Transport Security.

217
00:10:29.879 --> 00:10:32.200
<v Speaker 2>It basically tells the browser only ever talk to this

218
00:10:32.279 --> 00:10:36.559
<v Speaker 2>site over HTDPS, which prevents most downgrade attacks.

219
00:10:36.200 --> 00:10:38.120
<v Speaker 1>Although misconfigurations can still happen.

220
00:10:38.159 --> 00:10:41.919
<v Speaker 2>I guess oh absolutely, especially with subdomains or complex setups.

221
00:10:42.039 --> 00:10:43.759
<v Speaker 2>Security is never perfectly simple.

222
00:10:43.799 --> 00:10:47.320
<v Speaker 1>Okay, let's shift focus a bit Part four, the human side,

223
00:10:47.559 --> 00:10:49.200
<v Speaker 1>social engineering and ocent.

224
00:10:49.639 --> 00:10:52.600
<v Speaker 2>Yeah, the human element is often the weakest link. Phishing

225
00:10:52.639 --> 00:10:55.240
<v Speaker 2>emails are a classic example. It's surprisingly easy to fake

226
00:10:55.240 --> 00:10:57.200
<v Speaker 2>the from address in an email because of how the

227
00:10:57.279 --> 00:10:59.720
<v Speaker 2>underlying protocol SMTP works, so you.

228
00:10:59.720 --> 00:11:01.120
<v Speaker 1>Can make can email look like it came from a

229
00:11:01.120 --> 00:11:02.879
<v Speaker 1>trusted source easily.

230
00:11:02.679 --> 00:11:05.240
<v Speaker 2>And now we're seeing the rise of deep fakes, which

231
00:11:05.279 --> 00:11:07.600
<v Speaker 2>is frankly terrifying.

232
00:11:07.679 --> 00:11:09.879
<v Speaker 1>AI generated fake videos exactly.

233
00:11:10.279 --> 00:11:14.960
<v Speaker 2>Using machine learning, attackers can create incredibly convincing videos. Imagine

234
00:11:14.960 --> 00:11:18.080
<v Speaker 2>getting a video call that looks and sounds exactly like

235
00:11:18.120 --> 00:11:20.840
<v Speaker 2>your CEO telling you to approve a wire transfer or

236
00:11:20.879 --> 00:11:21.840
<v Speaker 2>expect a certain.

237
00:11:21.600 --> 00:11:25.799
<v Speaker 1>Email which is actually malicious. Wow. The potential for deception

238
00:11:25.919 --> 00:11:27.759
<v Speaker 1>there is huge, It really is.

239
00:11:28.120 --> 00:11:31.840
<v Speaker 2>Which highlights why information gathering OCENT open source intelligence is

240
00:11:31.840 --> 00:11:33.080
<v Speaker 2>so critical for attackers.

241
00:11:33.200 --> 00:11:35.240
<v Speaker 1>Just collecting publicly available info yep.

242
00:11:35.720 --> 00:11:38.519
<v Speaker 2>The more an attacker knows about you or your organization,

243
00:11:38.919 --> 00:11:42.440
<v Speaker 2>the more tailored and convincing their attack can be. OCENT

244
00:11:42.600 --> 00:11:45.559
<v Speaker 2>is the process of finding and connecting those public data.

245
00:11:45.360 --> 00:11:46.960
<v Speaker 1>Points like what kind of data points?

246
00:11:47.039 --> 00:11:50.679
<v Speaker 2>Oh anything? Contact details from website registration records, ye, email

247
00:11:50.679 --> 00:11:53.279
<v Speaker 2>addresses are user names exposed in data breaches. You can

248
00:11:53.360 --> 00:11:57.399
<v Speaker 2>check sites like have in pobayan dot com, social media profiles,

249
00:11:57.559 --> 00:11:59.799
<v Speaker 2>company directories, news articles.

250
00:11:59.519 --> 00:12:01.639
<v Speaker 1>And tools help connect these dots. You mentioned.

251
00:12:01.720 --> 00:12:05.240
<v Speaker 2>Maltago, Yeah, Maultago is great for visualizing these connections. You

252
00:12:05.279 --> 00:12:08.399
<v Speaker 2>feed it bits of information and it spiders out, finding

253
00:12:08.440 --> 00:12:11.600
<v Speaker 2>links you might never see otherwise. It can map relationships

254
00:12:11.639 --> 00:12:15.440
<v Speaker 2>between people, companies, email addresses infrastructure, and.

255
00:12:15.399 --> 00:12:19.399
<v Speaker 1>This OCENT enables really nasty attacks like simjacking.

256
00:12:19.759 --> 00:12:24.480
<v Speaker 2>Simjacking is a prime example of weaponized OCENT. It's highly sophisticated.

257
00:12:24.799 --> 00:12:28.840
<v Speaker 2>Attackers gather enough personal information about you to convincingly impersonate

258
00:12:28.879 --> 00:12:31.320
<v Speaker 2>you when talking to your mobile phone provider.

259
00:12:30.960 --> 00:12:32.840
<v Speaker 1>And they trick the provider into.

260
00:12:32.919 --> 00:12:35.720
<v Speaker 2>Transferring your phone number to a simcard they control.

261
00:12:36.000 --> 00:12:38.080
<v Speaker 1>Oh wow, so they get all your calls and texts,

262
00:12:38.639 --> 00:12:41.440
<v Speaker 1>including two factor authentication codes exactly.

263
00:12:41.480 --> 00:12:45.080
<v Speaker 2>It completely bypasses SMS based two FA It requires a

264
00:12:45.080 --> 00:12:47.080
<v Speaker 2>lot of prep work, but it's devastating when it works.

265
00:12:47.240 --> 00:12:50.600
<v Speaker 1>Scary stuff. What about finding vulnerable systems directly?

266
00:12:50.960 --> 00:12:56.120
<v Speaker 2>Google dorking Google dorking. It's basically using advanced search operators

267
00:12:56.120 --> 00:12:58.799
<v Speaker 2>in Google to find things that shouldn't be public, like

268
00:12:58.799 --> 00:13:03.759
<v Speaker 2>what misconfigured web servers, login pages, sensitive documents or configuration

269
00:13:03.840 --> 00:13:08.600
<v Speaker 2>files accidentally indexed by Google, even live unsecured webcams. Sometimes

270
00:13:08.639 --> 00:13:10.360
<v Speaker 2>you'd be amazed what's just out there?

271
00:13:10.480 --> 00:13:12.919
<v Speaker 1>And beyond Google there are specialized tools.

272
00:13:12.960 --> 00:13:16.159
<v Speaker 2>Oh yeah, Tools like mass scan can scan huge ranges

273
00:13:16.200 --> 00:13:19.320
<v Speaker 2>of the Internet incredibly quickly, looking for specific open ports.

274
00:13:19.879 --> 00:13:24.000
<v Speaker 2>Showdan is like a search engine specifically for Internet connected devices.

275
00:13:24.279 --> 00:13:28.679
<v Speaker 2>Finding everything from industrial control systems to refrigerators online though

276
00:13:28.799 --> 00:13:31.519
<v Speaker 2>SHOWDAN logs your IP so ethical use is key.

277
00:13:31.879 --> 00:13:34.240
<v Speaker 1>And once you find a potential target system and you

278
00:13:34.240 --> 00:13:34.879
<v Speaker 1>start looking.

279
00:13:34.720 --> 00:13:37.840
<v Speaker 2>For known weaknesses, use the osent you gathered. What software

280
00:13:37.879 --> 00:13:41.360
<v Speaker 2>is it running? What version? Then you check vulnerability databases

281
00:13:41.600 --> 00:13:44.480
<v Speaker 2>like the CVE list using tools like search sploit to

282
00:13:44.519 --> 00:13:48.480
<v Speaker 2>see if there are known published exploits for that specific.

283
00:13:48.080 --> 00:13:51.799
<v Speaker 1>Software, and automated scanners like ENMAP or nessis can help

284
00:13:51.840 --> 00:13:53.320
<v Speaker 1>find these vulnerabilities too.

285
00:13:53.639 --> 00:13:58.120
<v Speaker 2>Absolutely. NMAP is fantastic for port scanning and service identification.

286
00:13:58.759 --> 00:14:02.399
<v Speaker 2>NESSUS is a more common, comprehensive vulnerability scanner. The checks

287
00:14:02.399 --> 00:14:06.279
<v Speaker 2>for thousands of known issues, including things like back doors

288
00:14:06.320 --> 00:14:09.480
<v Speaker 2>like the one deliberately built into that metasploitable practice machine.

289
00:14:09.759 --> 00:14:12.159
<v Speaker 2>There are even tools like discovered that try to automate

290
00:14:12.320 --> 00:14:14.279
<v Speaker 2>a whole range of ocent gathering.

291
00:14:14.679 --> 00:14:17.200
<v Speaker 1>Okay, so that's finding non issues. What about the unknown?

292
00:14:18.000 --> 00:14:21.720
<v Speaker 1>Part five? Advanced exploitation? Finding zero days?

293
00:14:21.799 --> 00:14:25.399
<v Speaker 2>Right? Zero days? These are the vulnerabilities nobody knows about

294
00:14:25.480 --> 00:14:27.919
<v Speaker 2>yet except maybe the person who found them. They can

295
00:14:27.960 --> 00:14:31.320
<v Speaker 2>be incredibly valuable, sometimes selling for huge sums on the

296
00:14:31.320 --> 00:14:32.200
<v Speaker 2>black market or to.

297
00:14:32.159 --> 00:14:34.759
<v Speaker 1>Governments because there's no patch, no defense yet exactly.

298
00:14:35.320 --> 00:14:38.360
<v Speaker 2>The famous heart bleed bug in open ssl was effectively

299
00:14:38.360 --> 00:14:40.360
<v Speaker 2>a zero day for a while before it was discovered

300
00:14:40.399 --> 00:14:41.120
<v Speaker 2>and publicized.

301
00:14:41.200 --> 00:14:43.080
<v Speaker 1>And how do people find these? Fuzzing?

302
00:14:43.399 --> 00:14:46.879
<v Speaker 2>Fuzzing is a major technique. It's basically automated bug hunting.

303
00:14:47.399 --> 00:14:50.960
<v Speaker 2>You throw tons and tons of malformed, unexpected random data

304
00:14:50.960 --> 00:14:53.960
<v Speaker 2>at a program, hoping to make it crash or behave.

305
00:14:53.720 --> 00:14:55.039
<v Speaker 1>Strangely just random jump.

306
00:14:55.159 --> 00:14:58.960
<v Speaker 2>Well, simple fuzzers do that, but smarter fuzzers like American

307
00:14:59.000 --> 00:15:03.159
<v Speaker 2>Fuzzy lop AFL are more clever. They watch how the

308
00:15:03.200 --> 00:15:07.000
<v Speaker 2>program reacts to input and intelligently mutate the inputs that

309
00:15:07.039 --> 00:15:09.879
<v Speaker 2>seem to explore new paths within the code, making the

310
00:15:09.919 --> 00:15:12.399
<v Speaker 2>process much more efficient at finding hidden bugs.

311
00:15:12.480 --> 00:15:14.759
<v Speaker 1>So once an attacker gets in, maybe using a zero

312
00:15:14.879 --> 00:15:18.240
<v Speaker 1>day or maybe something simpler, they want to stay hidden, right.

313
00:15:18.399 --> 00:15:20.440
<v Speaker 1>Trojans and rootkits exactly.

314
00:15:20.799 --> 00:15:24.159
<v Speaker 2>Persistence and stealth are key. A trojan horse program is

315
00:15:24.200 --> 00:15:27.279
<v Speaker 2>malware disguised is something harmless, like the Greek myth, just

316
00:15:27.399 --> 00:15:29.840
<v Speaker 2>like it. You might hide your malicious implant inside a

317
00:15:29.919 --> 00:15:33.679
<v Speaker 2>legitimate looking installer file for Linux dot deb, or maybe

318
00:15:33.720 --> 00:15:36.639
<v Speaker 2>inside a simple Windows game like Mind Sweeper, or even

319
00:15:36.679 --> 00:15:39.840
<v Speaker 2>a word document, macro or an Android app DOTK file.

320
00:15:40.039 --> 00:15:41.720
<v Speaker 1>How do they get past antivirus? Then?

321
00:15:41.879 --> 00:15:45.559
<v Speaker 2>Good question. Antivirus often looks for known signatures of malware,

322
00:15:45.960 --> 00:15:49.279
<v Speaker 2>so attackers use techniques to change the signature. Simple encoding

323
00:15:49.360 --> 00:15:51.919
<v Speaker 2>like BA sixty four can sometimes help disguise the code,

324
00:15:51.960 --> 00:15:55.200
<v Speaker 2>but more advanced methods polymorphic encoders are the next level.

325
00:15:55.559 --> 00:15:58.879
<v Speaker 2>Something like the chicatagun I encoder used by the Metasbolate

326
00:15:58.960 --> 00:16:02.799
<v Speaker 2>framework actually generates a slightly different version of the malware

327
00:16:02.840 --> 00:16:06.039
<v Speaker 2>code each time it's used. It does the same bad stuff,

328
00:16:06.159 --> 00:16:09.279
<v Speaker 2>but its signature looks different every time, making it much

329
00:16:09.320 --> 00:16:11.840
<v Speaker 2>harder for signature based antivirus to catch.

330
00:16:12.000 --> 00:16:14.960
<v Speaker 1>And then rootkits those sound serious they are.

331
00:16:15.480 --> 00:16:18.200
<v Speaker 2>If a trojan gets the malware installed, a root kit

332
00:16:18.519 --> 00:16:21.720
<v Speaker 2>helps it hide and maintain control at a very deep level,

333
00:16:21.960 --> 00:16:24.279
<v Speaker 2>often by modifying the operating system itself.

334
00:16:24.399 --> 00:16:26.600
<v Speaker 1>How does that work? In Linux? For example, so.

335
00:16:26.759 --> 00:16:29.679
<v Speaker 2>Normal programs run in user space, but they need to

336
00:16:29.679 --> 00:16:32.799
<v Speaker 2>ask the core of the OS, the kernel, to do

337
00:16:32.879 --> 00:16:36.919
<v Speaker 2>privileged things like accessing hardware or managing files. They do

338
00:16:36.960 --> 00:16:40.360
<v Speaker 2>this using system calls for ciscolls. A rootkit might hook

339
00:16:40.399 --> 00:16:43.960
<v Speaker 2>these cis calls it replaces the kernel's normal function for say,

340
00:16:44.200 --> 00:16:47.399
<v Speaker 2>listing files in a directory, with its own function. This

341
00:16:47.519 --> 00:16:50.320
<v Speaker 2>malicious function does the normal job, but also hides the

342
00:16:50.399 --> 00:16:52.519
<v Speaker 2>rootkit's own files from the listing.

343
00:16:52.440 --> 00:16:55.039
<v Speaker 1>So the malware becomes invisible to standard tools.

344
00:16:55.279 --> 00:17:00.240
<v Speaker 2>Exactly could to hide processes. Network connections prevent reboots. Very

345
00:17:00.240 --> 00:17:02.279
<v Speaker 2>sneaky and hard to detect or remove.

346
00:17:02.480 --> 00:17:05.359
<v Speaker 1>Let's switch to web applications. SEQL injection that seems to

347
00:17:05.359 --> 00:17:06.079
<v Speaker 1>come up a lot.

348
00:17:06.240 --> 00:17:09.640
<v Speaker 2>It does because it's still surprisingly common. It happens when

349
00:17:09.759 --> 00:17:12.920
<v Speaker 2>a website developer doesn't properly clean up the input they

350
00:17:12.920 --> 00:17:15.240
<v Speaker 2>get from a user, maybe from a search.

351
00:17:15.039 --> 00:17:17.359
<v Speaker 1>Box or a log in form, and the attacker puts

352
00:17:17.400 --> 00:17:18.640
<v Speaker 1>database commands in there.

353
00:17:18.839 --> 00:17:22.960
<v Speaker 2>Precisely, they inject malicious sequel commands into the input field.

354
00:17:23.279 --> 00:17:26.240
<v Speaker 2>If the website just blindly pastes that input into its

355
00:17:26.319 --> 00:17:30.279
<v Speaker 2>database query, the attacker's commands get executed by the database.

356
00:17:29.960 --> 00:17:32.240
<v Speaker 1>Letting them do what dump data.

357
00:17:32.160 --> 00:17:36.359
<v Speaker 2>Yeah, potentially steal entire tables of data, user names, passwords,

358
00:17:36.400 --> 00:17:39.319
<v Speaker 2>customer info, whatever's in the database. It relies on trusting

359
00:17:39.440 --> 00:17:40.759
<v Speaker 2>user input, which you should.

360
00:17:40.480 --> 00:17:44.680
<v Speaker 1>Ever do, and web interactions rely heavily on HTTP requests right,

361
00:17:45.000 --> 00:17:45.880
<v Speaker 1>especially cookies.

362
00:17:45.920 --> 00:17:48.799
<v Speaker 2>Absolutely you need to understand how browsers talk to servers

363
00:17:48.880 --> 00:17:53.599
<v Speaker 2>using get and post requests, the headers involved like host

364
00:17:53.599 --> 00:17:56.960
<v Speaker 2>and user agent, and crucially the cookie header.

365
00:17:56.960 --> 00:17:58.039
<v Speaker 1>That's what keeps you logged in.

366
00:17:58.240 --> 00:18:01.960
<v Speaker 2>Yeah, cookie store your session state. If an attacker can

367
00:18:02.039 --> 00:18:05.839
<v Speaker 2>steal your session cookie, maybe through intercepting traffic or another

368
00:18:05.880 --> 00:18:09.000
<v Speaker 2>attack like XSS, they can often put that cookie in

369
00:18:09.039 --> 00:18:12.119
<v Speaker 2>their own browser and impersonate you, taking over your logged

370
00:18:12.119 --> 00:18:14.160
<v Speaker 2>in session without needing your password at all.

371
00:18:14.319 --> 00:18:17.720
<v Speaker 1>Speaking of passwords, systems don't store them in plain text,

372
00:18:17.759 --> 00:18:19.440
<v Speaker 1>hopefully they use hashes, right.

373
00:18:19.480 --> 00:18:22.880
<v Speaker 2>They store hashes. A hash function like SAHA two fifty

374
00:18:22.920 --> 00:18:26.200
<v Speaker 2>six takes an input your password and produces a fixed

375
00:18:26.240 --> 00:18:29.759
<v Speaker 2>size output the hash. It's designed to be one way

376
00:18:29.799 --> 00:18:33.039
<v Speaker 2>easy to compute the hash from the password, but incredibly

377
00:18:33.079 --> 00:18:34.880
<v Speaker 2>hard to get the password back from the hash.

378
00:18:35.039 --> 00:18:38.720
<v Speaker 1>But attackers can still crack hashes dictionary attacks they.

379
00:18:38.559 --> 00:18:41.319
<v Speaker 2>Can try if the system just stores the raw hash

380
00:18:41.319 --> 00:18:44.599
<v Speaker 2>of the password. Attackers can pre calculate hashes for millions

381
00:18:44.599 --> 00:18:48.039
<v Speaker 2>of common passwords a rainbow table, or just try hashing

382
00:18:48.039 --> 00:18:49.799
<v Speaker 2>words from a dictionary until they find a match.

383
00:18:50.359 --> 00:18:52.920
<v Speaker 1>So how do systems defend against that? Salting?

384
00:18:53.160 --> 00:18:56.200
<v Speaker 2>Exactly? Salting is crucial. Before hashing the password, the system

385
00:18:56.200 --> 00:18:58.839
<v Speaker 2>adds a unique random value, the salt, to it, so

386
00:18:58.880 --> 00:19:01.680
<v Speaker 2>even if two users have this password, their salted hashes

387
00:19:01.720 --> 00:19:02.000
<v Speaker 2>will be.

388
00:19:02.000 --> 00:19:05.680
<v Speaker 1>Different, which makes rainbow tables useless completely useless.

389
00:19:05.920 --> 00:19:09.559
<v Speaker 2>Attackers then have to crack each salted hash individually, usually

390
00:19:09.680 --> 00:19:11.920
<v Speaker 2>using brute force methods with tools like John the Ripper,

391
00:19:12.079 --> 00:19:15.759
<v Speaker 2>or for more speed, using graphics cards hashcat. It makes

392
00:19:15.799 --> 00:19:17.240
<v Speaker 2>cracking much much slower.

393
00:19:17.359 --> 00:19:21.960
<v Speaker 1>Okay, another big web attack cross site scripting XSS. What's

394
00:19:22.039 --> 00:19:22.559
<v Speaker 1>that about?

395
00:19:22.880 --> 00:19:27.079
<v Speaker 2>XSS is about injecting malicious JavaScript code into a web

396
00:19:27.079 --> 00:19:29.720
<v Speaker 2>page so that it runs in the victims browser.

397
00:19:29.839 --> 00:19:30.920
<v Speaker 1>How does the script get there?

398
00:19:31.039 --> 00:19:34.359
<v Speaker 2>Two main ways. Stored XSS is where the malicious script

399
00:19:34.440 --> 00:19:37.119
<v Speaker 2>gets saved permanently on the website's server, maybe in a

400
00:19:37.119 --> 00:19:40.400
<v Speaker 2>comment section or a user profile. Anyone who've used that

401
00:19:40.440 --> 00:19:44.319
<v Speaker 2>page later executes the script, and the other way reflected XSS.

402
00:19:44.720 --> 00:19:47.039
<v Speaker 1>Here the script is usually part of a link the

403
00:19:47.160 --> 00:19:50.039
<v Speaker 1>victim clicks, The script gets sent to the server, maybe

404
00:19:50.039 --> 00:19:52.799
<v Speaker 1>as a URL parameter, and the server then includes it

405
00:19:52.920 --> 00:19:55.400
<v Speaker 1>or reflects it back in the response page it sends

406
00:19:55.400 --> 00:19:57.200
<v Speaker 1>to the victim's browser, which then runs it.

407
00:19:57.279 --> 00:19:59.880
<v Speaker 2>And the impact of running this malicious script. A major

408
00:20:00.000 --> 00:20:03.200
<v Speaker 2>one is stealing those session cookies we talked about. The

409
00:20:03.200 --> 00:20:05.200
<v Speaker 2>script runs with the permissions of the website and the

410
00:20:05.240 --> 00:20:08.640
<v Speaker 2>victim's browser, so it can often access the cookies associated

411
00:20:08.640 --> 00:20:10.559
<v Speaker 2>with that site and send them off to the.

412
00:20:10.480 --> 00:20:13.680
<v Speaker 1>Attacker, allowing session hijacking again exactly.

413
00:20:13.759 --> 00:20:17.400
<v Speaker 2>Ye AXSS is a powerful way to compromise user accounts, and.

414
00:20:17.400 --> 00:20:20.599
<v Speaker 1>There are frameworks to make this easier for attackers.

415
00:20:20.720 --> 00:20:24.279
<v Speaker 2>BEEF Yeah, Beef the Browser Exploitation Framework. It's a tool

416
00:20:24.319 --> 00:20:27.640
<v Speaker 2>specifically designed for EXSS. An attacker gets a user to

417
00:20:27.720 --> 00:20:31.680
<v Speaker 2>run a small BEEF JavaScript hook. Once hooked, the attacker

418
00:20:31.720 --> 00:20:34.400
<v Speaker 2>gets a control panel showing the hook browser and they

419
00:20:34.400 --> 00:20:38.200
<v Speaker 2>can easily launch further attacks. Pop up fake login prompts,

420
00:20:38.279 --> 00:20:41.240
<v Speaker 2>redirect the browser, try to exploit browser plug ins, all

421
00:20:41.279 --> 00:20:44.480
<v Speaker 2>sorts of nasty stuff. It makes sophisticated browser based attacks

422
00:20:44.640 --> 00:20:45.599
<v Speaker 2>much more accessible.

423
00:20:45.839 --> 00:20:49.640
<v Speaker 1>Okay, let's zoom out to corporate networks, specifically Windows environments.

424
00:20:49.759 --> 00:20:52.400
<v Speaker 1>Getting that first foothold is one thing, but attackers want

425
00:20:52.400 --> 00:20:54.880
<v Speaker 1>to move deeper, right lateral movement.

426
00:20:55.400 --> 00:20:59.200
<v Speaker 2>Absolutely, landing on one workstation is usually just the start.

427
00:20:59.400 --> 00:21:01.839
<v Speaker 2>The goal is often to get to more sensitive systems

428
00:21:02.200 --> 00:21:05.319
<v Speaker 2>like servers or domain controllers, so they use the first

429
00:21:05.400 --> 00:21:09.279
<v Speaker 2>compromised machine as a stepping stone a pivot to reach

430
00:21:09.279 --> 00:21:11.400
<v Speaker 2>other parts of the network they couldn't access directly.

431
00:21:11.519 --> 00:21:12.359
<v Speaker 1>How might they do that?

432
00:21:12.960 --> 00:21:17.000
<v Speaker 2>Well, Sometimes a compromised machine might be dual homed, connected

433
00:21:17.039 --> 00:21:19.880
<v Speaker 2>to two different networks, maybe the main corporate land and

434
00:21:19.920 --> 00:21:23.200
<v Speaker 2>a smaller private one. The attacker can use that machine

435
00:21:23.200 --> 00:21:26.480
<v Speaker 2>as a proxy to route their traffic between those networks.

436
00:21:26.680 --> 00:21:29.000
<v Speaker 2>Bridging segments that were supposed to be separate.

437
00:21:28.880 --> 00:21:32.240
<v Speaker 1>And getting credentials is key and Windows too like password hashes.

438
00:21:32.359 --> 00:21:37.720
<v Speaker 2>Definitely similar to Linux, Windows stores password hashes. Attackers often

439
00:21:37.720 --> 00:21:40.839
<v Speaker 2>try to extract these hashes, frequently from the memory of

440
00:21:40.839 --> 00:21:44.839
<v Speaker 2>a critical system process called l sas. Local security authority

441
00:21:44.880 --> 00:21:48.799
<v Speaker 2>subsystem service tools like mimicats are famous for doing this.

442
00:21:49.000 --> 00:21:50.640
<v Speaker 1>Does that require special permissions?

443
00:21:50.920 --> 00:21:54.279
<v Speaker 2>Usually Yes, You typically need administrative rights on the machine

444
00:21:54.279 --> 00:21:56.880
<v Speaker 2>to dumb hashes from l SAS memory. That's often a

445
00:21:56.960 --> 00:22:00.640
<v Speaker 2>key goal after initial access, escalating privileges to become an admin.

446
00:22:00.960 --> 00:22:04.920
<v Speaker 1>And Windows networks use protocols like NTLM for authentication that

447
00:22:05.000 --> 00:22:05.880
<v Speaker 1>can be attacked too.

448
00:22:06.000 --> 00:22:10.200
<v Speaker 2>Yes. NTLM is an older but still common protocol. Attackers

449
00:22:10.200 --> 00:22:13.279
<v Speaker 2>can often perform past the hash attacks. Once they have

450
00:22:13.319 --> 00:22:16.680
<v Speaker 2>your NTLM password hash, which they might get from mimic

451
00:22:16.680 --> 00:22:19.680
<v Speaker 2>ads or by tricking your machine and descending it, they

452
00:22:19.720 --> 00:22:23.119
<v Speaker 2>can sometimes use that hash directly to authenticate to other

453
00:22:23.160 --> 00:22:25.640
<v Speaker 2>machines on the network that accept NTLM.

454
00:22:25.200 --> 00:22:27.359
<v Speaker 1>So they don't even need the actual password, just the

455
00:22:27.400 --> 00:22:28.480
<v Speaker 1>hash exactly.

456
00:22:28.519 --> 00:22:30.440
<v Speaker 2>It's a powerful lateral movement.

457
00:22:30.160 --> 00:22:35.799
<v Speaker 1>Technique and navigating these large corporate networks. It's complex, right.

458
00:22:36.039 --> 00:22:40.960
<v Speaker 2>Domains forests, Yeah, large organizations use active directory, which has

459
00:22:41.000 --> 00:22:46.279
<v Speaker 2>a hierarchical structure. Organizational units OUs within domains, domains grouped

460
00:22:46.319 --> 00:22:50.079
<v Speaker 2>into trees and trees into forests. Understanding the structure, how

461
00:22:50.119 --> 00:22:53.400
<v Speaker 2>security policies are applied and where valuable assets like domain

462
00:22:53.440 --> 00:22:56.920
<v Speaker 2>controllers reside, is crucial for an attacker planning their movement.

463
00:22:57.079 --> 00:22:59.920
<v Speaker 1>The domain controller or DC is the main target then

464
00:23:00.240 --> 00:23:01.160
<v Speaker 1>often yes.

465
00:23:01.000 --> 00:23:03.599
<v Speaker 2>The DC manages all the users, computers and security for

466
00:23:03.640 --> 00:23:07.319
<v Speaker 2>the domain runs critical services like DNA Domain Name System

467
00:23:07.359 --> 00:23:11.680
<v Speaker 2>for resolving names. Attackers might try DNS poisoning or exploiting

468
00:23:11.720 --> 00:23:15.200
<v Speaker 2>related protocols like lmn R, which is a fallback name

469
00:23:15.240 --> 00:23:18.640
<v Speaker 2>resolution protocol. If they can intercept an LLM in our request,

470
00:23:18.720 --> 00:23:20.839
<v Speaker 2>they might trick a client into sending its credentials to

471
00:23:20.880 --> 00:23:21.839
<v Speaker 2>the attackers machine.

472
00:23:21.880 --> 00:23:24.000
<v Speaker 1>And LDAP lightweight.

473
00:23:23.559 --> 00:23:27.119
<v Speaker 2>Directory access protocol that's how you query active directory for

474
00:23:27.200 --> 00:23:32.640
<v Speaker 2>information about users, groups, computers, permissions. Attackers use LDPP extensively

475
00:23:32.720 --> 00:23:36.960
<v Speaker 2>for reconnaissance inside the network. Tools like Bloodhound visualize ad

476
00:23:37.079 --> 00:23:40.720
<v Speaker 2>data gathered via LDP to find attack paths, ways to

477
00:23:40.759 --> 00:23:43.440
<v Speaker 2>hop from a low privileged user to eventually becoming a

478
00:23:43.480 --> 00:23:44.200
<v Speaker 2>domain admin.

479
00:23:44.359 --> 00:23:45.839
<v Speaker 1>And Carberos authentication.

480
00:23:46.079 --> 00:23:49.759
<v Speaker 2>Carberos is the primary authentication protocol and modern active directory.

481
00:23:50.039 --> 00:23:53.319
<v Speaker 2>It's more secure than NTLM, but still has potential weaknesses

482
00:23:53.319 --> 00:23:56.960
<v Speaker 2>attackers try to exploit, often related to stealing Carbero's tickets,

483
00:23:57.000 --> 00:24:00.000
<v Speaker 2>specifically ticket granting tickets tgts.

484
00:24:00.079 --> 00:24:03.240
<v Speaker 1>Ultimate goal being the Golden ticket ah.

485
00:24:02.880 --> 00:24:05.599
<v Speaker 2>The Golden Ticket attack. That's kind of the holy grail

486
00:24:05.640 --> 00:24:09.000
<v Speaker 2>for an active directory attacker. It involves compromising the domain

487
00:24:09.039 --> 00:24:12.519
<v Speaker 2>controller itself, stealing the password hash of a very special

488
00:24:12.519 --> 00:24:17.119
<v Speaker 2>account called karbpga. With that hash, the attacker can forge

489
00:24:17.160 --> 00:24:21.279
<v Speaker 2>any Carbero's ticket they want, granting themselves access to anything

490
00:24:21.359 --> 00:24:24.200
<v Speaker 2>in the domain, often for years, and it's very hard

491
00:24:24.279 --> 00:24:27.359
<v Speaker 2>to detect. It provides ultimate persistence and access.

492
00:24:27.480 --> 00:24:29.920
<v Speaker 1>Ooh, that's comprehensive control.

493
00:24:30.200 --> 00:24:33.079
<v Speaker 2>Okay, we've covered a massive amount of ground. After learning

494
00:24:33.079 --> 00:24:35.319
<v Speaker 2>all this, what are the practical next steps beyond the

495
00:24:35.440 --> 00:24:36.119
<v Speaker 2>virtual lab?

496
00:24:36.240 --> 00:24:38.200
<v Speaker 1>Right? The virtual lab is for safe learning, but if

497
00:24:38.240 --> 00:24:41.839
<v Speaker 1>you were doing say, external penetration testing for real, you'd

498
00:24:41.880 --> 00:24:44.960
<v Speaker 1>likely use a hardened server online, a virtual private server

499
00:24:45.119 --> 00:24:47.559
<v Speaker 1>or VPS with a public EYP address.

500
00:24:47.319 --> 00:24:51.880
<v Speaker 2>Hardened meaning what meaning locking it down tight applying rigorous

501
00:24:51.880 --> 00:24:55.519
<v Speaker 2>security configurations. You might use tools like Lennis to audit

502
00:24:55.559 --> 00:24:59.119
<v Speaker 2>the server's security settings to get a score, identify weaknesses.

503
00:24:59.400 --> 00:25:04.000
<v Speaker 2>You can figure firewalls carefully, maybe using UfW uncomplicated firewall

504
00:25:04.480 --> 00:25:07.319
<v Speaker 2>or even more advanced systems like Cylinux for fine grained

505
00:25:07.400 --> 00:25:12.240
<v Speaker 2>access control, basically making your attack platform as secure as possible.

506
00:25:12.319 --> 00:25:15.599
<v Speaker 1>And what about anonymity? Ethical hackers need that sometimes.

507
00:25:15.160 --> 00:25:18.839
<v Speaker 2>Depending on the engagement rules. Yes, anonymity tools like Tour

508
00:25:19.000 --> 00:25:22.039
<v Speaker 2>are important. Tour routes your Internet traffic through a volunteer

509
00:25:22.079 --> 00:25:24.960
<v Speaker 2>network of relays, bouncing it around the globe to obscure

510
00:25:24.960 --> 00:25:25.880
<v Speaker 2>your original IP.

511
00:25:25.799 --> 00:25:27.839
<v Speaker 1>Address makes it hard to trace back.

512
00:25:27.799 --> 00:25:31.160
<v Speaker 2>Very hard. There are even specialized operating systems like Tails,

513
00:25:31.279 --> 00:25:34.599
<v Speaker 2>a Linux distribution designed for privacy. It forces all network

514
00:25:34.599 --> 00:25:38.440
<v Speaker 2>traffic through Tour and includes tools like HTTPS everywhere and

515
00:25:38.519 --> 00:25:41.759
<v Speaker 2>no script to block potential de anonymizing elements.

516
00:25:41.799 --> 00:25:44.839
<v Speaker 1>But Tour isn't perfect, right, No, it's not foolproof.

517
00:25:45.039 --> 00:25:47.839
<v Speaker 2>Your Internet service provider can still see that you're connecting

518
00:25:47.880 --> 00:25:50.039
<v Speaker 2>to the Tour network even if they don't know what

519
00:25:50.079 --> 00:25:55.000
<v Speaker 2>you're doing inside it, and sophisticated adversaries might try correlation

520
00:25:55.079 --> 00:25:58.519
<v Speaker 2>attacks trying to match timing patterns of traffic entering and

521
00:25:58.559 --> 00:26:01.759
<v Speaker 2>exiting the Tour network to try and link them. Anonymity

522
00:26:02.000 --> 00:26:04.279
<v Speaker 2>is a complex, ongoing challenge.

523
00:26:04.359 --> 00:26:06.920
<v Speaker 1>It really feels like we've only scratched the surface today,

524
00:26:06.920 --> 00:26:08.240
<v Speaker 1>even with all this detail.

525
00:26:08.319 --> 00:26:11.079
<v Speaker 2>Oh, absolutely, the field is vast. We haven't even touched

526
00:26:11.079 --> 00:26:15.119
<v Speaker 2>on things like software defined radio SDRs SDR. Yeah, using

527
00:26:15.160 --> 00:26:19.160
<v Speaker 2>relatively cheap hardware and software to receive and analyze radio signals.

528
00:26:19.519 --> 00:26:22.160
<v Speaker 2>People use it to grab whether satellite images, listen to

529
00:26:22.240 --> 00:26:26.799
<v Speaker 2>unencrypted police or emergency services, chatter, track aircraft. The NSA

530
00:26:26.880 --> 00:26:29.960
<v Speaker 2>even released their own SDR tool, red Hawk, to the public.

531
00:26:30.200 --> 00:26:32.480
<v Speaker 1>Or attacking cellular networks.

532
00:26:32.119 --> 00:26:35.039
<v Speaker 2>That's another area understanding how cell networks work and how

533
00:26:35.119 --> 00:26:39.200
<v Speaker 2>tools sometimes called stingrays or IMSI catchers, can mimic cell

534
00:26:39.279 --> 00:26:42.759
<v Speaker 2>towers to track phones or intercept communications. Obviously, you need

535
00:26:42.799 --> 00:26:46.160
<v Speaker 2>extreme caution and ethical boundaries, like using a Faraday cage.

536
00:26:46.440 --> 00:26:48.440
<v Speaker 2>If you were ever experimenting with radio.

537
00:26:48.160 --> 00:26:53.680
<v Speaker 1>Signals and getting data off completely isolated systems air gaps. Yeah,

538
00:26:53.759 --> 00:26:57.759
<v Speaker 1>escaping the air gap. There are techniques, often theoretical or

539
00:26:57.839 --> 00:27:02.039
<v Speaker 1>lab based, using things like ultrasonics, sound light pulses, even

540
00:27:02.079 --> 00:27:04.759
<v Speaker 1>heat variations to transmit tiny amounts of data from a

541
00:27:04.839 --> 00:27:08.440
<v Speaker 1>machine with absolutely no network connection. It's fascinating stuff.

542
00:27:08.480 --> 00:27:10.240
<v Speaker 2>Reverts to engineering software.

543
00:27:09.920 --> 00:27:14.279
<v Speaker 1>Crucial skill, especially for malware analysis, taking compiled code and

544
00:27:14.319 --> 00:27:15.359
<v Speaker 1>figuring out what it does.

545
00:27:15.440 --> 00:27:19.079
<v Speaker 2>Physical hacking tools like those hack five gadgets.

546
00:27:18.680 --> 00:27:21.519
<v Speaker 1>Right, things like the USB rubber ducky that pretends to

547
00:27:21.559 --> 00:27:23.799
<v Speaker 1>be a keyboard and types of commands super fast, or

548
00:27:23.839 --> 00:27:26.359
<v Speaker 1>the Wi Fi Pineapple that acts as a rogue access

549
00:27:26.359 --> 00:27:28.960
<v Speaker 1>point for man in the middle attacks. Physical access often

550
00:27:28.960 --> 00:27:31.119
<v Speaker 1>bypasses a lot of digital security.

551
00:27:31.119 --> 00:27:35.039
<v Speaker 2>Hacking industrial control systems. Stucksnet showed the potential damage there a.

552
00:27:35.079 --> 00:27:37.759
<v Speaker 1>Stark warning about critical infrastructure security.

553
00:27:37.880 --> 00:27:42.680
<v Speaker 2>Yeah, and the future quantum computing breaking current encryption. That's

554
00:27:42.720 --> 00:27:46.720
<v Speaker 2>the long term worry. Petershore's quantum algorithm can in theory

555
00:27:47.279 --> 00:27:51.599
<v Speaker 2>break RSA encryption relatively easily by factoring large numbers. We

556
00:27:51.640 --> 00:27:54.519
<v Speaker 2>don't have quantum computers powerful enough yet, but it's driving

557
00:27:54.559 --> 00:27:58.119
<v Speaker 2>research into new quantum resistant cryptographic methods.

558
00:27:58.400 --> 00:28:02.240
<v Speaker 1>It really hammers home how and maybe fragile our digital

559
00:28:02.240 --> 00:28:03.200
<v Speaker 1>world is it?

560
00:28:03.319 --> 00:28:06.200
<v Speaker 2>Certainly does. You have now seen a glimpse into how

561
00:28:06.200 --> 00:28:10.039
<v Speaker 2>systems can be analyzed, probed and potentially compromised.

562
00:28:10.319 --> 00:28:13.640
<v Speaker 1>So the final thought for you, the listener, given this understanding,

563
00:28:13.720 --> 00:28:18.319
<v Speaker 1>this peak behind the curtain, what new, maybe unseen vulnerabilities

564
00:28:18.400 --> 00:28:20.839
<v Speaker 1>might exist in the systems you rely on every single

565
00:28:20.920 --> 00:28:24.119
<v Speaker 2>Day, And perhaps more importantly, how can the knowledge you've

566
00:28:24.160 --> 00:28:27.519
<v Speaker 2>gained today help you and others start thinking about how

567
00:28:27.519 --> 00:28:28.480
<v Speaker 2>to better protect them
