1
00:00:00,001 --> 00:00:02,640
For three and a half weeks there was no patch.

2
00:00:02,640 --> 00:00:05,680
The only thing mattered was how you prepared yourself.

3
00:00:05,680 --> 00:00:06,800
In today's episode

4
00:00:06,960 --> 00:00:07,440
we discuss

5
00:00:07,600 --> 00:00:08,560
the recent Citrix

6
00:00:08,720 --> 00:00:10,640
Netscaler vulnerabilities.

7
00:00:10,360 --> 00:00:19,080
Let's get on to it.

8
00:00:19,080 --> 00:00:19,320
So

9
00:00:19,480 --> 00:00:20,520
with me today

10
00:00:20,380 --> 00:00:20,460
is

11
00:00:20,619 --> 00:00:22,779
Lars Nobelen, our CTI specialist.

12
00:00:22,779 --> 00:00:23,419
Welcome, Lars.

13
00:00:23,500 --> 00:00:23,900
Thank you.

14
00:00:23,900 --> 00:00:24,859
Second time on the show?

15
00:00:24,859 --> 00:00:25,580
Second time.

16
00:00:25,580 --> 00:00:25,740
And

17
00:00:25,900 --> 00:00:28,539
my name is Rob Maas, field CTO here at ON2IT.

18
00:00:29,800 --> 00:00:33,080
Before we kick off the whole episode, what was your

19
00:00:33,560 --> 00:00:37,560
initial thought when you heard about the Citrix Netscaler vulnerabilities?

20
00:00:37,560 --> 00:00:40,120
And when did you realize it was not simply just patch

21
00:00:40,280 --> 00:00:41,320
or systems?

22
00:00:41,460 --> 00:00:41,540
The

23
00:00:41,700 --> 00:00:44,660
the first response is always with a S-device, oh

24
00:00:44,820 --> 00:00:46,580
no, that can be bad.

25
00:00:46,580 --> 00:00:47,540
And then

26
00:00:47,860 --> 00:00:50,500
specifically for this one, there was so m

27
00:00:50,660 --> 00:00:53,860
much rumors and speculation about how bad this was

28
00:00:54,020 --> 00:00:54,340
that

29
00:00:54,340 --> 00:00:57,699
the the alarm bells went quite fast and quite hard.

30
00:00:57,699 --> 00:00:57,940
I can

31
00:00:58,100 --> 00:01:01,059
I can imagine and you already mentioned a bit it was an edge device.

32
00:01:01,059 --> 00:01:03,940
Can you briefly explain what a Citrix Netscaler is?

33
00:01:03,940 --> 00:01:04,259
Yes.

34
00:01:04,500 --> 00:01:06,580
So a Netscaler is responsible for

35
00:01:06,900 --> 00:01:13,380
a bunch of things, but it's mostly used for remote desktop protocols as well as load balancing.

36
00:01:13,380 --> 00:01:17,940
So it's used by a lot of organizations because it's easier to set up

37
00:01:18,500 --> 00:01:20,900
and it fits most purposes that

38
00:01:21,280 --> 00:01:21,520
for

39
00:01:21,840 --> 00:01:23,840
load balancing or remote desktop.

40
00:01:23,840 --> 00:01:26,720
Okay, yeah, so it's really an edge device for remote access.

41
00:01:26,720 --> 00:01:27,120
Yep.

42
00:01:27,120 --> 00:01:27,840
Okay.

43
00:01:28,240 --> 00:01:30,880
Yeah so let's let's start with the timeline because a lot of

44
00:01:31,140 --> 00:01:33,220
things happened and I know you have your laptop here to

45
00:01:33,460 --> 00:01:34,580
to help you remember.

46
00:01:34,580 --> 00:01:35,860
Can you can you go over the timeline

47
00:01:36,340 --> 00:01:36,820
with us?

48
00:01:36,820 --> 00:01:39,220
We saw early fingerprinting attempts from halfway

49
00:01:39,380 --> 00:01:40,180
August,

50
00:01:40,500 --> 00:01:42,740
twenty-first, twenty-second of August.

51
00:01:42,260 --> 00:01:42,580
And then

52
00:01:42,740 --> 00:01:42,979
early

53
00:01:43,140 --> 00:01:45,700
September the first exploitation attempts

54
00:01:45,939 --> 00:01:48,340
were tried by various actors.

55
00:01:48,580 --> 00:01:52,259
There's at least one actor very specifically named by Google.

56
00:01:52,540 --> 00:01:55,740
That is suspected to be state sponsored, we don't know.

57
00:01:56,140 --> 00:01:58,460
But there are other actors at play as well.

58
00:01:58,460 --> 00:02:01,740
And then from halfway through end of the September

59
00:02:01,900 --> 00:02:04,780
we see actually a second wave happening

60
00:02:04,620 --> 00:02:04,940
a

61
00:02:05,580 --> 00:02:06,460
more broad

62
00:02:06,700 --> 00:02:10,060
more actors actually attempting to exploit the net

63
00:02:10,220 --> 00:02:11,420
scalers on

64
00:02:11,660 --> 00:02:14,380
multiple occasions in multiple different ways

