[00:03.160 --> 00:06.040] All right, let's start. So, hi, I'm Tanya Jenka. [00:06.040 --> 00:08.800] I'm also known as SheHacksPurple, and I want to talk about [00:08.800 --> 00:11.840] maturing our AppSec programs. [00:11.840 --> 00:15.740] So, I work with companies all the time. [00:15.740 --> 00:18.920] I work with customers a lot. I love my customers. [00:18.940 --> 00:21.640] And I see all different levels. [00:21.640 --> 00:24.140] But when I work with someone, [00:24.140 --> 00:26.640] that means they take security seriously enough [00:26.640 --> 00:29.540] to engage me, or to engage Semgrep, or to engage [00:29.540 --> 00:32.640] IAN's research. There's tons of companies [00:32.640 --> 00:34.660] that haven't engaged anyone. [00:34.660 --> 00:38.380] Like, they don't have one of you to rely on. [00:38.380 --> 00:40.900] And they are, like, out there. [00:41.020 --> 00:44.380] And so, I want to talk about three different models of AppSec [00:44.380 --> 00:48.120] that I see a lot, and then how we can take them to the next level. [00:48.120 --> 00:50.760] So, if you are one of those models, that's cool. [00:50.760 --> 00:52.460] I can help you do better. [00:52.700 --> 00:56.320] And so, what are we going to talk about? We're going to talk about common AppSec models, [00:56.320 --> 00:59.640] why they fail, and how we can just provide [00:59.640 --> 01:03.040] more value to our employers. Because, to be quite frank, [01:03.040 --> 01:05.800] we all want software to be more secure. [01:05.860 --> 01:08.460] That's what we want. And so, I want to briefly [01:08.460 --> 01:11.620] tell you how I did my research, because someone pointed out [01:11.620 --> 01:14.080] to me, they're like, you can't just say, because Tanya said so. [01:14.080 --> 01:16.680] You actually have to explain, like, how you learned these things. [01:16.900 --> 01:20.300] We can't just take your word for it. And I was like, you know, that's a really good point. [01:20.580 --> 01:23.220] So, I've been working with this company called IAN's Research [01:23.220 --> 01:26.300] since, I guess, I started very, very late 2018. [01:26.300 --> 01:28.640] So, let's call it 2019. And then, I've worked with [01:29.540 --> 01:33.080] almost 400 different AppSec teams over that time. [01:33.320 --> 01:35.460] You know how, like, there used to be that game show online [01:35.460 --> 01:38.300] where you could phone a friend? So, IAN's lets you [01:38.300 --> 01:41.360] phone a nerd. I'm one of the nerds. [01:41.400 --> 01:44.000] And then, I just help crush your AppSec programs. And I do [01:44.000 --> 01:47.280] between one and seven calls a week. And then, after [01:47.280 --> 01:50.260] so many years and taking so many notes, because I'm [01:50.260 --> 01:53.900] one of those obsessive note-taker persons, because I can't remember anything. [01:54.180 --> 01:57.200] I just realized, like, wow, I have a lot of data. [01:57.220 --> 02:00.280] And when you have 400 companies that you've spread the data across, [02:00.280 --> 02:03.400] it's no longer, like, it's a data set. [02:03.400 --> 02:06.560] It's no longer you're talking about this company. It's a data set. [02:06.560 --> 02:09.080] And I was like, I need to start sharing this data in [02:09.780 --> 02:12.660] anonymized ways. And so, this is one of the talks [02:12.660 --> 02:15.700] where I'm sharing that data after so many years. [02:15.700 --> 02:18.320] And so, thank you, IAN's Research, for actually giving me money. [02:18.320 --> 02:21.920] Because it's pretty cool to get paid to just do really awesome work. [02:21.920 --> 02:25.280] So, I'm this person. When I brush my hair, I look pretty good. [02:25.460 --> 02:27.560] I work at SunGraph, and I'm the head of [02:27.560 --> 02:30.380] community there. And they're very gracious and let me do lots [02:30.380 --> 02:33.040] of silly things, like make cards against AppSec. [02:33.280 --> 02:35.800] I'm known as SheXPurple. I wrote a book called [02:35.800 --> 02:38.240] Alice and Bob Learn Application Security. [02:38.600 --> 02:42.000] So, this is year 28 in tech for me. I'm old. [02:42.060 --> 02:46.120] I founded some stuff. I advise some people. And I do some research. [02:46.120 --> 02:49.180] And so, hopefully you're like, she seems qualified enough. [02:49.180 --> 02:52.620] I guess I'm not going to leave. I'll sit down. It's hot. [02:52.620 --> 02:55.100] Don't leave. So, I want to talk about [02:55.100 --> 02:57.820] maturity. So, [02:58.320 --> 03:00.900] how do I say... so, this is like... so, it says like, [03:00.900 --> 03:03.000] Tanya, gently explain [03:04.500 --> 03:07.220] that... so, we as an industry, [03:07.220 --> 03:10.120] some of us are doing great. And that is not [03:10.120 --> 03:13.280] very many of us. A lot of us, our AppSec programs [03:13.280 --> 03:16.380] were like, I wish it was so much better. We don't feel [03:17.220 --> 03:19.340] super... like, we're not bragging to our [03:19.340 --> 03:22.340] friends. We're not... like, we're just not satisfied [03:22.340 --> 03:25.420] with how it's going. And we know [03:25.420 --> 03:28.120] this because we keep seeing giant breaches, right? [03:28.120 --> 03:31.500] We keep seeing software development not going as securely [03:31.500 --> 03:34.280] and reliably as we expected to. Like, [03:34.280 --> 03:37.260] the whole thing with CrowdStrike was just us not following [03:37.260 --> 03:40.420] proper software development practices, testing the way [03:40.420 --> 03:43.380] we know we should. And they know too [03:43.380 --> 03:46.500] because there's so many pressures. And so, [03:46.500 --> 03:49.340] this talks about how we can mature because [03:49.340 --> 03:52.380] the whole industry is not where the people in this room are. [03:52.420 --> 03:55.240] The people in this room, you came [03:55.240 --> 03:58.260] probably from another country or from another part in this country [03:58.260 --> 04:01.360] to this place to learn, to become better. Everyone [04:01.360 --> 04:04.540] else isn't doing that, right? Only some of us are. So, there's a [04:04.540 --> 04:07.380] bit of the cream of the crop going on here. So, if you're like, of course, we would [04:07.380 --> 04:10.440] do that. Yeah, you would. But not everyone's doing it. So, I want us [04:10.440 --> 04:12.840] to all kind of continue on that. So, [04:14.060 --> 04:16.480] one of the issues I see with... so, there [04:16.480 --> 04:19.520] are some models. So, there's OWASP, SAM, BSIM, and NIST. [04:19.880 --> 04:22.560] I actually haven't used BSIM because it costs money and I'm very [04:22.560 --> 04:25.560] cheap. You'd be surprised. But I've done a lot [04:25.560 --> 04:28.460] of SAM and a lot of NIST. And these, when [04:28.460 --> 04:31.500] I talk with customers, they're like, oh, let's do a maturity [04:31.500 --> 04:34.480] model. And I'm like, great. And then I start telling them about it and they're [04:34.480 --> 04:37.500] so overwhelmed. I went to a SAM [04:37.500 --> 04:40.580] and OWASP SAM user meetup. So, SAM's awesome, just to be clear. [04:40.580 --> 04:43.180] And it's not a person. It's a software assurance [04:43.180 --> 04:46.520] maturity model. And they were telling me [04:46.520 --> 04:49.440] that, on average, their user group, so the people that are [04:49.440 --> 04:52.340] obsessed with SAM, they rate at [04:52.340 --> 04:55.440] like 1.1 out of 3. So, these are [04:55.440 --> 04:58.360] the people that have been doing SAM for years, working their butts [04:58.360 --> 05:01.400] off and they're barely getting 1 out of 3. So, when I ask [05:01.500 --> 05:04.340] a client who's like, what does FSEC stand for? [05:04.420 --> 05:07.500] To look at SAM, their eyes glaze over. They start to cry. [05:07.500 --> 05:10.100] They're just like, I can't even. I can't even fathom [05:10.100 --> 05:13.540] where to start. So, I'm going to start below that. [05:13.600 --> 05:16.240] Okay? Because that's where we are. [05:16.240 --> 05:19.300] So, on to the models. I just like cats. And this is the OSI model [05:19.300 --> 05:22.080] but with cats. Anyway... [05:22.080 --> 05:25.620] Okay. So, model one. Let's just pun test the important things. [05:25.620 --> 05:28.160] Who has worked with a client at some point where [05:28.160 --> 05:31.260] that's all they do. So, like, once or twice a year [05:31.260 --> 05:34.320] they have a pen tester come in. They do a pen test. They fail [05:34.320 --> 05:37.180] it so bad. And [05:37.180 --> 05:40.720] then they're like, yeah, that's our APSEC program. And I'm like, whoa. [05:40.800 --> 05:43.640] That's expensive for what you're getting. [05:43.760 --> 05:46.440] Like, pen testing is awesome. But if that's the only [05:46.440 --> 05:48.940] thing you're doing and you're just pen testing like two of your [05:48.940 --> 05:52.180] 200 apps once a year, you're getting [05:52.400 --> 05:54.960] a blink of a tiny, tiny portion [05:54.960 --> 05:58.580] of your entire tech surface. And like, this is not [05:58.580 --> 06:00.940] going to go well. And so, [06:00.940 --> 06:04.160] unfortunately, even in 2024, lots of companies [06:04.160 --> 06:07.120] are starting their first APSEC program. Like, last year I worked [06:07.120 --> 06:10.100] with a gaming company and you own their games. And I [06:10.100 --> 06:13.100] helped them start their first APSEC program. And so [06:13.100 --> 06:15.920] this year I trained a company that handles [06:15.920 --> 06:19.380] $2 billion of their customers' money [06:19.380 --> 06:22.300] and they were letting every single [06:22.300 --> 06:25.420] person at the company query the production database using the same [06:25.420 --> 06:28.340] user. And then they take client scripts and they just run it [06:28.340 --> 06:31.640] without any checking against the database they handle $2 billion. [06:31.860 --> 06:34.880] And I was like, oh, okay. [06:35.560 --> 06:37.380] We redesigned it. Life is way [06:37.380 --> 06:40.320] better now. Like, everything's going right. But like, $2 billion [06:40.320 --> 06:43.300] and that's what they were doing. Right? So, [06:43.960 --> 06:46.440] at least these people are doing two pen tests a year [06:46.440 --> 06:49.400] because they were doing literally nothing before I got there [06:49.400 --> 06:52.540] in March. So, yeah. So, let's [06:52.540 --> 06:55.620] talk about this model. So, it is extremely common. [06:55.880 --> 06:59.020] Generally, there's no formal system development lifecycle. [06:59.040 --> 07:01.600] They're like, we're doing WaterGile. [07:01.680 --> 07:04.520] We're doing DevOpsGile. [07:04.520 --> 07:07.520] We're doing, you know, we have a scrum meeting but it's only [07:07.520 --> 07:10.680] once a week. And then, like, we do sprints [07:10.680 --> 07:13.460] but they're six months long. Every single [07:13.460 --> 07:15.220] team is doing something different. [07:16.480 --> 07:18.680] There's a mixed tech stack. [07:18.680 --> 07:20.940] So, we have, like, five different programming languages and [07:20.940 --> 07:24.340] 12 different versions of six different frameworks. And then, [07:24.340 --> 07:27.420] like, some of us are using PaaS. Some of us are using IAC. [07:27.420 --> 07:30.540] Like, everyone just, like, let's do our own thing. It's great. [07:30.540 --> 07:33.400] It's not. We have code all [07:33.400 --> 07:36.020] over the place. So, I'm like, oh, where do you keep your code? [07:36.020 --> 07:39.400] They're like, so about that. And it's in, like, [07:39.400 --> 07:42.560] five different types of repositories [07:42.560 --> 07:45.640] but there's actually, like, 22 instances. So, you don't even know [07:45.640 --> 07:48.760] where your code is. Yeah, everyone's just [07:48.760 --> 07:51.600] kind of doing their own thing. And that's not good. So, why [07:51.600 --> 07:54.660] is this model bad? I think you already know. [07:54.660 --> 07:57.680] But let me tell you. So, it's quite expensive for [07:57.680 --> 08:00.560] what you're getting. So, pen testers are not cheap. Like, good ones [08:00.560 --> 08:02.560] are not cheap. And they shouldn't be. [08:03.660 --> 08:06.720] But usually, I like to do pen testing as, like, this beautiful cherry [08:06.720 --> 08:09.620] on top to make something perfect. Not as my [08:09.620 --> 08:12.320] only effort whatsoever. And so, you're having [08:12.320 --> 08:16.260] terrible, terrible coverage. Developers are getting zero support. [08:16.640 --> 08:18.740] Like, there's no opportunity for anyone [08:18.740 --> 08:21.700] to learn. That's one of the biggest problems with this one. [08:21.860 --> 08:24.580] None of your staff's getting better. Because you have this awesome, brilliant [08:24.580 --> 08:27.600] pen tester coming in, doing cool work, and then all their super [08:27.600 --> 08:30.780] awesome brain and knowledge leave. Right? And so, [08:30.780 --> 08:33.960] that is one of the many reasons this is bad. And so, [08:33.960 --> 08:36.540] how can we mature this model? So, I [08:36.540 --> 08:39.460] have... so, this one, I have the if you have budget [08:39.460 --> 08:42.560] and if you don't have budget. A lot of my [08:43.420 --> 08:45.780] career, my budget has not been quite what I want. [08:45.780 --> 08:48.620] I totally have an awesome budget now, running a community. It's like $8,000 [08:48.620 --> 08:50.040] bucks. Anyway, [08:51.600 --> 08:54.560] how do we mature this model? So, first, I like to start with [08:54.560 --> 08:57.420] secure coding training. And I'm gonna give you a link to [08:57.420 --> 09:01.040] free training for secure coding after this. [09:01.040 --> 09:03.640] There's gonna be a bunch of free resources because I want all [09:03.640 --> 09:05.540] of you to be awesome. But [09:06.540 --> 09:09.620] the way I teach secure coding training is not the same way [09:09.620 --> 09:13.140] as someone else does. And so, although obviously I'm the best ever, [09:13.140 --> 09:15.660] what you want is training that works for your [09:15.660 --> 09:18.640] team. That your team likes. And so, [09:18.640 --> 09:21.500] as much as like a salesperson will tell you ours is the best ever, what [09:21.500 --> 09:24.720] only really matters is that your team likes it. And that [09:24.720 --> 09:27.600] your team's willing to sit through it. Or go on the platform [09:27.600 --> 09:30.560] and play. Or attend the monthly lunch and learns. Whatever [09:30.560 --> 09:33.600] it is that you decide, try it out on some [09:33.600 --> 09:36.480] devs first and make sure that they're willing to tolerate it. [09:36.480 --> 09:39.540] Don't pay $12,000 to have someone [09:39.540 --> 09:42.320] come in that they hate. Right? Or [09:42.660 --> 09:44.880] a system or whatever it is that you do. [09:45.520 --> 09:47.980] Try to make sure it's a thing that they'll tolerate. [09:48.740 --> 09:51.620] So, the no budget plan. So, for those of us that don't [09:51.620 --> 09:54.700] have giant budgets, you don't have to raise your hands because it's sad. [09:55.700 --> 09:57.420] Okay, so one. So, use [09:57.420 --> 10:00.380] free tools like Zap and Burp if you're going to do dynamic [10:00.380 --> 10:03.220] scanning. And then for static analysis. So, for [10:03.220 --> 10:06.500] dynamic analysis, there's basically like two super clear awesome [10:06.500 --> 10:09.500] winners. And then for static analysis, like there's tons. [10:09.500 --> 10:12.220] Like I could fill this whole page. So, like there's [10:12.220 --> 10:15.140] many, many, many open source SaaS that are free. They're like [10:15.140 --> 10:18.320] not bad. Not bad. And then [10:18.940 --> 10:21.500] create a guideline. And I have one online again [10:21.500 --> 10:24.300] that's free. But basically, create some sort of [10:24.300 --> 10:27.340] guidance for your devs about how to create code [10:27.340 --> 10:30.560] that you feel is acceptable. And it's totally okay to steal [10:30.560 --> 10:33.440] something off of my website, off the OWASP [10:33.440 --> 10:36.400] website, off of like websites that give you permission to do [10:36.400 --> 10:39.380] that. So, you don't have to reinvent the wheel. But give them some [10:39.380 --> 10:42.440] guidance. Next, create [10:44.280 --> 10:45.440] a list of requirements. [10:45.440 --> 10:48.580] So, when you start a project, you set clear expectations [10:48.580 --> 10:51.720] for security for everyone on that project. [10:51.720 --> 10:54.460] And this could be just like five things. Like [10:54.460 --> 10:57.240] you're gonna scan it with our little SaaS. You're gonna scan it with our little [10:57.240 --> 11:00.440] desk. You're gonna fix the mediums and above. And then [11:00.440 --> 11:03.660] we're gonna do a pen test at the end. That could just be your [11:03.660 --> 11:07.060] entire requirements. Right? And follow the guideline. [11:07.640 --> 11:09.740] Like it doesn't have to be really advanced. And you can [11:09.740 --> 11:12.500] add to it over time. But starting a project with [11:12.500 --> 11:15.680] super clear expectations will get you a lot more of what you want [11:15.680 --> 11:18.740] in this world. Consolidate your [11:18.740 --> 11:21.740] code. So, this is a really hard one. This is one of those [11:21.740 --> 11:24.720] things where you're gonna have to talk to lots of people. But if your code is all [11:24.720 --> 11:27.440] in the same place, your life's gonna be better. [11:28.260 --> 11:30.740] The devs will also probably enjoy that [11:30.740 --> 11:33.740] once it happens. Like while we're doing it, it's gonna suck. But once it's [11:33.740 --> 11:37.200] all in the same place, like everyone's gonna benefit, not just you. [11:37.700 --> 11:39.620] And then lastly... Oh, actually, no. [11:39.620 --> 11:42.940] I have a whole other page. Push for a real system development lifecycle. [11:42.940 --> 11:45.780] Push for centralization. Push for standardization. [11:45.780 --> 11:49.180] This is a really hard one that requires a lot of social currency. [11:49.740 --> 11:51.780] But it is worth every single hour that [11:51.780 --> 11:54.700] you spend talking to people to make that happen. Like every [11:54.700 --> 11:58.000] single person in your whole IT department will benefit from that. [11:58.300 --> 12:00.780] Okay, number six. Threat model, the [12:00.780 --> 12:03.900] super important app. So those ones that you used to just pen test [12:03.900 --> 12:06.720] and that's all you did, do a threat model. You can do a super [12:06.720 --> 12:09.620] basic threat model. There's this amazing human named [12:09.620 --> 12:12.980] Adam Shostak. He has this thing called the four question frame [12:12.980 --> 12:16.720] for threat modeling. It's just four questions and a conversation. [12:16.900 --> 12:19.120] I start with that. It's so good. He's so [12:19.120 --> 12:22.160] smart. You don't have to read all of his awesome [12:22.160 --> 12:24.960] books, but you totally could. And like just start [12:24.960 --> 12:27.940] with that and you will get really far. Share [12:28.540 --> 12:31.060] information about incidents. So if you've had an app [12:31.060 --> 12:34.320] incident, if you're allowed, if it makes sense, [12:34.320 --> 12:37.060] share with the devs. Quite often when I start [12:37.060 --> 12:40.220] talking to them about security incidents, they had no idea. [12:40.220 --> 12:43.080] They had no idea we've been attacked. They had no idea we're attacked [12:43.080 --> 12:46.220] four billion times a day. They have no idea this stuff's [12:46.220 --> 12:49.440] happening. And I'm not doing it to scare their pants off. [12:49.440 --> 12:52.200] I want them to understand the threats we face. [12:52.200 --> 12:55.180] So I'm not trying to fear uncertainty and doubt. I'm like this is [12:55.180 --> 12:58.240] specifically what is happening to us and why [12:58.240 --> 13:01.920] I need your help so bad. Scan [13:01.920 --> 13:04.280] for secrets. There are free secret scanners. There's [13:04.280 --> 13:07.380] paid secret scanners. Basically if you have more time, [13:07.380 --> 13:10.400] you should use a free one. If you have more money, use a paid one. [13:10.400 --> 13:13.120] But basically scan your code for secrets and then rotate [13:13.120 --> 13:16.300] those secrets. Use a secret management tool. But that's later for when you [13:16.300 --> 13:19.060] have money. There's a free WAF [13:19.060 --> 13:22.160] from OWASP called ModSecurity. And you can put [13:22.160 --> 13:25.040] that in front of your super scary, terrible, like [13:25.040 --> 13:28.340] last updated in 2008 apps. [13:28.560 --> 13:30.960] Do that. And then you still [13:30.960 --> 13:34.100] pentest the important apps. However, now you [13:34.100 --> 13:37.060] don't fail horribly. And it's no longer completely [13:37.060 --> 13:40.260] embarrassing where you're like, oh God, I can't look the pentester in the face. This is so [13:40.260 --> 13:43.100] bad. So that's nice. [13:43.140 --> 13:46.420] And then so now if you have budget, I want to add three more things. [13:46.420 --> 13:49.100] So if you have budget, see how she kind of looks like a badass? She's like, [13:49.100 --> 13:51.900] I have budget. Hire an [13:51.900 --> 13:55.500] AppSec person. Like that is the best investment you can ever make. [13:55.500 --> 13:57.700] Like hire someone from this room. [13:58.520 --> 14:01.220] Like seriously, the people that are in this room, probably [14:01.220 --> 14:03.940] almost all of them would be amazing to work with. [14:04.400 --> 14:07.320] Pay for a next gen SAST. So I [14:07.320 --> 14:10.300] find that the paid SAST are a lot better than [14:10.300 --> 14:13.320] the paid DAST. I kind of think DAST sucks. And I remember [14:13.320 --> 14:16.380] people telling me at the beginning of my AppSec career that DAST sucks. [14:16.380 --> 14:19.000] I'm like, DAST is amazing. And they're like, one day when you're a more [14:19.000 --> 14:22.140] mature AppSec professional, Tanya, you'll understand. [14:22.300 --> 14:24.040] And one day I just did. [14:25.040 --> 14:27.520] I'm sorry if you make a DAST. I'm a jerk. [14:28.160 --> 14:30.600] Continue with your free-ish DAST. I just [14:30.600 --> 14:33.500] would never buy one. And then all [14:33.500 --> 14:36.720] of step two. So still do the no budget plan. [14:36.720 --> 14:40.180] So this is model one. And now we're going to do model two. [14:41.320 --> 14:42.100] All right. [14:42.380 --> 14:45.420] Model tool. I call this tools, tools, and [14:45.420 --> 14:48.520] more tools. So this is the most [14:48.520 --> 14:51.400] common thing. I see this absolutely all the time. [14:51.400 --> 14:54.320] Actually, let me go back for a second. So this is SAST plus [14:54.320 --> 14:58.220] DAST, perhaps one other tool, a little bit of governance. [14:58.820 --> 15:00.700] Okay. So partially [15:00.700 --> 15:03.760] rolled out tools. This is the most common thing. [15:04.040 --> 15:06.460] So partially rolled out. So we've [15:06.460 --> 15:09.300] paid $75,000 for a DAST and [15:09.300 --> 15:12.320] like $60,000 for a SAST. And we are totally using [15:12.320 --> 15:15.200] 20% of our licenses, which I hate. [15:15.200 --> 15:18.540] I work for a vendor. Take every penny you can. [15:18.540 --> 15:19.940] You paid for it. [15:21.400 --> 15:23.320] Lots of bug reports, but ain't [15:23.320 --> 15:26.100] no one fixing anything. So we've got lots of reports. [15:26.100 --> 15:28.840] They're not getting to the right people. Maybe there's lots of false [15:28.840 --> 15:31.960] positives. Maybe we're just not distributing them well. Maybe we're [15:31.960 --> 15:34.940] just not scanning the right things. Maybe we're scanning so [15:34.940 --> 15:37.780] rarely that it's unhelpful, but things are just not [15:37.780 --> 15:39.020] getting fixed. [15:40.900 --> 15:44.020] Inconsistent program. So I see this a lot. I see huge [15:44.460 --> 15:46.980] inconsistencies. Like one team has to do this huge architecture [15:46.980 --> 15:49.900] review. I worked at this one place and they had an [15:49.900 --> 15:52.840] 80-page template. So it was like [15:52.840 --> 15:56.440] 160 pages when you filled it out. And guess how many people filled it out? [15:56.440 --> 15:58.600] Zero. You can't see I'm doing this. [15:59.500 --> 16:02.120] No, that doesn't work. And usually they [16:02.120 --> 16:04.940] always have a SAST and a DAST. Little to no [16:04.940 --> 16:07.980] documentation. And the most common thing anyone ever [16:07.980 --> 16:10.620] says is, why won't the devs fix the bugs? [16:10.800 --> 16:13.740] I'm never going to talk to them or interact with them [16:13.740 --> 16:17.180] or provide support. I'm not going to even ask them this question. [16:17.180 --> 16:19.820] I'm going to ask everyone else in the entire company this question. [16:19.820 --> 16:22.720] This is a thing that I hear all the time. I'm like, did you ask the devs why [16:22.720 --> 16:25.940] they're not fixing it? No. When's the last time you talked to them? [16:25.940 --> 16:28.660] Never. I see the beginning of your [16:28.660 --> 16:31.640] problem. So why is this model bad? I really [16:31.640 --> 16:34.840] like dragons and I just wanted to have dragons in my presentation. [16:35.560 --> 16:38.240] Okay. So the coverage is bad. [16:38.240 --> 16:41.340] It's not terrible. It's not like the last one, but the coverage is bad. [16:41.340 --> 16:44.380] Not much is fixed. So we [16:44.380 --> 16:46.700] as an industry are not here to find bugs. [16:46.880 --> 16:50.720] We are here to reduce organizational risk in a [16:50.720 --> 16:53.700] meaningful and lasting way. That's our [16:53.700 --> 16:56.600] job. It does not matter if you find 45,000 [16:56.600 --> 16:59.600] bugs. You've found every bug that exists. If no one's fixing [16:59.600 --> 17:02.580] anything, in my opinion, your paycheck is too [17:02.580 --> 17:05.980] big. What we want to do is fix the things. [17:05.980 --> 17:08.260] We want to prevent the things from happening in the first place. We want [17:08.260 --> 17:11.220] to protect artworks. And you're just not doing it [17:11.220 --> 17:14.420] as well as you could with this program. And so [17:15.120 --> 17:16.740] how do we mature it? [17:17.320 --> 17:20.500] I used an AI to make this. I was like, show me a little girl [17:20.500 --> 17:23.420] growing up and becoming more mature. And this is what the AI [17:23.420 --> 17:26.060] gave me. I'm like, I'll take it. Sounds good. [17:26.520 --> 17:29.540] Okay. So we want to do everything from the previous maturity model. [17:29.540 --> 17:32.360] I was like, show me a little girl maturing. And this is, I guess [17:32.360 --> 17:34.220] this is how little girls mature now. [17:35.060 --> 17:38.360] Okay. So then the number one thing I would do is [17:38.360 --> 17:41.040] hire more AppSec folks. And I realize I am an AppSec [17:41.040 --> 17:44.460] folks, so I am biased. But I [17:44.460 --> 17:47.280] kind of think we're awesome. But really [17:47.280 --> 17:50.220] though, AppSec folks... Okay. So [17:50.220 --> 17:53.440] one of the pieces of advice is your entire AppSec team [17:53.440 --> 17:55.680] cannot just be pen testers. [17:56.120 --> 17:59.280] You have to have one of those people at least because we [17:59.280 --> 18:02.140] need them. But you can't have a team where you have five [18:02.140 --> 18:04.980] AppSec folks and every single one of them has just got the pen testing [18:04.980 --> 18:08.480] skills. And none of them have ever been a dev. [18:08.480 --> 18:11.240] None of them know how to read code. Or maybe they do know how to read [18:11.240 --> 18:14.200] code, but they just know how to do pen testing. They don't know how to do [18:14.200 --> 18:17.160] code review. They don't know how to do a threat model. They don't know how to [18:17.160 --> 18:20.160] write a policy. So you need a well-rounded [18:20.160 --> 18:23.720] AppSec team with a whole bunch of different types of skill sets. [18:23.800 --> 18:26.260] That's very important. One of them needs to have [18:26.260 --> 18:29.060] that pen tester, I'm going to F up your shit type of thing. [18:29.060 --> 18:32.280] But the rest of them, you have to have a rainbow type [18:32.280 --> 18:34.960] of team. This is one of those times when diversity [18:36.400 --> 18:38.300] of experience and [18:38.300 --> 18:42.040] skill set will really, really bring you a lot of value. [18:42.560 --> 18:44.360] Reassess your tools. So if [18:44.360 --> 18:47.460] it's been two or three years and you still haven't rolled your [18:47.460 --> 18:50.160] SAS, DAST, AST, whatever acronym [18:50.160 --> 18:53.800] thing out, it's the wrong tool. Done. [18:54.020 --> 18:55.940] You're done with it. Switch tools. [18:55.940 --> 18:58.840] I find that I'll work with companies and they're like, well, we've had it [18:58.840 --> 19:02.440] five years. And I'm like, yeah, and you're using 30% of your licenses. [19:02.600 --> 19:04.960] So for five years, you've been paying for 70% of [19:04.960 --> 19:08.240] things you're not using. You've wasted this many dollars. [19:08.440 --> 19:10.680] It's not working for you. [19:10.740 --> 19:13.740] It's like the sunk cost fallacy [19:13.740 --> 19:17.220] applies. Just get rid of it. Start again. Find a [19:17.220 --> 19:20.560] tool and make sure you evaluate it with your devs [19:20.560 --> 19:22.880] and make sure the rollout is fast. [19:22.880 --> 19:25.740] Don't buy a tool if it's going to take you two years to roll it out. [19:25.740 --> 19:28.600] I wanted to buy this IAST once. I was like so in love with it. [19:28.600 --> 19:31.780] I really, really wanted to buy it. And after three months, we still had [19:31.780 --> 19:34.780] not finished the proof of concept because I just couldn't get the [19:34.780 --> 19:37.720] team to roll it out. And my boss was like, you're going to roll this out [19:37.720 --> 19:40.660] for the rest of your career if we buy it. [19:40.680 --> 19:43.200] So it needs to be something that rolls out fast. [19:43.980 --> 19:46.520] Ensure your rollout's complete. Make [19:46.520 --> 19:49.940] the vendor give you every penny of value you paid for. [19:49.940 --> 19:53.040] Put us through our paces. I know that may sound like [19:53.040 --> 19:55.720] strange advice from a person that works at one of those places [19:55.720 --> 19:58.880] but you should get every single bit of value you can [19:58.880 --> 20:01.980] for that thing you're paying for. And the thing you can do is [20:01.980 --> 20:04.980] if at six months, you still are not able to roll out all the [20:04.980 --> 20:08.080] licenses, you can say, well, you know what? It's been six [20:08.080 --> 20:10.740] months and we haven't been able to roll them out. Maybe I don't want to pay [20:10.740 --> 20:13.760] for the rest of the six months for those licenses we're not using. [20:14.060 --> 20:16.660] Some companies I've been able to do is I'll say [20:16.660 --> 20:19.660] I want to buy half in the first six months and the other half [20:19.660 --> 20:22.700] in the next six months because I know it's going to take a long time. [20:22.720 --> 20:25.620] But ideally, just get something that's easy to roll out if that is [20:25.760 --> 20:28.620] a possibility for you and the way that your [20:28.620 --> 20:31.380] stack looks. Because it's not always possible. [20:31.420 --> 20:34.320] The hardest advice ever. Provide support. [20:34.560 --> 20:37.580] Make friends. Talk to people. Build trust. This is [20:37.580 --> 20:40.580] hard. So this can mean writing a one-pager [20:40.580 --> 20:43.420] with security guidance. Helping them with their [20:43.420 --> 20:46.440] frameworks. Being available is really, really [20:46.440 --> 20:49.400] hard because I know all of you are probably really, really busy. [20:49.640 --> 20:52.480] But this is something that creates a ton of value and you don't have to [20:52.480 --> 20:55.440] dye your hair purple. It just helps. All of you actually look really good in [20:55.440 --> 20:57.460] purple. Some of you just don't know it yet. [20:58.200 --> 21:01.460] Start to manage incidents better. Send your [21:01.460 --> 21:03.920] team on incident response training if you can. [21:04.280 --> 21:07.460] Figure out a way for... actually, let me do this. Create a way to report [21:07.460 --> 21:10.540] incidents really quickly. Do incident training [21:10.540 --> 21:13.620] for devs so they know what it looks like and they can tell you when they see [21:13.620 --> 21:16.700] something bad. And then create an incident response [21:16.700 --> 21:19.900] process. Make sure everyone knows it that needs to know it. [21:19.900 --> 21:22.620] A lot of these companies, they don't got nothing. They're really [21:22.620 --> 21:25.720] good at responding to malware. They're ready for ransomware. [21:25.720 --> 21:28.620] Everything else, they have no plan whatsoever. [21:29.380 --> 21:31.620] Model 3. And we have how many [21:31.620 --> 21:34.660] minutes left? We have five minutes. Okay, I call this the stranglehold [21:34.660 --> 21:37.460] big spend. So [21:37.460 --> 21:40.620] you have every single tool. You have like 11 tools. [21:40.660 --> 21:43.420] You've spent all the money. [21:43.420 --> 21:46.380] You have a stranglehold governance. No one can breathe. [21:46.380 --> 21:49.680] It takes three weeks to make a one-line change of code. [21:49.820 --> 21:52.580] There is constant friction. The security [21:52.580 --> 21:55.380] posture is not satisfying for how much you're spending. [21:55.380 --> 21:58.880] And sec and dev don't talk unless they're yelling. [21:58.880 --> 22:02.040] I have worked here so many times. [22:02.140 --> 22:04.300] And you come in [22:04.300 --> 22:07.180] and I remember my friend Nicole. She's like, I walk in and I'm like, [22:07.180 --> 22:10.540] hey, I'm Nicole. I'm from security. I come in peace. [22:10.540 --> 22:13.980] And then I put my hands out like this and hopefully people laugh. [22:13.980 --> 22:16.320] Sometimes they boo. And then I know what level [22:16.320 --> 22:19.700] I'm at to start and how much peacemaking I need to do. [22:19.920 --> 22:22.540] But the I come in peace really works well. [22:22.540 --> 22:25.560] So why is this model bad? You're spending a zillion dollars [22:26.260 --> 22:28.680] and you are not getting your money's worth. [22:28.720 --> 22:31.060] You are slowing down innovation. [22:31.060 --> 22:34.200] Maybe even people are quitting because they just can't [22:34.200 --> 22:37.180] stand how annoying, how much friction there is. [22:37.180 --> 22:40.420] You, the security team, are petting the cat, which is a [22:40.420 --> 22:43.180] dev, backwards all day long. And the [22:43.180 --> 22:46.820] devs are just like, oh. I used to work somewhere where I [22:46.820 --> 22:49.820] literally, I saw the security guy and then I went like [22:50.120 --> 22:52.780] this. And my boss was like, did you literally just [22:52.780 --> 22:57.380] duck? And I was like, I'm so busted. [22:57.380 --> 22:58.380] We don't want to be that. [22:59.160 --> 23:02.460] We're that way because so many other cultural things [23:02.460 --> 23:04.880] have happened. That's what led us to that. [23:04.940 --> 23:08.540] So I suggest scaling with either a security champions [23:08.540 --> 23:12.260] program, delegation, like specific delegation, [23:12.980 --> 23:14.880] automation. So I have like a [23:14.880 --> 23:17.400] bunch of things I can talk about how to scale your [23:17.400 --> 23:21.540] program better. But if you do a champs program, [23:21.800 --> 23:24.420] it's a big undertaking. Be serious about it. [23:24.420 --> 23:26.620] Be intentional. Do a really good job. I would love to [23:26.620 --> 23:29.480] talk to you about that after. I'm a big giant fan. I'm a bit [23:29.480 --> 23:32.460] obsessive. If you're not going to do a champions program, do an advocacy [23:32.460 --> 23:35.300] program to change the culture where you work so it's more [23:35.300 --> 23:38.520] positive. Make it a standard. Take [23:38.520 --> 23:41.520] all your guidance and guidelines, turn them into standards because you're [23:41.520 --> 23:44.540] ready for that now. And then provide training and [23:44.540 --> 23:47.760] workshops on how to apply that and help everyone become [23:47.760 --> 23:50.640] compliant. You will make friends, not enemies that way. [23:50.720 --> 23:53.500] Instead of just publishing a policy and then being like, good luck with [23:53.500 --> 23:56.500] that. Make your tools go fast. [23:56.640 --> 23:59.600] You want fast tools. You are paying a fortune. You deserve fast, [23:59.600 --> 24:02.420] efficient tools full of true positives. [24:02.840 --> 24:04.960] If you're not getting it, break up. [24:05.480 --> 24:08.560] Examine your APIs. So at this point, you should be taking care of your [24:08.560 --> 24:11.420] APIs, not just your front-end web apps. You should be [24:11.420 --> 24:14.380] taking care of every type of software, including mobile, [24:14.380 --> 24:17.560] including IoT, including WebSockets. All of those [24:17.560 --> 24:20.280] things need attention now. And you might need to get a special [24:20.280 --> 24:23.640] subset of your tools to make sure you pay them the special [24:23.640 --> 24:26.520] attention they deserve. Embrace threat modeling. [24:26.520 --> 24:29.720] Threat modeling rules. You want a [24:29.720 --> 24:32.900] company-wide secret management at this point. I do not sell a secret [24:32.900 --> 24:36.160] management tool. I wish I did because they are [24:36.160 --> 24:38.820] amazing and you need one. Your [24:38.820 --> 24:41.820] whole company should have a management program [24:41.820 --> 24:44.760] like an app, but also just like a plan to [24:44.760 --> 24:47.480] manage your secrets as a whole so that you never, ever leak a secret [24:47.480 --> 24:50.520] again. You want to do continuous scanning. And I don't [24:50.520 --> 24:53.600] mean this in like a swear word marketing buzzword [24:53.600 --> 24:56.500] type of way. I mean like set up your tools so they are always [24:56.500 --> 24:59.300] scanning all the time and you are reviewing them when you see something [24:59.300 --> 25:02.420] disconcerting. You can do this with more modern tools [25:02.420 --> 25:05.520] where they are just kind of scanning on their own and then you review it [25:05.520 --> 25:09.020] when you have time. Training that doesn't suck. [25:09.600 --> 25:11.680] Evaluate the training with your devs [25:11.680 --> 25:14.440] to see if they actually like it. Do the one they like. [25:14.440 --> 25:17.360] Do the one that they are willing to tolerate. This might mean [25:17.360 --> 25:20.800] it's like one day a week for three weeks. [25:20.800 --> 25:23.560] It might mean it's one hour every [25:23.560 --> 25:26.500] other week. It might mean it's a full day for three [25:26.500 --> 25:29.420] days in a row and it's interactive and they get to like move [25:29.420 --> 25:32.560] around. There's many different types of trainings. [25:32.740 --> 25:35.560] Don't just go with the cheap one. Don't just go with the popular [25:35.560 --> 25:38.540] one. Go with the one they like the best because you will get [25:38.540 --> 25:41.500] the best results. If you [25:41.500 --> 25:44.640] have a WAF on stuff, if you have the money to a RASP, it's just [25:44.640 --> 25:47.500] better. I know a lot of people are going to swear [25:47.500 --> 25:50.680] at me about that after. Your AppSec team [25:50.680 --> 25:53.540] should be trained in incident response or your incident [25:53.540 --> 25:56.120] response team should have some training in AppSec [25:56.120 --> 25:59.700] so that if a real AppSec incident like a big one happens [25:59.700 --> 26:02.800] you are ready. This is more advanced and that's okay. [26:03.220 --> 26:05.760] And lastly, use a data-driven approach. [26:06.140 --> 26:08.920] See that giant smile he has? It's gorgeous. [26:08.920 --> 26:12.100] It's wonderful because he's using data to improve his program. [26:12.100 --> 26:15.140] I talk about this a lot too. You should be gathering metrics [26:15.140 --> 26:18.020] on the regular and then using that to do [26:18.020 --> 26:20.980] experiments and then improving, improving, improving. [26:20.980 --> 26:24.000] Whatever is not working, you throw it out. Whatever is working, you do more of [26:24.000 --> 26:26.940] that. I know that sounds obvious but taking that time [26:26.940 --> 26:29.900] every 90 days to look at your metrics and [26:29.900 --> 26:32.960] improve will bring you huge value over time. [26:32.960 --> 26:35.960] And I totally have one minute left. So, conclusion [26:35.960 --> 26:38.900] we learned three common AppSec models, [26:38.900 --> 26:41.760] how to identify the models, how to improve the models and build a better [26:41.760 --> 26:44.920] program. But more importantly, if you want to get your phones out [26:44.920 --> 26:47.880] I have some resources. So, I have free [26:47.880 --> 26:51.280] secure coding courses, AppSec courses, [26:51.280 --> 26:53.960] next week I'm releasing incident response for devs, all that's [26:53.960 --> 26:56.940] free. There is no payment except we add you to our [26:56.940 --> 27:00.080] newsletter but me and my colleague Amanda write it and I think it doesn't [27:00.080 --> 27:02.940] suck very much. And you can just unsubscribe [27:02.940 --> 27:06.420] if you don't like it. But I didn't say that. Okay, next. [27:06.500 --> 27:09.240] Books. I love books. These books are not [27:09.240 --> 27:12.360] free. I only wrote one of them and my mom says that one's the best [27:12.360 --> 27:15.280] one. But I love DevOps and I feel like us security [27:15.280 --> 27:18.340] folks can learn a lot from the amazing DevOps folks, especially [27:18.340 --> 27:21.160] the researchers. This is really good content. [27:21.720 --> 27:24.120] Cyber Mentoring Monday. Every single Monday on Twitter [27:24.120 --> 27:27.100] and on Mastodon InfoSec Exchange, I use [27:27.100 --> 27:30.360] this hashtag to match with people. I have so many people [27:30.360 --> 27:33.620] write me and they want an AppSec mentor. And the people [27:33.620 --> 27:36.460] in this room, if you would answer one of them, you will make [27:36.460 --> 27:39.620] their whole year. Seriously, you've changed someone's entire [27:39.620 --> 27:42.560] life when you answer their call. And if I can just [27:42.560 --> 27:45.680] ask one favor from you is to answer someone and have a virtual [27:45.680 --> 27:48.720] coffee with them. Recommend a book. Recommend [27:48.860 --> 27:51.460] a talk. Just giving them your time and encouragement [27:51.460 --> 27:55.260] can literally change their entire career trajectory. [27:55.640 --> 27:58.280] And then lastly, me. I am a [27:58.280 --> 28:01.620] I do this all the time. It's basically all I do. [28:01.620 --> 28:04.360] I love giving stuff away for free. I'm not as good at business, but I'm [28:04.360 --> 28:07.540] really good at sharing. I am a she-hacks-purple [28:07.540 --> 28:10.980] on all the things. And then lastly, [28:10.980 --> 28:13.500] thank you. Thank you so much for coming. [28:13.500 --> 28:16.340] There's so much cool stuff and you came to see this. Thank you.