WEBVTT

00:08.390 --> 00:10.000
Hi, I'm Tanya Janka.

00:10.000 --> 00:11.760
I'm also known as SheHacksPurple.

00:11.760 --> 00:15.620
And I want to talk about maturing our AppSec programs.

00:15.620 --> 00:19.700
So, I work with companies all the time.

00:19.700 --> 00:21.220
I work with customers a lot.

00:21.220 --> 00:22.900
I love my customers.

00:22.960 --> 00:25.720
And I see all different levels.

00:25.720 --> 00:35.140
But when I work with someone, that means they take security seriously enough to engage me, or to engage Sumgrip, or to engage ION's research.

00:35.140 --> 00:38.640
There's tons of companies that haven't engaged anyone.

00:38.640 --> 00:42.480
Like, they don't have one of you to rely on.

00:42.480 --> 00:44.840
And they are, like, out there.

00:44.940 --> 00:52.120
And so I want to talk about three different models of AppSec that I see a lot, and then how we can take them to the next level.

00:52.120 --> 00:54.720
So, if you are one of those models, that's cool.

00:54.720 --> 00:56.420
I can help you do better.

00:56.660 --> 00:58.380
And so, what are we going to talk about?

00:58.380 --> 01:05.640
We're going to talk about common AppSec models, why they fail, and how we can just provide more value to our employers.

01:05.700 --> 01:09.780
Because, to be quite frank, we all want software to be more secure.

01:09.860 --> 01:10.900
That's what we want.

01:11.020 --> 01:17.980
And so, I want to briefly tell you how I did my research, because someone pointed out to me, they're like, you can't just say because Tanya said so.

01:17.980 --> 01:20.660
You actually have to explain, like, how you learned these things.

01:20.880 --> 01:22.440
We can't just take your word for it.

01:22.440 --> 01:24.280
And I was like, you know, that's a really good point.

01:24.660 --> 01:30.240
So, I've been working with this company called ION's Research since, I guess I started very, very late 2018.

01:30.240 --> 01:31.680
So, let's call it 2019.

01:31.920 --> 01:37.080
And then, I've worked with almost 400 different AppSec teams over that time.

01:37.300 --> 01:40.960
You know how, like, there used to be that game show online where you could phone a friend?

01:40.980 --> 01:43.740
So, ION's lets you phone a nerd.

01:43.740 --> 01:45.180
I'm one of the nerds.

01:45.180 --> 01:47.500
And then, I just help crush your AppSec programs.

01:47.500 --> 01:50.340
And I do between one and seven calls a week.

01:50.360 --> 01:57.940
And then, after so many years and taking so many notes, because I'm one of those obsessive note-taker persons, because I can't remember anything.

01:57.940 --> 02:01.200
I just realized, like, wow, I have a lot of data.

02:01.200 --> 02:07.420
And when you have 400 companies that you've spread the data across, it's no longer, like, it's a data set.

02:07.420 --> 02:09.680
It's no longer you're talking about this company.

02:09.680 --> 02:10.620
It's a data set.

02:10.620 --> 02:15.020
And I was like, I need to start sharing this data in anonymized ways.

02:15.020 --> 02:19.680
And so, this is one of the talks where I'm sharing that data after so many years.

02:19.680 --> 02:22.660
And so, thank you to ION's Research for actually giving me money.

02:22.720 --> 02:25.980
Because it's pretty cool to get paid to just do really awesome work.

02:25.980 --> 02:27.220
So, I'm this person.

02:27.220 --> 02:29.300
When I brush my hair, I look pretty good.

02:29.540 --> 02:32.680
I work at Semgrep, and I'm the head of community there.

02:32.680 --> 02:37.040
And they're very gracious and let me do lots of silly things, like make cards against AppSec.

02:37.400 --> 02:39.040
I'm known as SheXPurple.

02:39.040 --> 02:42.260
I wrote a book called Alice and Bob Learn Application Security.

02:42.720 --> 02:45.040
So, this is year 28 in tech for me.

02:45.040 --> 02:46.000
I'm old.

02:46.180 --> 02:47.500
I founded some stuff.

02:47.500 --> 02:48.700
I advise some people.

02:48.700 --> 02:50.160
And I do some research.

02:50.240 --> 02:53.260
And so, hopefully, you're like, she seems qualified enough.

02:53.260 --> 02:54.620
I guess I'm not going to leave.

02:54.620 --> 02:55.700
I'll sit down.

02:55.700 --> 02:56.700
It's hot.

02:56.700 --> 02:57.640
Don't leave.

02:58.200 --> 03:00.340
So, I want to talk about maturity.

03:01.160 --> 03:03.240
So , how do I say...

03:03.240 --> 03:03.920
So, this is like...

03:03.920 --> 03:08.960
So, it says, like, Tanya, gently explain that...

03:08.960 --> 03:13.220
So, we as an industry, some of us are doing great.

03:13.400 --> 03:15.520
And that is not very many of us.

03:15.520 --> 03:19.700
A lot of us, our AppSec programs, we're like, I wish it was so much better.

03:19.700 --> 03:22.120
We don't feel super...

03:22.120 --> 03:24.100
Like, we're not bragging to our friends.

03:24.100 --> 03:25.280
We're not...

03:25.280 --> 03:28.580
Like, we're just not as satisfied with how it's going.

03:28.680 --> 03:32.060
And we know this, because we keep seeing giant breaches.

03:32.140 --> 03:32.260
Right?

03:32.260 --> 03:38.200
We keep seeing software development not going as securely and reliably as we expect it to.

03:38.200 --> 03:43.800
Like, the whole thing with CrowdStrike was just us not following proper software development practices.

03:43.960 --> 03:46.640
Testing the way we know we should.