65
00:02:14,879 --> 00:02:15,200
and

66
00:02:15,519 --> 00:02:15,840
only

67
00:02:16,000 --> 00:02:18,799
the 27th of September, so that's quite a while

68
00:02:19,280 --> 00:02:19,920
after that

69
00:02:20,799 --> 00:02:22,239
we see Citrix

70
00:02:22,400 --> 00:02:25,519
releasing information and eventually a patch as well.

71
00:02:25,519 --> 00:02:26,879
So that's a long web

72
00:02:27,420 --> 00:02:28,140
Okay.

73
00:02:28,860 --> 00:02:29,020
So

74
00:02:29,260 --> 00:02:31,020
this is not the first time we discussed Citrix Netscaler

75
00:02:31,900 --> 00:02:32,300
at the show.

76
00:02:32,300 --> 00:02:33,020
We did it

77
00:02:33,180 --> 00:02:34,300
I believe back in twenty

78
00:02:34,460 --> 00:02:35,340
twenty-four with

79
00:02:35,500 --> 00:02:36,140
episode called

80
00:02:36,300 --> 00:02:36,540
"Does

81
00:02:36,700 --> 00:02:37,500
Remote Work"

82
00:02:37,820 --> 00:02:41,740
was the attack this time similar to the attack back then?

83
00:02:41,740 --> 00:02:43,420
Yeah, yeah, it's kind of similar.

84
00:02:43,420 --> 00:02:44,220
It's

85
00:02:44,460 --> 00:02:45,740
in a way that an

86
00:02:46,140 --> 00:02:48,460
edge device is always connected to the internet, it's

87
00:02:48,620 --> 00:02:50,220
it's often from the outside

88
00:02:50,380 --> 00:02:51,020
reachable

89
00:02:51,500 --> 00:02:51,820
and

90
00:02:52,820 --> 00:02:54,740
in such a way then the attacker

91
00:02:54,900 --> 00:02:56,980
is it's a good target for them.

92
00:02:56,980 --> 00:03:00,580
They know there should be a way to access that because you need to be able to

93
00:03:00,560 --> 00:03:01,519
remote work from that

94
00:03:01,840 --> 00:03:02,640
same device.

95
00:03:02,640 --> 00:03:04,400
It's kind of a front door, and if you can

96
00:03:04,720 --> 00:03:07,439
get through that, then you're inside the network at least.

97
00:03:08,159 --> 00:03:08,799
Okay.

98
00:03:09,439 --> 00:03:12,799
So the vulnerabilities of course this time were slightly different.

99
00:03:13,640 --> 00:03:14,920
And there were multiple?

100
00:03:14,920 --> 00:03:15,959
Can you go over them?

101
00:03:15,959 --> 00:03:16,280
Yeah.

102
00:03:16,280 --> 00:03:17,239
Yeah, there were two

103
00:03:17,799 --> 00:03:20,200
actual zero days, the two major ones.

104
00:03:20,200 --> 00:03:21,239
That's CV

105
00:03:21,400 --> 00:03:21,560
2026 688771

106
00:03:24,200 --> 00:03:26,200
and CV 2026 88772.

107
00:03:26,840 --> 00:03:28,040
The first one was

108
00:03:28,280 --> 00:03:28,599
most

109
00:03:29,720 --> 00:03:29,959
imp

110
00:03:30,200 --> 00:03:30,519
important

111
00:03:31,319 --> 00:03:31,560
because

112
00:03:31,720 --> 00:03:32,680
that used a

113
00:03:33,040 --> 00:03:34,160
particular method

114
00:03:34,880 --> 00:03:37,440
to inject a username into a log

115
00:03:37,600 --> 00:03:38,160
file

116
00:03:38,480 --> 00:03:38,960
and

117
00:03:39,120 --> 00:03:40,720
that username could be

118
00:03:41,220 --> 00:03:41,620
anything

119
00:03:41,780 --> 00:03:46,180
the attacker wanted and then a different process would read out the log file

120
00:03:46,340 --> 00:03:50,579
and then actually continue to execute whatever was in that

121
00:03:51,040 --> 00:03:51,840
script.

122
00:03:51,840 --> 00:03:52,159
So

123
00:03:52,720 --> 00:03:54,400
that's something we know

124
00:03:54,720 --> 00:03:54,799
know

125
00:03:54,959 --> 00:03:56,560
as shell in action

126
00:03:56,799 --> 00:03:58,400
or process injection.

127
00:03:58,540 --> 00:04:02,940
And then that's very, very bad in terms of defense

128
00:04:03,180 --> 00:04:04,780
because it's really difficult

129
00:04:05,100 --> 00:04:06,060
to detect

130
00:04:06,540 --> 00:04:09,340
unless you have certain measures for that.

131
00:04:09,340 --> 00:04:09,820
But we'll get to that.

132
00:04:10,460 --> 00:04:10,860
Yeah.

133
00:04:10,860 --> 00:04:10,940
So

134
00:04:11,260 --> 00:04:16,940
it does remind me also a bit now you speak it out loud to the log4j incident, which also was writing out things to the log

