# Thirty Years of Application Security with Michael Howard

An episode of [.NET Rocks!](https://invisiblenetwork.ai/podcast/130068596), 13 Aug 2025, 1 h 03 min.

Audio: https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/67360262/dotnetrocks_1963_thirty_years_of_application_security.mp3

How has application security evolved over the decades? Carl and Richard talk to Michael Howard about his experiences working in security at Microsoft. Michael discusses his current role as a member of the Red Team at Microsoft, which identifies security vulnerabilities within the organization by creating scenarios that black hats might employ, such as stealing tokens or hijacking financial transactions. The conversation examines how security continues to evolve, with improved tools, new attack surfaces, and increasingly serious attacks. It's an arms race, but one the good guys can win!

## Transcript

[0:01] Speaker 1: How'd you like to listen to dot net rocks with
[0:03] Speaker 1: no ads? Easy? Become a patron for just five dollars
[0:07] Speaker 1: a month. You get access to a private RSS feed
[0:10] Speaker 1: where all the shows have no ads. Twenty dollars a month.
[0:14] Speaker 1: We'll get you that and a special dot net Rocks
[0:16] Speaker 1: patron mug. Sign up now at Patreon dot dot NetRocks
[0:21] Speaker 1: dot com. Hey, it's dot net rocks. I'm Carl Franklin
[0:37] Speaker 1: and Amirchard Campbell. We're here again for the nineteen hundredth
[0:41] Speaker 1: and sixty third time.
[0:44] Speaker 2: It's almost like an addiction or a pattern or something.
[0:46] Speaker 2: I don't know.
[0:47] Speaker 1: You think one of these days we'll figure it out.
[0:49] Speaker 2: I don't know. If we're going out, we would have
[0:50] Speaker 2: buy now right.
[0:51] Speaker 1: Maybe we will talk about what happened in the year
[0:54] Speaker 1: nineteen sixty three in just a minute. But first let's
[0:58] Speaker 1: roll the music for better no framework.
[1:07] Speaker 2: All right, dude, what do you got?
[1:08] Speaker 3: Well?
[1:09] Speaker 1: This came from Simon Cropp, who is a font of
[1:12] Speaker 1: all good things, especially in the.
[1:14] Speaker 2: Area of tests at Bexter.
[1:16] Speaker 1: Yeah. He found this tool called xUnit dot Combinatorial Oh,
[1:21] Speaker 1: which is a project from Andrew Arnott on the Visual
[1:24] Speaker 1: Studio Platform team but instead of pointing you to the docks,
[1:28] Speaker 1: which he said are okay, But this particular blog post
[1:32] Speaker 1: by Andrew Locke really talks about it in detail. So basically,
[1:39] Speaker 1: it's a the combinatorial is a weird name but fancy word,
[1:45] Speaker 1: but it's a bunch of features that can make it
[1:47] Speaker 1: easier to generate the test data you need with x
[1:50] Speaker 1: unit nice right, So you can also auto generate parameters,
[1:54] Speaker 1: generate all parameter combinations, or randomly generate values and it's
[1:59] Speaker 1: all with you know, just a simple code you know
[2:04] Speaker 1: theory tests right, and you can use more more attributes
[2:11] Speaker 1: from the combination combinator combinatorial data nice x unit combinatorial. Anyway,
[2:20] Speaker 1: it's really good and there's a lot of examples on
[2:22] Speaker 1: this blog post, so you know, like I said, it's
[2:27] Speaker 1: very easy. Just audit, auto generate permutations and parameters and
[2:32] Speaker 1: custom defined values. Generating values for a single parameter, you
[2:38] Speaker 1: can reduce the number of combinations. So there you go,
[2:42] Speaker 1: know it, learn it, love it. Who's talking to us? Yeah?
[2:45] Speaker 2: I like about that. Do you know what I think
[2:46] Speaker 2: about that particular situation. It's like it's one guy to
[2:49] Speaker 2: write it, but another person to explain it.
[2:51] Speaker 1: Well, enough that you know, how do we want to
[2:53] Speaker 1: use it? Yeah, yeah, yeah, it happens. The two talents
[2:56] Speaker 1: don't necessarily go together.
[2:58] Speaker 2: They don't necessarily go together. Absolutely true. So who's talking
[3:01] Speaker 2: to us today? Richard Graud to comment heal for show
[3:03] Speaker 2: eighteen seventy six, which is back in December twenty three,
[3:05] Speaker 2: when we talk to our friend Laura Belle Maine, who
[3:08] Speaker 2: is a regular conversationalist about security and runs a security
[3:12] Speaker 2: related company. And this was about agile application security, the
[3:16] Speaker 2: idea that you can incorporate security into your workflow, sprint
[3:21] Speaker 2: to sprint, it's not crazy. Don't just try and retrofit it.
[3:24] Speaker 2: At the end, and Rob had this great comedy, says
[3:26] Speaker 2: great show. I especially appreciated discussion centered around making security
[3:29] Speaker 2: easier for the average person and for that matter, the
[3:32] Speaker 2: average developer to implement. So often it has taken that
[3:36] Speaker 2: the cost of security is inconvenience, but I think that
[3:39] Speaker 2: turning this idea on its head and is actually what
[3:42] Speaker 2: needs to happen. In order to get people to do things.
[3:44] Speaker 2: Security must make secure solutions to be the convenience solution. Convenances,
[3:48] Speaker 2: the behavior modification tool need to dimploment better security. I mean,
[3:52] Speaker 2: it's not that convenient about a lock, but you don't
[3:54] Speaker 2: want to give them up. What you would like is
[3:56] Speaker 2: a lock that you can unlock reliably when you want to.
[4:00] Speaker 2: So there's some balance there, I agree, Rob, But it's
[4:05] Speaker 2: good to have the tooling in place. But also, and
[4:08] Speaker 2: I think this is one of the things we talked
[4:09] Speaker 2: about a lot with Laura, was just getting it into
[4:11] Speaker 2: the workflow so that security is never the after.
[4:13] Speaker 3: Yeah.
[4:14] Speaker 2: So Rob, thank you so much for your commented. A
[4:15] Speaker 2: copy of music Coby is on its way to you,
[4:17] Speaker 2: And if you'd like a copy of music go by,
[4:19] Speaker 2: write a comment on the website at dot m Rocks
[4:21] Speaker 2: dot com or on the facebooks publish every show there
[4:23] Speaker 2: and if you comment there and I reading the show,
[4:24] Speaker 2: we'll send you copy of music. O.
[4:26] Speaker 1: All right, shall we talk about the year nineteen sixty three? Sure,
[4:29] Speaker 1: it's a few. Yeah, things that happened in sixty three.
[4:34] Speaker 1: Kennedy assassination, yikes, Vietnam War, it's getting worse. Beatlemania, yeah,
[4:40] Speaker 1: the antidote to the Vietnam War. I guess I remember
[4:43] Speaker 1: Paul McCartney says, yeah, you know, when they were telling
[4:47] Speaker 1: us how to behave in the press, and somebody says,
[4:49] Speaker 1: bring up the Vietnam War. We'd just say, oh, bad woo,
[4:51] Speaker 1: bed war.
[4:52] Speaker 2: That's it. Bet there's any good wars. Yeah, right, bad woo.
[5:01] Speaker 1: Some civil rights things were going on. In sixty three
[5:05] Speaker 1: March on Washington, Martin Luther King delivered his famous I
[5:09] Speaker 1: Have a Dreams speech.
[5:11] Speaker 2: Good speech and then bad war, good speech, good speech.
[5:16] Speaker 1: On the bad side of civil rights. The Sixteenth Street
[5:20] Speaker 1: Baptist Church bombing on September fifteenth, Birmingham, Alabama, killed four
[5:24] Speaker 1: young girls absolutely intensified national outrage and support for the
[5:29] Speaker 1: civil rights movement. Push button telephones, the touchdown, and some
[5:36] Speaker 1: things happened in the nuclear front, right, the Nuclear Test
[5:40] Speaker 1: Band Treaty on October twenty fourth, and the first commercial
[5:44] Speaker 1: nuclear reactor began operation in the US. Anything you want
[5:47] Speaker 1: to say about that.
[5:48] Speaker 2: Richard, Oh, there were so many reactors at that time.
[5:52] Speaker 2: They go back to the fifties, so it depends on
[5:54] Speaker 2: which one we're talking about. But yeah, no, they were
[6:00] Speaker 2: a lot of military related reactors, but then you had
[6:02] Speaker 2: the Westinghouses and the General Electrics building the commercial editions
[6:08] Speaker 2: just to make them reliable. That those were two Gen
[6:12] Speaker 2: one reactors and they were tricky to operate, and they
[6:15] Speaker 2: had very skilled people to operate them, and most part
[6:18] Speaker 2: went well. It's when it grows out over the next
[6:20] Speaker 2: decade that we started to have more problems with.
[6:22] Speaker 1: And was it last week we talked about the integrated circuits.
[6:24] Speaker 1: That was sixty two.
[6:26] Speaker 2: Yeah, we talked a bit about integrated circuits there because
[6:28] Speaker 2: they were struggling still struggling to make them. Then too,
[6:31] Speaker 2: they were part of the equation on the computer front there.
[6:36] Speaker 2: So there's a couple of interesting things. Last week we
[6:39] Speaker 2: talked about the Link computer are really the first personal computer,
[6:42] Speaker 2: but just because you could take one home even though
[6:44] Speaker 2: it was six foot tall. But the following year at DAK,
[6:48] Speaker 2: inspired by that machine, they made the PDP five, which
[6:52] Speaker 2: arguably is the first mass produced mini computer. There were
[6:55] Speaker 2: only over fifty links made, so these were twelve bit
[6:58] Speaker 2: words and you could get between one and up to
[7:00] Speaker 2: thirty two K words of core memory. This is before
[7:05] Speaker 2: you know integrated circuit memory, so you literally have the
[7:08] Speaker 2: little wound fires cores in wound in copper to store stuff.
[7:14] Speaker 2: Came with an editor, assembler or four track compiler and
[7:16] Speaker 2: a debugger for about twenty seven thousand US dollars and
[7:19] Speaker 2: it was a less expensive computer than the PDP four,
[7:23] Speaker 2: which was also a less expensive computer than the PDP one.
[7:26] Speaker 2: So the original machine made by Deck was very expensive,
[7:29] Speaker 2: and so they made a cheaper one, and this was
[7:30] Speaker 2: even cheaper than that, and this machine, the more advanced
[7:33] Speaker 2: version of the PDB five, will become the very famous
[7:35] Speaker 2: PDP eight. One piece of software from nineteen sixty three
[7:42] Speaker 2: is sketch Pad. So this is Ivan Sutherland who was
[7:45] Speaker 2: writing his PhD thesis, and he was really the ancestor
[7:49] Speaker 2: of CAD software of computer aided design and arguably the
[7:52] Speaker 2: very first guy. It ran on the TX two, which
[7:56] Speaker 2: is a completely unique, one of a kind machine from
[7:58] Speaker 2: nineteen fifty eight built in it only lasted about twenty
[8:01] Speaker 2: years or fifteen years, which had sixty four k of
[8:05] Speaker 2: thirty six bit words and you were able to draw
[8:08] Speaker 2: directly on the screen with a light pen. Yeah there
[8:10] Speaker 2: was no mouse yet Nope, that was Xerox part The
[8:13] Speaker 2: mouse is still coming. Yeah yeah, but you know, these
[8:17] Speaker 2: are all the beginning efforts with these early machines, but
[8:19] Speaker 2: also totally bespoke. This was software that ran on exactly
[8:23] Speaker 2: one computer in the world at the time.
[8:26] Speaker 1: Right, Wow, Yeah. Well, I can't wait to go through
[8:28] Speaker 1: the years here leading up to the computer revolution, because
[8:33] Speaker 1: this is this is where it gets exciting, you know.
[8:36] Speaker 2: Yeah, And it's we're pulling these bits and pieces together
[8:39] Speaker 2: and just seeing like that PDP five it's all transistors.
[8:43] Speaker 2: There's not a single I see in it. It's before that. Right, Wow,
[8:47] Speaker 2: good stuff.
[8:48] Speaker 1: All right, stay tuned for more history lessons from Richard
[8:51] Speaker 1: Campbell and myself. But I suppose it's time to talk
[8:56] Speaker 1: to our guest, Michael Howard. So. Michael is a senior
[9:01] Speaker 1: director in the Microsoft Red Team. If you don't know
[9:04] Speaker 1: what a Red Team is, they're the ones that go
[9:06] Speaker 1: and hack. You'll tell you all about it, and the
[9:09] Speaker 1: hackers focused on improving security design and development across Microsoft.
[9:13] Speaker 1: Based on RT findings. He has been at Microsoft for
[9:17] Speaker 1: thirty three years, almost always in security except for at
[9:20] Speaker 1: the start. We're at Microsoft in New Zealand. He supported
[9:24] Speaker 1: Windows three point x, the Windows SDK, and the Microsoft
[9:28] Speaker 1: C compiler. Currently lives in Austin, Texas. Is an avid
[9:32] Speaker 1: scuba diver and life is now much better because his
[9:36] Speaker 1: wife dives now too fantastic, so she didn't scuba dive
[9:42] Speaker 1: FORR The early years of your relationship, is that it?
[9:45] Speaker 3: Well, I've been diving since ELA's seven. Oh well, okay,
[9:49] Speaker 3: so no, she was absolutely terrified of diving. She felt
[9:54] Speaker 3: very claustrophobic and also like, I live in Austin, so
[9:58] Speaker 3: the closest lake to us for die thing is Lake Travis.
[10:00] Speaker 3: And honestly, the only nice thing about Lake Travis is
[10:02] Speaker 3: it makes every single diving destination looks so much better.
[10:08] Speaker 3: It's just a light.
[10:09] Speaker 2: Not that much diving in Texas really, No.
[10:11] Speaker 3: Actually, there actually is. Actually there's a yeah Travis. Some
[10:14] Speaker 3: of the lakes are really commonly dived. And there's also
[10:18] Speaker 3: abandoned nuclear rocket silo in West Texas called Valhalla, which
[10:25] Speaker 3: I plan on diving this year as well. Its about
[10:27] Speaker 3: one hundred and twenty feet down. How many rads hopefully zero?
[10:33] Speaker 4: There's not a game of fallout, you know, you should
[10:35] Speaker 4: check that out first, take it out.
[10:37] Speaker 1: That's right.
[10:39] Speaker 3: But yeah, it's funny. When my wife got her her certification,
[10:42] Speaker 3: she refused to do it in Lake Travis. So she
[10:44] Speaker 3: flew with a girlfriend to the Virgin Islands. Oh nice,
[10:47] Speaker 3: did a certification there instead?
[10:49] Speaker 2: You find some warm water to swim around in, right, Yeah.
[10:52] Speaker 3: Absolutely, she's a blue water princess.
[10:54] Speaker 2: Yeah.
[10:55] Speaker 1: There so a couple of things RTI Red Team. So
[11:00] Speaker 1: tell me about the Microsoft Red Team. I know what
[11:02] Speaker 1: red teams are because I do a podcast with two
[11:04] Speaker 1: guys on our Red Team about security security this week.
[11:08] Speaker 1: But tell us what the Microsoft Red Team does. Yeah.
[11:11] Speaker 3: We you know, we're basically treated as a real threat
[11:14] Speaker 3: actor in every possible way you could consider that. Nothing's
[11:19] Speaker 3: else on the table except JA. That's good. That's actually
[11:22] Speaker 3: a very good point. There's a story. There's a story
[11:25] Speaker 3: I can probably tell you there about I don't want
[11:27] Speaker 3: to get it, only very careful what I say here,
[11:30] Speaker 3: But I remember showing something on a on a on
[11:32] Speaker 3: a session and someone said, oh you could you know
[11:35] Speaker 3: you can get fired because of that. And then this
[11:38] Speaker 3: friend of mine who's also on the Red Team, colleague
[11:40] Speaker 3: of mine, chimed up and said, well, actually know he's
[11:42] Speaker 3: on the Red team. He can get out of get
[11:44] Speaker 3: a raise. Yeah, the Red Team is really kind of interesting, right.
[11:50] Speaker 3: So our job is ultimately we start off with an objective,
[11:53] Speaker 3: whatever that objective is, and we go for it. And
[11:57] Speaker 3: that's a I mean whatever it takes to get to
[11:58] Speaker 3: that objective. And a big part that I'm involved with
[12:03] Speaker 3: is the readouts as I look at what actually happened,
[12:07] Speaker 3: what was actually done, all the steps along the way,
[12:11] Speaker 3: and so okay, so what was the for example, the beachhead,
[12:14] Speaker 3: you know, what got the Red team into the environment
[12:16] Speaker 3: and where did they go from there? And how did
[12:18] Speaker 3: they get there? Was it a security vulnerability? Was it,
[12:21] Speaker 3: you know, like from a code level perspective, or was
[12:23] Speaker 3: it a week commission on something? Was it insecure this
[12:27] Speaker 3: that and the other? Was it a combination of things?
[12:29] Speaker 3: The whole point is for me to learn those things
[12:31] Speaker 3: and then turn that into appropriate material for inside of Microsoft,
[12:35] Speaker 3: and eventually we'll make a lot of that available outside
[12:38] Speaker 3: Microsoft as well. But we're starting internally obviously.
[12:40] Speaker 1: Are you primarily focused on Azure because I know that
[12:43] Speaker 1: that's kind of where you where you live, But what
[12:46] Speaker 1: about internal offices and things like that?
[12:49] Speaker 3: Yes?
[12:50] Speaker 1: Both, Yes, I'll just leave it at that.
[12:52] Speaker 3: Nothing's off the table, nothing's on the table at all.
[12:55] Speaker 3: What's that's kind of interesting is the Red Team. Now.
[12:58] Speaker 3: The Microsoft Red Team is really a sort of conglomeration
[13:01] Speaker 3: of multiple Red teams that existed across Microsoft, now reporting
[13:05] Speaker 3: under one essentially management chain, essentially on the Scott gu three.
[13:10] Speaker 3: Ultimately if those cuts you know, primarily Asia, I mean
[13:13] Speaker 3: he obviously Windows rolls up there as well.
[13:15] Speaker 1: Right, Penetration tests are kind of expensive. Do you do
[13:18] Speaker 1: them around the clock?
[13:20] Speaker 3: We do so. So pen testing is not red teaming, right,
[13:22] Speaker 3: I mean pent testing is you almost say, hey, I
[13:25] Speaker 3: want you to go and you know, kick the you
[13:27] Speaker 3: know what out of this product, right. Red Team starts
[13:30] Speaker 3: from an objective and objective yeah, oh yeah, we don't
[13:35] Speaker 3: tell anybody. We don't tell anybody. You know, we want
[13:38] Speaker 3: to create tokens or we want to air quotes, steal
[13:42] Speaker 3: money from something whatever. Right, that's the objective. And whoever
[13:46] Speaker 3: we trample along the way get strampled along the way.
[13:50] Speaker 3: Whereas pen testing is quite different. It's like, you know, hey,
[13:53] Speaker 3: find bugs and share point online, find bugs in I
[13:57] Speaker 3: S or find bugs and.
[13:58] Speaker 1: Dot it find vulnerabildings.
[14:00] Speaker 3: Yeah, quite different.
[14:01] Speaker 1: So the difference is a pentest they ask you to
[14:04] Speaker 1: do X. In Red Team, they don't even know what
[14:06] Speaker 1: you're up to. You're just hack hack hack hack.
[14:09] Speaker 3: Yeah, and you know we'll leaven, not just like attackers. Right,
[14:13] Speaker 3: So if we are detected, we will you know, change
[14:18] Speaker 3: course and we will try to will try to obfuscate,
[14:21] Speaker 3: if me deleting logs or whatever, We'll do it whatever
[14:24] Speaker 3: needs to be done right, and you know, it's a
[14:27] Speaker 3: beautiful thing.
[14:27] Speaker 2: Really.
[14:28] Speaker 1: I asked Twayne Laflatte, who's the head of the Red
[14:32] Speaker 1: Team at Pulsar Security, where then I do the podcast with?
[14:36] Speaker 1: I asked every once in a while, like, do you
[14:38] Speaker 1: ever get asked, why aren't you a criminal? You know,
[14:42] Speaker 1: you know all this stuff you can get, you know
[14:44] Speaker 1: how to get it. He's always giving away criminal career advice,
[14:48] Speaker 1: you know, and he says, because I'm a good human. Duh.
[14:54] Speaker 3: Yes, it's interesting. I mean, you know a lot of
[14:55] Speaker 3: people that I work with, I mean it's the same thing.
[14:58] Speaker 3: I mean, they're incredibly nice people, like truly nice people,
[15:02] Speaker 3: but they just have this way of thinking about things
[15:08] Speaker 3: that a lot of people don't. There's an analogy I
[15:11] Speaker 3: like to give. You. Even heard the story right where
[15:14] Speaker 3: people said, you know, we'll only make things more secure
[15:16] Speaker 3: when we get more people thinking like attackers. Well, my
[15:18] Speaker 3: argument is you can't do that unless you are one.
[15:22] Speaker 3: And the example I gave because I mentioned this to
[15:24] Speaker 3: my wife, this is years ago. We were some word
[15:26] Speaker 3: I don't know where it was, I mean camera to
[15:28] Speaker 3: this ATM machine and it said hey on the screen,
[15:32] Speaker 3: it said, hey, hey, if this temper evident tape is
[15:34] Speaker 3: tampered with, don't use the device. And I said to
[15:37] Speaker 3: my wife, said, do you think that's a good thing?
[15:38] Speaker 3: So well, I don't know what it's even protecting against.
[15:41] Speaker 3: And I said, well, so you know, quick, give her
[15:42] Speaker 3: a quick skimming one oh one, and it's a magnificent difference.
[15:47] Speaker 3: And that's stupid. She said, what do you mean, Well,
[15:49] Speaker 3: don't you think the criminals can make their own temper
[15:51] Speaker 3: evident tape number one number two? It's actually worse than that.
[15:55] Speaker 3: I can knock out every single ATM in town. So
[15:58] Speaker 3: what do you mean, I still just take my pocket
[15:59] Speaker 3: knifeound just every single piece of.
[16:01] Speaker 2: Type, start cutting the tape.
[16:02] Speaker 3: Yeah, so I'm using the defense against yourself. It's like,
[16:04] Speaker 3: how did you even think of that?
[16:06] Speaker 2: Because ease e.
[16:09] Speaker 1: But you have to have an evil mind.
[16:13] Speaker 3: You have to think, oh I would I would consider
[16:15] Speaker 3: myself I don't know, probably chaotic good, Okay, Yeah.
[16:19] Speaker 2: It's a contrarian mind, just to think of the opposites
[16:22] Speaker 2: of things too. I did a show on run As
[16:25] Speaker 2: not that long ago, maybe I'll just go back in
[16:27] Speaker 2: May with your ideogenous who did a book on how
[16:29] Speaker 2: to get a career in cybersecurity, excellent book and the
[16:32] Speaker 2: thing and he talked about the fact that, you know,
[16:34] Speaker 2: most things insecurity are teachable. The thing that isn't teachable
[16:37] Speaker 2: is this sort of insatiable curiosity to just keep wanting
[16:41] Speaker 2: to pay poke away things, try a different way, keep
[16:44] Speaker 2: on pressing. If you don't have that, this isn't the
[16:47] Speaker 2: job for you.
[16:50] Speaker 3: Whenever I'm interviewing people, one of the things I do
[16:52] Speaker 3: look for is that fire in the belly. Right, It's
[16:55] Speaker 3: that passion to learn, that passion to dig deeper. I
[16:59] Speaker 3: don't know you. I'm you guys probably the same as me.
[17:01] Speaker 3: Right when I was a little kid, I was the
[17:02] Speaker 3: guy in the corner of reading encyclopedias, you know I was.
[17:05] Speaker 1: I was taking apart my tape recorders and trying to
[17:07] Speaker 1: put them back together unsuccessfully.
[17:10] Speaker 3: Right, But you learned a lot right getting.
[17:12] Speaker 1: Whacked by my mother. M Yeah, I learned that I
[17:14] Speaker 1: probably shouldn't take my taper. Yeah, can I have another one?
[17:22] Speaker 2: I might have made my tape recorder explode. Actually that's
[17:25] Speaker 2: probably worse.
[17:27] Speaker 4: Oh, the stuff I the thermite substitute for batteries.
[17:32] Speaker 3: So I got to actually got an explosion story there.
[17:34] Speaker 3: When I was a kid, I went to that, this
[17:35] Speaker 3: is New Zealand. I went to the local chemist and
[17:37] Speaker 3: of course I went, hey, can I get some you know,
[17:40] Speaker 3: carbon potassium? I said, saltpeter and sulfur. The guy's like, come.
[17:45] Speaker 1: On making gunpowder?
[17:47] Speaker 3: It is like but you know what he said though,
[17:49] Speaker 3: He said, I've got two options. I can send you
[17:51] Speaker 3: on your on your way, but you're gonna.
[17:53] Speaker 1: Do it anyway.
[17:54] Speaker 3: Or I can show you how to do it safely.
[17:58] Speaker 3: And he showed me how to do it safely.
[17:59] Speaker 2: Nice.
[18:00] Speaker 1: Wow, that's good. Yeah, don't ask about explosion stories your fingers.
[18:04] Speaker 2: You know. I told the thermiting the old server so
[18:08] Speaker 2: that we ended up with funky jewelry and a memory
[18:11] Speaker 2: story the other day. Yes, and it was a bad
[18:16] Speaker 2: child that it was a practical end for a server
[18:19] Speaker 2: that everyone hated. Well, I was talking about your teenager
[18:23] Speaker 2: or the other the many other expos in this day
[18:25] Speaker 2: and age. I just be labeled as a terrorist, probably
[18:29] Speaker 2: Canadian polite tarress. What I was was under supervised, clearly, all.
[18:35] Speaker 1: Right, So what did you come here and talk about?
[18:38] Speaker 1: Because we could. We could talk about this stuff all day.
[18:41] Speaker 3: Mm hmm, yeah, I mean, I mean it's in my background.
[18:44] Speaker 3: That's you know, sort of mentioned in the brief bio
[18:46] Speaker 3: at the beginning. IS is essentially security however, is an
[18:53] Speaker 3: interesting topic, right because I originally started when I moved
[18:56] Speaker 3: to Redmond from from New Zealand. I got a job
[19:01] Speaker 3: in IIS and the web server intet Information Internet's information
[19:04] Speaker 3: server as it was then now at Services, but same difference,
[19:10] Speaker 3: and I eventually took on the role as the security
[19:13] Speaker 3: PM in IS. Three. I know, you guys are going
[19:17] Speaker 3: to start giggling to yourself, and I sort of mentioned
[19:19] Speaker 3: this stuff.
[19:19] Speaker 2: Now that made a lot of money off the challenge
[19:22] Speaker 2: in there.
[19:23] Speaker 1: There's a challenge to keep that secure.
[19:26] Speaker 3: There's so many stories. When I retire, I think I'll
[19:28] Speaker 3: write a book on it.
[19:30] Speaker 2: But three four you've already written a bunch of books there,
[19:33] Speaker 2: I have.
[19:33] Speaker 3: I have, that's right, yeah. But I three four, five
[19:37] Speaker 3: were interesting, right because they were full of security features,
[19:39] Speaker 3: especially five five was full of security features. We had
[19:42] Speaker 3: Cerbros integration, we had certificate services. I think it may
[19:46] Speaker 3: have been actually the first web server that did serve
[19:49] Speaker 3: aside certificate revocation of client certificates. I think it was
[19:53] Speaker 3: the first one. We're really hardcore actually about that if
[19:57] Speaker 3: we couldn't reach the crill distribution point. But that's all
[20:00] Speaker 3: whole nother discussion. But you know, did they have security features? Yeah,
[20:03] Speaker 3: had a ton of security features, But were they secure features, right,
[20:07] Speaker 3: ann answers potentially No.
[20:09] Speaker 1: I remember path traversal was a problem.
[20:13] Speaker 3: Yeah, a canonicalization, right, Colonicalization was was a huge problem
[20:17] Speaker 3: and we even saw it in in dartn Air, right,
[20:21] Speaker 3: there was an anti cross site scripting library, right, and
[20:25] Speaker 3: up being so many ways around it that we just thought,
[20:28] Speaker 3: we just can't maintain this, right, And so yeah, I could.
[20:32] Speaker 3: I could talk forever about colonicalization problems. I'm a big, big,
[20:37] Speaker 3: big fan of canonicalization. In fact, canonicalization or two tokens
[20:42] Speaker 3: kind of worry me. But that's a whole nother discussion
[20:44] Speaker 3: where you basically doing string comparisons to make access decisions.
[20:48] Speaker 3: Is there a more than one way of representing something
[20:50] Speaker 3: that's valid that you're not looking for? But so, yeah,
[20:54] Speaker 3: I mean so I S three, four, five, especially five.
[20:57] Speaker 3: Lots of security features, but not particularly secure features, said Carl.
[21:00] Speaker 3: Canonicalization pas traversal were big ones, and so I ended
[21:06] Speaker 3: up learning a lot from that, and at that point,
[21:08] Speaker 3: you know, my my career kind of pivoted from security
[21:13] Speaker 3: features to securing features, and that's where I really got
[21:17] Speaker 3: stuck into lower level memory corruption issues in C C
[21:21] Speaker 3: plus plus again, canonicalization problems across the scripting. Sequel injection,
[21:27] Speaker 3: I mean, sequel injection basically kind of happened around I
[21:32] Speaker 3: S three fourish guy Rainforest Puppy r f P M
[21:37] Speaker 3: getting an email from him saying, hey, look what I discovered,
[21:39] Speaker 3: and that became sequel injection. In fact, I've spoken a
[21:43] Speaker 3: couple of times to RFP since since.
[21:46] Speaker 1: They're still still like number one on the list, isn't
[21:48] Speaker 1: it sequel injection?
[21:49] Speaker 2: It's down to three facts in the top ten?
[21:52] Speaker 1: Is still in the top ten.
[21:54] Speaker 2: It sat there for so long.
[21:56] Speaker 3: We know how to solve we know how to solve this.
[21:58] Speaker 2: Yeah, it's a totally solved problem, and it just doesn't
[22:00] Speaker 2: get away.
[22:01] Speaker 3: Yeah. And so the question is why, right, why people
[22:05] Speaker 3: keep making those mistakes, And honestly, it's because they just
[22:08] Speaker 3: don't know. I mean, this is an interesting thing, right.
[22:12] Speaker 3: One of the definitions of a secure system is a
[22:15] Speaker 3: system that does what it's supposed to do with nothing else. Right. Well,
[22:18] Speaker 3: if you build some code that does sequally stuff right
[22:22] Speaker 3: and you do stren cocaatenation for your sequel statements, is
[22:27] Speaker 3: it going to solve the business problems? Yes, it is, right,
[22:29] Speaker 3: it's just going to work. But it's the injection part
[22:32] Speaker 3: that is the or, you know, the something else. You know,
[22:36] Speaker 3: A secure system is the one that does what it's
[22:38] Speaker 3: supposed to do with nothing else. But is that something
[22:40] Speaker 3: else that makes it insecure? It solves all your business problems,
[22:44] Speaker 3: but it's insecure at the same time, and people don't
[22:46] Speaker 3: realize it until they start, you know, running tools over
[22:49] Speaker 3: it or someone you know, compromises the environment.
[22:52] Speaker 1: Richard and I used to do a talk together at
[22:55] Speaker 1: various conferences about, you know, walking through sort of the
[22:59] Speaker 1: history of inner services, and he made a good point
[23:03] Speaker 1: about saying that iis is like whatuld you call it,
[23:07] Speaker 1: like a Swiss army knife with all the blades out.
[23:09] Speaker 1: The Swiss army knife with every blade out was yeah,
[23:13] Speaker 1: whereas you know.
[23:15] Speaker 2: Well node was the ultimate opposite. Yeah, no, there are
[23:17] Speaker 2: no blades. You have to go get each blade right.
[23:20] Speaker 1: That's right, everything's off by default.
[23:22] Speaker 3: Right, yeah, but same with I six though, yeah, by six,
[23:25] Speaker 3: So that's where we made a huge change, right, right,
[23:27] Speaker 3: So his code name was Kevlar, and there was a
[23:29] Speaker 3: reason for it being kevl Right. We rewrote huge swaths
[23:34] Speaker 3: of code, especially string handling and also kind oftilization was
[23:39] Speaker 3: all centralized. We also changed the design, and one of
[23:41] Speaker 3: the biggest designs was that IS five, Like you say,
[23:44] Speaker 3: it was a Swiss army knife with all the blades
[23:45] Speaker 3: and screwdrivers and what have you sticking out. I six
[23:49] Speaker 3: was the opposite, right, basically ran essentially nothing and you
[23:53] Speaker 3: had to opt in for most of the services and
[23:55] Speaker 3: I seven, which I could even further by opting in
[23:58] Speaker 3: for specific h GDP verbs, especially the web dev stuff.
[24:03] Speaker 1: Right, yeah, it's just cool out I remember it.
[24:05] Speaker 2: Well.
[24:05] Speaker 1: We learn, you know, from each other and evolve together.
[24:09] Speaker 3: It was a huge baptism.
[24:10] Speaker 2: Well and in the early days of I S it
[24:12] Speaker 2: was about making it easier for developers. You didn't really
[24:14] Speaker 2: know that much about web development to make things work.
[24:18] Speaker 3: And and that was Jay Allen's impact, right, I mean
[24:20] Speaker 3: Jay ran the project and he was a big you know,
[24:23] Speaker 3: let's get everything onto the web, especially I S. I know, look,
[24:30] Speaker 3: I understand that. I totally understand that. But at the
[24:33] Speaker 3: same time, you know, if you start turning stuff off
[24:36] Speaker 3: by default, it is going to provide some kind of impedance.
[24:39] Speaker 1: Yeah, you're also not just interested in server stuff, but
[24:43] Speaker 1: in code security in general, right, like correct avoiding vulnerabilities
[24:49] Speaker 1: like buffer overruns and things which admittedly aren't so much
[24:51] Speaker 1: of a problem in a managed language like C sharp,
[24:55] Speaker 1: but certainly in C C plus plus those are still issues.
[25:00] Speaker 3: Huge issue. In fact, I'm working on another book now
[25:05] Speaker 3: with some friends, with some colleagues, and one of the
[25:08] Speaker 3: chapters is going to be exactly that, like reconsidering the
[25:11] Speaker 3: role of C and C plus plus.
[25:13] Speaker 1: Now.
[25:13] Speaker 2: The only reason, well, this is this what Rassinovich was
[25:16] Speaker 2: talking about, Like you have to justify writing exactly.
[25:19] Speaker 3: So racinovert Well it's not just Rescinovi, it's also Dave
[25:21] Speaker 3: Western writing windows. So the three of us was talking
[25:26] Speaker 3: at length about about this. And look, I have worked
[25:32] Speaker 3: in C since I was sixteen. Wow, let's just say
[25:38] Speaker 3: that was a few years ago. You know, as I mentioned,
[25:43] Speaker 3: you know in the Buyer at the beginning, right, one
[25:44] Speaker 3: of my well, my first job at Microsoft was in
[25:46] Speaker 3: part supporting the Microsoft C compiler it was C version
[25:49] Speaker 3: four back in the day. But what's interesting is I've
[25:55] Speaker 3: you know, I've had a huge I have a huge
[25:57] Speaker 3: love affair with C and C plus plus. I love
[25:59] Speaker 3: both languages, absolutely, adore both languages. See is probably the
[26:03] Speaker 3: language that I can write without even thinking. It just
[26:07] Speaker 3: spews out onto the keyboard. You know. The problem though,
[26:12] Speaker 3: is that it's too easy to have undefined behavior in
[26:17] Speaker 3: both languages. And remember that before, you know, definition of
[26:20] Speaker 3: a secure system is a system that does what it's
[26:22] Speaker 3: supposed to do with nothing else. A more academic representation
[26:26] Speaker 3: of that is a system that exhibits no undefined behavior. Well,
[26:31] Speaker 3: ce on C plus plus has got plenty of undefined
[26:33] Speaker 3: behavior when it comes to the corruption memory safety. So
[26:37] Speaker 3: cal you said buffer overruns, but that's only just one.
[26:40] Speaker 1: That's just one.
[26:40] Speaker 3: Yeah, that's one, right. The whole gamut is essentially memory safety.
[26:45] Speaker 3: I know that there's a lot of work going on
[26:47] Speaker 3: in the C plus plus committees right now around this
[26:49] Speaker 3: thing is called profiles, to basically say, here is the
[26:53] Speaker 3: subset of the language that we will we will enforce.
[26:57] Speaker 3: For example, let's say you have a C array, maybe
[27:02] Speaker 3: a vector as well. But let's say in an array
[27:04] Speaker 3: by C array. I don't mean a sorry, a C
[27:07] Speaker 3: plus plus array. I don't mean a C array. But
[27:10] Speaker 3: if you've got a C plus plus class that's an
[27:12] Speaker 3: array and you use just the index operator, you know,
[27:16] Speaker 3: square brackets eye, that is not bounce checked. But if
[27:21] Speaker 3: you do dot at I, then that is bounce checked.
[27:25] Speaker 3: So you may have in the profile. We will only
[27:28] Speaker 3: allow iterators to use dot at and not just the
[27:32] Speaker 3: array and the normal array index that we used to
[27:35] Speaker 3: so that there's that that works. But the problem is
[27:38] Speaker 3: there is so much in C plus plus code out there.
[27:42] Speaker 3: Are you really going to re engineer it and refactor it?
[27:45] Speaker 3: I don't I don't know.
[27:47] Speaker 2: No, you're not well. If you are, you're not going
[27:49] Speaker 2: to stay there, You're going to go elsewhere.
[27:50] Speaker 3: So the word, you know, so the word from on
[27:52] Speaker 3: high in as you're at least, and this is from Ricinovich,
[27:56] Speaker 3: is new code must be written using memory save language.
[28:01] Speaker 3: That could be RUSS, could be see sharp, could be go.
[28:05] Speaker 3: You know, we saw typescript typescript compiler written and go.
[28:09] Speaker 2: I mean, there is managed C plus plus, but does
[28:11] Speaker 2: anybody use it.
[28:12] Speaker 3: I don't know of anybody using.
[28:13] Speaker 2: It, or is it actually safe.
[28:15] Speaker 3: Honestly, I haven't really used it. I found the syntax
[28:19] Speaker 3: very funky.
[28:21] Speaker 2: Yeah, and yeah, you know, this is what happened to
[28:23] Speaker 2: me with VB dot net. I was a good VB programmer.
[28:26] Speaker 2: I was very happy dot net comes along. VB dot
[28:28] Speaker 2: net makes me mental because I have VB reflexes, and
[28:32] Speaker 2: so I switched to C sharp because at least I
[28:33] Speaker 2: know for sure it's not VB.
[28:35] Speaker 1: Yeah point.
[28:36] Speaker 3: Yeah.
[28:36] Speaker 1: So it took me a while, but I got over
[28:38] Speaker 1: to Yeah.
[28:39] Speaker 3: So, you know, Perisenovitch new stuff must be written in
[28:42] Speaker 3: memory safe language.
[28:43] Speaker 2: And I know Dave West, I think he said it.
[28:45] Speaker 2: You have to justify not writing in a memory safe language.
[28:48] Speaker 3: Yeah, correct, Yeah, that's that's that's the more accurate statement.
[28:52] Speaker 2: Yeah. Yeah, well he's pretty careful to not talking in absolutes.
[28:55] Speaker 3: Mister, what was the confidence for computing? But other than that, okay, no,
[29:04] Speaker 3: it's look I again. For me, it's really difficult. I
[29:08] Speaker 3: love seeing C plus plus, I love both languages. Look,
[29:11] Speaker 3: and I realize that C plus plus can get pretty upteous. Sometimes.
[29:13] Speaker 3: Everyone likes showing the you know, the crazy you know
[29:17] Speaker 3: C plus plus code, you know, try and work out
[29:19] Speaker 3: what the heck. There's things doing. I get that, but
[29:23] Speaker 3: I love cea Sharp for you know, my my general
[29:26] Speaker 3: rule of thumb is this, and this is my general
[29:27] Speaker 3: rule of thumb is if you're writing something new sea sharp, However,
[29:33] Speaker 3: if you need something where you can't incur the cost
[29:36] Speaker 3: of the garbage collection or the the unpredictability of the
[29:41] Speaker 3: garbage collector especially on a server, than Rust. I'm a
[29:44] Speaker 3: huge fan of Russ. I love Russ. I love Rust
[29:47] Speaker 3: to death.
[29:47] Speaker 2: And it does seem to strike that balance between I'm
[29:50] Speaker 2: quite low level and deterministic in what I'm going to do,
[29:54] Speaker 2: but I'm also memory safe.
[29:55] Speaker 3: Correct. The downside of Russ is learning it. It is
[29:59] Speaker 3: a very difficult language to learn. I am some years ago,
[30:05] Speaker 3: about two years ago now, I gave a presentation inside
[30:07] Speaker 3: of Microsoft called a lap around Rust, and it's basically
[30:10] Speaker 3: a one hour session, just a quick hey, you never learned,
[30:13] Speaker 3: never know anything, know nothing about Russ. Watch this talking
[30:16] Speaker 3: about visual studio code blah blah blah blah. One half
[30:19] Speaker 3: of the presentation is just on the borrow checker in Rust,
[30:24] Speaker 3: because that's what causes most of the pain. And the
[30:28] Speaker 3: first slide of that is, you know, if you're writing
[30:32] Speaker 3: Russ for the first two to four weeks, you're going
[30:34] Speaker 3: to be you know, punching the screen because of the
[30:37] Speaker 3: borrow checker, because of the way it works, and it
[30:41] Speaker 3: drives people bonkers. But once you get over that learning hump,
[30:43] Speaker 3: it's actually it's a beautiful language to learn, and you know,
[30:47] Speaker 3: nice ecosystem and very good standard library.
[30:50] Speaker 1: Yeah, well, this seems like a good place to take
[30:53] Speaker 1: a break. So we'll be right back after these very
[30:55] Speaker 1: important messages. And as a reminder, if you don't want
[30:57] Speaker 1: to hear these ads, you can pay five bucks a
[31:00] Speaker 1: month to become a patron Patreon dot dot and Aarox
[31:03] Speaker 1: dot com. You get an ad free feed. We'll be
[31:06] Speaker 1: right back. Did you know there's a dot net on
[31:08] Speaker 1: aws community. Follow the social media blogs, YouTube influencers and
[31:13] Speaker 1: open source projects and add your own voice. Get plugged
[31:17] Speaker 1: into the dot net on aws community at aws dot
[31:21] Speaker 1: Amazon dot com, slash dot net. And we're back. It's
[31:28] Speaker 1: dot in Aros. I'm Carl, that's my friend Richard Campbell, hey,
[31:31] Speaker 1: and our friend Michael Howard, and we're talking code security
[31:35] Speaker 1: and one thing that has become very evident to me,
[31:39] Speaker 1: doing you know, a weekly podcast on vulnerabilities and hacks
[31:43] Speaker 1: that have happened the week before. Is that most of
[31:47] Speaker 1: these aren't technical vulnerabilities. Most of them. Most of the
[31:52] Speaker 1: attacks anyway, are from social engineering, and that is just
[31:58] Speaker 1: a whole another ball away. But it's the first line
[32:01] Speaker 1: of defense and security is the user. Don't click the
[32:05] Speaker 1: freaking link in the email or the text message, you know.
[32:08] Speaker 3: Yeah, I mean I usually get emails from my father
[32:11] Speaker 3: in law, yeah, saying you know, is this legit? My
[32:16] Speaker 3: answer was always the same. If you're asking me the question,
[32:18] Speaker 3: then the answer.
[32:18] Speaker 2: Is no, you already know the answer.
[32:22] Speaker 3: That's right. I get ones that everyone's in a while
[32:25] Speaker 3: from my wife as well, but I mean, yeah, the
[32:27] Speaker 3: work that's going on, certainly Microsoft, I'm sure other companies
[32:29] Speaker 3: as well, you know, in the various UIs to mitigate things.
[32:33] Speaker 3: One of my favorites actually was was added to Office
[32:36] Speaker 3: years ago, which was to run the you know, the
[32:39] Speaker 3: process at low integrity level by default, which is really nice. Well,
[32:46] Speaker 3: I don't know how technical you guys want to get,
[32:48] Speaker 3: but from my perspective, it was a magnificent defense. It
[32:51] Speaker 3: assumes that the document, whether it's a PowerPoint, Excel or
[32:54] Speaker 3: doc file, whatever, it assumes it's malicious and runs it
[32:58] Speaker 3: in this this essentially a a low integrity sandbox. So
[33:02] Speaker 3: it does blow up the potential damage. I'm not saying
[33:05] Speaker 3: it's completely mitigated, but it's certainly less. And you got
[33:10] Speaker 3: to do things like that, right, You've got to assume
[33:11] Speaker 3: that the users going to click on things and open
[33:14] Speaker 3: things and all that sort of stuff, And so how
[33:16] Speaker 3: do you mitigate the damage.
[33:19] Speaker 2: Yeah, yeah, we're in the admin's side. Our line is
[33:21] Speaker 2: always be more careful next time. Is not a strategy, right, yeah, right,
[33:26] Speaker 2: it's not that the guy clicked on it, it's that
[33:28] Speaker 2: anything happened when he did.
[33:30] Speaker 1: Yeah, and just that advice be careful, Well, what does
[33:33] Speaker 1: that mean? Does that mean don't ever click on anything?
[33:36] Speaker 1: Does that mean never go to websites? Does that mean
[33:38] Speaker 1: cut off your hands and live in a box? Thanks
[33:41] Speaker 1: Roy Blake for that one. You know, it's hard to tell.
[33:43] Speaker 1: Just be careful.
[33:44] Speaker 3: That's terrible advice, to be honest, it's terrible. Yeah, I
[33:48] Speaker 3: mean humans is going to do what humans going to do, right,
[33:51] Speaker 3: I mean they can click on that. I mean one
[33:52] Speaker 3: of one of my favorite and I gotta be careful,
[33:55] Speaker 3: I say here, but I was working doing some work
[33:57] Speaker 3: with a defense contractor and they got hit with a
[34:02] Speaker 3: pretty serious attack. And the attack actually came through a
[34:08] Speaker 3: very senior person within the organization, and it's basically a
[34:12] Speaker 3: zero day in Acrobat. But the reason why she opened
[34:16] Speaker 3: it is because the message was about knitting interesting and
[34:22] Speaker 3: she was an.
[34:23] Speaker 2: Avid knitter, so very good targeting.
[34:26] Speaker 3: And so she just opened the dark the PDF and
[34:28] Speaker 3: that was it. That was the beach air. Yeah, there's
[34:32] Speaker 3: always going to be something that you're gonna click on.
[34:36] Speaker 3: We can pontificate and say how awesome we are, but
[34:39] Speaker 3: I can guarantee all three of us there's something we
[34:41] Speaker 3: will click on.
[34:41] Speaker 2: Yep, you're gonna make them and you are just gonna
[34:44] Speaker 2: have a moment of weakness. You're gonna have a mistake
[34:45] Speaker 2: at some point.
[34:46] Speaker 3: And that's why I'm a huge fan of these sort
[34:49] Speaker 3: of mitigations around assuming that whatever you click on is
[34:52] Speaker 3: going to blow up, and you know, what can you
[34:55] Speaker 3: do to mitigate that? And we spend a lot of
[34:57] Speaker 3: time in Windows especially on that.
[34:58] Speaker 1: There's some ideas that we've thrown around. One of them
[35:02] Speaker 1: is to have a separate VM where all your email
[35:04] Speaker 1: comes through and all your Internet goes in and out
[35:07] Speaker 1: of the problem then is Okay, if you do have
[35:10] Speaker 1: to communicate with some data and some files and stuff,
[35:12] Speaker 1: now you've got to get them around safely without infecting
[35:16] Speaker 1: each system. But that's not an insurmountable problem.
[35:19] Speaker 3: You know, it's funny you bring that up.
[35:21] Speaker 1: You can do a little file Zilla, you know, a
[35:23] Speaker 1: little FTP, you could do that.
[35:26] Speaker 3: It's funny you bring that up. That was actually thrown around.
[35:28] Speaker 3: I want to say fifteen twenty years ago, I was
[35:31] Speaker 3: a meeting with Gates where Butler lamps and actually threw
[35:34] Speaker 3: out this idea of I think you got a red green,
[35:38] Speaker 3: a red VM and a green VM. Yeah, that's exactly
[35:41] Speaker 3: what it was. Yeah. Wow, But back then, I mean
[35:45] Speaker 3: vms were super duper heavy as well, and it's releatant.
[35:47] Speaker 3: Then there were performance impacts. I think we're in a
[35:50] Speaker 3: much better position today. But you know, when you know Microsoft,
[35:54] Speaker 3: if you're doing administration and VAS, you're at the back end,
[35:56] Speaker 3: you can't do it from your machine. You're not allowed, no, right,
[35:59] Speaker 3: you run it from my secure access workstation. That is
[36:02] Speaker 3: very limited in what it can do on purpose.
[36:06] Speaker 1: Yeah, do you remember, Richard, we had we interviewed a
[36:08] Speaker 1: guy on dot net rocks. It was a little at NBC,
[36:12] Speaker 1: I think, and he had discovered how to hack dot
[36:17] Speaker 1: net apps and this was dot net framework, Windows and stuff.
[36:21] Speaker 1: He could get into memory and change things around, and
[36:25] Speaker 1: he had developed a tool to do this, and he
[36:28] Speaker 1: gave the tool away for free, and then he sold
[36:31] Speaker 1: an anti tool to procure.
[36:34] Speaker 2: John McCoy is who you're talking about.
[36:36] Speaker 1: Yeah, to protect yourself from it. I just remember Richard
[36:39] Speaker 1: and I were horrified. We didn't know anything about this
[36:42] Speaker 1: before we started talking, and then it was like that's evil,
[36:45] Speaker 1: you know.
[36:46] Speaker 3: But yeah, I remember this is some time ago and
[36:52] Speaker 3: there was a company who, well, that should't work, No,
[36:56] Speaker 3: I don't, but they came up with the wh They
[36:58] Speaker 3: came up with a white paper that showed how US
[37:00] Speaker 3: snaffle private keys out of memory and iis TLS TLS certificates.
[37:07] Speaker 3: But if you bought their hardware, then the key stayed
[37:10] Speaker 3: in the hardware. This is before HSM's working hardware security
[37:13] Speaker 3: models were a thing, and they have one of the
[37:14] Speaker 3: first ones.
[37:15] Speaker 1: But meanwhile, we're going to teach you how to Yeah,
[37:17] Speaker 1: we're going.
[37:18] Speaker 3: To give you if you buy a device for two
[37:19] Speaker 3: thousand dollars. And then it is kind of funny that
[37:22] Speaker 3: the tool they had was really really simple. It basically
[37:25] Speaker 3: looked for entropy and memory. That's all it really did, right,
[37:27] Speaker 3: because the private key is random, whereas most memory kind
[37:31] Speaker 3: of isn't really, and so they would just look for entropy.
[37:34] Speaker 3: And then what they would do is they were trying
[37:36] Speaker 3: to match up the public key and the certificate with
[37:37] Speaker 3: the private key by decrypting and encrypting. And so they
[37:39] Speaker 3: got the correct answer. But they could do it within
[37:43] Speaker 3: but they can do it in seconds. So now they
[37:44] Speaker 3: know the private key. But hey, if you buy our
[37:48] Speaker 3: hardware device, then the private key stays in the hardware.
[37:51] Speaker 1: And they probably thought that.
[37:52] Speaker 3: Don't get me wrong, I'm a huge fan of HSMs,
[37:53] Speaker 3: I really am.
[37:54] Speaker 1: Probably thought that was a great idea.
[37:55] Speaker 2: Yeah, but there's also a way to be as somebody
[37:57] Speaker 2: who understands security and tries to fix things without you know,
[38:01] Speaker 2: being part of the problem.
[38:02] Speaker 1: Right.
[38:03] Speaker 3: Yeah, Well, let's back up that a little bit. I mean,
[38:05] Speaker 3: did this company do a service I think explaining to
[38:08] Speaker 3: people how easy if you've got rogue software on the box,
[38:10] Speaker 3: you could snaffle the private key. I think it's a
[38:13] Speaker 3: good thing to know. You know, a lot of people
[38:15] Speaker 3: may not realize right that you could easily get the
[38:19] Speaker 3: private key, and that's why you know things like as
[38:22] Speaker 3: a key vault and managed HSM. You know, the private
[38:24] Speaker 3: keys stay in the hardware. They never leave unless you
[38:27] Speaker 3: want to export them in a shrouded manner. Rather, we
[38:30] Speaker 3: give you know, decrypt and we give signing operations rest
[38:34] Speaker 3: endpoints instead, so the private key stays in the hardware.
[38:38] Speaker 1: Yeah, let's talk about GitHub, get lab all them. You
[38:42] Speaker 1: know that people are raising concerns like existential threats, you know,
[38:48] Speaker 1: to our very existence because we're dependent on all these
[38:53] Speaker 1: projects and nobody has software bill of materials unless they're
[38:57] Speaker 1: really hip, so they don't know where their dependencies are.
[39:02] Speaker 2: They go.
[39:02] Speaker 1: You got depend about which tells you, hey, you've got
[39:05] Speaker 1: some dependencies that aren't safe. But it's kind of a
[39:08] Speaker 1: full time job. It is, playing whack them all with
[39:11] Speaker 1: that stuff. It is.
[39:12] Speaker 3: Yeah. I mean I get notifications, but at least one
[39:14] Speaker 3: every other day, not necessarily because of anything I have,
[39:17] Speaker 3: but because of I'm sort of a co owner of
[39:20] Speaker 3: other people's projects, especially one that's actually on purpose vulnerable.
[39:24] Speaker 3: Actually they get up guys have I actually use it
[39:27] Speaker 3: as a demo at build. They're kind enough to give
[39:29] Speaker 3: me access to it, but of course again depend about
[39:32] Speaker 3: warnings from that all the time. Yeah, I mean, the
[39:35] Speaker 3: whole bill of materials things is a really serious problem. Right.
[39:38] Speaker 3: In fact, back in the day, some old boss Steve Lipner,
[39:43] Speaker 3: who has since retired, he came with this term giblets,
[39:47] Speaker 3: which is, you know, components that you depend on that
[39:50] Speaker 3: you don't own. The problem is if they have a vulnerability, congratulations,
[39:54] Speaker 3: you've got a vulnerability too.
[39:56] Speaker 2: You've got it too.
[39:57] Speaker 3: And the funny thing is that product that sort of
[40:00] Speaker 3: woke us up to that was actually seql server with slammer.
[40:03] Speaker 1: Yeah, tell us telescope. I can't remember exactly what happened,
[40:10] Speaker 1: like two thousand and one.
[40:11] Speaker 3: Slammer, yeah, two thousand and one. Yeah. It was a worm,
[40:13] Speaker 3: a really nasty worm. It was a UDP worm. So
[40:17] Speaker 3: it traveled like wildfire, right because you know, you didn't
[40:20] Speaker 3: have to do any three way handshakes. You're just dropping
[40:22] Speaker 3: a UDP packet on the network and off you go.
[40:26] Speaker 3: So produced, you know, you end up creating huge network
[40:28] Speaker 3: congestion of compromise machines. What was interesting though, oh yeah, okay,
[40:33] Speaker 3: I remember now. But what was interesting though, is that
[40:39] Speaker 3: seql server actually wasn't really impacted. What was impacted was
[40:44] Speaker 3: msde right, the embedded version of sql server that people
[40:49] Speaker 3: had their accounting pro right. They needed a good a
[40:51] Speaker 3: good quality database that wasn't access right, so they wanted
[40:55] Speaker 3: SQL server, but they don't want to buy seql service
[40:57] Speaker 3: with msdu right, So the embedded version, so you have
[40:59] Speaker 3: your accounting soft we're running this database back end, and
[41:03] Speaker 3: people didn't realize they had it, so they weren't patching it.
[41:05] Speaker 3: Because they weren't patching it, they got whacked by slammer.
[41:08] Speaker 3: So that work us up to this idea of that.
[41:10] Speaker 3: Steve called it giblets, which is components you depend on
[41:14] Speaker 3: that you don't control.
[41:15] Speaker 1: So the idea is you're making gravy and you cut
[41:17] Speaker 1: up these things that you that look like little weird parts,
[41:20] Speaker 1: and one of them has like a virus or something,
[41:22] Speaker 1: and is that the idea is that the metaphor, you
[41:25] Speaker 1: know what?
[41:26] Speaker 3: I think the metaphor is the chicken is yours, but
[41:30] Speaker 3: you've got these giblets inside. I don't I don't think
[41:33] Speaker 3: there's actually a good this. This conversation isn't gonna end
[41:36] Speaker 3: very well. I don't know body parts that's okay, but
[41:40] Speaker 3: but yeah, I.
[41:41] Speaker 2: Thought the main impact of slimer was just burying networks.
[41:46] Speaker 3: It was a UDIP, it was a UTP payload, so
[41:49] Speaker 3: and the payload actually sat that actually fit fitted in
[41:53] Speaker 3: one UDIP packet. So what would happen is, you know,
[41:57] Speaker 3: you'd have a machine that would just generate random IP
[42:00] Speaker 3: addresses and then just send that UDOP package to that endpoint.
[42:04] Speaker 3: But they could do it so quickly that because it was UDP, right,
[42:08] Speaker 3: there's no three away handshakes.
[42:10] Speaker 2: And it was already patched, as I recall, it was patched.
[42:14] Speaker 2: There was a patch, and I'll like it had been
[42:16] Speaker 2: out for a while too. All of us it RAN
[42:17] Speaker 2: sequel servers had done the patches. But it's all these
[42:20] Speaker 2: app devs and these little applications that had msde med
[42:23] Speaker 2: it in it that hadn't been patched became propagation machine.
[42:27] Speaker 3: That was the problem. There was one beautiful piece of
[42:30] Speaker 3: the code was actually buggy. I could be wrong, and
[42:34] Speaker 3: there's two ways I could go with this. It either
[42:37] Speaker 3: didn't generate odd numbers or it didn't generate even numbers.
[42:40] Speaker 3: I can't remember which. Let's just go with even numbers.
[42:42] Speaker 3: But the random number generatesor for generating the four architects
[42:46] Speaker 3: from ip address couldn't generate even numbers, so it left
[42:51] Speaker 3: out huge swaths of the Internet, which is a good thing.
[42:54] Speaker 3: But yeah, the other interesting part of that is so
[42:57] Speaker 3: the guy that found the bug was a guy called
[42:58] Speaker 3: David Litchfield who worked in the UK at the time.
[43:02] Speaker 3: He worked for Apple. And here I spoke in my
[43:07] Speaker 3: last book, Designing and Developing Secure as Your Solutions, actually
[43:10] Speaker 3: spoke with we've been we've been good friends for a
[43:13] Speaker 3: long time, and I spoke at Land like how he
[43:15] Speaker 3: found the bug and that sort of stuff. But that
[43:17] Speaker 3: was the where he put out the announcements about the bug.
[43:21] Speaker 3: He included a proof of concept, right, and that was
[43:24] Speaker 3: the last time you ever put out a proof of
[43:26] Speaker 3: concept because of the damage that was caused by evil
[43:29] Speaker 3: people using it.
[43:29] Speaker 2: People use it.
[43:30] Speaker 3: We imagine, imagine if you didn't even imagine if you
[43:32] Speaker 3: ran the proof of concept in your own little environment
[43:35] Speaker 3: and escaped from the lab.
[43:36] Speaker 2: Yeah, you know, yeah, that's the thing with those propagators,
[43:39] Speaker 2: like more often than not they did escape from the lab.
[43:43] Speaker 2: Like that's how they actually got away back in the day,
[43:45] Speaker 2: in the last black hat days that exists today.
[43:48] Speaker 3: So for what it's worth though I used that slammer
[43:51] Speaker 3: code or the bug in SQL serve. Actually the code
[43:53] Speaker 3: wasn't even in sql The bug wasn't actually in SQL server.
[43:56] Speaker 3: It wasn't in one TCP one four three three. It
[43:59] Speaker 3: was UDP one three one four three four, which is
[44:02] Speaker 3: the management interface, which is not the database engine. It's
[44:06] Speaker 3: all the management goop around it. So I actually I
[44:10] Speaker 3: actually use that code for lots of examples about how
[44:15] Speaker 3: we've made progress at Microsoft and in the industry in general.
[44:18] Speaker 3: So for example, so Carl, you mentioned GitHub and you
[44:23] Speaker 3: mentioned dependerbot. Well, another thing that GitHub has which is
[44:27] Speaker 3: really cool is code ql, which is absolutely I'm a
[44:32] Speaker 3: huge fan of coql. And so if you've got a
[44:35] Speaker 3: public repo, or if you have a private repo and
[44:38] Speaker 3: you have an enterprise agreement, let's let's just go with
[44:40] Speaker 3: public repair. If you do a poor request, it will
[44:43] Speaker 3: run codeql. I think they call it security scanning or something.
[44:47] Speaker 3: It will run coq well over the poor request. And
[44:49] Speaker 3: if there's a vulnerability, well, actually you can't merge the
[44:52] Speaker 3: poor request.
[44:53] Speaker 1: Yeah, nice, that's great.
[44:54] Speaker 3: Which is really nice. That's even better though, you can
[44:57] Speaker 3: even opt in for an auto fix and it will
[44:59] Speaker 3: use AI to generate a fix. Yeah, and it will
[45:04] Speaker 3: provide that as an update, and you can say whether
[45:07] Speaker 3: you want to take the take the merge or not. Yeah.
[45:11] Speaker 1: I guess so.
[45:11] Speaker 3: But it's really really I'm a huge, huge fan of
[45:14] Speaker 3: co q WEL because you can write your own rules
[45:16] Speaker 3: for it, which I really like.
[45:18] Speaker 1: That's cool.
[45:19] Speaker 2: I guess we got to talk about AI because it
[45:21] Speaker 2: sounds like both hacking and and resisting being hacked are
[45:27] Speaker 2: going to be affected by these tools.
[45:29] Speaker 3: Yeah. I mean it's more than that, right, I mean,
[45:31] Speaker 3: I you know, as we mentioned air quotes in the
[45:33] Speaker 3: green room, the impact AI is having in the software
[45:39] Speaker 3: industry and security especially cannot be understated. The work that
[45:44] Speaker 3: we're doing at Microsoft, Like I think every single day
[45:48] Speaker 3: I have at least two meetings on my calendar that
[45:51] Speaker 3: have the letters A and I right in there about
[45:55] Speaker 3: something that's going on in software development, security, security testing.
[46:00] Speaker 3: Once today I just had just now is on security
[46:02] Speaker 3: testing with AI and you know producing you know test
[46:06] Speaker 3: plans that test security. One I had the other day
[46:10] Speaker 3: was or some scanning, some really smart password scanning or
[46:15] Speaker 3: you know, looking for rogue endpoint or unpatched doandpoints using AI.
[46:19] Speaker 3: And they're literally literally, these guys were vibe coding, the developers,
[46:23] Speaker 3: but they were vibe coding, and they're using Go because
[46:26] Speaker 3: of the concurrency to be able to scan things quickly again,
[46:31] Speaker 3: and they were. They batually said that ninety eight percent
[46:33] Speaker 3: of this was vibe coded. The other two percent was
[46:35] Speaker 3: a human being. So you know, there's a demo that
[46:39] Speaker 3: I gave it build where I had some code that
[46:42] Speaker 3: had a service side request ford. It was in C
[46:44] Speaker 3: sharp is a rest dandpoint and I actually said in
[46:47] Speaker 3: Visual Studio, you know, hey, do a security code review
[46:51] Speaker 3: of this this code, and you know, fingers crossed because
[46:55] Speaker 3: of the nondeterministic nature of LLLMS. It came back with, hey,
[46:59] Speaker 3: there's a service side squardry here, and actually came up
[47:02] Speaker 3: with a couple more I hadn't even thought about. Wow, wow,
[47:05] Speaker 3: So you know, do we even need static analysis tools
[47:08] Speaker 3: at this point? Yes, we do. But you know, it's
[47:11] Speaker 3: just an interesting thing that's built into the product that
[47:13] Speaker 3: gives you not just a bug, but also an explanation
[47:17] Speaker 3: of why the bug's bad. And if you want it,
[47:19] Speaker 3: you know, you can tell it, Hey, we'll fix the
[47:21] Speaker 3: bug for me. If you're on a Visual Studio code
[47:23] Speaker 3: in my agent mode or something's crazy.
[47:25] Speaker 2: It's power. It is powerful and at least gives you
[47:27] Speaker 2: ideas the question of whether or not it's comprehensive or not. Yeah,
[47:31] Speaker 2: it's you know, a big one. Well as well as,
[47:33] Speaker 2: like I said, not deterministic. I asked it again and
[47:35] Speaker 2: I found different vulnerabilities.
[47:37] Speaker 3: Right the other way looking at it is it's almost
[47:39] Speaker 3: like learning on demand as well. Right, well, I didn't
[47:42] Speaker 3: even know that was a problem. Well now you do, so, Yeah,
[47:45] Speaker 3: it's I'm a huge fan of course in the defensive
[47:48] Speaker 3: side of things. You know, we get so many signals
[47:51] Speaker 3: at Microsoft every single day, and the many trillions of
[47:54] Speaker 3: signals every single day, there's no where human being can
[47:56] Speaker 3: go through all them, and so we use AI extensively
[47:59] Speaker 3: to work out what's real and what's not before a
[48:02] Speaker 3: human gets to look at things.
[48:03] Speaker 1: I want to shift gears before we end here. And
[48:06] Speaker 1: I know that you know secure code is your thing.
[48:09] Speaker 1: Are there is there anything that we haven't talked about
[48:11] Speaker 1: that your average developer might fall into the trap of
[48:16] Speaker 1: or needs to be aware of where you know to
[48:19] Speaker 1: to leave vulnerabilities in their code. I mean, obviously seql
[48:25] Speaker 1: injection is a huge one, but I think everybody that
[48:28] Speaker 1: listens to our show and has listened to it knows
[48:31] Speaker 1: how to use parameterized queries and all that stuff. But
[48:33] Speaker 1: are there are any any other things that might not
[48:36] Speaker 1: be so obvious.
[48:36] Speaker 3: Yeah, so we mentioned sequel injection. I touched on cross
[48:41] Speaker 3: site scripting before with remember that talked about the ASP
[48:44] Speaker 3: dot net class or whatever it was that detected cross
[48:47] Speaker 3: site scripting and vulnerabilities or attacks I should.
[48:49] Speaker 1: Say anti forgery tokens.
[48:51] Speaker 3: That's the one. Yeah, that's another one, and it doesn't matter.
[48:54] Speaker 3: But you know, talk about a service SID request for
[48:55] Speaker 3: just squal injection, cross site scripting, memory corruption, and so on.
[48:58] Speaker 3: They all have one thing in common. They're all input
[48:59] Speaker 3: valid problems, every single one of them. And that problem
[49:05] Speaker 3: transcends vulnerabilities, like there'll be new vulnerabilities in the future
[49:09] Speaker 3: that we don't even know about yet. Even LMS, right,
[49:12] Speaker 3: LLM suffer from input validation problems.
[49:14] Speaker 2: Sure, and the.
[49:15] Speaker 3: Fact that you're merging the data plane with the control plane.
[49:17] Speaker 3: But that's a whole other problem. So to this day,
[49:21] Speaker 3: and I wrote about this in Running Secure Code. You
[49:24] Speaker 3: know the first edition of Running Secure Code, which was
[49:26] Speaker 3: twenty five years ago now gratulations.
[49:29] Speaker 2: It's a lot of time.
[49:31] Speaker 3: I'm not sure if that's good or just absolutely terrifying.
[49:35] Speaker 3: But yeah, one of the chapters is all input is
[49:37] Speaker 3: evil until proven otherwise. And that's the same today. And
[49:41] Speaker 3: so I still think that if developers just learned that
[49:45] Speaker 3: one thing, like, you know, is this data coming in
[49:47] Speaker 3: through a rest endpoint through whatever AP port, a socket
[49:54] Speaker 3: or a web socket or whatever, RPC endpoint, gRPC data
[49:59] Speaker 3: coming in, you know, is it correctly formed? Is it
[50:02] Speaker 3: the correct stuff? Don't look for bad things because that
[50:04] Speaker 3: assumes you know all the bad things. Is it correctly formed?
[50:06] Speaker 3: Like if I'm expecting a zip code, is it numbers
[50:11] Speaker 3: with a potential dash? Right, and that's it? And is
[50:14] Speaker 3: it you know, ten digits long max or something like that.
[50:17] Speaker 4: That's got to be alpha numerica because we have other
[50:19] Speaker 4: content that's right, Yeah, exactly right, but even now for
[50:22] Speaker 4: numeric like sorry, M well, well the UK is the same,
[50:25] Speaker 4: right UK. So I used to live in L nine
[50:29] Speaker 4: to ninety L when I was in England. But it's
[50:32] Speaker 4: interesting that that issue is still the number one source
[50:40] Speaker 4: of issues, and in fact there's a whole new issue
[50:42] Speaker 4: set of issues opened up with l MS.
[50:45] Speaker 3: And it's all input validation, that's all it is. I
[50:49] Speaker 3: still say that's like the number one thing that developers
[50:51] Speaker 3: have got to think about is my data correct.
[50:54] Speaker 2: Yeah.
[50:54] Speaker 1: I learned about a new attack from doing security this week,
[50:58] Speaker 1: which was D serialization injection.
[51:01] Speaker 2: Yep.
[51:02] Speaker 1: So imagine, if you will, you have a comments paid
[51:06] Speaker 1: you know, comments thing, and there's no limit to it, right,
[51:09] Speaker 1: and somebody just pastes in there some JSON that has
[51:13] Speaker 1: somehow attached some code to it. I don't This is
[51:17] Speaker 1: what I don't understand. Maybe you de serialize that into
[51:20] Speaker 1: an object that has code. Yeah, and that object has
[51:24] Speaker 1: you know, in in its in its initializer, it's code
[51:31] Speaker 1: that runs.
[51:31] Speaker 2: Right.
[51:32] Speaker 3: We'll give an example. You've got a proof of concept
[51:34] Speaker 3: on this, which is this is why we might sort
[51:36] Speaker 3: of deprecate to the binary serializer and SEA shop is
[51:39] Speaker 3: you can deserialize a c shop object and having the
[51:43] Speaker 3: constructor which will run, right, you can.
[51:46] Speaker 1: Have exec yeah, exec whatever.
[51:50] Speaker 3: Right, and I'll just run and I'll just run.
[51:52] Speaker 1: Yeah.
[51:52] Speaker 3: So there's nothing special or funky or magic abouts it is.
[51:57] Speaker 3: You put whatever the heck you want in the constructor
[52:00] Speaker 3: and then when it's de serialized, that runs. And if
[52:02] Speaker 3: it's an exact you know, prop I don't know what
[52:05] Speaker 3: it is in dot net, I'll be honest with you.
[52:07] Speaker 3: It process dot execute or something process dot run.
[52:10] Speaker 1: Yeah, yeah, you can create a process you're can just
[52:13] Speaker 1: run it.
[52:14] Speaker 3: Now you're running a arbitrary code, and the demo I
[52:15] Speaker 3: give is just running notepad of course, you know.
[52:18] Speaker 2: Yeah.
[52:18] Speaker 1: But the thing is is that that that object has
[52:21] Speaker 1: to be defined on the system that's doing the de serializing.
[52:24] Speaker 1: So it's not like you can just put in a
[52:26] Speaker 1: bunch of JSON and it's going to create a class
[52:28] Speaker 1: that runs. Do you know what I mean? Yeah, yeah,
[52:32] Speaker 1: you can't de serialize code like that.
[52:34] Speaker 3: Yeah, yeah, You've got to have there's got to be
[52:36] Speaker 3: a class that you know exists. So for someone like
[52:39] Speaker 3: a person class, right, yeah, then you would put it
[52:41] Speaker 3: in the person constructor. Yeah.
[52:43] Speaker 1: Right.
[52:43] Speaker 3: So so here's there are actually, actually there are other examples.
[52:47] Speaker 3: There's lots of examples, and in fact, in the red
[52:51] Speaker 3: team we have a person who is an absolute expert
[52:56] Speaker 3: in building malicious payloads for deserialization. Okay, so I guess
[53:03] Speaker 3: I'm all I can say is I'm glad he works
[53:05] Speaker 3: for Microsoft and nobody else.
[53:07] Speaker 2: That's good. I'm very I've had a number of people
[53:10] Speaker 2: I've met over the years where you sort of look
[53:11] Speaker 2: at them later and go, you know, I'm really glad
[53:13] Speaker 2: you're a good guy.
[53:14] Speaker 3: I know.
[53:16] Speaker 1: One of the things we do, and you might like
[53:18] Speaker 1: this on our show, is we take the cv score
[53:22] Speaker 1: for a given threat, which is usually from one to ten,
[53:25] Speaker 1: you know, being CVSS. Yes, I'm sorry. The CVE is
[53:29] Speaker 1: the number that identifies the threat, the CVSS scorer, and
[53:33] Speaker 1: that if it's ten, basically that means, oh my god,
[53:37] Speaker 1: the world is going to end. You must patch. But
[53:41] Speaker 1: we also add a contagion score, which is how realistic
[53:47] Speaker 1: is it that you the average person is going to
[53:50] Speaker 1: be affected by this vulnerability?
[53:52] Speaker 2: Right?
[53:53] Speaker 1: And that to that equation is you know, is it
[53:56] Speaker 1: connected to the Internet? Do you have to be on
[53:59] Speaker 1: the local network already? Do you have to have hacked
[54:02] Speaker 1: to a certain point? So so what do you think
[54:06] Speaker 1: about that? Do you think that should be an official
[54:07] Speaker 1: thing like a contagion score or a reality score?
[54:10] Speaker 3: I mean, I don't think I think that idea is
[54:13] Speaker 3: actually baked into the modern versions of CVSS, like accessibility,
[54:17] Speaker 3: does it require an authenticated connection? Does it require human interaction? So,
[54:21] Speaker 3: if you've got something that requires no authentication, that's remote,
[54:24] Speaker 3: that requires no human interaction. Then, for example, I remember
[54:28] Speaker 3: a while ago, I remember a while ago, there was
[54:30] Speaker 3: a really nasty bug in iOS where someone could send
[54:33] Speaker 3: a text message, an SMS message.
[54:36] Speaker 1: Yeah, I remember this too, right, you didn't even have
[54:39] Speaker 1: to open it and it would own your phone.
[54:41] Speaker 3: Yeah, exactly, I mean, don't get I mean, you know.
[54:43] Speaker 3: But again, the nice thing about iOS, you know, most
[54:46] Speaker 3: mobile platforms, is they're very locked down and isolated, and
[54:48] Speaker 3: they assume this sort of stuff. But even but even so,
[54:53] Speaker 3: it was a really nasty bug.
[54:56] Speaker 1: So they we have seen scores that have been very high,
[54:59] Speaker 1: like nine or whatever, that we have adjusted down for
[55:02] Speaker 1: our listeners because because of those things, like you already
[55:06] Speaker 1: had to be on the network, you had to like
[55:08] Speaker 1: maybe there had to be a human interaction, like somebody
[55:11] Speaker 1: got up from their screen and went to the bathroom
[55:14] Speaker 1: and left themselves logged in, like, you know, a bunch
[55:16] Speaker 1: of things had to fall into line before you could
[55:18] Speaker 1: get that thing. So I'm not so sure they do
[55:22] Speaker 1: a good job of Yeah.
[55:24] Speaker 3: But here's the problem. But here's the problem. Though KYL
[55:28] Speaker 3: is a bug by itself is interesting, a CV is interesting.
[55:32] Speaker 3: You look at what the guys doing, the Red Team,
[55:35] Speaker 3: they rarely take a single CVE. They chained them together.
[55:39] Speaker 1: Yeah, yeah, that's true.
[55:40] Speaker 3: Right, So you may have a remote and unauthenticated thing
[55:44] Speaker 3: that does nothing exciting. Then you have another one that's
[55:47] Speaker 3: a local only that gives you some privilege elevation. Then
[55:52] Speaker 3: you have another one that requires a little bit of
[55:53] Speaker 3: privileged access, but now it gives you godlike on the box. Right,
[55:57] Speaker 3: So he chained three together. So that's where it becomes. Yeah,
[56:01] Speaker 3: that's where it becomes really dangerous. And that's one thing
[56:03] Speaker 3: I love about the Red Team, right, is they think
[56:05] Speaker 3: about these things. So John Lambert, corporate VP and security
[56:10] Speaker 3: fell at Microsoft, you know, he says that attackers thinking graphs,
[56:16] Speaker 3: that's what they're doing. They're chaining these things together. They
[56:18] Speaker 3: don't think about individual spot things.
[56:20] Speaker 1: First we'll use this exploit. Then we'll you know, take
[56:23] Speaker 1: a late use whatever is the lay of the land.
[56:25] Speaker 1: I guess what they call it, you know, feeding off
[56:26] Speaker 1: the land, feeding off the land. Yeah, see what's there? Yeah,
[56:30] Speaker 1: and then maybe use another exploit, another privsk and then
[56:33] Speaker 1: you own the box.
[56:34] Speaker 3: Yeah absolutely, And now next thing you know, you're broken
[56:37] Speaker 3: out of a VM you know, and you're on the
[56:40] Speaker 3: host the ultimate path traverse, right. I mean, that's that's
[56:45] Speaker 3: pretty nasty, you know. And that's where security guarantees come
[56:48] Speaker 3: into play. Is what are the security guarantees around your
[56:50] Speaker 3: security mitigation? Is there a security guarantee around it? So,
[56:54] Speaker 3: for example, there are security guarantees around VMS. If you
[56:56] Speaker 3: violate that, then that's a serious problem that we will fix, right.
[57:00] Speaker 3: But other things, so you know, other things don't have
[57:02] Speaker 3: security guarantees. It's really good examples of his code obfuscation.
[57:05] Speaker 3: There's no security guarantee. There are none because eventually the
[57:08] Speaker 3: CPU has to know what instructions to execute. Right.
[57:12] Speaker 1: And if you know you're you're a hacker, you're on
[57:14] Speaker 1: the box and you know a assembler or binary, you
[57:18] Speaker 1: can just go walk the memory and see what's going on.
[57:21] Speaker 3: It's funnys you bring that up. Someone made a comment
[57:24] Speaker 3: on x about some C sharp link stuff or whatever
[57:29] Speaker 3: and said, which is fast? And they give you three
[57:30] Speaker 3: different examples of link and I said, I don't know,
[57:34] Speaker 3: So let's look at the assembly language. Nice, you know,
[57:37] Speaker 3: it's let's look at what it's doing. And it was
[57:39] Speaker 3: really interesting. And this guy made a comment to me, said,
[57:42] Speaker 3: you read assembly language. I said, assembly language is the truth.
[57:47] Speaker 2: This is what it's landing on the processor.
[57:50] Speaker 3: Yeah, I mean you can read whatever you want in
[57:52] Speaker 3: the you know, in the source code, but it's what's
[57:54] Speaker 3: generated by the compiler on the link that matters.
[57:58] Speaker 1: But quite frankly, I would rather you to look at
[58:01] Speaker 1: the thing with the assembly language, then learn assembly language
[58:04] Speaker 1: to the point where I could spot a problem. Thank
[58:07] Speaker 1: you very much, dude.
[58:08] Speaker 3: I love assembly language. I'm not gonna lie. I love
[58:10] Speaker 3: assembly language. It's it's my happy place. Well, I mean
[58:14] Speaker 3: c is probably my happy place. I love CE, but
[58:16] Speaker 3: I love a SAMI language. Yeah, I've been learning a
[58:18] Speaker 3: lot about our assembly language.
[58:19] Speaker 2: Well, and see what was created to make more portable
[58:22] Speaker 2: assembly language that you could write one and degenerate down
[58:25] Speaker 2: and do assembly for different processors.
[58:29] Speaker 1: So what's next for you? What's in your inbox?
[58:31] Speaker 3: What's in my inbox? A lot of MCP security these days,
[58:35] Speaker 3: you believe it or not. On the as of Security podcast,
[58:39] Speaker 3: we interviewed a guy who works on MCP at Microsoft
[58:43] Speaker 3: and also on the working group for MCP.
[58:46] Speaker 1: This is let me get it, Master Control Protocol, a
[58:51] Speaker 1: little model, monitor model. Anyway, it's what's between your agent
[58:55] Speaker 1: and the services that you want the agent to access
[58:58] Speaker 1: on your behalf model context protocol model context. But I'm
[59:02] Speaker 1: never going to remember this model context protocol.
[59:04] Speaker 3: Yeah I I I'm you know what, I have problems
[59:06] Speaker 3: remembering as well. Yeah, I hear every single day.
[59:09] Speaker 2: Yes, because I keep picking tron Master Control program a lot.
[59:14] Speaker 1: That's what it is.
[59:17] Speaker 3: But but yeah, you know, MCP is being used everywhere,
[59:20] Speaker 3: and all of a sudden, you know as e sql
[59:22] Speaker 3: database has now got m C MCP server. Visual Studio
[59:25] Speaker 3: code is an MCP client.
[59:27] Speaker 1: But last we knew it wasn't secure, right, Well.
[59:29] Speaker 3: So actually it's interesting the MCP guys are trying as
[59:34] Speaker 3: hard as possible to offload that's a terrible word the
[59:37] Speaker 3: security to the underlying environment. Like so for example, ACT
[59:43] Speaker 3: authentication shouldn't really be an MCP thing really really should be.
[59:47] Speaker 3: You know, if you use two user or two for authorization,
[59:50] Speaker 3: you want to use open idconnect for authentication, use you
[59:52] Speaker 3: use Windows Authentication for authentication, so beet.
[59:55] Speaker 1: And then your MCP is is whatever is there correct?
[1:00:00] Speaker 3: Correct? Which is which I agree with. There there is
[1:00:05] Speaker 3: some work going on with authorization. They recognize that, but
[1:00:09] Speaker 3: I would not throw out the terms MCP is insecure.
[1:00:15] Speaker 3: I would think MCP doesn't do some things on purpose.
[1:00:20] Speaker 3: So it's not locked into a WS it's not locked
[1:00:23] Speaker 3: into Azure, it's not locked into Windows or Linux or
[1:00:26] Speaker 3: whatever they talk about.
[1:00:29] Speaker 1: Can it be exploited though?
[1:00:30] Speaker 3: Well, I actually funny should say that I sort of
[1:00:32] Speaker 3: the thing came came across in my inbox, but a
[1:00:36] Speaker 3: vulnerability in some MCP client because it wasn't authenticating the server.
[1:00:41] Speaker 1: Well okay, okay, not MCP's fault.
[1:00:45] Speaker 3: That's not an mc exactly exactly right, it's not an
[1:00:48] Speaker 3: MCP fault. But you know this, this bug is being
[1:00:51] Speaker 3: built as an MCP vulnerability, but it's not, you know,
[1:00:55] Speaker 3: so I I understand your you know how you're arriving
[1:01:00] Speaker 3: at that, but by the same token, you gotta understand
[1:01:02] Speaker 3: where the MCP guys draw the line, right, Okay, I
[1:01:05] Speaker 3: think that's fair.
[1:01:05] Speaker 1: That's fair, that's fair. I mean I think it was
[1:01:07] Speaker 1: when we were talking to Scott Hunter and he had
[1:01:10] Speaker 1: some inkling about that, right, that might be where I
[1:01:13] Speaker 1: picked that up. Yeah, but it's good to know that
[1:01:15] Speaker 1: it's that it's evolving and all.
[1:01:19] Speaker 3: That apparently, Yeah, grain their authorization is that next thing m.
[1:01:22] Speaker 1: Mm hmm okay, well you'll have to google that, folks,
[1:01:26] Speaker 1: because we're out of time. So Michael Howard, thank you
[1:01:29] Speaker 1: very much. It's been a pleasure talking to you and
[1:01:31] Speaker 1: a little bit scary, but in a good way.
[1:01:33] Speaker 3: Oh I'm not scary, that's all.
[1:01:35] Speaker 1: No, No, you're not scary.
[1:01:37] Speaker 2: Life is, but the world is very scary. You just
[1:01:39] Speaker 2: reminded us.
[1:01:42] Speaker 1: All right, Thanks a lot, and we'll talk to you
[1:01:44] Speaker 1: next time on dot net rocks. Dot net Rocks is
[1:02:07] Speaker 1: brought to you by Franklin's Net and produced by Pop Studios,
[1:02:11] Speaker 1: a full service audio, video and post production facility located
[1:02:15] Speaker 1: physically in New London, Connecticut, and of course in the
[1:02:18] Speaker 1: cloud online at pwop dot com. Visit our website at
[1:02:23] Speaker 1: d O T N E t R O c k
[1:02:25] Speaker 1: S dot com for RSS feeds, downloads, mobile apps, comments,
[1:02:31] Speaker 1: and access to the full archives going back to show
[1:02:33] Speaker 1: number one, recorded in September two.
[1:02:36] Speaker 2: Thousand and two.
[1:02:37] Speaker 1: And make sure you check out our sponsors. They keep
[1:02:39] Speaker 1: us in business. Now go write some code, see you
[1:02:43] Speaker 1: next time.
[1:02:44] Speaker 3: You got Javans
[1:02:48] Speaker 2: And

Shows are listed from Apple Podcasts' charts and directory, and Podcast Index where it is used. Every show and episode belongs to its publisher and plays from the publisher's own feed; this site hosts none of them.