03:46.640 --> 03:47.640
And they know, too.

03:47.640 --> 03:49.560
Because there's so many pressures.

03:49.700 --> 03:53.280
And so, this talks about how we can mature.

03:53.280 --> 03:56.660
Because the whole industry is not where the people in this room are.

03:56.800 --> 04:04.820
The people in this room, you came probably from another country or from another part in this country to this place to learn, to become better.

04:05.180 --> 04:06.840
Everyone else isn't doing that.

04:06.840 --> 04:06.940
Right?

04:06.940 --> 04:08.060
Only some of us are.

04:08.060 --> 04:10.420
So, there's a bit of the cream of the crop going on here.

04:10.420 --> 04:11.900
So, if you're like, of course we would do that.

04:11.900 --> 04:12.980
Yeah, you would.

04:12.980 --> 04:14.140
But not everyone's doing it.

04:14.140 --> 04:16.680
So, I want us to all kind of continue on that.

04:16.680 --> 04:20.240
So, one of the issues I see with...

04:20.240 --> 04:21.560
So, there are some models.

04:21.560 --> 04:23.700
So, there's OWASP, SAM, BSIM, and NIST.

04:24.140 --> 04:27.220
I actually haven't used BSIM because it costs money and I'm very cheap.

04:27.220 --> 04:28.360
You'd be surprised.

04:28.860 --> 04:31.340
But I've done a lot of SAM and a lot of NIST.

04:31.620 --> 04:36.100
And these, when I talk with customers, they're like, oh, let's do a maturity model.

04:36.100 --> 04:37.020
And I'm like, great.

04:37.020 --> 04:40.000
And then I start telling them about it and they're so overwhelmed.

04:40.640 --> 04:43.180
I went to a SAM, an OWASP SAM user meetup.

04:43.180 --> 04:44.760
So, SAM's awesome, just to be clear.

04:44.760 --> 04:45.680
And it's not a person.

04:45.680 --> 04:48.840
It's the Software Assurance Maturity Model.

04:49.380 --> 04:58.780
And they were telling me that, on average, their user group, so the people that are best with SAM, they rate at like 1.1 out of 3.

04:58.920 --> 05:04.700
So, these are the people that have been doing SAM for years, working their butts off, and they're barely getting 1 out of 3.

05:04.700 --> 05:10.900
So, when I ask a client who's like, what does FSEC stand for, to look at SAM, their eyes glaze over.

05:10.900 --> 05:11.680
They start to cry.

05:11.680 --> 05:13.180
They're just like, I can't even.

05:13.180 --> 05:15.700
I can't even fathom where to start.

05:15.720 --> 05:17.960
So, I'm going to start below that.

05:17.960 --> 05:20.480
Because that's where we are.

05:20.480 --> 05:21.380
So, on to the models.

05:21.380 --> 05:24.780
I just like cats and the OSI model, but with cats.

05:24.880 --> 05:27.840
Anyway, okay, so Model 1.

05:27.840 --> 05:29.840
Let's just pen test the important things.

05:29.840 --> 05:33.920
Who has worked with a client at some point where that's all they do?

05:33.920 --> 05:37.100
So, like, once or twice a year, they have a pen tester come in.

05:37.100 --> 05:37.940
They do a pen test.

05:37.940 --> 05:40.380
They fail it so bad.

05:41.280 --> 05:43.780
And then they're like, yeah, that's our AppSec program.

05:43.780 --> 05:47.700
And I'm like, whoa, that's expensive for what you're getting.

05:47.700 --> 05:49.600
Like, pen testing is awesome.

05:49.840 --> 06:01.700
But if that's the only thing you're doing, and you're just pen testing, like, two of your 200 apps once a year, you're getting a blink of a tiny, tiny portion of your entire attack surface.

06:01.700 --> 06:04.260
And, like, this is not going to go well.

06:04.320 --> 06:10.400
And so, unfortunately, even in 2024, lots of companies are starting their first AppSec program.

06:10.400 --> 06:14.040
Like, last year, I worked with a gaming company, and you own their games.

06:14.040 --> 06:17.000
And I helped them start their first AppSec program.

06:17.000 --> 06:24.140
And so this year, i trained a company that handles $2 billion of their customers' money.

06:24.140 --> 06:30.500
And they were letting every single person at the company query the production database using the same user.

06:30.500 --> 06:36.100
And then they take client scripts, and they just run it without any checking against the database they handle $2 billion.

06:36.180 --> 06:39.320
And i was like, oh, okay.

06:39.760 --> 06:41.140
We redesigned it.

06:41.140 --> 06:42.460
Life is way better now.

06:42.460 --> 06:46.300
Everything is going great, but $2 billion, and that's what they were doing.

06:46.320 --> 06:54.540
So at least these people are doing two pen tests a year, because they were doing literally nothing before i got there in March.

06:54.580 --> 06:55.880
So, yeah.

06:55.880 --> 06:57.920
So let's talk about this model.

06:57.920 --> 06:59.880
So it is extremely common.

07:00.140 --> 07:03.400
Generally, there's no formal system development life cycle.

07:03.420 --> 07:05.920
They're like, we're doing WaterGile.

07:06.060 --> 07:08.840
We're doing DevOpsGile.

07:08.840 --> 07:11.380
We're doing, you know, we have a scrum meeting.

07:11.380 --> 07:12.760
But it's only once a week.

07:12.800 --> 07:16.800
And then, like, we do sprints, but they're six months long.

07:17.180 --> 07:19.460
Every single team is doing something different.

07:20.880 --> 07:23.020
There's a mixed tech stack.

07:23.020 --> 07:28.140
So we have, like, five different programming languages and 12 different versions of six different frameworks.