135
00:04:17,100 --> 00:04:19,820
and that got picked up by another process.

136
00:04:20,240 --> 00:04:22,880
As a CTI specialist, how do you look at

137
00:04:23,200 --> 00:04:23,520
these

138
00:04:23,680 --> 00:04:24,160
kind of

139
00:04:24,640 --> 00:04:27,680
exploits and especially the simplicity of this?

140
00:04:27,460 --> 00:04:28,020
Yeah, that

141
00:04:28,979 --> 00:04:30,580
that's a real big problem.

142
00:04:31,220 --> 00:04:32,340
Definitely now with the com

143
00:04:32,659 --> 00:04:37,139
of AI, it gets way and way easier to exploit those vulnerabilities

144
00:04:37,300 --> 00:04:39,300
and also to find them in

145
00:04:39,539 --> 00:04:41,060
obfuscated or

146
00:04:41,220 --> 00:04:41,539
even

147
00:04:41,960 --> 00:04:43,479
fully binary code

148
00:04:43,720 --> 00:04:44,120
and

149
00:04:44,280 --> 00:04:46,199
the ease of use is so

150
00:04:46,520 --> 00:04:50,440
low that pretty much anyone with some level of knowledge on how

151
00:04:50,599 --> 00:04:52,840
vulnerabilities work can execute them.

152
00:04:52,840 --> 00:04:53,320
Okay.

153
00:04:53,320 --> 00:04:55,480
Yeah so and so the initial access

154
00:04:55,720 --> 00:04:59,080
really was with this vulnerability when you did not patch already, very

155
00:04:59,320 --> 00:04:59,960
simple.

156
00:04:59,960 --> 00:05:02,440
But the next step step of course is to

157
00:05:02,600 --> 00:05:04,280
gain persistence.

158
00:05:03,860 --> 00:05:04,500
How does that

159
00:05:04,900 --> 00:05:05,140
work?

160
00:05:05,300 --> 00:05:06,820
Was it easy to do in this case?

161
00:05:06,820 --> 00:05:08,260
Yes, it was fairly easy to do.

162
00:05:08,260 --> 00:05:08,660
We saw

163
00:05:09,300 --> 00:05:09,940
mostly web

164
00:05:10,100 --> 00:05:11,780
shells being placed

165
00:05:12,380 --> 00:05:14,780
so we saw a bunch of different ones but

166
00:05:14,940 --> 00:05:17,100
there were two very particular ones.

167
00:05:17,100 --> 00:05:18,060
One that posted

168
00:05:18,380 --> 00:05:20,300
posted a regular Citrix

169
00:05:20,460 --> 00:05:21,100
process

170
00:05:21,080 --> 00:05:21,640
it what's called

171
00:05:21,800 --> 00:05:23,640
CTX receiver.

172
00:05:24,280 --> 00:05:26,200
And then another one that disguised

173
00:05:26,600 --> 00:05:27,720
itself as a CSS

174
00:05:27,960 --> 00:05:28,280
file

175
00:05:28,440 --> 00:05:29,080
or other

176
00:05:29,720 --> 00:05:30,840
harmless files,

177
00:05:31,160 --> 00:05:32,120
but were actually page

178
00:05:32,360 --> 00:05:33,320
PHP files

179
00:05:33,479 --> 00:05:34,759
and the actual

180
00:05:35,960 --> 00:05:36,680
HTTP

181
00:05:36,840 --> 00:05:37,400
config

182
00:05:37,639 --> 00:05:41,479
was rewritten to allow those PHP files to be run.

183
00:05:42,080 --> 00:05:43,520
Okay, and

184
00:05:43,840 --> 00:05:46,000
this time a couple of organizations

185
00:05:46,800 --> 00:05:49,840
ring the alarm bells around the end of September,

186
00:05:50,880 --> 00:05:54,640
where a couple of them said okay you should just turn it off

187
00:05:55,940 --> 00:06:00,260
in 2020, so that's already a while back, there was another C-trix problem and

188
00:06:00,500 --> 00:06:03,060
here in the Netherlands we turned all the C-trix Netscators

189
00:06:03,220 --> 00:06:03,460
off.

190
00:06:03,379 --> 00:06:03,940
And that led

191
00:06:04,099 --> 00:06:05,460
to massive traffic jams.

192
00:06:05,460 --> 00:06:05,860
Also

193
00:06:06,020 --> 00:06:07,860
working from home was not that

194
00:06:08,180 --> 00:06:11,539
regular so everyone came to the office, there were no other options.

195
00:06:12,440 --> 00:06:13,960
What would be your advice in the

196
00:06:14,120 --> 00:06:15,960
let's go back to the end of September.

197
00:06:15,960 --> 00:06:17,880
What would be your advice if you get this advice?

198
00:06:17,880 --> 00:06:21,640
Hey, please turn this off without knowing what exactly is going on

199
00:06:21,760 --> 00:06:22,400
Yeah, it's

200
00:06:22,560 --> 00:06:24,320
of course depends on from who

201
00:06:24,480 --> 00:06:26,480
you hear it, to turn it off.

