TRANSKRIBEERI 🔗
IA E42 11 2 Full: Welcome to Direct Access, a special edition of Initial Access, where we go a little deeper with the people doing interesting work in cybersecurity. I'm Sean McMillan, community manager here at Bishop Fox. At Black Hat earlier this year, I met Farzon Karimi, Deputy CISO at Moderna, who told me his team had taken a threat modeling process that used to take two or three days and reduced it to just a couple of minutes using AI. That's a pretty remarkable claim. Especially in an industry where there's no shortage of AI hype. So I wanted to find out how they actually did it, what they've learned, and what this might mean for the future of security. Here's my conversation with Farzone Kuranby. So I wanna just without any further ado, just introduce Farzan Karini. Thanks for having me, Sean. I'm excited to be here. you know, we're talking outside that booth of Black Hat and it's great to Yeah, it's great to begin. Yeah, a little bit more comfortable. I got a little bit more arm space here. Yeah. And you got more LEDs on your side. I do, I do. This is this is my my actual environment, my native habitat. Yeah. Yeah. I already told you I'm gonna have to have another call with you just to kind of mirror what you got going on. Yeah, I'll take the webcam off and you can see we'll I'll take it around. Let's do it. Let's do it. so so when we spoke at Black Hat, you mentioned that Moderna had reduced a threat modeling process from two or three days down to just a couple minutes. And before we get into exactly how you did that, I want to start with kind of what did the traditional process look like for you? Yeah, no, it's it's a good place to start with the baseline, right? So, you know, our traditional process looked like what typically any other threat modeling process looked at at other companies. So we'd have like a security engineer that would sit down with the application owners and talk through their design, their architecture, review their data flow diagrams. They may take you know, hours, may even take days, depending on the complexity. And that's, you know, assuming, Sean, that have good data to work from. Right. Sometimes you engage teams and they don't have an architecture diagram. They never went through a threat model. So how do you even start that process? That now may be like a two-week threat model, depending on the complexity of their work. Right. So now multiply that by let's say you have an environment with 700 applications or 700 services that require this level of scrutiny. So we didn't here at Moderna didn't have the the security engineer bandwidth. or resourcing to be able to scale and do everything across the enterprise in that fashion and then that that entire portfolio. So that's where we started looking at AI as a solution here, and what there what the opportunities look like. And we told ourselves, wherever there's a bottleneck in our capacity, resource capacity, that could be a solution to point AI at. So finding something repetitive, expensive as far as how the team implements the the process and front modeling bubbled up as one of those areas where we had a big hue of work. we were, you know, I don't want to say in the yellow or at risk. you know, as far as execution, we were doing an incredible job. It was just the number of reviews was just spiking for us. So that's why we built this product. Yeah. So yeah, let's talk about the product. Walk me through kind of what you built, how it works, and I guess what information it needs. Yeah. So this This threat model agent, right? It performs a first pass security review for anything that we we talked about earlier, right? Like an application, a services architecture, a product, you know, even like going down to you know equipment that we have in our manufacturing lab. So it could be anything could fit into this channel, this funnel of work. And we'll look like how at how the system works, how it operates, what data it handles, how does auth and auth C look like, right? And what security controls do we currently have in place. And then it identifies all the potential risks associated with whatever it reviewed and cuts risk tickets and you know in our case management system and provides remediation guidance around that, which is very, very important for us is providing good, concrete, actionable tickets. and what we got out of that is we know we also got this huge benefit where the security engineer didn't have to do all that work. what's interesting for us is that Building that agent wasn't the hard part. It was getting all the source information of populating the what the threat model needs. So how do you do that? let's say we talked about you're not having any DFDs, architecture documents. Well, how do you get the threat model agent started? so we addressed that through doing a work around our application inventory process. So you know, you can do that with like a CMDB workflow where you effectively inventory all the applications you have in your environment. And you can do that by Looking at contracts and seeing where you pay money, because that's usually tied to a service, what we built, what projects look like around that, and tie that to a system owner. And if you do that work, that's a big bottle of work. This is kind of like prereqs, right? To be able to make something like a threat model agent work. You then have the ability to then ask those system owners for information. So the next phase of it was building out this questionnaire. And we built like a 50 question questionnaires. Actually, it sounds daunting, but it's not. Maybe it takes 30 minutes of real work. Right. It's all multiple choice. And it talks about things like does your application face the internet? Right. does your I mean which would be very interesting given the whole PHP vulnerabilities that we've been talking about and dealing with this week. Right. does your application enforce role-based access control in the event of an
Load full transcript
incident? Like, does the IR team have access to logs to review what's happening in your application? So Those are the types of questions we get. Then we have an artifact, right? And we could throw that to the threat model agent, regardless of whether you have a DFD or an architecture diagram or not. And it could actually process that and cut bugs, right, as an end result. So that's what we did to kind of like bring it up and wrap up the kind of like the high-level thinking around this agent is we wanted to make it an easier bear, easy barrier of entry where you didn't have to do all this pre-work. And you still get a good signal on risk tickets that we cut. And now we can start the conversation with the system owner. So that's that's the beauty of all this. Doesn't have to be perfect, but it starts the conversation. Yeah. Yeah. And then once you like you you mentioned, it goes through and and validates to a degree, but then you obviously have some type of human review. it's gonna require some kind of nuance to understanding how these systems all work. how do you validate that output? Yeah, it it's great. it's a great question because there's a lot that goes on to this decide. One thing I failed to mention right before I I answer your question right now around quality control is you know, through all that work that we did with the threat model agent, we wound up cutting or conducting six hundred and eighty seven security reviews in one month through this body of work. And that almost sounds like one of those numbers that sounds Okay, it's all junk bugs, right? Or it's it's information that it may be considered noise. But we actually did a lot of validation, which goes to the question you're asking me. And we only identified 16.7 percent of the bugs we created were based on were have to be canceled due to an agent making a mistake, which is pretty good. Yeah. So we put a lot of thought and work into the prompt, into the instructions. saying things just don't make up bugs because there's lack of evidence. So if something doesn't talk about auth authentication, doesn't mean that they have an authentication vulnerability, but there's like an an action to maybe follow up and get some some data points around that. But really, the the core solution for quality control is actually having humans in the loop for that. So if we no longer have to worry about my team having to run 700 reviews, they have some free time now. And they can't complain about having to do work elsewhere. And that the work is and and I'm part of this, by the way. I'm I'm kind of being facetious here, but having the team focus now on triage and quality control of the bugs. So we go through and cancel the tickets that don't make sense, and then use that to iterate on the threat model's prompt to make sure the next runs look better, higher quality. And it's just like this evolving process as we build it up. So that that's that's the how we approach quality control. And now that we have like seven people involved in the quality control aspect, the threat model agent's only gonna get it better. Yeah, yeah, it sounds like it. I d I'm curious in this process, like what the big surprises are. I mean, there's there's a lot that goes into building this, like what kind of what worked, what didn't work, what kind of were those milestones along the way? Yeah. I you know, for For for me and my team, the surprises had actually nothing to do with AI. It it which is it had everything to do with all the the overhead and the politics and like the the source information. So like for example, if you have bad CMDB data, right, you have bad system owner data, there's there's no way you're gonna cut the bug to the right person or you're not gonna get the questionnaire filled out. So that's a gap. So it again goes back to a big effort around making sure you have a good system inventory. And application owner inventory and registry as well to make sure the quality of the bugs that are cut are good. I mean, if you get garbage, you know, in the pipeline, you're gonna get garbage out, right? another surprise that came through this is that I received lots of complaints up front about the threat model agent, even from my own security team and even from the devs. Like everyone hated me. For a good two weeks, because all of a sudden there's this huge volume of bugs that we generated, hundreds to thousands of bugs. I'll just say that at a high level. there's there's a lot of individuals that are like, What is this? What's happening? Am I doing something wrong? Why are you why are you focused on me? And then when they understood this is part of a bigger initiative to run this agent across the enterprise portfolio, then they understood that this is a good opportunity for constructive feedback to iterate. So, and even on my team, right? I had individuals that say, Hey, I've been working with a GPT to do threat modeling for me. Why do I need an agent? And my response really there would be like, Hey, that's great, right? But can your GPT run seven hundred reviews, integrate with Jira, assign system ownership and manage the findings in a way that's scales across the enterprise? And that's that's that's another bottleneck, right? So now you're becoming the bottleneck as a security engineer, which is why this is a great way to scale. Yeah. That was that's what I was gonna ask about is new bottlenecks. And I can see that being a bunch of little individual bottlenecks that you have to break. as you convince people that this this works. Just just do it and it works. Yeah, absolutely. it's I think the biggest lesson from this project has been the bottlenecks. Like, you know, we we automated nearly seven hundred of these reviews and somehow we needed we wound up needing more human effort to deal with all those risks that we cut. So again, like we mentioned, like you mentioned it up top, right? Our agent does this work in 10 to 15 minutes instead of two to three days or a
week. but our application owners couldn't remediate all this work. so like we had this issue of scaling the findings, but but now we're bottlenecked again on remediation. So that's a pretty significant change and it's a good change because we're now focused on the right problem in a way. And I I'd say for us, we actually paused any new security engineering reviews for my team for a quarter to be able to just focus on agent triage as well as remediation support for system owners effectively. The the other piece too is we wounded up getting sponsorship from our executive team on requiring more resources for remediation. So I now have seven new positions available that are just focused on remediating. the vulnerabilities of the threat model agent and risks that come with AI scale. So it's it's a great this investment's actually generating more jobs as a result. That's interesting. Yeah. Cause that's obviously that's the the the talking point, right, is that AI is is taking jobs, but this is a a great example of not necessarily, you know, and if you look at the greater overall data, it doesn't really spell that out so clearly. If the if you find good use cases for AI, it's going to be a job generator, in my opinion. Yeah. Yeah. Yeah. Yeah. So it's it's a good it's it's versus, you know, the the the noise and like all the the other AI tools that can give you a lot of information but not give you not give you actionable advice on what to do with that information. Yeah. Yeah. And it just just makes you better at your job too. Moderna is more secure because this is happening. I I would agree. without obviously disclosing what we were finding, we went from finding these really critical risks, to be honest, on the internal environment that we had were addressing right right away, all the way down, and this is humorous, and I talk about this at Unprompted where we covered a threat model agent. I has time we're speaking about this, I'm gonna be speaking at unprompted next week. but we we went from these critical systems all the way down to threat modeling the heck out of a refrigerator. To. yeah, why not? Yeah. You know, and it not because the refrigerator was just dangerous in this case, but it was part of that, it was caught in the net of having a registered owner in CMDB. And the owner filled out a questionnaire about the refrigerator. And guess what? Like that generated some risks. And I it's great because our threat model agent, I'm gonna demo this next week. I'm super excited. It actually generates an interactive threat model diagram, like a with attack chains. And it shows how components like an attacker can move from one environment to another or one component to another. And we have a whole thing for the refrigerator that I'm gonna show that I'm excited about. So, anyways, it's it's gonna move. That's that's why I brought you on, really. The the remainder of the interview will be refrigerator related. As it should be. No, I do I do recall we had you
on our series block out the noise at black hat. Where we asked for people's takes on what the noise is in in the industry, not just AI, but in the cybersecurity industry. And I remember you were pretty candid about the amount of AI snake oil in cybersecurity. So having built something that's delivering results like this, what is it that separates a genuinely useful AI security application from something that's mostly hype? Yeah. honestly, I I I shared this part of this my my perspective in the booth with you, right? and I and I have more to share. But it's like to me, AI i is isn't the noise AI without a clear problem to solve is. And we're seeing a lot of that. Like I looked in my LinkedIn chat and I could I actually want to run an agent on my LinkedIn chat to tell me how much snake oil is is being sold or pitched to me and other COVID and deputies, etc. But with know I want to make it clear though I'm very bullish on AI if it's invested in the right way. I do spend a lot of time, you know, customizing, building agents on a, you know, and my team does as well. It's a big focus area for us. But if a vendor comes and pitches us on an AI security product and you know my first question is pretty simple. Like what problem do I currently have that that you're solving? Right? Is it like something that gets better, something that gets faster? You know, are auto you know like For the IR team, are you taking auto containment to a level where humans don't have to be as involved, right? So you're expediting mean time to detect, mean time to repair. that's tangible. That's great. and I get skeptical when the end or like on the pen test side, like if you're automating the ability to find vulnerabilities, but are also exploitable because you have exploit evidence through an attack chain, and then also like logging that into a case management system, like that that saves so much time and that's great. But if you're just building a product and saying, slapping on the sticker that hey, there's an agentic workflow that supports this. I I kind of get a little skeptical. And and basically, like if you're taking a broken process and automating it with AI, you're just automating a and making a broken process faster, which is great. That's that's actually the opposite of helpful. Yeah. Totally, totally. So that's my approach to this. Again, I'm I'm a I'm a I'm bullish on AI, but I'm also very skeptical of the snake oil that's out there. It's it's like you're bullish on AI, but skeptical on people pitching AI. Which you should be. You should be skeptical of anyone pitching anything. Yeah, yeah, exactly. I I I love the outreach I read every mail, because there's there's legitimately great products that are being built. and it's it's, you know, show me the use case, right? Like that that makes sense for the business and have the business in mind when you're making that pitch and really listen. Right. If the if the if you know you're getting the feedback that this is great, but it's not really something I need to deal with right now, like then then that's that's good feedback, you know, to to iterate on. So yeah, it's a problem we're all dealing with. The number of pitches we get here that I read and I'm like, that's just what we do. That's like we do that. And why were you doing that? You know, like we're better at this than you. Yeah. You know, I it's funny you mentioned that because like literally, so we built this threat model agent and I'm speaking about the threat model agent next week. I've literally gotten messages in my mailbox that say, Hey, I saw your post about your threat model agent, your custom threat model agent. We do the same thing. Would you like to talk and share notes and you know learn about our product? Like I just spent months building this out. I love to share notes. I'm not I'm not interested in spending an investment there because we've solved that problem. I'm on to the next problem now and maintaining my current, products. But it depends. Who's sending the message? An engineer or sales? You know what? I'm not gonna answer that, but you know, you probably already know the answer to that question. So looking at the the healthcare industry kind of broader landscape. Where else do you see opportunities for this for for AI to really make a meaningful difference? And where should organizations maybe be a little more cautious about using it? Yeah, this is a favorite topic of mine here, just because like healthcare, biotech, there's there's a lot of regulatory concerns in this space. So you can't just, you know, like I've had vendors come to me and pitch or, you know, forget making it a vendor thing again. because we I know we sell the vendors. Just blame the vendors for everything, right? you you know, even if you're custom building AI agents and agentic workflows to to do run security assessments, et cetera, you have to think like in healthcare, if you touch a system like something in manufacturing, that may trigger something we call a deviation. If that machinery is working on a a safety critical process, like building medicine as an example, as we do in Moderna. If something unauthorized or unexpected happens to that piece of equipment, then that potentially compromises the integrity of the workflow and what's being produced. Right. So we can't just have AI scanning and touching everything. Now I know a hacker doesn't care, right? And a hacker will touch everything if they're in need of A bad hacker. Let's we want to there's safe ways to leverage AI and having these. considerations be baked in. so I haven't really seen a lot here. And I think there's a big opportunity, Sean, is just we we're hearing about all these autonomous pen tests, bull management, ASM solutions that are just scanning and hacking everything with as much noise as possible. what I haven't yet seen is, you know, some of these products focusing on the safety critical aspects. So being very surgical about what the
agent does next. understanding where there's maybe regulatory concerns. So don't just hammer that thing that's actually producing a a $300,000 job. Right. And if it goes offline, you're also comp potentially compromising, the the health of an a a patient that's looking to get medicine or treatment. so to an example of how we're solving that is we're looking at safe ways build it, take the machinery, Let's say we only have one piece of this production machinery that costs a million dollars. Get the firmware off of it, right? And then put it in an emulated environment, emulate that firmware and then hack the heck out of it, right? In that safe environment. So and leverage AI there. So there's all these kind of considerations we're thinking. And I think there's a big opportunity in healthcare to push the safety, you know, like button and say, like, we're not just the fastest and best. security scanner in the world. Like I'm being agnostic to any vendor in this case. So we prioritize safety. Yeah. Yeah. I'll I'll have my team send you a pitch and we'll safety first, right? Right. Barzon, we care about safety. We heard you you talk about safety on Sean's podcast. Yes, exactly. Right. Yeah. no you you mentioned you're you're speaking unprompted. As we record this, it is next week. This podcast, the full podcast will actually release the day after. but you're also joining us for a healthcare security virtual session on November 10th. what can people expect out of those? Yeah, I I'm excited for for both conversations coming up here in the next few weeks. be talking about hacking refrigerators, obviously. Check out that. That's that's that's really it. There's nothing else. nobody And I'm gonna bring that up on your virtual session too. know, it's funny, I'll I will say part of the refrigerator thing, just just a quick side note, is that nobody knows anything about the refrigerator. So the threat model agent took a bunch of informational brochures and installation guides and user guides for the fridge and it found default creds on it. And maybe those default creds still work potentially. Uh-huh. So Great, nobody's gonna go and read hundreds of pages of instruction manual, but a threat model agent would. So which is why great use case that we'll talk more about. But anyways, at imprompted, I'll talk about my talk is called Threat Model Impossible. It's the story of how we did the 687 security reviews in a month, which I'm very proud of of of my team for. so I'll walk through exactly how we built it, kind of what we talked about today, what worked, what broke, and what happened when we flooded our devs with thousands. hundreds of thousands of risks and then you get a risk and you get a risk. You get a risk. You get a risk. but you also get help, right? You you now have security engineers that are able and available to triage with you and validate the risk. So it's kind of like this beauty of building that that bond with the developers that we're not just throwing bugs over the fence anymore. We're also like including some humans to help you. I'll talk about CMDB a little bit and what the importance is there of that registry of owners, system owners, and also the importance of that questionnaire. So we're gonna actually share all that on GitHub. so people have and teams have the ability to leverage a bit of what we built out. cool. Yeah. So I'm excited for that. Just as excited for the November 10th discussion with Bishop Fox, obviously, and Holland and Knight for a conversation about ransomware and healthcare. There's been like an industry spread of organized crime targeting healthcare and biotechs. with this methodology. So maybe things to think about there. How you as a company, if you're, you know, regardless of what industry you're in, how you can protect yourselves from those kinds of attacks. Cause there's some like, you know, easy things that people can do as well that a lot of companies aren't doing. So definitely excited to touch on those topics. cool. Well this is this has been a lot of fun. I really appreciate you taking time out of your I assume your schedule is busier than mine. your your title recommends I I figure you're just, high demand. So we appreciate you stopping by here and talking about what you built. Yeah, no, no, no. This is my my geek hour right of the day. So I get to talk about the the thing I love most in and building, you know, cool security solutions. So thank you, Sean. This has been awesome. Thanks for having me. For sure. Yeah. And we will we'll see you soon for our for our session on the state of healthcare security. At Machine Speed on November 10th. Thanks a lot. Wonderful. All right. Thank you. That was Farzon Karimi, Deputy CISO at Moderna. Big thanks to Farzon for taking the time to share what his team has been working on. If you'd like to hear more from him, he'll be joining us for Bishop Fox's healthcare security at machine speed virtual session on November 10th. We'll have links in the show notes. And if you enjoyed this conversation, share it with a coworker. It's the best way to help. More people discover the show. Thanks for listening to Direct Access. Till next time, stay safe.