07:28.300 --> 07:30.220
And then, like, some of us are using PaaS.

07:30.220 --> 07:31.760
Some of us are using IAC.

07:31.760 --> 07:34.140
Like, everyone just, like, ooh, let's do our own thing.

07:34.140 --> 07:34.920
It's great.

07:34.920 --> 07:35.720
It's not.

07:36.640 --> 07:38.860
We have code all over the place.

07:38.880 --> 07:40.360
So i'm like, oh, where do you keep your code?

07:40.360 --> 07:43.160
They're like, so about that.

07:43.160 --> 07:47.100
And it's in, like, five different types of repositories.

07:47.100 --> 07:49.320
But there's actually, like, 22 instances.

07:49.320 --> 07:51.300
So you don't even know where your code is.

07:52.180 --> 07:54.720
Yeah, everyone's just kind of doing their own thing.

07:54.720 --> 07:55.660
And that's not good.

07:55.660 --> 07:57.420
So why is this model bad?

07:57.700 --> 08:00.300
I think you already know, but let me tell you.

08:00.460 --> 08:02.680
So it's quite expensive for what you're getting.

08:02.680 --> 08:04.300
So pentesters are not cheap.

08:04.300 --> 08:05.660
Like, good ones are not cheap.

08:05.660 --> 08:07.060
And they shouldn't be.

08:07.900 --> 08:13.020
But usually I like to do pentesting as, like, this beautiful cherry on top to make something perfect.

08:13.180 --> 08:15.860
Not as my only effort whatsoever.

08:15.940 --> 08:18.560
And so you're having terrible, terrible coverage.

08:18.560 --> 08:20.660
Developers are getting zero support.

08:20.960 --> 08:24.060
Like, there's no opportunity for anyone to learn.

08:24.060 --> 08:26.100
That's one of the biggest problems with this one.

08:26.420 --> 08:27.800
None of your staff's getting better.

08:27.800 --> 08:31.020
Because you have this awesome, brilliant pentester coming in, doing cool work.

08:31.020 --> 08:34.080
And then all their super awesome brain and knowledge leave.

08:34.460 --> 08:34.800
Right?

08:34.800 --> 08:37.900
And so that is one of the many reasons this is bad.

08:37.900 --> 08:40.640
And so how can we mature this model?

08:40.720 --> 08:46.000
So this one, I have the if you have budget and if you don't have budget.

08:46.060 --> 08:50.180
A lot of my career, my budget has not been quite what I want.

08:50.180 --> 08:52.420
I totally have an awesome budget now running a community.

08:52.420 --> 08:53.680
It's like 8,000 bucks.

08:53.680 --> 08:57.640
Anyway, how do we mature this model?

08:57.640 --> 09:00.240
So first I like to start with secure coding training.

09:00.240 --> 09:05.460
And I'm going to give you a link to free training for secure coding after this.

09:05.460 --> 09:09.260
There's going to be a bunch of free resources because I want all of you to be awesome.

09:09.620 --> 09:15.340
But the way I teach secure coding training is not the same way as someone else does.

09:15.340 --> 09:20.720
And so although obviously I'm the best ever, what you want is training that works for your team.

09:20.720 --> 09:22.220
That your team likes.

09:22.400 --> 09:28.880
And so as much as like a salesperson will tell you ours is the best ever, what only really matters is that your team likes it.

09:28.880 --> 09:30.800
And that your team is willing to sit through it.

09:30.800 --> 09:32.960
Or go on the platform and play.

09:32.960 --> 09:34.740
Or attend the monthly lunch and learns.

09:34.740 --> 09:36.840
Whatever it is that you decide.

09:36.900 --> 09:38.940
Try it out on some devs first.

09:38.940 --> 09:40.960
Make sure that they're willing to tolerate it.

09:40.960 --> 09:46.180
Don't pay $12,000 to have someone come in that they hate.

09:46.180 --> 09:46.540
Right?

09:46.540 --> 09:49.400
Or a system or whatever it is that you do.

09:49.980 --> 09:52.520
Try to make sure it's a thing that they'll tolerate.

09:53.180 --> 09:55.000
So the no budget plan.

09:55.000 --> 09:59.240
So for those of us that don't have giant budgets, you don't have to raise your hands because it's sad.

10:00.180 --> 10:00.540
Okay.

10:00.540 --> 10:01.460
So one.

10:01.540 --> 10:05.580
So use free tools like Zap and Burp if you're going to do dynamic scanning.

10:05.580 --> 10:07.220
And then for static analysis.

10:07.260 --> 10:11.800
So for dynamic analysis, there's basically like two super clear awesome winners.

10:11.800 --> 10:13.960
And then for static analysis, like there's tons.

10:13.960 --> 10:15.820
Like I could fill this whole page.

10:15.820 --> 10:19.260
So like there's many, many, many open source SaaS that are free.

10:19.260 --> 10:20.800
They're like not bad.

10:20.800 --> 10:21.720
Not bad.

10:21.880 --> 10:24.520
And then create a guideline.

10:24.520 --> 10:27.060
And I have one online, again, that's free.

10:27.060 --> 10:33.600
But basically create some sort of guidance for your devs about how to create code that you feel is acceptable.

10:33.600 --> 10:43.040
And it's totally okay to steal something off of my website, off the OWASP website, off of like websites that give you permission to do that so you don't have to reinvent the wheel.

10:43.040 --> 10:44.800
Give them some guidance.

10:45.280 --> 10:46.320
Next.

10:46.520 --> 10:49.980
Create a list of requirements.

10:49.980 --> 10:56.220
So when you start a project, you set clear expectations for security for everyone on that project.

10:56.360 --> 10:58.600
And this could be just like five things.