202
00:06:26,480 --> 00:06:30,560
But in this case the NCSC, so from the Dutch government as well as Zert

203
00:06:30,800 --> 00:06:32,960
for for the healthcare in the Netherlands,

204
00:06:32,539 --> 00:06:33,180
both

205
00:06:33,419 --> 00:06:34,940
really strongly recommended

206
00:06:35,099 --> 00:06:35,180
to

207
00:06:35,340 --> 00:06:36,699
turn it off unless

208
00:06:36,860 --> 00:06:39,020
and I would always follow that advice.

209
00:06:39,020 --> 00:06:40,300
They have sources

210
00:06:41,139 --> 00:06:42,100
similar to like

211
00:06:42,259 --> 00:06:43,380
we as a Soxie

212
00:06:43,620 --> 00:06:43,860
and

213
00:06:44,100 --> 00:06:45,780
get a lot of information and if they say

214
00:06:45,940 --> 00:06:51,540
turn it off it's not because there's maybe a vulnerability then they have actually seen indicators that this has been

215
00:06:51,699 --> 00:06:52,900
exploited in a wild

216
00:06:53,060 --> 00:06:53,380
and

217
00:06:53,539 --> 00:06:55,379
often on a large scale as well.

218
00:06:55,379 --> 00:06:55,940
Okay.

219
00:06:55,940 --> 00:06:56,419
And

220
00:06:56,659 --> 00:06:59,220
to be fair, I think a lot of organizations

221
00:06:59,460 --> 00:07:01,860
did not follow that recommendation.

222
00:07:03,039 --> 00:07:04,319
Is that because we're

223
00:07:04,800 --> 00:07:09,440
unable to express how important this could be or what do you think is the reason for that?

224
00:07:09,919 --> 00:07:11,599
it's it's part of that.

225
00:07:11,360 --> 00:07:11,600
It's

226
00:07:11,840 --> 00:07:14,000
lack of information at that time which is

227
00:07:14,160 --> 00:07:15,840
makes it difficult to make that decision.

228
00:07:15,840 --> 00:07:19,280
It's also difficult because definitely in this case we saw

229
00:07:19,639 --> 00:07:19,720
very

230
00:07:19,880 --> 00:07:21,080
early on in September

231
00:07:21,240 --> 00:07:27,320
there were already exploits and then you often get the discussion, yeah, but if this has been exploited for so long already, what was

232
00:07:27,479 --> 00:07:28,600
turning off,

233
00:07:28,919 --> 00:07:29,960
help me.

234
00:07:30,840 --> 00:07:37,960
The problem is that as soon as something like this and we've seen that in telemet telemetry as well, something like this gets public

235
00:07:38,120 --> 00:07:38,760
and then the

236
00:07:39,080 --> 00:07:39,560
scale of

237
00:07:39,720 --> 00:07:40,760
on which it happens

238
00:07:40,920 --> 00:07:41,720
just explodes.

239
00:07:41,720 --> 00:07:41,800
It

240
00:07:42,040 --> 00:07:43,080
gets really large.

241
00:07:43,080 --> 00:07:43,960
So then you're

242
00:07:44,139 --> 00:07:45,100
definitely getting full

243
00:07:45,660 --> 00:07:46,540
exploited.

244
00:07:46,540 --> 00:07:48,300
Okay, and it's related to my

245
00:07:48,460 --> 00:07:49,740
the next question I had if

246
00:07:50,220 --> 00:07:52,380
so the exploitation started already

247
00:07:52,539 --> 00:07:54,860
well, early September or maybe even early

248
00:07:55,340 --> 00:07:55,419
end

249
00:07:55,580 --> 00:07:56,460
of August.

250
00:07:56,940 --> 00:07:59,580
And then if you switch it off at the twenty sixth, would that

251
00:08:00,560 --> 00:08:00,720
what

252
00:08:00,880 --> 00:08:01,680
why would that build

253
00:08:01,920 --> 00:08:06,080
by your time or would that make you safe or what is the effect then?

254
00:08:06,080 --> 00:08:06,560
Yeah,

255
00:08:06,720 --> 00:08:07,280
you hope to

256
00:08:07,680 --> 00:08:10,080
retrieve the persistence that may have been

257
00:08:10,840 --> 00:08:12,680
established on your device,

258
00:08:12,840 --> 00:08:16,280
like that device may be exploited and it may be

259
00:08:17,480 --> 00:08:18,120
received it

260
00:08:18,280 --> 00:08:18,760
persistence

261
00:08:18,920 --> 00:08:22,520
so in such a way that device is at that point no longer safe

262
00:08:22,440 --> 00:08:22,760
and

263
00:08:22,920 --> 00:08:26,680
keeping that installed means that everything it's connected to

264
00:08:27,000 --> 00:08:28,600
is then also not safe.

265
00:08:28,600 --> 00:08:32,600
Yeah, so one of the things is to break the connection with a possible attacker.

266
00:08:32,600 --> 00:08:33,000
Yep.

267
00:08:33,320 --> 00:08:33,960
Okay.

268
00:08:35,320 --> 00:08:36,039
Okay.

