文字起こし 🔗
WEBVTT
00:00:12.474 --> 00:00:15.833
Hello! Welcome to Security Cryptography Whatever.
00:00:15.914 --> 00:00:16.795
I'm Deirdre.
00:00:17.475 --> 00:00:18.554
I'm David.
00:00:19.355 --> 00:00:20.114
Thomas.
00:00:20.114 --> 00:00:20.954
You're Thomas.
00:00:21.214 --> 00:00:24.510
We have two very, very special guests today, one of whom we've
00:00:24.510 --> 00:00:25.342
I'm Thomas.
00:00:25.342 --> 00:00:29.914
been trying to get on this pod in fits and starts for a long time.
00:00:29.914 --> 00:00:33.835
We have Thai Duong and Bruce Dang from Calif.
00:00:33.994 --> 00:00:34.715
Hi Thai.
00:00:34.715 --> 00:00:35.755
Hi, Bruce.
00:00:35.755 --> 00:00:36.588
Hi, Deirdre.
00:00:37.174 --> 00:00:38.008
Hehehehe.
00:00:38.295 --> 00:00:39.128
Draft.
00:00:40.046 --> 00:00:43.326
Let's open this up by asking why are you called Calif?
00:00:43.447 --> 00:00:44.280
Yeah.
00:00:44.654 --> 00:00:46.573
It's a very lame job.
00:00:46.973 --> 00:00:50.573
So you know one I wanted to name the company.
00:00:50.973 --> 00:00:55.853
I noticed like there's palo alto networks, right?
00:00:56.094 --> 00:00:59.694
So I wanted to have something bigger than Palo Alto.
00:01:00.414 --> 00:01:04.894
And I was thinking like California is bigger than Palo Alto.
00:01:04.894 --> 00:01:07.774
So let's just name it like California, but that's too long.
00:01:07.933 --> 00:01:13.134
So we just shorten it to like do Calif and that's how we name it.
00:01:14.015 --> 00:01:16.382
You feel like the is the team happy with this process?
00:01:16.382 --> 00:01:17.215
It.
00:01:17.215 --> 00:01:18.655
Is the team happy with this name?
00:01:18.734 --> 00:01:20.245
Do you think the name's gonna stick?
00:01:21.355 --> 00:01:23.534
The team's was happy.
00:01:23.614 --> 00:01:27.055
The team was just me back then, so we I was happy with it.
00:01:27.430 --> 00:01:31.319
And then now they have to you know accept it I guess.
00:01:31.319 --> 00:01:38.108
So w we've got you two on your you guys are both effectively co founders, right?
00:01:38.108 --> 00:01:41.358
Mm no Thai t oh yeah you wanna you tell the story Thai.
00:01:41.358 --> 00:01:42.191
So.
00:01:42.191 --> 00:01:56.251
while I try to convince Bruce to join me for four years and I started every year, I would come up to his you know home in Seattle and tried to convince him to come down and work with me on this.
00:01:56.652 --> 00:02:00.697
And he he kept saying no, you know.
00:02:00.936 --> 00:02:02.697
And then he joined like Apple.
00:02:03.096 --> 00:02:04.216
He didn't tell me.
00:02:04.376 --> 00:02:05.209
I was so upset.
00:02:07.016 --> 00:02:10.537
And then but I keep trying, right?
00:02:10.697 --> 00:02:13.176
Because I really wanted to do it with him.
00:02:13.576 --> 00:02:15.576
And then I don't know what happened.
00:02:15.817 --> 00:02:19.097
But last year, he suddenly said yes.
00:02:19.546 --> 00:02:21.986
and I was so happy, you know.
00:02:22.387 --> 00:02:28.608
And he told me like officially like this year like.
00:02:28.608 --> 00:02:29.441
Nice.
00:02:29.441 --> 00:02:36.668
So n not a qu I I've been called a late co-founder for like joining companies four years after they were founded and like okay.
00:02:36.760 --> 00:02:52.920
But you two are both very so on the off chance that anybody listening to this doesn't already know, so Thai Duong famous around the famous in vulnerability research for the TLS BEAST attack for TLS CRIME.
00:02:53.080 --> 00:03:06.010
There's one other big one, right, that I'm forgetting, but like really early old school cryptography vulnerability research worked at Google with Daniel Bleichenbacher, among many others.
00:03:06.170 --> 00:03:09.850
Just hardcore cryptography vulnerability research.
00:03:10.091 --> 00:03:21.211
And now the CEO of Calif, which is weirdly I think probably the most important vulnerability research kind of consulting firm there is right now.
00:03:21.290 --> 00:03:27.371
I have other friends that I like that my Trail of Bits friends will be irritated that I said that, but I will stand by it.
00:03:27.531 --> 00:03:33.371
but like in that like you're one of a very few companies like that in that space.
00:03:33.531 --> 00:03:41.770
And really kind of pushing forward vulnerability research in particular with you know kind of AI model assistance.
00:03:42.010 --> 00:03:46.411
So that's like the capsule summary of that's my capsule summary of what you're about.
00:03:46.491 --> 00:03:48.330
And you can tell me if I got any of that wrong.
00:03:48.570 --> 00:03:50.330
And then Bruce was at Apple.
00:03:50.411 --> 00:03:54.330
And so the other thing here is I've known Thai forever.
00:03:54.491 --> 00:03:56.890
Thai is one of my favorite people working in this field.
00:03:57.050 --> 00:03:59.515
Thai worked at Matasano with me a briefly a long time ago, and
00:03:59.515 --> 00:04:00.348
Mm-hmm.
00:04:00.348 --> 00:04:04.890
I've never worked with Bruce, so I don't have a whole spiel to rattle off about Bruce.
00:04:04.890 --> 00:04:05.691
Not much about me, so don't worry.
00:04:05.691 --> 00:04:09.105
So Thai should do the spiel about Bruce.
00:04:09.105 --> 00:04:09.938
That's what a hacker would say.
00:04:10.120 --> 00:04:12.939
No, man, like I told you this story.
00:04:13.099 --> 00:04:17.180
Like earlier this year we went to BSides San Francisco, right?
00:04:17.579 --> 00:04:28.620
And we gave them some Monday so they said okay you gave us some Mondays you can have a booth and we were like what we are gonna do with the booth we don't know what we should do with it.
00:04:28.779 --> 00:04:33.223
They said like come and then set up some table and meet with meet people, right?
00:04:33.339 --> 00:04:38.300
So we did that and then I asked like Bruce, you know, you should come down with me.
00:04:38.540 --> 00:04:43.180
And I asked Tavis as well, Tavis Ormandy, he's also at like Calif.
00:04:43.180 --> 00:04:46.220
So Tavis and Bruce were there.
00:04:46.379 --> 00:04:51.980
And
Load full transcript
I was thinking in my mind people would like, oh Tavis, Tavis but nobody recognized Tavis.
00:04:52.139 --> 00:04:53.180
I'm sorry, Tavis.
00:04:53.339 --> 00:04:56.060
But a lot of people recognize Bruce, you know.
00:04:56.300 --> 00:05:10.860
Everybody was, oh Bruce, and then I didn't know that my friend is so popular because apparently he did a lot of trending, you know, Windows, kernel, hacking, trending, reverse engineering, trending.
00:05:10.939 --> 00:05:13.579
He even wrote a book on like reverse engineering.
00:05:13.819 --> 00:05:28.319
So a lot of like hackers, you know, reverse engineers like know Bruce and a lot of people on the team right now, you know, only researchers came here because of Bruce, so.
00:05:29.279 --> 00:05:30.112
Oh I have that book.
00:05:30.160 --> 00:05:32.399
The Wiley practical reverse engineering book.
00:05:32.399 --> 00:05:34.553
Yeah man, but it yeah it's it it's just yeah it's been
00:05:34.553 --> 00:05:35.387
I Bruce wrote a book I own.
00:05:35.387 --> 00:05:36.220
I suck ass, I'm sorry.
00:05:36.220 --> 00:05:39.839
deprecated by LLMs now so it's like two prompts.
00:05:39.879 --> 00:05:40.766
Yeah They probably read your book.
00:05:40.766 --> 00:05:41.600
I'm not su.
00:05:41.600 --> 00:05:43.920
All right, we're gonna put a pin we're gonna put a pin in that.
00:05:43.920 --> 00:05:47.279
I wanna follow up on that that that question.
00:05:47.439 --> 00:05:50.160
I have many questions about this, but.
00:05:50.160 --> 00:05:59.072
I just want to say I learned about Thai from learning reading his You Need to Val To validate your curve25519 public keys posts.
00:05:59.279 --> 00:06:02.660
This is when I was just getting into cryptography and I read
00:06:02.660 --> 00:06:07.839
Oh, everything you wrote about Curve25519 and I saved your GIF about,
00:06:07.839 --> 00:06:16.639
I think it was Judy Garland who was having an existential crisis about whether they she was supposed to validate her X25519 public keys.
00:06:16.680 --> 00:06:18.040
Hehehehehehe.
00:06:18.959 --> 00:06:19.439
So,
00:06:19.439 --> 00:06:23.920
And you know like who I learned this from, right?
00:06:24.000 --> 00:06:26.959
Initially I learned it from like Tom, Tomas.
00:06:27.120 --> 00:06:36.310
He wrote the day he wrote the Matasano like Chargen blog is hugely popular, right?
00:06:36.389 --> 00:06:37.910
And you know Tom, right?
00:06:38.069 --> 00:06:41.271
He's really he's a very good writer and I learned everything
00:06:41.271 --> 00:06:42.103
Yeah.
00:06:42.103 --> 00:06:46.069
that I initially like I was like, oh man, what should I do?
00:06:46.470 --> 00:06:51.670
I tried to l I love like memory corruption as well.
00:06:51.910 --> 00:07:13.800
But then I read you know Tom's and Nate Lawson and you know, a lot of like old school cryptography the photography people and I like oh man I like math and I like this stuff and I started doing Like I wrote like my own like CTF challenges and try to you
00:07:13.800 --> 00:07:14.634
The two Nice.
00:07:14.634 --> 00:07:16.870
know bracket myself.
00:07:17.029 --> 00:07:20.870
And the more I do it up the more I feel like wow this is really fun.
00:07:20.870 --> 00:07:34.314
Because you know like the thing I like about crypto is you can practice something by just reading the description of nothing, you know, and then you sit down and you use the Fabian's algorithm, right?
00:07:34.795 --> 00:07:40.954
Sit down, you wrote down the problem, sit down, look at the problem, think very hard, and write out a solution.
00:07:41.115 --> 00:07:42.555
And I like it a lot, right?
00:07:42.634 --> 00:07:52.235
Because you don't actually have to like look at the code at all and just like abstract thinking, look at this thing, and then you can see, oh, what could go wrong here?
00:07:52.714 --> 00:08:05.550
And so I learned everything from Thomas, and then and he even gave me a job, you know, took me on the way from Vietnam to Mountainview and it's literally changed my life.
00:08:09.870 --> 00:08:17.071
Yeah, I just I reject that story entirely, we felt like we felt unbelievably lucky to have the opportunity to work with you.
00:08:17.071 --> 00:08:21.060
So and you know you got snapped up by Google pretty quickly too.
00:08:21.141 --> 00:08:23.620
So which makes sense.
00:08:23.805 --> 00:08:27.528
Well, you guys have been in the news recently, like the New York Times.
00:08:28.206 --> 00:08:29.485
That's right, for cover.
00:08:30.165 --> 00:08:37.758
It's been a while since I've seen a vulnerability disclosed in the New York Times So could you tell us how that happened?
00:08:37.758 --> 00:08:47.905
Yeah, this New York Times article is I think it's historical because it includes like a in the article.
00:08:48.466 --> 00:08:51.552
It includes the term heap grooming in there.
00:08:51.552 --> 00:08:52.385
Hehehehe.
00:08:52.385 --> 00:08:57.105
And I think includes the repro for the entire vulnerability, all in one article.
00:08:57.346 --> 00:09:03.774
I don't yeah, it's a fine piece of like high end journalism, in
00:09:03.774 --> 00:09:04.606
Wow.
00:09:04.606 --> 00:09:05.895
my opinion.
00:09:06.056 --> 00:09:07.895
It's kinda amazing.
00:09:08.056 --> 00:09:09.576
No, it's great.
00:09:09.735 --> 00:09:11.176
One of our Yeah.
00:09:11.176 --> 00:09:11.816
It really does.
00:09:11.816 --> 00:09:16.979
Right in the middle of the article, there's a big long string of it's like it's a base64 AA with a within so it's
00:09:16.979 --> 00:09:17.812
Yeah.
00:09:17.812 --> 00:09:19.176
not quite the awesome AA.
00:09:19.416 --> 00:09:21.495
That I was hoping for, where it's like, oh, we got a
00:09:21.495 --> 00:09:22.423
Oh yeah, yes, you need.
00:09:22.423 --> 00:09:25.416
register control with 41, But still very good.
00:09:25.416 --> 00:09:26.456
That one will be 41, 41, 41, 41.
00:09:26.696 --> 00:09:28.855
Like we maybe we should you should give that to them.
00:09:29.096 --> 00:09:29.846
Yeah.
00:09:29.846 -->
00:09:39.096
We yeah, so one of our researchers, he yeah, you know He's decided to exp he you know he's hacked many other things, you know, we which we haven't published.
00:09:39.176 --> 00:09:41.735
Maybe we can talk about that a little bit later.
00:09:41.895 --> 00:09:48.216
But he spent he did Chrome, I think that one we can talk about, and then like he decided to look at Java.
00:09:48.535 --> 00:09:50.056
I guess just for fun.
00:09:50.535 --> 00:09:53.395
And yeah, just stumble on this.
00:09:54.057 --> 00:09:57.235
And Thomas, he's actually from Vietnam.
00:09:57.715 --> 00:10:01.759
And we helped him get an H1B visa as well.
00:10:01.918 --> 00:10:11.438
So this is history, you know, basically repeated because he came to the U I came to the US when I was like 20 26 years old.
00:10:11.839 --> 00:10:16.399
And he came to the US when he is he was 26 as well.
00:10:16.558 --> 00:10:22.609
And you know, 26 is actually because this is a cryptography podcast dry.
00:10:22.849 --> 00:10:25.649
So 26 is actually a pretty unique number.
00:10:25.808 --> 00:10:26.849
Do you know that?
00:10:27.489 --> 00:10:39.828
It's actually the only number in the world of numbers that is between a square 25 and a cube like 27.
00:10:40.308 --> 00:10:52.039
And the proof for it is actually pretty interesting because the first person who actually came up with this idea was the great Fermat.
00:10:52.229 --> 00:10:56.389
You know, I was in Paris in October.
00:10:56.469 --> 00:11:01.589
I really wanted to go to Toulouse, you know, because that's the home tower Fermat.
00:11:01.989 --> 00:11:04.308
But I we couldn't because there was a strike.
00:11:04.500 --> 00:11:15.138
then Fermat, you know, back in his days, these mathematicians, they did math to prove that they are smarter than other people like we are today.
00:11:15.457 --> 00:11:19.937
So they he posed this math problem.
00:11:20.097 --> 00:11:43.498
He said that can you define on the x and y satisfying this equation x to the square minus y to the three equal to no y x to the three equal minus y to the square equal to 2.
00:11:43.738 --> 00:12:02.043
And he said that like there only two very like this equation only has two solutions like and obvious solutions like you know five and three and then minus five and three and nobody could prove it.
00:12:02.283 --> 00:12:10.683
He posed this challenge to the English, you know, mathemat mathematicians, and the German, you know, as well.
00:12:10.923 --> 00:12:14.203
And nobody could you know do anything about that.
00:12:14.683 --> 00:12:21.078
And it's funny because You know like Euler actually came up with a proof.
00:12:21.328 --> 00:12:28.494
only 150 years later people find out that that proof was incorrect.
00:12:29.114 --> 00:12:33.913
and it's actually the birth of like algebraic number theory.
00:12:34.073 --> 00:12:53.865
You know, because at that point people understand that if you add like you know square root of two to the setup integer, you have
a new set of numbers that have very wonderful properties and you can see where this goes from right where this
00:12:53.865 --> 00:13:03.024
Is Yeah.
00:13:03.024 --> 00:13:03.856
goes to right eventually this is—
00:13:03.856 --> 00:13:07.188
Where people started develop developing like the number system and then eventually we would have like elliptic curve, you know, and then elliptic curve cryptography So.
00:13:07.188 --> 00:13:14.448
Bruce, is this what it's like working with Thai, where like a random number will get said in some context and then there'll be a 15 minute thing about Fermat.
00:13:14.448 --> 00:13:16.222
Yes, yeah, yeah. I mean yeah, yeah, this is.
00:13:16.222 --> 00:13:17.056
And Euler?
00:13:17.056 --> 00:13:17.889
And Euler.
00:13:17.889 --> 00:13:21.889
he literally brought it all the way back around to elliptic curves.
00:13:21.889 --> 00:13:22.828
So it's kind of beautiful.
00:13:22.828 --> 00:13:23.328
Yeah.
00:13:23.328 --> 00:13:24.162
I do respect that.
00:13:24.162 --> 00:13:24.729
Yeah.
00:13:24.729 --> 00:13:25.407
Yeah.
00:13:25.407 --> 00:13:36.561
then that's when I went to the US and then that's when Wang, you know, Wang Liu, the researcher who found Java4Shell went to the US as well.
00:13:36.563 --> 00:13:39.392
So it's a tradition for our company now.
00:13:39.471 --> 00:13:46.912
You know, we're gonna move people from outside the US to the US when they reach like 26 years old.
00:13:47.631 --> 00:13:48.111
You know,
00:13:48.111 --> 00:13:50.285
So that that's your secret sauce is you find
00:13:50.285 --> 00:13:51.951
Have you considered moving have you c have you considered.
00:13:51.951 --> 00:14:06.215
You Yeah.
00:14:06.215 --> 00:14:08.714
brilliant 26-year-olds and you hire them in, And then they find like a terrible base64 vulnerability in Java Or the next run time I'm.
00:14:08.714 --> 00:14:11.212
The I was gonna I was gonna ask if you've considered moving Tavis and Stefan and Dion and all them to Vietnam.
00:14:11.212 --> 00:14:12.792
They might get a lot better out there.
00:14:12.792 --> 00:14:13.251
Oh,
00:14:13.251 --> 00:14:13.711
I hear good things.
00:14:13.711 --> 00:14:15.792
I'd really like to go at some point.
00:14:15.792 --> 00:14:17.792
Tom, you know, actually let me add to this.
00:14:17.792 --> 00:14:18.192
So the bad news.
00:14:18.192 --> 00:14:20.432
You asked what it's like to working with Thai.
00:14:20.751 --> 00:14:29.792
You know, we notice you were only like five minutes in, and he's already talking about like, you know, like Eulers and elliptic curve, blah, the things that normal humans don't understand.
00:14:30.032 --> 00:14:31.152
I had a conversation with him.
00:14:31.312 --> 00:14:37.152
I was telling a man, like I was reading a book about like Grothendick, some like the French mathematics.
00:14:37.312 --> 00:14:46.192
And then like Thai, he's like, oh my God, you like and he goes on for like 20 minutes about like how like the Langlands programs and how it could
be used to explain everything.
00:14:46.351 --> 00:14:50.451
And I'm like, man, like this is what the thing Yeah, and you go
00:14:50.451 --> 00:14:50.831
Totally know what that is.
00:14:50.831 --> 00:14:52.831
to his house, it it's like, you know,
00:14:52.912 --> 00:14:54.241
Oh like history of darn
00:14:59.652 --> 00:15:02.499
So actually I have a book that I said that I yeah.
00:15:02.499 --> 00:15:03.331
Oh okay, okay.
00:15:03.331 --> 00:15:07.331
You have to please explain Java4Shell, please.
00:15:08.052 --> 00:15:14.144
Yeah, the bad news about this podcast is that our the people that listen to this know more than a New York Times
00:15:14.144 --> 00:15:14.464
Hmm.
00:15:14.464 --> 00:15:14.932
reader does.
00:15:14.932 --> 00:15:21.331
So we're gonna get into some detail, not just quote unquote heap grooming, as that's how the vulnerability works.
00:15:21.412 --> 00:15:23.011
Because the vulnerability is kind of awesome.
00:15:23.331 --> 00:15:24.692
it's kind of a good vulnerability.
00:15:24.772 --> 00:15:27.572
It's Java two shell and not pH.
00:15:28.052 --> 00:15:30.451
There's so many four shells two shells now.
00:15:30.611 --> 00:15:33.058
Just like pick a runtime and there's a N shell.
00:15:33.058 --> 00:15:33.892
Mm-hmm.
00:15:33.892 --> 00:15:48.261
It's basically you have like an integer under flow and because the when they calcul do this base64 calculations like there's like the when they calculate this outer length, this output length that they have.
00:15:48.261 --> 00:16:01.062
You have an integer overflow, and there's this there's an instruction that does this AVX512 instruction that like tells you like you know which bytes to write based on this bit mask.
00:16:01.142 --> 00:16:06.724
And because of this integer underflow you have this like FFFFF F.
00:16:06.871 --> 00:16:11.111
it writes more bytes than it's supposed to.
00:16:11.261 --> 00:16:16.201
and so I think you end up right I think I don't remember the exact like more than you need to.
00:16:16.201 --> 00:16:16.741
Mm.
00:16:16.741 --> 00:16:18.101
And literally that's it.
00:16:18.261 --> 00:16:19.095
You know and like.
00:16:19.581 --> 00:16:24.501
Bruce doesn't have the poetry of this vulnerability in his soul, right?
00:16:24.822 --> 00:16:26.981
So like, all right.
00:16:26.981 --> 00:16:27.815
All right, talk about it.
00:16:27.815 --> 00:16:28.184
So Java.
00:16:28.184 --> 00:16:28.465
like.
00:16:28.465 --> 00:16:31.985
the you Thai, you take a shot and then I'll take a shot.
00:16:31.985 --> 00:16:32.544
Oh, wow.
00:16:32.544 --> 00:16:33.105
Okay.
00:16:33.105 --> 00:16:35.825
Yeah, so basically like base64 right?
00:16:36.065 --> 00:16:42.945
And it's a very ca less common way to encode like binary data.
00:16:43.105 --> 00:16:52.705
Because you know you want to send data from one computer to another computer, you want to encode the data and then people usually use base64.
00:16:53.105 --> 00:17:05.345
And the way it works is it basically encode
like the encoding like group like four characters at a time So when you do decoding, you also do like four characters at a time.
00:17:05.664 --> 00:17:12.224
And the reason the question becomes - what if you give it something that is not a multiple of four?
00:17:12.545 --> 00:17:13.105
Right?
00:17:13.105 --> 00:17:14.464
Can it handle it?
00:17:14.944 --> 00:17:16.464
And that's exactly the bug.
00:17:16.625 --> 00:17:27.984
So when you give us like 64 bytes of AAA, and then you end it with like one byte like equal, which is the padding, you know, it's always come back to the padding.
00:17:28.440 --> 00:17:29.471
And then like what.
00:17:29.471 --> 00:17:31.109
I ha ha.
00:17:31.109 --> 00:17:33.441
that hadn't occurred to me, but I d I like the symmetry of
00:17:33.441 --> 00:17:35.890
Like everything coming back and b back to padding, so.
00:17:35.890 --> 00:17:36.349
Yeah.
00:17:36.349 --> 00:17:39.470
It's actually if you think about it like you do crypto, right?
00:17:39.789 --> 00:17:45.365
The math the math is solid because like humans couldn't break it for so long.
00:17:45.365 --> 00:17:47.444
So let's say that let's assume that math is solid.
00:17:47.684 --> 00:17:52.484
If you think about it, anything we add on top is broken.
00:17:52.964 --> 00:17:53.845
Anything.
00:17:54.085 --> 00:17:59.285
So this padding basically this is not like encryption, this is just like encoding.
00:17:59.365 --> 00:18:00.884
But they add a padding.
00:18:01.204 --> 00:18:04.484
And then the padding, what if the padding is just one byte?
00:18:05.365 --> 00:18:08.884
Then it's not like a multiple of four anymore.
00:18:09.125 --> 00:18:18.964
And for some reason somebody convinced like Oracle or OpenJDK that they have to decode so much like base64 strings.
00:18:19.125 --> 00:18:28.382
So they want to speed it up, you know, because it's really important to speed up your application one millisecond, right?
00:18:28.404 --> 00:18:46.724
So they actually rewrite the decoding in assembly using like you know in assembly you can actually make good use of the hardware, the CPU instructions provided by the processor, right?
00:18:46.964 --> 00:18:56.325
And so there's like many different kind of like instruction set, but this instruction set is that we target was like AVX-512.
00:18:56.644 --> 00:19:00.244
And you can find it in like Intel and AMD chips.
00:19:00.404 --> 00:19:02.484
Very popular, you know, very common.
00:19:02.565 --> 00:19:12.223
Not everywhere, but I think like if you use a new chip from AMD, you probably have this AVX-512 instruction set within your
00:19:12.223 --> 00:19:13.057
Got 'em.
00:19:13.057 --> 00:19:13.890
computer.
00:19:14.220 --> 00:19:17.338
And so they hand-rolled assembly themselves.
00:19:17.980 --> 00:19:20.299
And b because I did it before, right?
00:19:20.380 --> 00:19:33.259
I knew the reason they did it because they want to do like register scheduling themselves so that they don't, you know, they can turn things in memory and stuff like that to make sure that you don't go to like the cache.
00:19:33.420 --> 00:19:38.220
You just keep everything in memory to save some CPU cycle, which is important.
00:19:39.019 --> 00:19:55.319
So that's what they did, and then they had that error, that the approach mentioned basically because it's not a multiple of four when it do when it then can calculate the length of the padding they did an error there and then they basically come up with zero.
00:19:55.559 --> 00:20:01.079
And then when they try to calculate the mask, because this is like AVX, right?
00:20:01.160 --> 00:20:06.439
AVX is basically you use it to process multiple bytes at the same time.
00:20:06.839 --> 00:20:14.759
They have multiple lane lens and you want to m you want to like the CPU to like to process everything at once for you.
00:20:15.000 --> 00:20:24.359
And in order to do that, you need to tell the CPU which you know which byte in your string the CPU should take into account.
00:20:24.359 --> 00:20:26.599
And it depends on a bit mask.
00:20:27.400 --> 00:20:46.000
and because of the underflow you know that Bruce mentioned the bit mask become like just one one like FFFF it means that it select all the bytes and instead of writing like zero bytes, now it writes like 62 bytes.
00:20:46.359 --> 00:20:53.680
way I'm thinking about it is like there's like an emp there's like an implied mem copy in an AVX optimized loop for doing base64.
00:20:53.839 --> 00:21:01.542
So if you were like auditing a base64 implementation and you saw a mem copy in it, you'd think to yourself, did they count right?
00:21:01.599 --> 00:21:06.000
Is the, are the, you know, are the integers being plugged in as the length field here at the offset?
00:21:06.079 --> 00:21:06.799
Are these right?
00:21:06.799 --> 00:21:15.200
And you'd think your brain would like grind on, is there some like condition in this code I can get so I can like I can make it unexpectedly be at the wrong offset or the wrong length.
00:21:15.359 --> 00:21:21.680
Like you think that stuff instinctually as a vulnerability researcher looking at a mem copy, but you don't think that looking at AVX.
00:21:21.680 --> 00:21:25.599
Like you have to really understand AVX or at least like be a little bit familiar with it.
00:21:25.759 --> 00:21:28.400
Like it doesn't jump out as a pattern for you, right?
00:21:28.640 --> 00:21:33.039
So like I what I like first of all, I might just be totally wrong about that.
00:21:33.200 --> 00:21:34.067
Was I totally wrong about that?
00:21:34.067 --> 00:21:34.900
I don't think so.
00:21:34.900 --> 00:21:35.839
No, no, that's right.
00:21:36.480 --> 00:21:37.313
Yeah.
00:21:37.599 --> 00:21:44.640
So like I think what I think what's interesting about I mean that obviously what's interesting about this is that Java runs everywhere, right?
00:21:44.720 --> 00:21:52.240
And like it's a really destabilizing vulnerability if you're trying to get a bead on where security is right
now, right?
00:21:52.240 --> 00:22:04.720
If you were going so like we've all read and written pieces about how much AI is going to accelerate vulnerability research and how many more vulnerabilities we're gonna see and what's gonna get broken.
00:22:04.880 --> 00:22:13.599
I wrote a blog post on about this and my blog post is like, you know, well the thing that's really gonna happen is all this like weird software that no one ever thinks about is gonna get broken,
00:22:13.599 --> 00:22:13.804
Hehehehe.
00:22:13.804 --> 00:22:16.378
Like all these like random third party backup
00:22:16.378 --> 00:22:16.715
Hehehehehehehehe.
00:22:16.715 --> 00:22:17.839
software and all that, right?
00:22:18.079 --> 00:22:22.000
If you were gonna pick the one thing you didn't think was gonna break, right?
00:22:22.000 --> 00:22:32.160
Like if you could think of anything in the world that wasn't gonna break, you would take the canonical memory safe language, the oldest, most popular, most memory safe-ish language there is.
00:22:32.319 --> 00:22:39.119
And if you were going to think about the thing least likely to break in that, it'd be the fucking base64 implementation, right?
00:22:39.119 --> 00:22:42.720
Like every single application ever uses this.
00:22:42.799 --> 00:22:45.599
It's like the safest possible thing you could have bet on.
00:22:45.759 --> 00:22:52.640
I don't know what could be weirder to see a vulnerability in than base64 in Java.
00:22:53.759 --> 00:22:55.440
No, absolutely right.
00:22:55.680 --> 00:22:59.440
Because like what could go wrong there, right?
00:23:00.240 --> 00:23:02.244
And it's just so weird.
00:23:02.484 --> 00:23:08.724
When I the first time I saw it, it was like, no way, this is like this is unreal.
00:23:09.045 --> 00:23:14.724
And because you can see right base64 happens before anything else.
00:23:14.724 --> 00:23:23.973
You know, if you have an application then you probably need to decode like you know JWT tokens and things like that.
00:23:24.375 --> 00:23:29.095
And or decode the cookies and all of them are in base64.
00:23:29.494 --> 00:23:33.446
So all of these operations are before authentication, pre-auth,
00:23:33.446 --> 00:23:34.279
Yeah.
00:23:34.279 --> 00:23:38.295
and now it's just broken and yeah, it's really weird.
00:23:38.295 --> 00:23:43.009
Oh d did you two did you two see Ruby2Shell that just came out yesterday.
00:23:43.654 --> 00:23:48.501
So this is the yeah, this is the German Sharp S character.
00:23:48.501 --> 00:23:49.335
I see.
00:23:49.335 --> 00:24:00.694
If you can deliver it to a Ruby application, if you can deliver it to a Ruby application in Windows 1252 encoding, which because Rails is Rails, you can deliver it in Windows 1252 encoding.
00:24:00.855 --> 00:24:10.984
If you give it a string that includes a German sharp S as the last character, in Windows 1252, there isn't an encoding for uppercase German Sharp S.
00:24:11.065 --> 00:24:16.025
In fact, there kind of there barely is a character for German Sharp S uppercase.
00:24:16.265 --> 00:24:20.265
So it does a reasonable thing if you try to uppercase a string that has a German sharp S.
00:24:20.505 --> 00:24:22.505
German sharp S is the it looks like a B.
00:24:22.585 --> 00:24:23.912
It's that German character that looks like a bee.
00:24:23.912 --> 00:24:24.744
Like Sträss.
00:24:24.744 --> 00:24:26.105
Like Weiersträss?
00:24:27.464 --> 00:24:32.025
Erin is like in the room next to me and she speaks and writes German and she's gonna throw something at my head.
00:24:32.505 --> 00:24:33.337
So what happens?
00:24:33.545 --> 00:24:36.424
A reasonable thing happens if you uppercase that string, right?
00:24:36.424 --> 00:24:43.065
It converts the sharp S into two uppercase S's, which is like another, it's a transliteration of how that character works, right?
00:24:43.065 --> 00:24:53.144
And so as it turns out, the code that does that, it's checking in the loop that it's doing that, it's checking for headroom in the string one byte at a time.
00:24:53.305 --> 00:24:58.265
So each character is looking at like the loop conditional as seeing like do I have room for one more character?
00:24:58.505 --> 00:25:00.825
And in that one case, you actually need two characters.
00:25:00.984 --> 00:25:02.904
You get a one-byte overflow.
00:25:03.065 --> 00:25:07.278
In fact, you get a one-byte overflow of the character uppercase S.
00:25:07.305 --> 00:25:09.065
You don't even get to control what the character is.
00:25:09.144 --> 00:25:11.305
And it's remote RCE-able, right?
00:25:11.384 --> 00:25:13.384
There are remote RCE exploits for it.
00:25:13.545 --> 00:25:17.510
I say all this to ask - how difficult is the exploit for Java4Shell.
00:25:17.980 --> 00:25:22.141
so that three things that you can do with the vulnerability, right?
00:25:22.221 --> 00:25:30.300
Because the first step is the primitive that you get from the corruption is like a constant value over override.
00:25:30.461 --> 00:25:41.340
You can override like 62 bytes, but you can't control the value because it's fixed and it's actually like 60 A, 60 A, 60A, Cty A, or something like that.
00:25:41.580 --> 00:25:53.260
And but then you know you can actually if you can arrange memory next to your decoder, you know, the buffer that your string that that you can override.
00:25:53.740 --> 00:26:08.141
Then you know like in browser exploitation the technique is you put an array or you know a buffer next to your target and then you're gonna override the length of that array.
00:26:08.310 --> 00:26:11.826
And it means that you have a bigger array.
00:26:11.906 --> 00:26:13.786
And then if you can control Yeah.
00:26:14.227 --> 00:26:21.186
additional data that writing to that array, then you can actually create a fake object, you know, in memory.
00:26:21.507 --> 00:26:28.787
And this is actually pretty funny because you know people said that Java and JavaScript have nothing to do with each other.
00:26:28.787 -->
00:26:33.266
But actual exploitation kind of the same you know you have.
00:26:33.266 --> 00:26:36.067
Yeah, it's the exact same as every V8 exploit, like.
00:26:36.067 --> 00:26:52.227
Exactly you have like you don't need a rest of but you need like fake object here And you can actually create a fake object in memory and then with that fake object you can actually override length again and then you can turn that into a read.
00:26:52.467 --> 00:26:55.186
You can actually make it read back memory to you.
00:26:55.267 --> 00:26:58.146
So that gives you like a Java bleed.
00:26:59.106 --> 00:27:00.707
So that's the second stage.
00:27:00.946 --> 00:27:04.227
And the first thing is basically maybe you can just crash it.
00:27:04.467 --> 00:27:06.946
The second stage you can actually read memory.
00:27:07.186 --> 00:27:10.866
And reading memory alone would be dangerous already, right?
00:27:10.946 --> 00:27:12.547
And very cool for a demo.
00:27:12.866 --> 00:27:21.426
I always love those demo videos where you send something and then it's just like a hex string going across your string, you know.
00:27:21.426 --> 00:27:31.267
And we actually for the Keycloak exploit that was a funny story here because I didn't believe that we would be able to exploit Keycloak.
00:27:31.267 --> 00:27:40.866
So I told him like Wang, you know, I was just like half jokingly like if you can't exploit like a Keycloak I'm gonna save my head like bros.
00:27:41.346 --> 00:27:43.186
I used to have nicer hair.
00:27:43.426 --> 00:27:47.987
And then like half like two hours later he showed me he could exploit it.
00:27:48.067 --> 00:27:49.826
And the exploit is pretty fun.
00:27:49.987 --> 00:28:01.106
He turned it to like he the first step is he get the Java bleed, he read like keys from Keycloak, and then with that key he can actually create an account.
00:28:01.426 --> 00:28:05.509
And with that account, we can turn the exploit into like post-auth.
00:28:05.586 --> 00:28:10.067
And with post-auth, you have more endpoints to control the heap.
00:28:10.067 --> 00:28:11.747
And then that's the second stage.
00:28:12.146 --> 00:28:15.666
The second stage to control the heap to turn it into RCE.
00:28:15.987 --> 00:28:17.186
And it worked.
00:28:18.307 --> 00:28:23.471
So if you ask me how difficult it is, it's pretty difficult, you know, not easy.
00:28:23.551 --> 00:28:31.632
And we put that in the blog post, you know, like this is not like a single universal exploit like Log4j or Log4Shell.
00:28:31.791 --> 00:28:35.711
This is like application specific, you know, exploit.
00:28:35.872 --> 00:28:37.071
But it's actually pretty fun.
00:28:37.152 --> 00:28:44.719
I don't know, you know, it's this is actually the cat box that people would should try to exploit, right?
00:28:44.719 --> 00:28:45.551
Yeah.
00:28:45.551 --> 00:28:54.991
I think David and Deirdre see this coming, but I have to rant for a second about like you have to say it's not Log4J, it's not Log4Shell or whatever.
00:28:55.071 --> 00:28:56.352
Like everyone has to say that, right?
00:28:56.511 --> 00:29:05.951
Because if you don't say that, the top comment on Reddit or on Hacker News or like on the Twitter thread is gonna be somebody saying, Oh yeah, well this isn't Log4Shell.
00:29:06.112 --> 00:29:07.791
This is nowhere nearly as good as Log4Shell.
00:29:07.951 --> 00:29:11.392
And the problem there is fucking nothing is as good as Log4Shell, right?
00:29:11.392 --> 00:29:13.632
Like that's not a reasonable bar, right?
00:29:13.711 --> 00:29:14.912
Like it's.
00:29:14.912 --> 00:29:15.744
Yeah.
00:29:15.872 --> 00:29:20.511
Yeah, I mean you all right, so here's my question about the Keycloak exploit, right?
00:29:20.672 --> 00:29:30.592
So you've got like you're pivoting from reading a key to account takeover and then post-auth you have enough control to actually groom the heap to do arbitrary things with it.
00:29:30.592 --> 00:29:32.991
That's a really complicated exploit.
00:29:33.071 --> 00:29:36.751
It is too difficult an exploit to reasonably write for Keycloak.
00:29:36.751 --> 00:29:40.432
Keycloak is not a good enough piece of software to put that amount of effort into.
00:29:40.592 --> 00:29:45.392
Like any normal person would stop at I can create accounts inside of Keycloak, right?
00:29:45.471 --> 00:29:50.432
Like you're you I'm reading keys and creating accounts, I'm done, right?
00:29:50.432 --> 00:29:54.875
But you guys took the extra effort to pivot from that to getting RCE.
00:29:54.991 --> 00:30:01.791
How much of that was Codex or Claude doing in the work and how much of that was like thinking through the phases of that exploit?
00:30:01.791 --> 00:30:06.592
I wanna know if like I wanna know if an LLM model said, you know, here's a good process.
00:30:06.672 --> 00:30:12.192
We should do the read, take over an account, and then use the it sounds like an LLM thing to think, right?
00:30:12.352 --> 00:30:19.791
Is once we've taken over an account and defeated the entire purpose of Keycloak, then we can groom the heap and get RCE.
00:30:21.791 --> 00:30:41.817
So I think it's y like the Wang when he did this exploit, he was actually flying to Tokyo because he was going to give a talk there in OffensiveCon about like his he developed an exploit for Chrome, you know, it's actually a pretty fun exploit.
00:30:42.057 --> 00:30:47.453
it's in the Phrack th 73 edition, you should check it out.
00:30:47.453 --> 00:30:52.798
and so Wang is known for like bizarre attacks, you know bizarre exploits.
00:30:52.877 --> 00:30:59.998
He always look for things that he has this exploit, you know, that he sent it sent us a demo once.
00:31:00.157 --> 00:31:01.998
It took like 30 minutes.
00:31:02.157 --> 00:31:07.917
He forced us to watch a 30 minutes demo video with nothing.
00:31:07.998 --> 00:31:31.597
The screen would just start for 30 minutes and then the minutes like 29 something happened and so but part of his motivation was because you know I met
the bat so he was like I was flying to tokyo I didn't have like great bandwidth but maybe I can build this exploit just to make fun of me.
00:31:31.998 --> 00:31:43.917
And and the way he it he did it is you know he had a you know like you have to think about like you need to do heap grooming remotely, right?
00:31:44.077 --> 00:31:54.173
And it's actually not leaf not easy because you need to control you know the memory, you need to place things one after the other in memory.
00:31:54.397 --> 00:32:00.157
And Wang used to work at Cloudflare and doing like kernel like system programming there.
00:32:00.317 --> 00:32:05.263
So he's know something about you know networking and TCP and everything.
00:32:05.357 --> 00:32:11.357
He used, you know, he wrote like his own like internet wide scanner and it's pretty fast.
00:32:11.678 --> 00:32:14.317
I wish one day we could like convince him to publish.
00:32:14.637 --> 00:32:19.198
But anyway, he knew a lot about how to control the network and everything.
00:32:19.357 --> 00:32:24.237
And then he the way he thinks about is okay, he needs to place things in memory.
00:32:24.478 --> 00:32:27.757
So he needs to it's actually pretty interesting.
00:32:27.917 --> 00:32:35.836
I remember I told you that you override an array so that you enlarge it and then you put more data there.
00:32:36.076 --> 00:32:43.277
So the way he does it they he send a request and he keeps holding a byte or maybe two bytes back.
00:32:43.917 --> 00:32:50.238
And then he knows that Java JVM would put his current request in memory.
00:32:50.238 --> 00:32:58.636
And he wrote a you know a heap visualizer you know for JVM.
00:32:58.798 --> 00:33:04.397
He wrote his own like heap the visualizer so that he can look into the heap.
00:33:04.557 --> 00:33:10.478
And then he knew that okay this is the first stage he's gonna override the land.
00:33:10.718 --> 00:33:18.156
And then the moment that the you know the length was overwritten, he would send more requests later.
00:33:18.317 --> 00:33:25.278
So that the new request data would be written to the just extended array.
00:33:25.438 --> 00:33:27.757
You know, and then he can control that, right?
00:33:27.837 --> 00:33:29.196
Because that's just data.
00:33:29.278 --> 00:33:51.917
And in Java, like a an object, like a type like a basic type like you know array it's just like a marker and some like buffer right so he can actually control that like entirely that's allows him to create the fake object you know and you can see, you know, where it's going right.
00:33:51.998 --> 00:33:58.701
So he basically devised this entire strategy you know for Codex.
00:33:58.897 --> 00:34:32.657
This is like the strategy and then based on that you know you come in you do the first stage to get the key and then the second stage it becomes he found that you know there's like if you cannot actually upload file or post like multi-form to the application then actually like codex this is this this type is codex file up you can actually change the way Java write files and you change the destination.
00:34:32.818 --> 00:34:37.137
So you can actually write a JSP to the web root.
00:34:37.297 --> 00:34:50.257
So you can actually get a web shell out of that and this part is Codex came up with by itself so that's the kind of the combination of like a human expert and AI.
00:34:50.657 --> 00:34:51.490
Okay.
00:34:51.617 --> 00:35:01.157
Yeah, this feels like halfway in between a typical like you know kind of Chrome memory corruption type exploit and like a deserialization exploit where like you're.
00:35:01.157 --> 00:35:01.697
Yeah.
00:35:01.697 --> 00:35:11.938
Setting up the right chain of objects bouncing through them So you can get a file right that'll give you a JSP that you can do a web shell with, which is like that's kind of a that's kind of a web pen tester kind of way of going at it, right?
00:35:12.097 --> 00:35:14.259
I don't know, David, you can tell me that this is actually
00:35:14.259 --> 00:35:15.092
Yeah.
00:35:15.092 --> 00:35:19.137
super common for browser exploits, but like I like that it's both styles there.
00:35:19.617 --> 00:35:23.597
In browser exploits you tend not to see past the fake object stage.
00:35:23.617 --> 00:35:31.538
Because like from the threat intelligence standpoint, you don't you tend not to catch the like browser the part that goes like out of the renderer.
00:35:31.697 --> 00:35:37.458
And then like a lot of researchers like as soon as they like have the ability to get the fake object, they like don't even bother to explain it.
00:35:37.617 --> 00:35:41.938
They're just like, ah, like and then you do the same fake object thing that everyone else did.
00:35:42.097 --> 00:35:49.137
Or like they hand wave it away because it's just so incredibly trivial after you've seen it once, it's just like every exploit works the same.
00:35:49.217 --> 00:35:54.818
We have an object and we have an array and up and now our right is code execution sucks to suck nerds.
00:35:55.027 --> 00:35:58.186
and like it just kind of stops there, like, give me my check.
00:35:58.721 --> 00:36:02.342
But I think this is the thing that I like the most about this bug, right?
00:36:02.561 --> 00:36:11.681
Because each application you can actually devise kind of you can sit down think about like how am gonna win this game, right?
00:36:12.161 --> 00:36:21.360
And it's really fun, you know, I think Log4Shell, Log4Shell is really powerful, but exploiting it is very boring, right?
00:36:21.440 --> 00:36:22.807
This is actually pretty fun.
00:36:22.807 --> 00:36:23.641
Yeah.
00:36:23.641 --> 00:36:24.641
Yeah, this is art.
00:36:25.260 --> 00:36:27.240
Yes, exactly.
00:36:27.985 --> 00:36:36.246
I wanna talk a bit about Calif in general and the team that you've got and I wanna talk a little bit about kind of the process that you guys are using.
00:36:36.246 --> 00:36:40.146
Because we've you know, all of us here have kind of worked in a similar space.
00:36:40.166 --> 00:36:47.045
So BSides you two, I'm just going over names that I know and that like I think lots of people know, right?
00:36:47.206 --> 00:36:53.606
So an obvious one is you know, Michal Zalewski works for you guys, lcamtuf works for you guys.
00:36:53.766 --> 00:37:00.085
Apparently his job there is to do all the artwork for all of your blog posts, which I think is a good role for him.
00:37:00.246 --> 00:37:01.844
I think he's well suited to that.
00:37:02.005 --> 00:37:04.324
Dion Blazakis works for you guys.
00:37:04.565 --> 00:37:06.565
Tavis Ormandy works for you guys.
00:37:06.726 --> 00:37:08.005
Stefan Esser works.
00:37:08.246 --> 00:37:09.766
Where did you find Stefan Esser?
00:37:10.005 --> 00:37:12.405
Stefan Esser works for you guys.
00:37:12.485 --> 00:37:15.925
I'm probably missing like another like marquee name here.
00:37:16.085 --> 00:37:19.445
But like you have like a ludicrous team of people doing this work.
00:37:19.445 --> 00:37:21.766
Like what's the pitch you're giving?
00:37:22.005 --> 00:37:24.197
What's the pitch you give to Tavis Ormandy to get Tavis
00:37:24.197 --> 00:37:25.030
And the soul.
00:37:25.030 --> 00:37:26.846
Ormandy to come on board and do research
00:37:26.846 --> 00:37:27.431
But before
00:37:27.431 --> 00:37:32.072
You can start with Tavis and then Bruce can fill you in with the rest of the room.
00:37:32.472 --> 00:37:35.431
So Tavis he was at Google, right?
00:37:35.831 --> 00:37:38.951
And we used to be in the same team.
00:37:39.112 --> 00:37:50.152
He w then he moved to Project Zero and then I left and then I think he moved back to my own team there, like Product security engineering.
00:37:50.632 --> 00:38:08.072
And I think earlier last year he left and I got notification from friends that oh Tavis is available now and I just created a group chat with him.
00:38:08.391 --> 00:38:13.032
I was like leave Do you want to hack stuff?
00:38:13.271 --> 00:38:17.672
I was in Vietnam back then and then he said, oh okay, let's meet for lunch.
00:38:18.152 --> 00:38:38.344
And I came back to the Bay Area, went for lunch, get some phở, you know, Phở Hà Nội in university avenue in palo alto and we found that we actually share a common goal like Tavis he really wants to make the internet safer, right?
00:38:38.552 --> 00:38:40.552
And that's his entire goal.
00:38:40.871 --> 00:38:43.831
He has strong opinions about things.
00:38:44.072 --> 00:38:45.672
You know, disclosure.
00:38:45.911 --> 00:38:51.375
So we put him as our chief ethics disclosure, chief ethics officer.
00:38:52.632 --> 00:38:54.231
It's really funny because—
00:38:54.231 --> 00:38:57.672
Tavis Ormandy is your chief ethics.
00:38:57.771 --> 00:38:58.552
Yes.
00:38:58.552 --> 00:39:10.166
So let me just say the reason that Tavis Ormandy's name pops into my head like one of the first names that jumps out from the page is because I lived in fear of that guy for six years at fly.io because you
00:39:10.166 --> 00:39:10.998
Hehehehe.
00:39:10.998 --> 00:39:17.112
never knew at what random time he was gonna post a goddamn PoC on Twitter for like.
00:39:17.112 --> 00:39:21.192
A micro architectural vulnerability that would require us to reboot our entire fleet.
00:39:21.672 --> 00:39:22.505
Like that happened.
00:39:22.632 --> 00:39:25.672
Like we had there was a point where he posted a blob of C code.
00:39:25.672 --> 00:39:27.992
We weren't in on the embargo, thanks Tavis.
00:39:28.152 --> 00:39:33.831
And like you could run that on you know a VM on fly and just print out host secrets and things like that.
00:39:33.992 --> 00:39:39.672
That like he's so the this is the this these are your ethical standards is what I'm hearing.
00:39:39.831 --> 00:39:47.074
This seems to cohere with what you've said in the past, Thomas, that like just dumping a pile of stuff out on the internet for
00:39:47.074 --> 00:39:53.521
Yeah, everyone to patch or to use offensively is totally kosher, right?
00:39:53.572 --> 00:39:58.472
I'm not saying it's I'm not saying it's bad even though my tone of voice sounds like I'm saying it's bad.
00:39:58.632 --> 00:39:59.992
I do respect it.
00:39:59.992 --> 00:40:04.632
It was just annoying to you personally as someone who had to secure some cloud infrastructure.
00:40:04.632 --> 00:40:08.434
Never thought the leopard their face eating leopards would eat his face.
00:40:08.434 --> 00:40:09.112
No No,
00:40:09.112 --> 00:40:13.512
Let me ask the question I wish I had just asked a minute ago, right?
00:40:13.512 --> 00:40:14.791
And we'll take a different name.
00:40:14.871 --> 00:40:16.552
We'll take like Stefan Esser, right?
00:40:16.791 --> 00:40:27.992
So I assume let's just assume that all of the Frontier labs would love to hire Stefan Esser to do a bunch of AI you know assisted vulnerability research.
00:40:28.311 --> 00:40:32.632
What's the pitch to go to Calif and not to OpenAI or—
00:40:35.478 --> 00:40:36.311
Rose?
00:40:37.077 --> 00:40:38.918
Bruce in the recent basically.
00:40:39.237 --> 00:40:48.443
Man, these are all like loaded questions, you know, like it's well at our company, you know, there's this a few things are unique.
00:40:48.443 --> 00:40:51.163
One, we don't have nobody in the company has job titles.
00:40:51.563 --> 00:40:52.762
We don't have job titles.
00:40:53.003 --> 00:40:54.762
And we have no managers.
00:40:55.083 --> 00:40:58.889
That knows it's no managed except yeah, we like yeah, yeah.
00:40:58.889 --> 00:40:59.722
Except for Tavis, who's chief of ethics.
00:40:59.722 --> 00:41:11.275
I think Thai is the only one that has like a title because of legal reasons, but everybody else, there's no manager, so it's the company has like 60-something people and like the no managers.
00:41:11.402 --> 00:41:17.322
And so you get the freedom to do more or less whatever you want.
00:41:17.563 --> 00:41:29.369
You know, if I were to say I think like the other day I tweeted like that our company ex agreed to acquire Project
Zero and people thought that was real and I got in trouble for it.
00:41:29.369 --> 00:41:30.202
Ha ha.
00:41:30.202 --> 00:41:37.563
You know, like if I were to do that when you know, at a some other random corporation, you know, that probably like, you know, oh up again, earful.
00:41:38.362 --> 00:41:47.210
Is it is true that if you were at Anthropic and announced on Twitter that Anthropic had acquired Project Zero, there would be some blowback.
00:41:47.210 --> 00:41:48.043
Yeah, yeah.
00:41:48.043 --> 00:41:48.523
Well Ben.
00:41:48.523 --> 00:41:49.322
Not if Claude does it.
00:41:49.322 --> 00:41:49.643
Yeah.
00:41:49.643 --> 00:41:51.402
Ben Hawkes is there, right?
00:41:51.563 --> 00:42:00.202
So Ben Hawkes is at Anthropic now and so to some extent, you know, that's like already.
00:42:00.202 --> 00:42:00.523
So.
00:42:00.523 --> 00:42:00.922
Yeah.
00:42:00.922 --> 00:42:03.882
No, no, but like the reality is ye The company is quite unique.
00:42:03.963 --> 00:42:08.762
And we just let people do research in the areas that they're interested in.
00:42:08.922 --> 00:42:13.402
And that's kind of like our key ingredient, I think.
00:42:13.563 --> 00:42:18.306
Giving people the time and the freedom to do the things that they enjoy.
00:42:18.523 --> 00:42:21.373
And we when we publish everything.
00:42:22.012 --> 00:42:25.452
I don't think there's anything we publish all of our research.
00:42:25.532 --> 00:42:29.143
It just takes a long time to publish because it takes a while to prepare them.
00:42:29.373 --> 00:42:38.492
But yeah, and I think that just think of like kinda like the Project Zero back in the old days, you know, like in the beginning when the when they first started, right?
00:42:38.733 --> 00:42:42.813
The whole and it's like whoa, like this lots of cool publications and so on.
00:42:43.043 --> 00:42:44.706
this is kind of like what it's like.
00:42:44.947 --> 00:42:46.387
This is what we're doing now.
00:42:46.597 --> 00:42:50.436
it's just that there's probably more and more of it.
00:42:50.677 --> 00:42:51.510
Yeah.
00:42:51.637 --> 00:42:53.077
But those are the like the unique things.
00:42:53.237 --> 00:43:06.804
And then we we can tweet and do whatever yeah, we can tweet, release videos, you know, like just say things that there's no like there's no PR review, you know, like I don't have to deal with Marcom, like nothing So it's great.
00:43:06.972 --> 00:43:08.652
that's the freedom that people like.
00:43:08.652 --> 00:43:09.931
Some comic strips.
00:43:09.931 --> 00:43:10.764
Yeah, yeah.
00:43:10.811 --> 00:43:11.692
Exactly.
00:43:11.851 --> 00:43:14.972
So that's basically the Calif way.
00:43:15.128 --> 00:43:15.960
Hehehe.
00:43:16.452 --> 00:43:21.132
So do you guys have clients or are you like fully funded by Twitter revenue sharing?
00:43:23.389 --> 00:43:24.199
yeah.
00:43:24.199 --> 00:43:25.480
It looks like they have clients.
00:43:25.559 --> 00:43:31.719
They have a bunch of they have a bunch of attestations on their website for their services.
00:43:31.800 --> 00:43:34.360
Yeah, we're.
00:43:34.360 --> 00:43:35.239
Yeah, no, we have clients.
00:43:37.659 --> 00:43:44.516
We'll say right before I left Fly, like we did an annual pen test and we kind of went out of our way to like bring people
00:43:44.516 --> 00:44:07.884
Going to be able to do Yeah, we have people that they j
00:44:07.884 --> 00:44:10.382
in— To do the pen test to like collect logos from firms that we liked.
00:44:10.382 --> 00:44:12.048
And we had Calif do so we've had like some really good shops do or we had had some really good shops do pen tests for us.
00:44:12.048 --> 00:44:13.715
We had Atredis did one, Doyensec, a couple of people there that I really love.
00:44:13.715 --> 00:44:14.547
You know, Tetral did an assessment for us.
00:44:14.547 --> 00:44:16.213
A bunch of different firm include did an assessment for us at some point.
00:44:16.213 --> 00:44:19.559
And then the last one I did before the last one we did before I left was you guys had done an assessment of Fly.io and like ripped our faces off.
00:44:19.559 --> 00:44:44.768
the we have people in the research team doing services, Easily the best third party assessment we've gotten from anybody.
00:44:44.768 --> 00:44:46.434
So I mean I guess I'm endorsing you know, paying them lots of money to find vulnerabilities in your stuff.
00:44:46.434 --> 00:44:48.934
I assume like I assume that's the way it works is like nobody is like jumping up and down to go work on a Fly.io assessment, even though I think it's a fun thing to assess, right?
00:44:48.934 --> 00:44:50.599
So it's like there's some amount of like utilization time and then some amount of research time.
00:44:50.599 --> 00:45:03.559
The hacking stuff for customers, helping customers and then we have people who are you know that done with their customers project and now they're doing research on you know, some random areas that they're interested in.
00:45:03.639 --> 00:45:03.880
Yeah.
00:45:03.880 --> 00:45:11.960
So it's pretty people can do more like I said, in our company people do more or less whatever like is needed.
00:45:12.039 --> 00:45:12.309
Yeah.
00:45:12.309 --> 00:45:14.840
And most of them it's like you know fun stuff.
00:45:16.420 --> 00:45:20.119
So like all of us have done vulnerability research work before.
00:45:20.119 --> 00:45:27.480
I don't know anything about like kind of the day-to-day process that you I know what it looks like when I do, you know, a vulnerability assessment.
00:45:27.639 --> 00:45:38.199
And I know for like the last, you know, nine months or whatever what it's been like for me to like ask Claude to do an assessment for me, or Kimi K3 or whatever I'm using to get around refusals, right?
00:45:38.960 --> 00:45:39.793
What's it like?
00:45:40.199 --> 00:45:41.079
what's it like for you?
00:45:41.159 --> 00:45:42.358
What's the process like now?
00:45:42.599 --> 00:45:49.480
Like if I had fallen asleep five years
ago as a decent vulnerability researcher and woken up now.
00:45:49.800 --> 00:45:52.360
What would surprise me about how you guys do this?
00:45:52.360 --> 00:45:55.320
Let me give you like let me start up with just like an area that that I was involved in directly.
00:45:55.400 --> 00:45:56.838
It's in reverse engineering.
00:45:57.159 --> 00:46:06.440
When I first joined, I think it was in January or February, I don't remember now, We had a project in which a customer has asked us to reverse engineer something.
00:46:06.599 --> 00:46:11.239
It's like a giant a it's like a very vague requirement, but it's like a big system.
00:46:11.480 --> 00:46:13.639
We have we have no source code.
00:46:13.860 --> 00:46:16.918
back then the AI was not very good at reverse engineering.
00:46:17.000 --> 00:46:19.559
It would just hallucinate and like it'll make up shit.
00:46:20.119 --> 00:46:23.559
So of course I did it the traditional style, the old school style.
00:46:23.559 --> 00:46:26.407
You load this thing up in IDA and you use the debugger and you
00:46:26.407 --> 00:46:27.239
Mm-hmm.
00:46:27.239 --> 00:46:30.438
can sit there and you try to figure out what happened.
00:46:30.599 --> 00:46:34.039
It's a laborious process as you all know.
00:46:34.199 --> 00:46:39.465
It's very painful because the system let me put this way, the system is complex.
00:46:40.264 --> 00:46:45.085
And that took a while and we eventually did it, but it's done.
00:46:45.085 --> 00:47:01.782
Fast forward to today, even as of like you know, whatever last week, we had a similar project where a customer has asked, yeah, I need you to like tell me what happened, how does this thing this blob work, you know, 200 and something meg blob work.
00:47:02.663 --> 00:47:11.063
And I think the AI model went through that in less than a day and it figured out the whole thing.
00:47:11.643 --> 00:47:11.963
Crazy.
00:47:11.963 --> 00:47:14.603
Just to give you an just to give you an idea of where
00:47:14.603 --> 00:47:15.436
All right, so.
00:47:15.436 --> 00:47:18.262
it's at to today, that's for reverse engineering.
00:47:18.422 --> 00:47:18.822
Okay.
00:47:18.822 --> 00:47:22.016
And Thai can talk about the vulnerability research and we can add some more.
00:47:22.023 --> 00:47:27.130
But just to give you j this is in the what in like eight, nine months difference.
00:47:27.130 --> 00:47:28.182
Yeah. Yeah.
00:47:28.182 --> 00:47:30.637
I wanna stay on I wanna stay on reversing just because I
00:47:30.637 --> 00:47:31.471
Okay,
00:47:31.471 --> 00:47:32.630
c because I can follow it, right?
00:47:32.630 --> 00:47:33.463
Okay, yeah.
00:47:33.463 --> 00:47:49.943
So like I get like I get the story where like today you can just kind of hand off a blob and like kind of expect if you just like you know, you know, slash goal something or you know, have it like just iterate over and over again, trying to it'll come up with something.
00:47:50.103 --> 00:47:51.702
How smart was your prompting there?
00:47:51.862 --> 00:47:53.463
Like did you even write complete English?
00:47:53.623 --> 00:47:55.543
It was like figure this out.
00:47:55.543 --> 00:48:03.141
I The prompting is very so this is the work that was done for the most recent one.
00:48:03.222 --> 00:48:17.943
I wasn't involved in this one but the engineer who did it he talked the prompting is quite minimal is like oh I need to figure out how this thing works and that's it and like no no need to like tell it what tools to use even it will write its own tools for you.
00:48:17.943 --> 00:48:22.503
Oh, you don't have a particular like executable file format parser?
00:48:22.503 --> 00:48:23.862
Oh yeah, let me go write that for you.
00:48:24.023 --> 00:48:25.862
And if just write that all up, you know.
00:48:26.023 --> 00:48:37.269
Oh, you need to like parse this particular blob, this you know, like file this you know like table you know like oh let me go to do that for you done oh you need to disassemble that oh you.
00:48:37.269 --> 00:48:38.103
Yeah.
00:48:38.103 --> 00:48:43.432
Don't need IDA let me go do this for you know in some you know using objdump and shit like that yeah.
00:48:43.432 --> 00:48:50.422
See you're not like setting up, you know, Radare or you know Binja or IDA with like an MCP.
00:48:50.422 --> 00:48:52.342
It use we so we do use the IDA MCP.
00:48:52.422 --> 00:48:55.623
We also have people using Binary Ninja.
00:48:55.833 --> 00:48:57.402
you could do that.
00:48:57.483 --> 00:49:00.443
If it does make things faster, of course, right?
00:49:00.603 --> 00:49:07.563
So I think in this particular project we did use the IDA MCP to help with some of the work.
00:49:07.643 --> 00:49:08.202
Yeah.
00:49:08.202 --> 00:49:14.842
But like it that should not be that should not the people shouldn't take that as like, oh, you need IDA or something like that.
00:49:14.842 --> 00:49:20.443
I mean the AI can go and roll its own version of IDA probably in like, you know, give it a few hours.
00:49:20.603 --> 00:49:22.282
It'll probably write its own IDA.
00:49:22.742 --> 00:49:24.103
And it'll be fine.
00:49:25.163 --> 00:49:27.242
So like that's my big question for you, right?
00:49:27.322 --> 00:49:30.362
Because you're, you know, a career reverser, right?
00:49:30.682 --> 00:49:33.708
Is are programs like IDA still in the meta for like, you know,
00:49:33.708 --> 00:49:34.541
Man.
00:49:34.541 --> 00:49:36.123
doing good or is it dead?
00:49:36.362 --> 00:49:38.625
Is it like, you know, is the new meta just, you know,
00:49:38.625 --> 00:49:39.458
Yeah, we
00:49:39.458 --> 00:49:39.807
prompting?
00:49:39.807 --> 00:49:42.068
we I asked myself this exact question.
00:49:42.148 --> 00:49:52.708
I it was a few months ago that I didn't think that the AI if someone told me, oh yeah the AI could reverse engineer some stuff without any symbols and figure the whole everything out very quickly.
00:49:52.947 --> 00:49:57.507
I had some skepticism about this and so I went I
and I did the experiments myself.
00:49:57.748 --> 00:50:03.427
I wrote a Rust I a Rust program that had some obfuscation in it.
00:50:04.068 --> 00:50:11.588
And I asked it to go reverse engineers using a combination of one the first objdump was using IDA.
00:50:11.987 --> 00:50:15.507
Second option was to do it without any tools, just objdump.
00:50:16.387 --> 00:50:17.507
Just objdump.
00:50:17.652 --> 00:50:29.373
It turns out that both you know Codex and Claude can recover a large chunk of the semantics of the Rust program, with just plain objdump.
00:50:30.733 --> 00:50:37.293
And then after you have that, you can say, Oh, yeah, the this output here, can you like make it to you know idiomatic Rust?
00:50:37.853 --> 00:50:41.853
And it would say, Oh yeah, let me like you know like sweeten that up for you.
00:50:42.012 --> 00:50:42.572
Yeah.
00:50:42.572 --> 00:50:44.139
It's this is the and so yeah.
00:50:44.139 --> 00:50:44.972
That's easy.
00:50:44.972 --> 00:50:50.172
And then like you know, like you know, if you ever look reverse engineer Rust code, right?
00:50:50.253 --> 00:50:56.784
You open up an IDA, it's like eight automatically 8,000 lines of like you know functions that are not named at all unless you have some plugin that does.
00:50:56.784 --> 00:50:57.213
Hmm.
00:50:57.213 --> 00:51:05.052
Like FLIRT, you know, like to do to identify the like the Rust libraries and runtime blah blah.
00:51:05.132 --> 00:51:06.972
It's like painful, right?
00:51:07.132 --> 00:51:09.773
It's but it just this thing just does it man.
00:51:10.092 --> 00:51:13.452
And so at that time I was like wow that's depressing.
00:51:13.612 --> 00:51:21.612
So that what does this mean to this means that I asked my some friends, it's like okay, well do why do we even need IDA why do we need IDA anymore?
00:51:21.773 --> 00:51:22.413
Right?
00:51:22.413 --> 00:51:25.293
This means that the reverse engineering two.
00:51:25.293 --> 00:51:26.652
When they take the models away.
00:51:27.532 --> 00:51:34.893
Yeah, so we had yeah it's a question I asked the exact same question, Tom.
00:51:35.132 --> 00:51:51.856
And the reality of is after talking to several friends, it's like yeah, like the like IDA is the way as it is today, and by the way, I'm not like you know saying bad things about IDA, but reverse engineering tools like IDA as it is today would need to be changed to consider valuable, right?
00:51:51.902 --> 00:51:56.074
So I think that's recently they added like new MCP features to make it easier.
00:51:56.222 --> 00:52:03.663
And another one another area they're doing is like to make it more token efficient to do certain things.
00:52:03.902 --> 00:52:14.032
But in terms of like analysis I don't think there's they are sorry is is too good already yeah and that that's what I.
00:52:14.032 --> 00:52:14.672
Mhm.
00:52:14.672 --> 00:52:25.288
Which is like the and the obvious next question is like if you're talking to an early career person who's thinking about
like where they should specialize, reversing is a specialty.
00:52:25.288 --> 00:52:27.414
Used to be, yeah, it used to—
00:52:27.414 --> 00:52:28.248
People like specialize in reversing.
00:52:28.248 --> 00:52:29.606
Yeah, is it anymore?
00:52:29.606 --> 00:52:30.440
I don't think so.
00:52:30.543 --> 00:52:32.822
We have I can yeah, we have.
00:52:32.822 --> 00:52:35.382
Like it might have kill it might have killed that specialty dead.
00:52:35.382 --> 00:52:39.494
I for I believe for I think for like non obfuscated
00:52:39.494 --> 00:52:40.327
Like that might just be done.
00:52:40.327 --> 00:52:41.782
code, it's dead.
00:52:41.862 --> 00:52:45.063
I c I c I think it would be.
00:52:45.623 --> 00:52:47.492
Obfuscated code is a fun one though.
00:52:47.492 --> 00:52:57.382
Yeah, obfuscated code is gonna have some channel because you need some domain knowledge to like you know to write specialized tools, like you know, like analysis passes to go and deobfuscate.
00:52:57.782 --> 00:53:03.623
that the AI by itself cannot do like autonomously like it doesn't do a very good job yet.
00:53:03.862 --> 00:53:07.063
But I'm not sure maybe next year's model might be better.
00:53:07.222 --> 00:53:19.873
I don't know, but I can tell you that non-obfuscated code, just normal random like you pick a random binary in Windows, it will go and it will go and do everything for you like autonomously.
00:53:20.032 --> 00:53:29.581
and but so yeah just to answer your question I think it's I've talked to a whole bunch of friends who've been doing this for a long time and they're telling me oh yeah Bruce it's done.
00:53:29.663 --> 00:53:32.141
The AI is it's better than me at this.
00:53:33.103 --> 00:53:42.807
We even had, I think Dion was looking at some like und some like undocumented like architecture.
00:53:43.047 --> 00:53:45.288
Okay, there's no we don't have any documentation for it.
00:53:45.527 --> 00:53:53.688
And the AI like magically reverse engineered this thing and figured out like it wrote tools to analyze like this particular architecture.
00:53:53.847 --> 00:53:57.688
I think he'll give hopefully we'll give a talk about that, you know, like next year or something like that.
00:53:58.088 --> 00:54:00.728
But yeah, that's just to tell you where things are at.
00:54:00.807 --> 00:54:05.447
Like in the old days I would be like, Oh shit man, I gotta go roll up like a new like IDA processor module.
00:54:05.527 --> 00:54:08.527
Let me go like read the SDK or the example ex how do I do that,
00:54:08.527 --> 00:54:09.320
Mm.
00:54:09.320 --> 00:54:10.007
right?
00:54:10.007 --> 00:54:12.327
Because it's like not something that you do very frequently.
00:54:12.327 --> 00:54:16.192
And then you go and you spend you know probably weeks of your time to do that.
00:54:16.327 --> 00:54:19.128
Now it's like, yeah, like the AI just does that.
00:54:19.367 --> 00:54:20.458
It's crazy.
00:54:20.458 --> 00:54:21.288
It is sad.
00:54:21.288 --> 00:54:34.248
Like one
of my like one of my earliest memories of you know doing professional reversing work was like it was like I think it was like a fiber channel over IP controller thingy that I had to like do vulnerability research in.
00:54:34.407 --> 00:54:39.208
and like the controller board for it was in an architecture that it's was not mainstream at all.
00:54:39.288 --> 00:54:43.208
It's like it's it only exists to be, you know, put on an FPGA or something like that.
00:54:43.288 --> 00:54:50.327
And like having to work that out myself and build out like the, you know, I basically like wrote like an objdump style thing and then fed that into another tool.
00:54:50.407 --> 00:54:52.487
And that was like super, super fun to do.
00:54:52.648 --> 00:54:54.088
And now it's just like dead.
00:54:54.568 --> 00:54:56.648
Like you just that that work doesn't exist.
00:54:56.807 --> 00:55:01.208
I guess you can do it by hand like a hand tool woodworker like doesn't use like a table saw or whatever.
00:55:01.288 --> 00:55:06.648
Like there are people that like do this stuff for just the joy of it, but like it'll have to just be a craft at that point.
00:55:06.728 --> 00:55:11.208
Like you can't bill for it because like the model can just do it for you.
00:55:11.208 --> 00:55:20.807
Yeah, I mean if you were to do like that these days it would be considered it'll be like analogy would be like, you know, you're trying like you know using chop using toothpicks to cut wood or something like that, you know.
00:55:20.967 --> 00:55:23.974
And it just yeah, it's just not that's not gonna cut it anymore.
00:55:23.974 --> 00:55:24.807
Yeah.
00:55:24.807 --> 00:55:47.797
And then we have, you know, and then like the that those examples from my own experience and then we have some other people that they've like basically decompile entire like you know massive C programs like games like down to like you know at the opcode with opcode like level matches so basically 100% like accuracy anti autonomously yeah.
00:55:48.887 --> 00:55:53.913
Yeah, like whole I think there's like game mod communities like subreddits that are basically like defunct now
00:55:53.913 --> 00:55:54.746
Yeah.
00:55:54.746 --> 00:56:12.918
because like they're just getting swarmed by people being like, Hey, I made this in like an afternoon and it used to take like ages and they're like we can't this is like no longer feasible for us to moderate and get like the hum the human artisanally made game mods because it's just easy to one sh practically one-shot it.
00:56:12.918 --> 00:56:13.398
Yeah.
00:56:13.398 --> 00:56:23.077
It's like trying to reverse engineer like neither a game save format or like a level format, you know like the zillions of custom file formats that you find in it in games, right?
00:56:23.237 --> 00:56:24.164
And now this thing it just does it.
00:56:24.164 --> 00:56:24.998
Yeah.
00:56:24.998 --> 00:56:30.539
It's but yes, it's I think it's soon gonna be gone, Tom.
00:56:30.677 --> 00:56:31.637
Actually it's already gone.
00:56:31.878 --> 00:56:33.318
At least from my perspective.
00:56:33.478 --> 00:56:34.311
Yeah.
00:56:35.318 --> 00:56:37.478
If we keep the models around.
00:56:39.237 --> 00:56:41.717
Moment of silence for the career of reversing.
00:56:42.677 --> 00:56:44.161
I'll probably get some flak with this, you know, like
00:56:44.161 --> 00:56:44.994
Poor one out.
00:56:44.994 --> 00:56:49.478
someone would tell me, oh no man, Bruce, like the— Small, like you know, you're wrong.
00:56:49.717 --> 00:56:53.878
But like that has not been my experience, given what I see.
00:56:54.117 --> 00:56:54.951
Yeah.
00:56:55.117 --> 00:56:56.277
It's kind of shocking to be honest with you.
00:56:56.918 --> 00:57:21.833
The fact that you can take a 200 and something meg binary and get basically most of the d the critical information from it with literally within like a few hours is is and like to have a separate program to read, you know, like that implements that in a separate language is sorry in another standalone program is I mean normally that would take weeks at least, you know.
00:57:22.043 --> 00:57:22.876
Yeah.
00:57:22.938 --> 00:57:28.217
And then for VR, you know, like you can just it's by similar Thai you wanna talk about that.
00:57:29.003 --> 00:57:32.206
Are Well, you can see the results already, right?
00:57:32.447 --> 00:57:45.567
But I think that the thing that I like the most is you know in VR, most of the time back in the days, you have to spend people think that, you know, doing VR is like you sit down and just find bugs.
00:57:45.726 --> 00:57:59.327
But most of the time you set a setting up lab, you know, you set up like the target that you want to hack and you need a tooling, the environment and everything Just need to click in order for you to start working, right?
00:57:59.806 --> 00:58:01.487
And it takes a lot of time.
00:58:01.726 --> 00:58:04.927
80% of the time is actually in setting up labs.
00:58:05.166 --> 00:58:06.094
And because yeah.
00:58:06.094 --> 00:58:06.927
Yeah, absolutely.
00:58:06.927 --> 00:58:13.086
And now with AI, now you can just give me a lab and it's gonna do not for you.
00:58:13.327 --> 00:58:15.327
Why would you complain, you know?
00:58:15.327 --> 00:58:16.097
Why you can play the whole Yeah.
00:58:16.097 --> 00:58:23.407
I was doing like I was doing KVM stuff a couple of months ago just as like just to like get familiar with like the models doing vulnerability research.
00:58:23.567 --> 00:58:27.967
And it's like it would have taken me a week to come up with a harness, like a different harness, right?
00:58:28.047 --> 00:58:36.447
But it would have taken me a week to come up with like the KVM harness that I boot into to probe like the you know, the virtio drivers or whatever that I'm looking at, right?
00:58:36.527 --> 00:58:37.806
And like it was like one prompt.
00:58:37.887 --> 00:58:43.166
And it's like, okay, we're now booting into a thing that has a, you know, a
CNC channel that you can feed it to do things with.
00:58:43.246 --> 00:58:46.927
And it's like, that's all of the work there for me was just doing that stuff.
00:58:46.927 --> 00:58:48.606
And even that's obsolete now, right?
00:58:48.686 --> 00:58:56.052
Like I thought of here's what I think a good harness would be, but really I should have just told, you know, if it was Fable 5-2 or if it was Mythos or whatever awesome model
00:58:56.052 --> 00:58:56.885
Yeah.
00:58:56.885 --> 00:58:59.007
you guys get to use that I don't get to use,
00:58:59.166 --> 00:59:03.567
You just say like go find me the vulnerabilities and then it goes and figures out, you know, what the thing is.
00:59:03.806 --> 00:59:08.579
I wanna ask if we can all right,'cause David is too chicken to ask, right?
00:59:08.851 --> 00:59:10.612
Is there like news you can break?
00:59:10.692 --> 00:59:12.371
Is that what's a good vulnerability?
00:59:13.012 --> 00:59:18.211
what should it what should I uninstall from my computer or you know short on the stock market?
00:59:18.632 --> 00:59:19.981
I'm sorry, like.
00:59:19.981 --> 00:59:24.311
Let's just rank let's rank programming language runtimes from, you know, worst to best.
00:59:24.472 --> 00:59:25.304
Huh.
00:59:26.630 --> 00:59:28.150
Oh man, it's.
00:59:28.150 --> 00:59:31.226
We're feeling pretty confident about Rust right now, right?
00:59:32.090 --> 00:59:42.789
Well the thing that you think about is you know all of these languages, you know, in order to split them up, a last part is actually written in native languages, right?
00:59:43.349 --> 00:59:45.059
So there you go.
00:59:45.380 --> 00:59:54.148
You have the memory safety for the farmers, and then the rest would be written in like low level languages.
00:59:54.309 --> 00:59:58.469
And you know, we do a lot of security engineering.
00:59:58.550 --> 01:00:03.110
We help people moving from C++ to Rust, right?
01:00:03.750 --> 01:00:22.039
And the way they do it is you identify a very important low-level library like a compression library and then you convert that library to Rust and now you have that library in Rust, but the rest of your application is in like C or C++.
01:00:22.519 --> 01:00:24.199
How do you call it into Rust?
01:00:24.519 --> 01:00:27.719
So that's a thing that allows you to the bridge.
01:00:27.800 --> 01:00:29.079
And then Google built this thing.
01:00:29.079 --> 01:00:30.599
It's called like Crubit.
01:00:31.000 --> 01:00:35.400
And it's basically a bridge between C++ and Rust.
01:00:35.800 --> 01:00:36.759
And guess what?
01:00:36.920 --> 01:00:39.800
We found vulnerabilities in the Crubit thing.
01:00:40.280 --> 01:00:44.599
And because that thing is written in C++ like right?
01:00:44.679 --> 01:00:45.800
Because you cannot avoid it.
01:00:46.119 --> 01:00:51.800
You need some place to make that bridge into the safe lane.
01:00:51.880 --> 01:00:54.360
But that bridge burns you, basically.
01:00:54.440 --> 01:01:00.920
Okay, because you have
this is like the second most recent thing on your research page.
01:01:01.159 --> 01:01:09.159
And like literally the subhead or you know the tagline is replacing vulnerable C++ components with Rust, one binding at a time.
01:01:09.320 --> 01:01:10.679
And I was like, okay, that's nice.
01:01:10.760 --> 01:01:11.719
Like I agree with that.
01:01:11.880 --> 01:01:14.440
And then they did not read the rest of it.
01:01:14.679 --> 01:01:26.806
I was just like, oh, they're advocating for, you know, new best safe practices because of the things that they see and I didn't reali I didn't realize that you're finding vulns in the bindings from C and C++ to Rust.
01:01:26.806 --> 01:01:27.639
Yeah.
01:01:27.639 --> 01:01:30.215
But I think if you have but if you have pure like pure rust, I
01:01:30.215 --> 01:01:31.047
Hehehe.
01:01:31.047 --> 01:01:35.177
think you know like you know I would advocate like for that, right?
01:01:35.239 --> 01:01:39.527
You know, it's like it's we have customers using.
01:01:39.527 --> 01:01:40.360
Okay.
01:01:40.360 --> 01:01:45.800
Bruce you think about it how do you make sure that you actually have peel rust now?
01:01:45.800 --> 01:01:46.920
I know, so I mean that's the—
01:01:46.920 --> 01:01:49.320
I wrote thing in Java.
01:01:49.400 --> 01:01:53.000
Like that's the first version of thing it was written in Java.
01:01:53.320 --> 01:01:56.360
And now I'm not sure it's actually rooted in Java, man.
01:01:56.599 --> 01:01:57.432
It's actually not Java.
01:01:57.432 --> 01:01:57.639
Ha ha.
01:01:57.639 --> 01:02:03.079
Saying in our tier list and our tier list, we're saying that pure rust is S tier right now.
01:02:03.239 --> 01:02:05.320
And then how do we feel about Go?
01:02:05.800 --> 01:02:08.041
Oh, we've had good customer we have customers yeah,
01:02:08.041 --> 01:02:08.873
Mm.
01:02:08.873 --> 01:02:10.599
I mean obvious it's pretty good.
01:02:10.760 --> 01:02:12.119
I think I would use that.
01:02:12.280 --> 01:02:14.864
I have like a thing I have like a thing, I have to
01:02:14.864 --> 01:02:17.181
Rust pie swift go and swift, you know, like in and you
01:02:17.181 --> 01:02:18.014
raise money for this, but I have like my.
01:02:18.014 --> 01:02:23.786
know man you asked me to give orders, but like these I think these are good options if I were to build
01:02:23.786 --> 01:02:24.619
Okay.
01:02:24.619 --> 01:02:24.920
like.
01:02:24.920 --> 01:02:29.900
You've got like Yeah, you've got all this time and all these resources and all these tokens to spend.
01:02:29.980 --> 01:02:35.099
And I feel like the XPRIZE goal right now should be a bug class for Go.
01:02:35.099 --> 01:02:39.820
It should be a reliable exploitation pattern that takes advantage of data races in Go.
01:02:39.840 --> 01:02:40.231
Hm.
01:02:40.231 --> 01:02:44.257
Because like for the last five years, Rust programmers have been dunking on Go programmers, saying that Go
01:02:44.257 --> 01:02:45.090
Oh yeah.
01:02:45.090 --> 01:02:48.059
is not really memory safe, which is obviously horse shit, right?
01:02:48.059 --> 01:02:50.438
Except maybe it's not horse shit anymore if Claude can figure out
01:02:50.438 --> 01:02:51.271
Mm.
01:02:51.271 --> 01:02:55.306
like theor whatever the whatever awesome model you guys get to use can bank shot into something where.
01:02:55.306 --> 01:02:56.139
Can we start for five seconds?
01:02:56.139 --> 01:02:56.460
That's.
01:02:56.460 --> 01:03:02.429
I need to prom you know let go be a go you know memory corruption.
01:03:03.679 --> 01:03:04.139
Yeah.
01:03:04.139 --> 01:03:05.610
But yeah, I mean today.
01:03:05.610 --> 01:03:12.940
We're talking this yeah it's I wouldn't be surprised, you know, if somebody finds something like that, right?
01:03:12.940 --> 01:03:13.951
We know some people on the we know some people on the
01:03:13.951 --> 01:03:14.784
I think.
01:03:14.784 --> 01:03:15.179
Go team.
01:03:15.179 --> 01:03:16.619
Maybe we should tell Peter about this.
01:03:21.000 --> 01:03:21.833
I just want to see it.
01:03:22.139 --> 01:03:23.820
I want to see somebody go after it.
01:03:23.980 --> 01:03:28.539
And then like even if you don't find something, That is still kind of a big result, right?
01:03:28.699 --> 01:03:30.449
Because there's like it's an article of faith with a lot of
01:03:30.449 --> 01:03:31.282
Yeah.
01:03:31.282 --> 01:03:33.820
memory safety people that Go is only somewhat memory safe.
01:03:34.059 --> 01:03:37.019
Zig too, but like Zig's definitely not really memory safe, right?
01:03:37.019 --> 01:03:39.500
But Go is mostly memory safe.
01:03:39.500 --> 01:03:40.333
Yeah.
01:03:41.179 --> 01:03:42.012
We should tell you.
01:03:42.059 --> 01:03:46.219
So you basically what you're asking is you want us to target go next.
01:03:46.219 --> 01:03:48.409
Go this is what you want.
01:03:49.327 --> 01:03:49.987
We can try.
01:03:49.987 --> 01:03:50.652
It is what I want.
01:03:50.652 --> 01:03:51.485
Okay.
01:03:51.934 --> 01:03:52.494
Okay.
01:03:52.494 --> 01:03:54.653
The XPRIZE right now is worth five dollars, but I'll
01:03:54.653 --> 01:03:55.175
Mm-hmm.
01:03:55.175 --> 01:03:56.403
raise more money than that.
01:03:56.403 --> 01:03:57.237
Okay.
01:03:58.074 --> 01:03:58.733
Okay.
01:03:58.733 --> 01:04:01.534
All match, so it's at least 10 dollars.
01:04:01.534 --> 01:04:02.367
Thank you, David.
01:04:02.449 --> 01:04:02.889
Yeah.
01:04:02.889 --> 01:04:06.938
but yeah, and then yeah VR is also changed quite a bit.
01:04:07.179 --> 01:04:09.818
I mean to you know I wanna come back to that.
01:04:10.748 --> 01:04:20.722
d from the work that the research team is seeing and seeing how they do it, I mean the AI is basically, you know, y I mean we don't need to talk about the traditional way of doing things, right?
01:04:20.748 --> 01:04:22.347
I mean that's the we don't talk about that.
01:04:22.429 --> 01:04:32.188
But like just to give kind of an a an example to see so you can see like the impact of the AI on VR.
01:04:33.068 --> 01:04:39.628
We took the so Apple had a patch for one of the for some bug.
01:04:39.789 --> 01:04:41.469
Yeah, I forgot it was in Core Graphics.
01:04:41.548 --> 01:04:43.949
It's like it's some font stuff in PDFs.
01:04:44.349 --> 01:04:52.989
So we down you know we had the engineer he's like he prompted using a tool to say, oh tell me like what changed.
01:04:53.548 --> 01:04:54.829
So that's one prompt.
01:04:55.148 --> 01:04:59.949
Okay, the tool just goes and downloads everything, diffs it automatically.
01:05:00.268 --> 01:05:08.527
Then with some human experts, it was able to build a repro, a standalone repro for this thing.
01:05:08.768 --> 01:05:13.938
And then it built an exploit for it for iOS.
01:05:14.018 --> 01:05:16.659
I think it no, it was first done on macOS, I think.
01:05:16.739 --> 01:05:25.958
And then eventually did it on I think all this and then like from there, all this stuff happened within probably one or two days.
01:05:26.418 --> 01:05:26.739
Bam.
01:05:26.739 --> 01:05:27.858
Okay.
01:05:28.548 --> 01:05:41.987
and then from there they had some inspiration the team they like they had this high or something I don't know how to describe it after after they got that working they had this high and say yeah let's go to we need a kernel one.
01:05:42.318 --> 01:05:47.981
and you know that took a few more days and you know, several more kernel exploits came out.
01:05:48.302 --> 01:05:50.061
And then more and more.
01:05:50.222 --> 01:05:51.742
Hopefully there'll be more stories about this.
01:05:51.902 --> 01:06:03.650
But yeah, like that's just to give you an idea, within a very short amount of time, I think for sure a week, maybe week and a half, y there were full chains, multiple chains.
01:06:04.222 --> 01:06:05.056
Yeah.
01:06:06.202 --> 01:06:06.362
He?
01:06:06.362 --> 01:06:13.981
I have like the I have like the dumbest question here, which is just are you guys literally using like Claude Code or Codex?
01:06:13.981 --> 01:06:14.815
Like the gift?
01:06:15.021 --> 01:06:16.463
Do you have any interesting harness stuff?
01:06:16.543 --> 01:06:22.302
Or is it literally just like tmux and like, you know, having like 10 different terminals open?
01:06:22.302 --> 01:06:25.101
Or belief I do not no we don't have any special harness.
01:06:25.262 --> 01:06:26.543
We have it's just humans.
01:06:26.623 --> 01:06:28.942
Human experts and Claude.
01:06:30.422 --> 01:06:37.021
We do have some you know people have like the people doing this, they're not new, right?
01:06:37.103 --> 01:06:52.690
We actually did a accidental experiment that I love to tell because we have like one team of Stefan Esser, Dion and Anna Rosa, which are like I think maybe some of the best iPhone hackers out there.
01:06:52.702 --> 01:06:58.943
And we have another team up like rootkeys, you know, and they have like a lot of tokens.
01:06:59.023 --> 01:07:00.543
Let's put it that way.
01:07:01.422 --> 01:07:08.702
And like so Bruce told me the first team came up with like multiple chains for the iPhone, right?
01:07:09.422 --> 01:07:12.623
The second team tried to do the same thing.
01:07:12.943 --> 01:07:16.623
They came up with zero vulnerabilities, zero, nothing.
01:07:16.782 --> 01:07:18.063
Not even a write-up.
01:07:18.503 --> 01:07:19.822
Nothing at all.
01:07:20.222 --> 01:07:33.342
So I think it's still if you think like you point a model at the iPhone and then ask us like hack the iPhone for me, that's still like sci-fi today.
01:07:33.822 --> 01:07:51.422
You still need like people who really know what they're doing and they build a skills, they build the tools, you know, the custom tools that allow the models to navigate the maze, you know, the exploitation maze, you know.
01:07:51.583 --> 01:07:54.862
Like you can imagine the iPhone has so many components, right?
01:07:55.023 --> 01:08:00.702
And you have a bug in one component, you want to go from this component with its entitlement.
01:08:01.182 --> 01:08:02.463
How can you do that?
01:08:02.702 --> 01:08:14.222
And then that requires like people who know this or there's some graph, some you know the data that the models could look up and that's spit thing up, right?
01:08:14.302 --> 01:08:19.182
Because the model I think they can do it if you give it enough tokens.
01:08:19.182 --> 01:08:26.381
But I think the problem is the humans behind the keyboard may just give up because it takes too long.
01:08:26.733 --> 01:08:35.332
So if you can actually split things up or and you can see the progress because you know what you're doing, you know, oh, it's actually I I'm halfway there already.
01:08:35.332 --> 01:08:35.653
Yeah.
01:08:35.653 --> 01:08:39.172
Then you can actually finish it, right?
01:08:39.573 --> 01:08:48.292
And I think that's I think I'm most impressed, one of the most impressive hacks that we did like something that like Bruce mentioned earlier.
01:08:48.677 --> 01:08:51.238
You know, like we have a device.
01:08:51.478 --> 01:08:54.518
This is actually doesn't have a lot of input, you know.
01:08:55.318 --> 01:09:00.917
And then this actually has a lot of functionality, but there's not many ways you can interact with it.
01:09:01.078 --> 01:09:04.198
There are only Bluetooth and Wi Fi.
01:09:04.597 --> 01:09:08.757
And you actually have the firmware.
01:09:09.078 --> 01:09:23.877
But like Dion like Blazakis he figured out a way a bug like blindly with his like agents to figure out like kind of a memory leak that allows him to leak the firmware.
01:09:24.837 --> 01:09:33.386
And Tom, if you remember, back in the day, Willem Pinckaers, he did the same attack for the BlackBerry.
01:09:33.627 --> 01:09:42.507
Like he found cut up a mastering I forgot, but allows him to download the firmware first and then based on that firmware.
01:09:42.747 --> 01:10:07.387
He reversed the firmware and then find more vulnerabilities in the blue bluetooth stack and then that's allowed him to come into the phone or
not the phone the device the traditional way and then once he inside the device he discovered that it has this like chip that handles the radio, you know, and everything.
01:10:07.547 --> 01:10:10.268
And it doesn't have any, you know, it's undocumented.
01:10:10.507 --> 01:10:12.828
No datasheet, nothing at all.
01:10:13.387 --> 01:10:16.108
And yeah, nothing at all.
01:10:16.507 --> 01:10:24.747
And then he fit that build a harness to fit that and let the agent to interact with that computer.
01:10:25.467 --> 01:10:32.057
And then eventually the agent figure out the instruction set and build a compiler.
01:10:32.488 --> 01:10:33.637
Hehehehe's.
01:10:33.637 --> 01:10:35.148
You know for that thing.
01:10:35.148 --> 01:10:39.226
Once you have it's like once you have the instruction set, the rest of it's academic, right?
01:10:39.387 --> 01:10:41.805
The rest of it is just a couple of iterations of implicit
01:10:41.805 --> 01:10:43.595
Well normally it would take you like I don't know man a search.
01:10:43.595 --> 01:10:45.261
So Oh yeah, no, humans impossible.
01:10:45.261 --> 01:10:45.948
week?
01:10:45.948 --> 01:10:47.162
Yeah, yeah, yeah, yeah, yeah, yeah, yeah, yeah.
01:10:47.162 --> 01:10:47.994
Yeah.
01:10:47.994 --> 01:10:48.828
Yeah.
01:10:48.828 --> 01:11:06.908
so this is like if you put this thing into the right hands, it's like these people they would become like I you know Dave Aitel, we talked to him very like regularly, and he said like man, Loki is now too powerful.
01:11:07.228 --> 01:11:10.188
Loki is the nickname for Stefan Esser, you know, back in the day.
01:11:10.188 --> 01:11:13.518
Just like you gave Loki this thing, it's like the hammer, you
01:11:13.518 --> 01:11:14.350
Yeah.
01:11:14.350 --> 01:11:16.988
know, it's just like it's in invisible.
01:11:17.148 --> 01:11:19.467
And we have a formula within the team, right?
01:11:19.547 --> 01:11:27.420
Like human multiply AI is way, way more powerful than human or AI alone, right now.
01:11:27.420 --> 01:11:28.252
Yeah.
01:11:28.252 --> 01:11:31.132
So yeah, that's the situation right now.
01:11:32.113 --> 01:11:34.623
Yeah, and if anybody who has you know like skepticism
01:11:34.623 --> 01:11:35.457
Okay, so.
01:11:35.457 --> 01:11:39.237
about this, they can go and just do the experiments themselves.
01:11:39.292 --> 01:11:41.853
It's pretty easy with the current models.
01:11:41.853 --> 01:11:47.853
All you need is a all you need is a device that you can't interact with much that has Bluetooth and Wi-Fi.
01:11:48.653 --> 01:11:55.819
Find one of those, and then point unlimited tokens from unavailable models at it, and you too can replicate.
01:11:55.819 --> 01:11:58.783
Well, I think that's a good thing They it doesn't sound like they're
01:11:58.783 --> 01:12:02.483
Like claiming they are they have access to unavailable models, so.
01:12:02.483 --> 01:12:05.020
no, I'm talking about the yeah, like it's in the area of reverse
01:12:05.020 --> 01:12:05.854
Just making
fun of them.
01:12:05.854 --> 01:12:06.893
engineering, right?
01:12:07.212 --> 01:12:12.832
If you don't think that the AI cannot do reverse engineering, you can just go do the experiment yourself that's pretty easy to—
01:12:12.832 --> 01:12:17.682
But Tom, if you think about it, even the labs couldn't do this right.
01:12:18.292 --> 01:12:28.953
they have they are truly have unlimited tokens and really really super crap crazy like scary models as well.
01:12:28.953 --> 01:12:29.733
Mm-hmm.
01:12:29.733 --> 01:12:31.653
So it's not just the models, right?
01:12:31.733 --> 01:12:33.653
Just the people as well.
01:12:33.733 --> 01:12:34.052
Mm-hmm.
01:12:34.052 --> 01:12:41.092
And I we don't know, maybe the multiplier would become an addition and then we would be obsolete, you know.
01:12:41.252 --> 01:12:44.132
But right now I think we're still there and—
01:12:44.853 --> 01:12:45.699
Which is like it's a good answer.
01:12:45.699 --> 01:12:46.533
It's fun.
01:12:46.533 --> 01:12:51.893
It's a good answer for why Stefan Esser is working there and not at a frontier model company, I guess.
01:12:52.052 --> 01:12:55.172
Although yeah, that that makes perfect sense.
01:12:55.172 --> 01:12:57.653
I I'm just trying to imagine Stefan working at OpenAI or Anthropic.
01:12:57.653 --> 01:13:00.212
That would imagining what that would be like.
01:13:01.018 --> 01:13:01.850
ha.
01:13:02.274 --> 01:13:02.654
Anyways.
01:13:02.654 --> 01:13:03.713
So that's where we are.
01:13:03.873 --> 01:13:09.713
I would be remiss if I didn't ask you on the way out where do you think we're all going with this?
01:13:10.404 --> 01:13:20.304
is this do we have like six more months of doing VR before we just like pack it up and let the machine god do you just cashing out and buying guns and water?
01:13:20.543 --> 01:13:24.304
You've got the prepper on your team, so you should be set.
01:13:24.304 --> 01:13:25.136
Ha.
01:13:25.444 --> 01:13:30.024
think it's gonna be challenging to go against the machine on bug discovery.
01:13:30.104 --> 01:13:32.824
Like finding bug, I think that's gonna be challenging.
01:13:32.904 --> 01:13:52.185
I think in the areas of exploitation, I think that's a little bit I think there's a little bit more unknown because the data that we have today tells us that the mission like on certain platforms, you know, like the AI cannot do things, exploit things autonomously.
01:13:52.715 --> 01:14:02.694
and I don't see that even so we've been at this for like we've seen the you know like from the pre mythos day until now that hasn't changed.
01:14:03.175 --> 01:14:17.015
I sorry, I mean the we can see some progress, but the progress is not substantial yet where it could go and it's like you plug in a you plug in an you know an iPhone, which is still you know, I still the most secure don't like phone that you can get, I think today.
01:14:17.175 --> 01:14:21.255
You can't just plug it over and say, yo, like give me you know a jailbreak.
01:14:21.255 -->
01:14:22.935
You know, we're not there yet.
01:14:23.145 --> 01:14:29.786
I think we're yeah, would shock me if next year, by the end this time next year, that happens.
01:14:29.828 --> 01:14:32.376
Okay, so like autonomous jailbreak of an iPhone, you
01:14:32.376 --> 01:14:33.208
Yeah.
01:14:33.208 --> 01:14:36.809
don't think it's within the it's not within a 12-month horizon.
01:14:36.809 --> 01:14:42.488
Do you think the current cadence of like yeah, and you it it's a prediction, so it will be wrong, right?
01:14:42.569 --> 01:14:52.408
But like do you think the current cadence that we're at where like we go from PHP to shell to like Java4Shell to Ruby to shell and like the span of two weeks, like is this gonna settle out?
01:14:52.488 --> 01:14:54.248
Are we just getting the low-hanging fruit right now?
01:14:54.408 --> 01:14:58.248
Or do you think there's like another layer of fruit underneath that that we're gonna get next?
01:14:59.618 --> 01:15:00.368
Think it'll be more.
01:15:00.368 --> 01:15:03.328
I don't think that we're gonna have more, you know.
01:15:03.328 --> 01:15:03.979
This will be more.
01:15:03.979 --> 01:15:08.368
It's not because we have more, but I we believe like what we did.
01:15:08.368 --> 01:15:12.529
Like the Java4Shell thing, it's just like tip of the iceberg, right?
01:15:12.529 --> 01:15:20.442
You look at Java and you can see like most of the cryptography stuff is actually written in assembly because they want to speed.
01:15:20.689 --> 01:15:45.248
And my favorite target would be memor memory corruption in like, you know crypto code then you override some bits of the private key or something like that and then that allows you to do fund crypto you know and I think people would come up with like attacks like that because like the native code like it's still there.
01:15:45.408 --> 01:15:46.242
That's layer.
01:15:46.288 --> 01:15:48.689
We're not getting rid of it right now, right?
01:15:48.849 --> 01:15:49.889
It's still there.
01:15:50.288 --> 01:15:59.488
And with like AI now people can just go explore and you know basically just tokens now.
01:15:59.569 --> 01:16:04.048
If you have tokens, then you can go and find vulnerabilities every everywhere.
01:16:04.128 --> 01:16:08.288
And then exploitation is difficult a little bit, but you know, heap grooming.
01:16:08.448 --> 01:16:10.929
You don't have to do heap grooming anymore, you know.
01:16:11.009 --> 01:16:13.408
You just do heap engineering.
01:16:13.569 --> 01:16:21.297
You know, like just tell the AI like this is the heap, the end study of the heap that I want and this is how I think you should do it.
01:16:21.408 --> 01:16:26.929
And then the AI would like okay, yes sir, this is how I'm gonna do it for you.
01:16:27.088 --> 01:16:34.929
And you basically so let's give you a platform to play with the heap right to program the weird machine right there.
01:16:35.649 --> 01:16:40.609
And I think we b people gonna find more and more vulnerabilities like
this.
01:16:40.769 --> 01:16:46.929
Back in the day at Google, they have something called black swan, you know, for vulnerabilities like Heartbleed.
01:16:47.649 --> 01:16:53.889
I think they're gonna discover that, you know, it's just it's not black swan, it's like white Swan, you know, after all.
01:16:54.288 --> 01:16:55.569
Just have so many swans.
01:16:56.208 --> 01:16:58.849
And how we gonna deal with that, right?
01:16:59.088 --> 01:17:02.865
I think it's super important and super interesting question.
01:17:02.865 --> 01:17:03.698
Yeah.
01:17:03.698 --> 01:17:07.578
I think for especially for vulnerability researcher, right?
01:17:07.738 --> 01:17:23.219
Like how can you make your work useful and personally we think like fighting and patching vulnerabilities is fun you know we love to do that but it's not really sustainable, right?
01:17:23.298 --> 01:17:31.586
It's like if you really have a very large network, then you cannot really just keep patching and patching past week alone.
01:17:31.586 --> 01:17:32.418
Yeah.
01:17:32.418 --> 01:17:34.498
How could you schedule something like that, right?
01:17:34.658 --> 01:17:42.418
And your people would be tired and then they would be angry and you know because yeah.
01:17:42.658 --> 01:17:48.578
So I think you should think about we should think about how to maybe rewrite everything, you know.
01:17:48.819 --> 01:17:55.139
Just get rid of this thing, this technical debt that we have, or reduce, you know, remove things that we don't need.
01:17:55.378 --> 01:17:58.498
Why do we need that basically for assembly?
01:17:58.738 --> 01:18:00.498
You know, you don't need it, man.
01:18:00.578 --> 01:18:02.529
Like we should remove it.
01:18:02.529 --> 01:18:05.980
There's some high frequency trading firm that runs it's all on Java even though it's HFT.
01:18:05.980 --> 01:18:06.600
Exactly.
01:18:06.600 --> 01:18:07.219
Okay.
01:18:07.219 --> 01:18:08.929
Yeah, let them have it.
01:18:09.298 --> 01:18:10.269
I don't need it.
01:18:10.854 --> 01:18:12.020
I don't need it in my Java.
01:18:12.020 --> 01:18:12.854
Sure.
01:18:12.854 --> 01:18:18.292
I can have a Java Thai, you know, and then it's just enough for me.
01:18:18.493 --> 01:18:21.333
You know, and it doesn't need anything else.
01:18:21.573 --> 01:18:24.054
And in the past, that would be impossible.
01:18:24.134 --> 01:18:32.756
That would be crazy, right how could we maintain that thing but now I mean we have ai so maybe this is something we can do and I think this is
01:18:32.756 --> 01:18:33.942
JVM for a JVM for everybody, basically.
01:18:33.942 --> 01:18:34.774
absolutely.
01:18:34.774 --> 01:18:35.608
Like.
01:18:35.608 --> 01:18:35.891
J.
01:18:35.891 --> 01:18:36.725
Yes.
01:18:37.452 --> 01:18:39.692
I think the same thing about like live patching.
01:18:39.771 --> 01:18:44.712
Like right now, a big problem you have is you're like you're finding vulnerabilities that require fleet reboots, and those
01:18:44.712 --> 01:18:45.172
Yeah.
01:18:45.172 --> 01:18:46.171
are really hard to do.
01:18:46.332 --> 01:18:49.051
If you could just get to a place, it's just systems engineering.
01:18:49.051 --> 01:18:49.372
engineering.
01:18:49.372 --> 01:18:50.572
It's not even like new science.
01:18:50.731 --> 01:18:52.059
Like we know how to make things live patchable.
01:18:52.059 --> 01:18:52.891
Yeah.
01:18:52.891 --> 01:19:03.051
Somebody just needs to burn the tokens to come up with the system to do like really very live patchable Linux so you can keep up with you know new stuff without having to schedule reboots and stuff.
01:19:03.051 --> 01:19:06.971
Or you can tr you can just remove like Linux, right?
01:19:07.051 --> 01:19:15.612
I mean just reduce Linux tribute now, you know, like Linux Lin Linus and Linux for Bruce would be different, you know.
01:19:15.771 --> 01:19:22.171
It was just like maybe it doesn't even have doesn't need to have like TCP, just UDP or something like that.
01:19:22.412 --> 01:19:23.372
Just remove everything else.
01:19:23.532 --> 01:19:24.572
Just keep that thing.
01:19:24.731 --> 01:19:32.971
And you don't have to worry about, you know, we are you know, desync vulnerabilities in your TCP stack.
01:19:33.452 --> 01:19:33.771
And—
01:19:33.771 --> 01:19:38.561
I'm hearing what I'm hearing from Thai is that next week they're gonna announce a TCP vulnerability.
01:19:38.652 --> 01:19:42.364
No, ma'am, we.
01:19:42.641 --> 01:19:53.402
on that note, I want to say right before we started recording, I got a news alert from the New York Times that Sean Cairncross, the top cybersecurity official at the White House, is stepping down from his post.
01:19:53.481 --> 01:19:55.481
He's the national cyber director.
01:19:55.641 --> 01:19:58.408
And after the last two weeks' events, he's out.
01:19:58.408 --> 01:19:59.242
Yeah.
01:19:59.242 --> 01:20:01.081
So you guys won.
01:20:01.402 --> 01:20:04.841
The Limits of American State Power once again exposed,
01:20:04.841 --> 01:20:05.675
He's not joining us.
01:20:05.752 --> 01:20:16.122
but like in all seriousness, that is like definitely downstream of the various outages and so on in the last week that probably not hacks, but we're definitely downstream of patching.
01:20:16.122 --> 01:20:16.956
Definitely.
01:20:17.323 --> 01:20:18.443
Lots of patches.
01:20:19.262 --> 01:20:20.682
I am very jealous of all of you.
01:20:20.842 --> 01:20:25.403
This sounds like literally the funnest thing that anybody's ever done in the history of humanity.
01:20:25.563 --> 01:20:28.523
So very jealous that you guys get to do this.
01:20:28.603 --> 01:20:30.362
It's amazing, amazing work.
01:20:30.362 --> 01:20:31.962
And some of the best Vuln artwork.
01:20:32.943 --> 01:20:34.362
Out there, so.
01:20:36.143 --> 01:20:36.603
Thank you.
01:20:36.603 --> 01:20:37.243
Yeah.
01:20:37.243 --> 01:20:39.722
Zalewski he would be very happy to hear that.
01:20:40.903 --> 01:20:41.882
What do you know?
01:20:41.882 --> 01:20:42.643
Ha ha.
01:20:42.643 --> 01:20:46.203
It's a m it's a bunker in m Montana right now.
01:20:47.722 --> 01:20:58.203
Yeah, it's really funny, you know, like I tell Thai, you know, like I think our company is the only one where, you know, you have a distinguished engineer and his job is to come up with movie posters, you know, for the phones.
01:20:58.283 --> 01:21:02.842
You know, this is how you ask, you know, like why Calif and not Anthropic OpenAI.
01:21:03.002 --> 01:21:05.500
It's like, well, you know, like if you're this thing, yeah,
01:21:05.500 --> 01:21:06.332
That's a good answer.
01:21:06.332 --> 01:21:07.242
there you go, you know.
01:21:07.563 --> 01:21:08.842
No other company.
01:21:08.842 --> 01:21:16.203
Because you can do the you can do the nightmare before Christmas poster for finding vulns in C to Rust bindings.
01:21:16.203 --> 01:21:16.762
Exactly.
01:21:16.762 --> 01:21:18.523
Like love it.
01:21:18.802 --> 01:21:19.636
ha ha.
01:21:20.269 --> 01:21:23.288
man, like Zalewski is he's a genius, right?
01:21:23.368 --> 01:21:31.048
I mean having someone like that in the team whenever we have some problem and just come ask him and then he would give us like very good advice.
01:21:31.288 --> 01:21:35.208
The man he's he thinks very clearly, you know.
01:21:35.529 --> 01:21:39.689
And yeah, that's how he helped us, basically.
01:21:39.828 --> 01:21:41.768
It sounds like you have a lot of geniuses.
01:21:41.768 --> 01:21:42.600
And everyone should listen to our episode with him
01:21:42.600 --> 01:21:42.664
He's also handy.
01:21:42.664 --> 01:21:43.529
if they haven't yet.
01:21:43.529 --> 01:21:44.168
That's right.
01:21:44.168 --> 01:21:50.444
I was gonna say he's also handy to have around when your vulnerabilities end civilization, so he's a good pickup.
01:21:50.444 --> 01:21:52.563
And on that note, thank you very much for coming on once
01:21:52.563 --> 01:21:53.113
Absolutely.
01:21:53.113 --> 01:21:55.832
again. We appreciate it and we obviously are very.
01:21:55.832 --> 01:21:58.154
I think we could have talked for a while, but I'm turning into a pumpkin.
01:21:58.394 --> 01:22:00.712
Very very impressed by all your work.
01:22:01.054 --> 01:22:01.886
Yes.
01:22:01.993 --> 01:22:04.872
Thai, Bruce, thank you so much.
01:22:05.113 --> 01:22:11.872
Security Cryptography Whatever is a side project from Deirdre Connolly, Thomas Ptacek, and David Adrian, you can find the podcast online.
01:22:12.113 --> 01:22:16.833
That's SCW Pod and the Hosts Online at durumcrustulum, TQBF, and David Adrian.
01:22:16.913 --> 01:22:21.094
You can buy merchandise at merch.securitycryptographywhatev er.com.
01:22:21.094 --> 01:22:24.694
If you like the pod, give us a five-star review wherever you rate your favorite podcast.
01:22:24.854 --> 01:22:26.293
Thank you for listening.
01:22:26.993 --> 01:22:30.934
My name is Joe Weisenthal, and this has been the Odd Lots Podcast.