10:58.840 --> 11:00.780
Like you're going to scan it with our little SaaS.

11:00.780 --> 11:02.360
You're going to scan it with our little desk.

11:02.360 --> 11:04.480
You're going to fix the mediums and above.

11:04.480 --> 11:07.100
And then we're going to do a pen test at the end.

11:07.100 --> 11:09.640
That could just be your entire requirements.

11:09.640 --> 11:09.820
Right?

11:09.820 --> 11:11.620
And follow the guideline.

11:12.160 --> 11:13.960
Like it doesn't have to be really advanced.

11:13.960 --> 11:15.820
And you can add to it over time.

11:15.820 --> 11:21.200
But starting a project with super clear expectations will get you a lot more of what you want in this world.

11:22.780 --> 11:24.040
Consolidate your code.

11:24.040 --> 11:25.700
So this is a really hard one.

11:25.700 --> 11:28.060
This is one of those things where you're going to have to talk to lots of people.

11:28.060 --> 11:32.060
But if your code is all in the same place, your life's going to be better.

11:32.860 --> 11:36.080
The devs will also probably enjoy that once it happens.

11:36.080 --> 11:37.760
Like while we're doing it, it's going to suck.

11:37.760 --> 11:41.820
But once it's all in the same place, like everyone's going to benefit, not just you.

11:41.820 --> 11:45.500
And then lastly, oh actually no, I have a whole other page.

11:45.500 --> 11:47.580
Push for a real system development life cycle.

11:47.580 --> 11:49.000
Push for centralization.

11:49.000 --> 11:50.440
Push for standardization.

11:50.440 --> 11:53.780
This is a really hard one that requires a lot of social currency.

11:54.040 --> 11:58.840
But it is worth every single hour that you spend talking to people to make that happen.

11:58.840 --> 12:02.620
Like every single person in your whole IT department will benefit from that.

12:02.840 --> 12:04.460
Okay, number six.

12:04.700 --> 12:06.400
Threat model, the super important app.

12:06.400 --> 12:10.780
So those ones that you used to just pen test and that's all you did, do a threat model.

12:10.780 --> 12:12.740
You can do a super basic threat model.

12:12.940 --> 12:15.200
There's this amazing human named Adam Shostak.

12:15.200 --> 12:18.720
He has this thing called the four question frame for threat modeling.

12:18.720 --> 12:21.380
It's just four questions and a conversation.

12:21.640 --> 12:22.540
I start with that.

12:22.540 --> 12:23.400
It's so good.

12:23.400 --> 12:24.620
He's so smart.

12:25.120 --> 12:28.300
You don't have to read all of his awesome books, but you totally could.

12:28.520 --> 12:31.640
And like just start with that and you will get really far.

12:32.520 --> 12:34.680
Share information about incidents.

12:34.680 --> 12:40.620
So if you've had an app incident, if you're allowed, if it makes sense, share with the devs.

12:40.620 --> 12:44.920
Quite often when I start talking to them about security incidents, they had no idea.

12:45.260 --> 12:46.800
They had no idea we've been attacked.

12:46.800 --> 12:49.520
They had no idea we're attacked four billion times a day.

12:49.520 --> 12:51.460
They have no idea this stuff's happening.

12:51.460 --> 12:54.160
And I'm not doing it to scare their pants off.

12:54.160 --> 12:56.920
I want them to understand the threats we face.

12:56.920 --> 12:59.240
So I'm not trying to fear uncertainty and doubt.

12:59.240 --> 13:05.120
I'm like this is specifically what is happening to us and why I need your help so bad.

13:06.180 --> 13:07.680
Scan for secrets.

13:07.680 --> 13:08.820
There are free secret scanners.

13:08.820 --> 13:10.820
There's paid secret scanners.

13:10.820 --> 13:12.980
Basically, if you have more time, you should use a free one.

13:12.980 --> 13:15.080
If you have more money, use a paid one.

13:15.120 --> 13:18.780
But basically scan your code for secrets and then rotate those secrets.

13:18.780 --> 13:21.800
Use a secret management tool, but that's later for when you have money.

13:22.420 --> 13:26.100
There's a free WAF from OWASP called ModSecurity.

13:26.100 --> 13:33.060
And you can put that in front of your super scary, terrible, like last updated in 2008 apps.

13:33.380 --> 13:34.420
Do that.

13:34.760 --> 13:37.380
And then you still pen test the important apps.

13:37.380 --> 13:40.080
However, now you don't fail horribly.

13:40.100 --> 13:44.480
And it's no longer completely embarrassing where you're like, oh god, I can't look the pen tester in the face.

13:44.480 --> 13:45.780
This is so bad.

13:46.440 --> 13:47.860
So that's nice.

13:47.900 --> 13:51.140
And then so now if you have budget, I want to add three more things.

13:51.140 --> 13:53.480
So if you have budget, see how she kind of looks like a badass?

13:53.480 --> 13:54.840
She's like, I have budget.

13:56.000 --> 13:57.880
Hire an AppSec person.

13:57.880 --> 14:00.420
Like that is the best investment you can ever make.

14:00.420 --> 14:02.500
Like hire someone from this room.

14:03.160 --> 14:08.740
Like seriously, the people that are in this room, probably almost all of them would be amazing to work with.

14:09.100 --> 14:11.260
Pay for a next gen SAST.

14:11.260 --> 14:15.980
So I find that the paid SASTs are a lot better than the paid DASTs.

14:15.980 --> 14:17.620
I kind of think DAST sucks.

14:17.620 --> 14:21.140
And I remember people telling me at the beginning of my AppSec career that DAST sucks.

14:21.140 --> 14:22.180
And like DAST is amazing.

14:22.180 --> 14:26.980
And they're like, one day when you're a more mature AppSec professional, Tanya, you'll understand.