269
00:08:36,760 --> 00:08:37,560
So we did a

270
00:08:37,960 --> 00:08:39,080
lot of investigation.

271
00:08:39,080 --> 00:08:41,240
We have a lot of customers with Citrix Netscaler,

272
00:08:41,400 --> 00:08:46,120
which we helped in this this scenario. can you tell me a bit what we saw with customers?

273
00:08:46,120 --> 00:08:47,160
Were they affected?

274
00:08:47,160 --> 00:08:47,400
D do

275
00:08:48,040 --> 00:08:51,000
did we saw a lot of attempts to get into the Netscalers?

276
00:08:51,000 --> 00:08:52,120
What what did we saw?

277
00:08:51,900 --> 00:08:52,540
Yeah, we see

278
00:08:52,700 --> 00:08:55,500
we have seen a lot of exploitation attempts

279
00:08:55,660 --> 00:08:59,660
over a very broad range of customers that use Netscalers.

280
00:09:00,140 --> 00:09:02,780
We also saw compromise, unfortunately.

281
00:09:02,779 --> 00:09:05,980
But that's sort of expected in such a s wide

282
00:09:06,140 --> 00:09:07,420
scale incident.

283
00:09:08,060 --> 00:09:08,540
And easy to use

284
00:09:08,940 --> 00:09:09,339
exploit,

285
00:09:09,500 --> 00:09:09,740
okay.

286
00:09:10,140 --> 00:09:12,860
So when we're looking into customer devices,

287
00:09:13,019 --> 00:09:15,100
were there any things that we did not

288
00:09:15,420 --> 00:09:17,260
expect to see?

289
00:09:16,920 --> 00:09:17,560
Yeah,

290
00:09:17,800 --> 00:09:19,399
of course the traffic for the first

291
00:09:19,720 --> 00:09:21,319
vulnerability is encrypted

292
00:09:21,639 --> 00:09:21,959
and

293
00:09:22,199 --> 00:09:22,519
we

294
00:09:22,759 --> 00:09:23,800
sort of realized

295
00:09:24,040 --> 00:09:24,360
very

296
00:09:24,560 --> 00:09:24,720
fast

297
00:09:25,040 --> 00:09:32,080
that if you had SSL inspection on your firewall, it would actually block those exploitation attempts from the CVE

298
00:09:32,400 --> 00:09:33,120
that used

299
00:09:34,019 --> 00:09:34,420
the post

300
00:09:34,660 --> 00:09:35,220
request.

301
00:09:35,220 --> 00:09:35,300
It

302
00:09:35,459 --> 00:09:37,300
because it would decrypt it and it's C

303
00:09:37,459 --> 00:09:39,459
it was trying to do something malicious.

304
00:09:39,459 --> 00:09:40,100
Yeah, so it's

305
00:09:40,339 --> 00:09:40,980
because we

306
00:09:41,140 --> 00:09:42,500
saw the previous

307
00:09:44,780 --> 00:09:45,260
exploits happening.

308
00:09:45,260 --> 00:09:45,740
There were

309
00:09:47,340 --> 00:09:47,580
some

310
00:09:47,740 --> 00:09:47,900
well

311
00:09:48,060 --> 00:09:51,580
threat updates or detection mechanisms in place on the firewall.

312
00:09:51,820 --> 00:09:55,500
This one has a similar approach, and that's why the firewall, if you do, if

313
00:09:55,900 --> 00:09:56,140
you did

314
00:09:56,300 --> 00:09:56,780
decrypt

315
00:09:56,940 --> 00:09:57,180
it

316
00:09:57,259 --> 00:09:57,339
could

317
00:09:57,500 --> 00:09:59,740
see hey this is a similar approach, I will block it.

318
00:09:59,740 --> 00:10:00,300
Yep.

319
00:10:00,300 --> 00:10:00,699
Even because

320
00:10:01,019 --> 00:10:01,100
even

321
00:10:01,259 --> 00:10:02,860
if it was a different CV.

322
00:10:03,019 --> 00:10:05,660
Yeah, yeah, because the method behind it was blocked,

323
00:10:05,899 --> 00:10:06,620
injecting

324
00:10:06,780 --> 00:10:08,060
malicious commands into

325
00:10:08,220 --> 00:10:08,380
a post

326
00:10:08,540 --> 00:10:08,940
request.

327
00:10:08,940 --> 00:10:12,700
That's just something a firewall doesn't want to see and it will block it.

328
00:10:12,700 --> 00:10:13,180
Okay, so

329
00:10:13,340 --> 00:10:14,940
a lot of customers that

330
00:10:15,780 --> 00:10:16,020
had

331
00:10:17,380 --> 00:10:18,900
inbound decryption turned on

332
00:10:19,220 --> 00:10:20,340
would have been protected by this?

333
00:10:20,980 --> 00:10:23,780
Yeah we have actually seen a couple of examples that

334
00:10:23,940 --> 00:10:24,020
had

335
00:10:24,180 --> 00:10:25,620
SSL in mountain encryption

336
00:10:25,780 --> 00:10:29,220
and they were attempted to be exploited but it was all blocked by the firewall.

337
00:10:29,220 --> 00:10:32,100
Oh that's a nice surprise and also

338
00:10:32,260 --> 00:10:32,820
very

339
00:10:32,980 --> 00:10:35,220
a very good reason if you not

340
00:10:35,460 --> 00:10:36,500
have already

341
00:10:36,259 --> 00:10:37,699
turn on inbound encryption

342
00:10:37,860 --> 00:10:38,899
to turn it on I would say.

343
00:10:38,899 --> 00:10:39,940
Yes, definitely.

344
00:10:39,940 --> 00:10:40,339
Okay.

345
00:10:40,339 --> 00:10:41,699
Well Citrix of course

346
00:10:41,860 --> 00:10:42,259
was also

347
00:10:43,060 --> 00:10:44,500
helping customers

348
00:10:44,660 --> 00:10:45,220
in

349
00:10:46,100 --> 00:10:47,060
working with this

350
00:10:47,380 --> 00:10:48,660
vulnerability in

351
00:10:48,819 --> 00:10:49,860
to see if they were

352
00:10:51,160 --> 00:10:51,959
attacked.

353
00:10:51,959 --> 00:10:52,199
They

354
00:10:52,440 --> 00:10:53,720
provided a script.

355
00:10:54,120 --> 00:10:54,360
What

356
00:10:54,519 --> 00:10:55,959
was this script doing?

357
00:10:56,279 --> 00:10:57,959
it's it's called an IC script.

358
00:10:58,199 --> 00:11:00,120
Citrix named in that explicitly.

359
00:11:00,000 --> 00:11:01,840
There were a couple of versions, but it it

360
00:11:02,080 --> 00:11:02,960
goal throughout

361
00:11:03,120 --> 00:11:03,920
was finding out

362
00:11:04,080 --> 00:11:06,800
can we find indicators of compromise

363
00:11:07,120 --> 00:11:09,440
to see if your Netscaler is indeed ex

364
00:11:09,600 --> 00:11:11,600
affected by these vulnerabilities.

365
00:11:11,579 --> 00:11:13,259
It did so in a number of ways,

366
00:11:13,579 --> 00:11:15,259
which even changed a little

367
00:11:15,819 --> 00:11:18,940
throughout the different versions that Citrix released.

368
00:11:20,579 --> 00:11:21,139
Yeah.

369
00:11:21,139 --> 00:11:23,139
And if you run the script and the script said

370
00:11:23,300 --> 00:11:24,339
okay you're clean, were you

371
00:11:24,500 --> 00:11:26,180
what was that a guarantee that you were clean or?

372
00:11:26,420 --> 00:11:28,100
No no it was not unfortunately

373
00:11:28,259 --> 00:11:30,420
because it checked mainly for a log

374
00:11:30,660 --> 00:11:31,540
file,

375
00:11:31,380 --> 00:11:31,540
which

376
00:11:31,780 --> 00:11:34,260
generated a lot of noise like I explained earlier

377
00:11:34,420 --> 00:11:35,060
there's a

378
00:11:35,300 --> 00:11:36,740
injection you can do

379
00:11:36,900 --> 00:11:37,540
via a post

380
00:11:37,860 --> 00:11:40,500
request and that injection would actually end up in a log

381
00:11:40,740 --> 00:11:41,460
file and then some

382
00:11:41,620 --> 00:11:41,940
another

383
00:11:42,500 --> 00:11:43,940
process would read out that log

384
00:11:44,180 --> 00:11:44,820
file

385
00:11:44,640 --> 00:11:47,360
and would actually execute your username pretty much.

386
00:11:48,640 --> 00:11:49,120
But that

387
00:11:49,440 --> 00:11:49,680
log

388
00:11:49,920 --> 00:11:52,400
file only exists for a certain amount of

389
00:11:52,520 --> 00:11:52,920
days

390
00:11:53,080 --> 00:11:55,720
depending on how much traffic your Netscaler sees.

391
00:11:55,880 --> 00:11:57,000
Yeah it's just first in first

392
00:11:57,160 --> 00:11:58,120
out mechanism.

393
00:11:58,440 --> 00:11:59,000
Exactly.

394
00:11:59,000 --> 00:12:01,320
And so if that already got rotated

395
00:12:01,480 --> 00:12:04,520
the IOC script may say you're completely safe.

396
00:12:04,760 --> 00:12:05,160
But there

397
00:12:05,320 --> 00:12:07,240
may be a live web shell actually running on the right.

398
00:12:09,480 --> 00:12:10,840
No, later versions were.

399
00:12:11,240 --> 00:12:16,120
But the earlier ones we have seen web shells that the script completely missed.

400
00:12:16,120 --> 00:12:16,440
So

401
00:12:17,040 --> 00:12:21,279
What what would be your advice to customers with Citrix Netscaler?

402
00:12:22,399 --> 00:12:25,600
if they were not involved yet with this whole

403
00:12:25,839 --> 00:12:27,040
vulnerabilities.

404
00:12:27,360 --> 00:12:27,680
What

405
00:12:27,840 --> 00:12:29,200
would your advice be to them?