14:27.020 --> 14:28.820
And one day I just did.

14:29.820 --> 14:31.320
I'm sorry if you make a DAST.

14:31.320 --> 14:32.280
I'm a jerk.

14:32.940 --> 14:34.740
Continue with your free-ish DAST.

14:34.740 --> 14:36.920
I just would never buy one.

14:37.380 --> 14:39.440
And then all of step two.

14:39.580 --> 14:41.520
So still do the no budget plan.

14:41.520 --> 14:43.300
So this is model one.

14:43.300 --> 14:44.960
And now we're going to do model two.

14:46.120 --> 14:46.920
All right.

14:47.180 --> 14:47.960
Model tool.

14:47.960 --> 14:51.200
I call this tools, tools, and more tools.

14:51.200 --> 14:54.200
So this is the most common thing.

14:54.200 --> 14:56.240
I see this absolutely all the time.

14:56.240 --> 14:57.860
Actually, let me go back for a second.

14:58.060 --> 15:03.000
So this is SAST plus DAST, perhaps one other tool, a little bit of governance.

15:03.580 --> 15:04.000
Okay.

15:04.000 --> 15:06.520
So partially rolled out tools.

15:06.520 --> 15:08.560
This is the most common thing.

15:08.780 --> 15:10.640
So partially rolled out.

15:10.640 --> 15:16.020
So we've paid $75,000 for a DAST and like $60,000 for a SAST.

15:16.020 --> 15:20.000
And we are totally using 20% of our licenses, which I hate.

15:20.000 --> 15:21.520
I work for a vendor.

15:21.920 --> 15:23.420
Take every penny you can.

15:23.420 --> 15:24.760
You paid for it.

15:26.220 --> 15:29.560
Lots of bug reports, but ain't no one fixing anything.

15:29.700 --> 15:30.960
So we've got lots of reports.

15:30.960 --> 15:32.660
They're not getting to the right people.

15:32.740 --> 15:34.520
Maybe there's lots of false positives.

15:34.560 --> 15:36.440
Maybe we're just not distributing them well.

15:36.440 --> 15:38.680
Maybe we're just not scanning the right things.

15:38.680 --> 15:43.900
Maybe we're scanning so rarely that it's unhelpful, but things are just not getting fixed.

15:45.700 --> 15:46.940
Inconsistent program.

15:46.940 --> 15:48.120
So I see this a lot.

15:48.120 --> 15:49.880
I see huge inconsistencies.

15:49.880 --> 15:52.700
Like one team has to do this huge architecture review.

15:52.940 --> 15:56.580
I worked at this one place and they had an 80-page template.

15:57.100 --> 15:59.580
So it was like 160 pages when you filled it out.

15:59.580 --> 16:01.300
And guess how many people filled it out?

16:01.300 --> 16:01.900
Zero.

16:01.900 --> 16:03.460
You can't see I'm doing this.

16:04.340 --> 16:05.780
No, that doesn't work.

16:06.180 --> 16:08.800
And usually they always have a SAST and a DAST.

16:09.120 --> 16:10.720
Little to no documentation.

16:10.740 --> 16:15.520
And the most common thing anyone ever says is, why won't the devs fix the bugs?

16:15.520 --> 16:20.180
I'm never going to talk to them or interact with them or provide support.

16:20.380 --> 16:22.080
I'm not going to even ask them this question.

16:22.080 --> 16:24.760
I'm going to ask everyone else in the entire company this question.

16:24.760 --> 16:26.480
This is a thing that I hear all the time.

16:26.480 --> 16:28.640
I'm like, did you ask the devs why they're not fixing it?

16:28.640 --> 16:29.320
No.

16:29.320 --> 16:30.800
When's the last time you talked to them?

16:30.800 --> 16:31.540
Never.

16:32.040 --> 16:34.100
I see the beginning of your problem.

16:34.100 --> 16:36.060
So why is this model bad?

16:36.060 --> 16:39.720
I really like dragons and I just wanted to have dragons in my presentation.

16:40.460 --> 16:41.100
Okay.

16:41.100 --> 16:43.180
So the coverage is bad.

16:43.200 --> 16:44.140
It's not terrible.

16:44.140 --> 16:46.280
It's not like the last one, but the coverage is bad.

16:46.560 --> 16:48.020
Not much is fixed.

16:48.600 --> 16:51.720
So we as an industry are not here to find bugs.

16:51.980 --> 16:57.760
We are here to reduce organizational risk in a meaningful and lasting way.

16:57.760 --> 16:59.040
That's our job.

16:59.060 --> 17:01.560
It does not matter if you find 45,000 bugs.

17:01.560 --> 17:03.240
You've found every bug that exists.

17:03.240 --> 17:07.940
If no one's fixing anything, in my opinion, your paycheck is too big.

17:08.040 --> 17:10.720
What we want to do is fix the things.

17:10.720 --> 17:13.000
We want to prevent the things from happening in the first place.

17:13.000 --> 17:14.720
We want to protect artworks.

17:14.720 --> 17:18.840
And you're just not doing it as well as you could with this program.

17:18.840 --> 17:21.680
And so, how do we mature it?

17:22.320 --> 17:23.880
I used an AI to make this.

17:23.880 --> 17:27.300
I was like, show me a little girl growing up and becoming more mature.

17:27.300 --> 17:28.780
And this is what the AI gave me.

17:28.780 --> 17:29.900
I'm like, I'll take it.

17:29.900 --> 17:31.040
Sounds good.

17:31.500 --> 17:31.920
Okay.

17:31.920 --> 17:34.520
So we want to do everything from the previous maturity model.

17:34.520 --> 17:36.560
I was like, show me a little girl maturing.