406
00:12:29,360 --> 00:12:30,720
Where should they start now?

407
00:12:30,720 --> 00:12:31,360
If you.

408
00:12:31,600 --> 00:12:32,880
starting just on these

409
00:12:33,040 --> 00:12:34,160
vulnerabilities now,

410
00:12:34,400 --> 00:12:34,640
my

411
00:12:34,800 --> 00:12:37,840
strong recommendation would be to actually just clean it out.

412
00:12:37,840 --> 00:12:40,080
Just have en factory reset,

413
00:12:39,860 --> 00:12:40,260
fully

414
00:12:40,500 --> 00:12:41,620
new device

415
00:12:42,340 --> 00:12:44,340
that you install from scratch.

416
00:12:45,060 --> 00:12:45,540
There's

417
00:12:45,700 --> 00:12:47,380
been persistence, we've seen that.

418
00:12:47,380 --> 00:12:49,380
There's also been a lot of exploits

419
00:12:49,540 --> 00:12:50,020
being

420
00:12:50,180 --> 00:12:51,940
exploitations being made.

421
00:12:51,839 --> 00:12:52,399
So they

422
00:12:52,560 --> 00:12:53,759
that it's almost guaranteed

423
00:12:53,920 --> 00:12:54,959
that you're inferencially

424
00:12:55,920 --> 00:12:56,399
vulnerable.

425
00:12:56,560 --> 00:12:56,880
And and

426
00:12:57,040 --> 00:13:01,759
looking for a broader audience, if you look at all the listeners, even the ones without a Citrix

427
00:13:01,920 --> 00:13:03,120
Netscaler, what

428
00:13:03,279 --> 00:13:06,160
can they learn from this?

429
00:13:06,120 --> 00:13:08,360
well there's actually a couple of things.

430
00:13:08,360 --> 00:13:08,760
First

431
00:13:08,920 --> 00:13:10,840
of all, one of the vulnerabilities

432
00:13:11,000 --> 00:13:13,160
used a protocol called DTLS,

433
00:13:14,040 --> 00:13:16,040
which is often not used.

434
00:13:16,240 --> 00:13:20,959
But it's often also still enabled on very many Citrix appliances.

435
00:13:20,959 --> 00:13:23,839
And we see that with a bunch of edge devices.

436
00:13:23,839 --> 00:13:25,600
They're on the edge, they have a bunch of

437
00:13:26,240 --> 00:13:27,040
features

438
00:13:27,300 --> 00:13:31,700
those features all do a certain thing but you don't necessarily necessarily need them.

439
00:13:31,700 --> 00:13:35,380
But they keep they stay enabled because that's the default configuration.

440
00:13:35,380 --> 00:13:35,700
Okay.

441
00:13:35,700 --> 00:13:39,300
And actually having that disabled, so just allow allowing the net

442
00:13:39,460 --> 00:13:41,380
scalar to do just what it's

443
00:13:41,339 --> 00:13:42,220
intended for

444
00:13:42,860 --> 00:13:43,980
actually prevented you from

445
00:13:45,019 --> 00:13:46,220
reduced the attack surface.

446
00:13:46,220 --> 00:13:46,779
Yes exactly.

447
00:13:46,940 --> 00:13:47,259
Okay.

448
00:13:47,259 --> 00:13:48,380
So and in general

449
00:13:48,540 --> 00:13:51,660
for our listeners that maybe don't have a Citrix Netscaler, what would

450
00:13:51,819 --> 00:13:53,100
be your advice to them?

451
00:13:54,140 --> 00:13:55,820
Take a strong look at your edge

452
00:13:56,220 --> 00:13:56,860
devices

453
00:13:57,020 --> 00:13:57,820
because there

454
00:13:57,980 --> 00:13:59,500
is often there are a bunch of

455
00:13:59,900 --> 00:14:01,260
features on such a device

456
00:14:01,420 --> 00:14:03,020
that you may not use, but they

457
00:14:03,980 --> 00:14:04,380
actually

458
00:14:04,620 --> 00:14:06,220
are enabled by default

459
00:14:06,380 --> 00:14:08,540
and actually widen your attack service.

460
00:14:08,540 --> 00:14:09,500
In example from this

461
00:14:09,660 --> 00:14:13,580
Citrix Netscaler, one of the vulnerabilities used TTLS,

462
00:14:13,440 --> 00:14:17,840
which we saw is often not used but still enabled as it's enabled by default.

463
00:14:18,240 --> 00:14:19,360
Actually just turning

464
00:14:19,520 --> 00:14:20,160
it off

465
00:14:20,400 --> 00:14:24,240
doesn't affect your business at all, but actually protects you

466
00:14:24,660 --> 00:14:26,420
from one of these vulnerabilities.

467
00:14:26,420 --> 00:14:27,699
Then we also

468
00:14:27,860 --> 00:14:30,019
learned from this incident

469
00:14:30,259 --> 00:14:33,300
that s segmenting your network is once again a really

470
00:14:33,459 --> 00:14:34,339
really big

471
00:14:34,680 --> 00:14:34,840
plus

472
00:14:35,240 --> 00:14:36,440
because a Citrix