17:36.560 --> 17:39.200
And I guess this is how little girls mature now.

17:40.280 --> 17:40.700
Okay.

17:40.700 --> 17:44.660
So then, the number one thing I would do is hire more AppSec folks.

17:44.660 --> 17:49.140
And I realize I am an AppSec folks, so I am biased.

17:49.140 --> 17:50.980
But I kind of think we're awesome.

17:51.460 --> 17:54.800
But really, though, AppSec folks...

17:54.800 --> 18:00.640
Okay, so one of the pieces of advice is your entire AppSec team cannot just be pen testers.

18:01.080 --> 18:05.060
You have to have one of those people, at least, because we need them.

18:05.060 --> 18:10.820
But you can't have a team where you have five AppSec folks and every single one of them has just got the pen testing skills.

18:10.900 --> 18:13.500
And none of them have ever been a dev.

18:13.500 --> 18:15.040
None of them know how to read code.

18:15.040 --> 18:18.400
Or maybe they do know how to read code, but they just know how to do pen testing.

18:18.400 --> 18:19.940
They don't know how to do code review.

18:19.940 --> 18:21.560
They don't know how to do a threat model.

18:21.560 --> 18:23.320
They don't know how to write a policy.

18:23.400 --> 18:28.780
So you need a well-rounded AppSec team with a whole bunch of different types of skill sets.

18:28.820 --> 18:30.100
That's very important.

18:30.100 --> 18:34.040
One of them needs to have that pen tester, I'm going to F up your shit type of thing.

18:34.040 --> 18:38.140
But the rest of them, you have to have a rainbow type of team.

18:38.140 --> 18:47.060
This is one of those times when diversity of experience and skill set will really, really bring you a lot of value.

18:47.520 --> 18:48.920
Reassess your tools.

18:48.920 --> 18:57.760
So if it's been two or three years and you still haven't rolled your SAS, DAST, AST, whatever acronym thing out, it's the wrong tool.

18:58.060 --> 18:58.840
Done.

18:59.120 --> 18:59.960
You're done with it.

18:59.960 --> 19:00.960
Switch tools.

19:00.960 --> 19:04.840
I find that i'll work with companies and they're like, well, we've had it five years.

19:04.840 --> 19:07.480
And i'm like, yeah, and you're using 30% of your licenses.

19:07.660 --> 19:11.160
So for five years you've been paying for 70% of things you're not using.

19:11.220 --> 19:13.240
You've wasted this many dollars.

19:13.540 --> 19:15.640
It's not working for you.

19:15.800 --> 19:19.680
It's like the sunk cost fallacy applies.

19:19.680 --> 19:20.480
Just get rid of it.

19:20.480 --> 19:21.360
Start again.

19:21.480 --> 19:25.420
Find a tool and make sure you evaluate it with your devs.

19:25.420 --> 19:27.920
And make sure the rollout is fast.

19:28.100 --> 19:30.780
Don't buy a tool if it's going to take you two years to roll it out.

19:30.780 --> 19:31.740
I wanted to buy this.

19:31.740 --> 19:32.440
I asked once.

19:32.440 --> 19:33.660
I was so in love with it.

19:33.660 --> 19:35.240
I really, really wanted to buy it.

19:35.240 --> 19:40.800
And after three months, we still had not finished the proof of concept because I just couldn't get the team to roll it out.

19:40.800 --> 19:45.740
And my boss was like, you're going to roll this out for the rest of your career if we buy it.

19:45.740 --> 19:48.280
So it needs to be something that rolls out fast.

19:49.100 --> 19:50.680
Ensure your rollout is complete.

19:51.320 --> 19:55.020
Make the vendor give you every penny of value you paid for.

19:55.200 --> 19:56.520
Put us through our pieces.

19:56.520 --> 20:01.220
I know that may sound like strange advice from a person that works at one of those places.

20:01.320 --> 20:05.520
But you should get every single bit of value you can for that thing you're paying for.

20:05.580 --> 20:12.600
And the thing you can do is if at six months, you still are not able to roll out all the licenses, you can say, well, you know what?

20:12.600 --> 20:14.840
It's been six months and we haven't been able to roll them out.

20:14.880 --> 20:18.880
Maybe i don't want to pay for the rest of the six months for those licenses we're not using.

20:18.880 --> 20:27.780
Some companies i've been able to do is i'll say, like, i want to buy half in the first six months and the other half in the next six months because i know it's going to take a long time.

20:27.840 --> 20:32.360
But ideally, just get something that's easy to roll out if that is a possibility for you.

20:32.360 --> 20:35.020
And the way that your stack looks.

20:35.020 --> 20:36.520
Because it's not always possible.

20:36.520 --> 20:38.140
The hardest advice ever.

20:38.140 --> 20:39.460
Provide support.

20:39.700 --> 20:40.440
Make friends.

20:40.440 --> 20:41.160
Talk to people.

20:41.160 --> 20:42.240
Build trust.

20:42.360 --> 20:43.400
This is hard.

20:43.400 --> 20:47.420
So this can mean writing a one-pager with security guidance.

20:47.420 --> 20:49.520
Helping them with their frameworks.

20:49.860 --> 20:54.520
Being available is really, really hard because i know all of you are probably really, really busy.

20:54.580 --> 20:56.900
But this is something that creates a ton of value.

20:56.900 --> 20:58.460
And you don't have to dye your hair purple.

20:58.460 --> 20:59.040
It just helps.

20:59.040 --> 21:00.940
All of you actually look really good in purple.

21:00.940 --> 21:02.620
Some of you just don't know it yet.

21:03.360 --> 21:05.660
Start to manage incidents better.

21:06.180 --> 21:09.080
Send your team on incident response training if you can.