473
00:14:36,600 --> 00:14:38,200
Netscaler often has

474
00:14:38,360 --> 00:14:41,480
is on the outside, is on the edge, but can talk to a

475
00:14:41,640 --> 00:14:43,720
lot of devices behind that.

476
00:14:43,720 --> 00:14:44,040
And

477
00:14:44,200 --> 00:14:44,760
finding

478
00:14:45,080 --> 00:14:45,640
traffic

479
00:14:46,400 --> 00:14:46,880
behind

480
00:14:47,120 --> 00:14:47,680
Netscaler

481
00:14:47,840 --> 00:14:48,560
is really difficult

482
00:14:48,800 --> 00:14:57,760
to do because there's a lot of traffic going on, but you want to keep that in its own segment so you sure you're sure that it doesn't spread through your entire organization.

483
00:14:57,640 --> 00:15:01,800
For example, with ransomware, that's something you always want to prevent.

484
00:15:01,880 --> 00:15:09,640
Yeah, it should be relatively easy, I think, because you know the Netscaler comes in and you know where it, for example, gets its desktops or its applications from.

485
00:15:09,259 --> 00:15:10,300
Yeah, exactly.

486
00:15:10,300 --> 00:15:10,860
Exactly.

487
00:15:10,860 --> 00:15:17,259
And of course, I mentioned it earlier already, but enabling SSL inspection, actually looking at the traffic

488
00:15:17,420 --> 00:15:20,699
can actually allow your firewall to already see, hey, this is malicious

489
00:15:20,920 --> 00:15:21,319
by d

490
00:15:21,480 --> 00:15:22,120
default

491
00:15:22,279 --> 00:15:24,680
and you don't have to change your

492
00:15:25,000 --> 00:15:27,639
netscaler configuration for that.

493
00:15:28,040 --> 00:15:28,199
You

494
00:15:28,440 --> 00:15:28,680
just

495
00:15:29,800 --> 00:15:31,720
configure your SSL inspection

496
00:15:31,880 --> 00:15:34,360
and then you get protected from the firewall side.

497
00:15:34,360 --> 00:15:36,519
Yeah, yeah, I'm a big advocate myself for

498
00:15:36,680 --> 00:15:40,519
turning on at least inbound SSL encryption because you own the key so it's

499
00:15:40,440 --> 00:15:42,200
relatively easy to set up and yeah

500
00:15:42,440 --> 00:15:42,600
well

501
00:15:42,760 --> 00:15:44,920
this is a very nice proof exact

502
00:15:45,160 --> 00:15:47,240
that it actually protects you.

503
00:15:47,240 --> 00:15:47,880
Okay.

504
00:15:48,280 --> 00:15:49,000
I think we

505
00:15:50,040 --> 00:15:50,120
come

506
00:15:50,279 --> 00:15:53,720
to in the end of this episode for a recap because we talked about a lot.

507
00:15:53,800 --> 00:15:53,959
We

508
00:15:54,200 --> 00:15:54,760
talked about

509
00:15:55,080 --> 00:15:55,880
first of all

510
00:15:56,680 --> 00:15:58,839
check if you are affected if you have Citrix Netscaler

511
00:15:59,320 --> 00:16:01,240
and if you took the correct actions

512
00:16:01,399 --> 00:16:02,440
and as you said

513
00:16:02,459 --> 00:16:07,260
if not, then it's maybe safer to turn it off and start from scratch.

514
00:16:07,420 --> 00:16:07,820
Also

515
00:16:07,980 --> 00:16:09,100
make sure you patch

516
00:16:09,260 --> 00:16:11,500
if not if you don't have already patched,

517
00:16:11,740 --> 00:16:13,180
it's a bit in line, but

518
00:16:13,339 --> 00:16:15,420
make sure that you have the latest versions.

519
00:16:16,520 --> 00:16:17,880
Block the unused

520
00:16:18,040 --> 00:16:18,680
features.

521
00:16:18,680 --> 00:16:19,480
I think that's a

522
00:16:19,720 --> 00:16:20,280
good one,

523
00:16:20,600 --> 00:16:22,440
which also comes back quite often.

524
00:16:22,440 --> 00:16:22,600
Well

525
00:16:22,920 --> 00:16:25,880
I won't repeat inbound decryption, but please turn it on.

526
00:16:26,040 --> 00:16:33,160
And maybe more important, this time it was Citrix Netscaler as an edge device, but you probably have multiple edge devices

527
00:16:33,320 --> 00:16:36,120
and we unfortunately need to prepare for the next round.

528
00:16:37,000 --> 00:16:37,400
With that

529
00:16:37,640 --> 00:16:38,760
Lars, thank you.

530
00:16:38,760 --> 00:16:39,320
Thank you.

531
00:16:39,320 --> 00:16:39,560
And

532
00:16:39,800 --> 00:16:40,920
thank you, listeners.

533
00:16:41,080 --> 00:16:42,280
Please like and subscribe.

534
00:16:42,280 --> 00:16:43,960
It helps us spread the word further.

535
00:16:43,960 --> 00:16:46,040
And hope to see you next time.