21:09.460 --> 21:11.680
Figure out a way for... actually, let me do this.

21:11.680 --> 21:14.120
Create a way to report incidents really quickly.

21:14.120 --> 21:19.820
Do incident training for devs so they know what it looks like and they can tell you when they see something bad.

21:19.940 --> 21:22.600
And then create an incident response process.

21:22.600 --> 21:25.060
Make sure everyone knows it that needs to know it.

21:25.060 --> 21:27.300
A lot of these companies, they don't got nothing.

21:27.300 --> 21:29.280
They're really good at responding to malware.

21:29.280 --> 21:30.940
They're ready for ransomware.

21:30.940 --> 21:33.800
Everything else, they have no plan whatsoever.

21:34.640 --> 21:35.680
Model three.

21:36.020 --> 21:37.340
And we have how many minutes left?

21:37.340 --> 21:38.140
We have five minutes.

21:38.140 --> 21:38.400
Okay.

21:38.400 --> 21:40.920
I call this the stranglehold big spend.

21:41.980 --> 21:44.120
So you have every single tool.

21:44.120 --> 21:45.800
You have like 11 tools.

21:45.860 --> 21:48.180
You've spent all the money.

21:48.620 --> 21:50.600
You have a stranglehold governance.

21:50.600 --> 21:51.580
No one can breathe.

21:51.580 --> 21:54.860
It takes three weeks to make a one-line change of code.

21:55.180 --> 21:57.280
There's constant friction.

21:57.300 --> 22:00.580
The security posture is not satisfying for how much you're spending.

22:00.580 --> 22:04.120
And sec and dev don't talk unless they're yelling.

22:04.200 --> 22:07.240
I have worked here so many times.

22:08.320 --> 22:09.760
You come in.

22:09.760 --> 22:13.400
And I remember my friend, Nicole, she's like, I walk in and I'm like, hey, I'm Nicole.

22:13.400 --> 22:14.580
I'm from security.

22:14.580 --> 22:15.820
I come in peace.

22:15.820 --> 22:17.660
And then I put my hands out like this.

22:17.660 --> 22:19.240
And hopefully people laugh.

22:19.240 --> 22:20.500
Sometimes they boo.

22:20.500 --> 22:24.920
And then I know what level I'm at to start and how much peacemaking I need to do.

22:25.460 --> 22:27.740
But the I come in peace really works well.

22:27.740 --> 22:29.300
So why is this model bad?

22:29.300 --> 22:31.320
You're spending a zillion dollars.

22:31.500 --> 22:33.960
And you are not getting your money's worth.

22:33.980 --> 22:36.320
You are slowing down innovation.

22:36.320 --> 22:42.460
Maybe even people are quitting because they just can't stand how annoying, how much friction there is.

22:42.460 --> 22:48.000
You, the security team, are petting the cat, which is a dev, backwards all day long.

22:48.000 --> 22:49.840
And the devs are just like, oh!

22:49.960 --> 22:53.680
I used to work somewhere where I literally, I saw the security guy.

22:53.680 --> 22:55.100
And then I went like this.

22:55.380 --> 22:58.060
And my boss was like, did you literally just duck?

22:58.060 --> 23:00.580
And I was like, I'm so busted.

23:01.980 --> 23:03.300
We don't want to be that.

23:03.300 --> 23:04.740
None of us want to be that.

23:04.740 --> 23:08.660
We're that way because so many other cultural things have happened.

23:08.660 --> 23:10.140
That's what led us to that.

23:10.240 --> 23:19.180
So I suggest scaling with either a security champions program, delegation, like specific delegation, automation.

23:19.260 --> 23:23.340
So I have like a bunch of things I can talk about how to scale your program better.

23:23.340 --> 23:28.060
But if you do a champs program, it's a big undertaking.

23:28.060 --> 23:29.100
Be serious about it.

23:29.100 --> 23:29.880
Be intentional.

23:29.880 --> 23:31.300
Do a really good job.

23:31.300 --> 23:33.060
I would love to talk to you about that after.

23:33.060 --> 23:34.140
I'm a big giant fan.

23:34.140 --> 23:35.540
I'm a bit obsessive.

23:35.540 --> 23:41.500
If you're not going to do a champions program, do an advocacy program to change the culture where you work so it's more positive.

23:42.440 --> 23:43.660
Make it a standard.

23:43.680 --> 23:48.060
Take all your guidance and guidelines, turn them into standards because you're ready for that now.

23:48.060 --> 23:53.980
And then provide training and workshops on how to apply that and help everyone become compliant.

23:53.980 --> 23:56.160
You will make friends, not enemies that way.

23:56.160 --> 23:59.520
Instead of just publishing a policy and then being like, good luck with that.

23:59.960 --> 24:01.800
Make your tools go fast.

24:01.880 --> 24:02.980
You want fast tools.

24:02.980 --> 24:04.000
You are paying a fortune.

24:04.000 --> 24:07.820
You deserve fast, efficient tools full of true positives.

24:08.120 --> 24:09.900
If you're not getting it, break up.

24:10.800 --> 24:12.160
Examine your apis.

24:12.160 --> 24:16.420
So at this point, you should be taking care of your apis, not just your front-end web apps.

24:16.420 --> 24:22.320
You should be taking care of every type of software, including mobile, including iot, including web sockets.

24:22.320 --> 24:24.400
All of those things need attention now.

24:24.400 --> 24:30.380
And you might need to get a special subset of your tools to make sure you pay them the special attention they deserve.

24:30.740 --> 24:32.800
Embrace threat modeling.

24:33.820 --> 24:36.880
You want a company-wide secret management at this point.

24:36.880 --> 24:39.080
I do not sell a secret management tool.

24:39.080 --> 24:43.080
I wish I did, because they are amazing and you need one.

24:43.400 --> 24:53.720
Your whole company should have a management program, like an app, but also just like a plan to manage your secrets as a whole so that you never ever leak a secret again.

24:54.080 --> 24:55.560
You want to do continuous scanning.

24:55.560 --> 24:59.680
And I don't mean this in like a swear word marketing buzzword type of way.

24:59.680 --> 25:05.780
I mean like set up your tools so they're always scanning all the time and you're reviewing them when you see something disconcerting.

25:05.780 --> 25:12.100
You can do this with more modern tools where they're just kind of scanning on their own and then you review it when you have time.

25:12.800 --> 25:14.480
Training that doesn't suck.

25:14.980 --> 25:18.600
Evaluate the training with your devs to see if they actually like it.

25:18.600 --> 25:19.900
Do the one they like.

25:20.260 --> 25:21.940
Do the one that they're willing to tolerate.

25:21.940 --> 25:26.220
This might mean it's like one day a week for three weeks.

25:26.220 --> 25:29.820
It might mean it's one hour every other week.

25:29.820 --> 25:35.700
It might mean it's a full day for three days in a row and it's interactive and they get to like move around.

25:35.700 --> 25:37.940
There's many different types of trainings.

25:38.120 --> 25:39.820
Don't just go with the cheap one.

25:39.820 --> 25:41.400
Don't just go with the popular one.

25:41.400 --> 25:45.300
Go with the one they like the best because you will get the best results.

25:46.420 --> 25:50.800
If you have a WAF on stuff, if you have the money to a RASP, it's just better.

25:51.440 --> 25:54.260
I know a lot of people are going to swear at me about that after.

25:54.260 --> 26:01.960
Your APSEC team should be trained in incident response or your incident response team should have some training in APSEC.

26:01.960 --> 26:06.080
So that if a real APSEC incident like a big one happens, you are ready.

26:06.080 --> 26:08.360
This is more advanced and that's okay.

26:08.680 --> 26:11.340
And lastly, use a data-driven approach.

26:11.600 --> 26:13.680
See that giant smile he has?

26:13.680 --> 26:14.400
It's gorgeous.

26:14.400 --> 26:17.600
It's wonderful because he's using data to improve his program.

26:17.600 --> 26:19.300
I talk about this a lot too.

26:19.300 --> 26:26.480
You should be gathering metrics on the regular and then using that to do experiments and then improving, improving, improving.

26:26.480 --> 26:28.040
Whatever is not working, you throw it out.

26:28.040 --> 26:30.240
Whatever is working, you do more of that.

26:30.240 --> 26:38.540
I know that sounds obvious, but taking that time every 90 days to look at your metrics and improve will bring you huge value over time.

26:38.540 --> 26:40.900
And I totally have one minute left.

26:40.900 --> 26:48.120
So conclusion, we learned three common APSEC models, how to identify the models, how to improve the models and build a better program.

26:48.120 --> 26:52.060
But more importantly, if you want to get your phones out, I have some resources.

26:52.060 --> 26:56.380
So I have free secure coding courses, APSEC courses.

26:56.840 --> 26:59.080
Next week I'm releasing instant response for devs.

26:59.080 --> 27:00.080
All that's free.

27:00.080 --> 27:02.920
There is no payment except we add you to our newsletter.

27:02.920 --> 27:06.840
But me and my colleague Amanda write it and I think it doesn't suck very much.

27:07.320 --> 27:09.440
And you can just unsubscribe if you don't like it.

27:09.440 --> 27:10.660
I didn't say that.

27:10.660 --> 27:11.960
Okay, next.

27:12.040 --> 27:12.640
Books.

27:12.640 --> 27:13.960
I love books.

27:13.960 --> 27:15.280
These books are not free.

27:15.280 --> 27:18.460
I only wrote one of them and my mom says that one is the best one.

27:18.460 --> 27:19.540
But I love DevOps.

27:19.540 --> 27:25.040
And I feel like us security folks can learn a lot from the amazing DevOps folks, especially the researchers.

27:25.160 --> 27:26.700
This is really good content.

27:27.240 --> 27:28.480
Cyber mentoring Monday.

27:28.480 --> 27:34.620
Every single Monday on Twitter and on Mastodon, InfoSec Exchange, I use this hashtag to match with people.

27:34.700 --> 27:38.700
I have so many people write me and they want an APSEC mentor.

27:38.700 --> 27:43.420
And the people in this room, if you would answer one of them, you will make their whole year.

27:43.420 --> 27:47.260
Seriously, you change someone's entire life when you answer their call.

27:47.300 --> 27:52.540
And if I can just ask one favor from you is to answer someone and have a virtual coffee with them.

27:52.560 --> 27:53.960
Recommend a book.

27:53.960 --> 27:55.180
Recommend a talk.

27:55.180 --> 28:00.800
Just giving them your time and encouragement can literally change their entire career trajectory.

28:01.260 --> 28:02.640
And then lastly, me.

28:02.640 --> 28:04.380
I am a nerd on the Internet.

28:04.380 --> 28:05.740
I do this all the time.

28:05.740 --> 28:07.040
It's basically all I do.

28:07.040 --> 28:08.780
I love giving stuff away for free.

28:08.780 --> 28:11.260
I'm not as good at business, but I'm really good at sharing.

28:12.180 --> 28:14.720
I'm SheHacksPurple on all the things.

28:14.900 --> 28:17.480
And then lastly, thank you.

28:17.480 --> 28:19.080
Thank you so much for coming.

28:19.080 --> 28:21.260
There's so much cool stuff and you came to see this.

28:21.260 --> 28:22.040
Thank you.

