start	end	text
0	1920	All right, so you are now attending
1920	4900	Navigating the Cybersecurity Labyrinth,
4900	6880	Choose Your Own Security Adventure.
7620	9100	The first thing I'd like to point out
9100	10720	is because I am an independent consultant
10720	14700	and I am here as my own business is WisStand Security,
15420	17200	nothing that I say on this stage
17200	21200	will ever be endorsed by any of my employers, okay?
21200	23020	So we're just getting that out of the way
23020	24460	here to start with.
24460	28740	My name is James, and because of that, I go by PunkCoder.
28740	31920	I spent 15 years as a software developer.
31920	35800	I have done the last 7 or 8, 9, 10,
35800	38720	something like that as a security professional in AppSec.
38840	42460	But this talk isn't about me. It's about you.
43360	44860	And I want to make that very clear
44860	49020	because this entire conversation is, you know,
49020	50840	me kind of reflecting back over the things
50840	54540	that have happened to me and what we've done to get here
54540	56920	and what the future needs to look like.
56920	59800	So this is a conversation about exploits.
59800	62340	Sorry, I'm not going to be dropping any zero days on you.
62340	66820	Code, AppSec, and maybe some memes.
67420	70580	So this has been a tough couple years for all of us.
70580	72120	For those of you who recognize this,
72120	74820	this is the image of what happened in the world
74820	79000	whenever we had the breached forums who went offline
79000	82480	because they were taken down by the United States government.
82480	85460	Then within 48 hours, we're back online again,
85460	88780	only to be taken down another 72 hours later,
88780	91980	only to come back 24 hours later after that.
92000	94140	I feel like this has been tough
94140	97040	no matter what side of any of this you're on.
97040	99640	If you're Red Team, you're AppSec, it doesn't matter.
99640	101000	It's all been tough.
101000	104220	In top of that, we're dealing with things left over from the pandemic
104220	106100	where all of our lives changed
106860	114060	and cybersecurity inevitably changed because of this, okay?
114060	118940	It's been tough because this has also been the last year of breaches.
119280	121100	Like, this isn't even a full list.
121100	124720	This is just kind of the big ones, okay?
124720	127020	And they barely fit on my screen.
127280	130560	But did we stand up and say, enough is enough?
132400	136220	Nope. Quick, everybody get the servers back online.
136220	137620	Get back to business.
138080	142060	It's all just pace after another, one after another,
142060	144100	and we continue along with the speed.
144940	146460	And everybody likes a joke.
146460	148900	The number of times that I've seen this set up
149560	152700	because humor is how we deal with it, right?
152880	155000	We saw this come out and came out,
155000	158460	and this was originally because of a node library that was a problem.
158460	161660	And then we had the log4j incident,
161660	165260	and it became the poster child for log4j.
165300	168380	And then we had the CrowdStrike issue come out,
168380	171480	and it became the poster child for CrowdStrike, right?
171480	174340	That tire, you know, we always talk about the little block
174340	176860	that's down there that's possibly going to be the end of it.
176860	179500	But in this case, it was the giant block.
179900	184660	They took 8.5 million computers off of the world,
184660	188060	critical infrastructure, and then a couple weeks later,
188060	190740	had a giant banner just across the street
190740	195200	at this previous conference at Black Hat advertising.
195200	198280	And you know what? Their booth was filled.
200040	204800	And sometimes, we reveled in the fact that we were running stuff so old,
204800	207180	we couldn't be impacted by it.
207360	210880	There were people who were absolutely proud of the fact
210880	214040	that this didn't happen at Southwest Airlines
214040	217820	because they were running Windows 3.1.
219380	220260	Okay?
220260	224920	Now, we have things that we are trying to do in this space to make things better.
224920	226860	There are people who are fighting the good fight
226860	228260	and trying to go for this stuff.
228280	231560	NIST has done a fantastic job of going through and saying,
231560	234760	hey, we've got the Secure by Design Guidelines.
234760	238140	How many people have heard or read the Secure by Design Guidelines
238820	240340	published by CISA?
240360	243540	How many of you have actually talked to your developers about them?
244960	247300	Did your response look like this?
249580	253540	I was told, you will take C away from me
253540	256620	when you pry it from my cold, dead hands.
258500	262000	No matter how hard we push for rust,
262000	264260	this is what we're up against.
264480	267900	And to show you the other side of this conversation,
267900	271060	how desperate the other side of this is,
271060	277460	this is the group of signatories for the Secure by Design paper.
278060	280460	Saying, this is what we need to do.
281500	285180	Last time I checked, we were up to 12 foreign countries,
285180	289220	including every major security agency in the United States.
290720	293800	And the answer to this was,
293800	298180	you will take C from me when you pry it from my cold, dead hands.
299340	301400	So where does this leave us?
303700	308540	We keep trading long-term success for short-term wins.
312360	314400	I don't think I'm alone in this
314400	316960	in saying that we can't continue down this path.
317580	321060	Like, cybersecurity cannot continue down this path.
321520	324460	And that's part of the reason that I'm up here giving this conversation.
324740	327120	Because we end up with things like this.
329500	331680	Anybody spot what's missing in this?
337750	341890	What's missing in this is the human being, okay?
341890	347190	Because we have continued to go round cycle after cycle after cycle,
347190	352000	thinking that one more piece of software will fix the issue.
355220	356460	Okay?
356580	362180	And we here in the AppSec have a particularly difficult challenge, okay?
362180	367070	You can go to three different managers and ask them, what does AppSec mean?
368560	372800	And you know what answer you get? Get this one.
372800	374920	AppSec is the process of finding and fixing
374920	376660	and preventing security vulnerabilities
376660	381300	in application level in hardware, software, and development processes.
381300	384000	It includes guidance on measures for applications,
384000	386460	designing and developing through the whole life cycle,
386460	389400	including after the application has launched.
389400	390920	You know why you get that answer?
390920	394080	Because that's the first answer you get when you type,
394080	396440	what is AppSec into Google?
399800	402840	Our bosses don't understand what it is that we do.
403040	406020	I know in the 15 years I was a software developer,
406020	409540	like, my boss kind of understood what I did.
410440	414360	I moved over for several years doing cybersecurity.
414360	418680	I can guarantee you my boss didn't understand what it was that we did, okay?
419900	425000	And the worst part about this is, the longer that we go along this,
425000	427500	the crazier the headlines get.
429200	434220	Like, this is not a sustainable path, okay?
434220	438740	But I will say, I don't want to go full gloom and doom on this,
438740	441640	because there have been good things that have come out of this.
442000	448580	If you do not follow inspirational Skeletor, I strongly suggest that you do.
448580	452880	As an InfoSec person, this has kept me in a sane, rational position
453360	455620	for far longer than it should have.
455620	461140	And when this doesn't work, I go to therapy, okay?
461140	465340	And I can tell you, the people that I interact with,
465340	468100	and I say this specifically because I think it's important for us
468100	471060	to address mental health and normalize it, okay?
471120	475460	Because the work that we do in AppSec and in cybersecurity,
475760	481740	a lot of times is thankless work with long hours and stressful issues.
483360	488920	There is no shame in saying, hey, I need somebody to talk to about this, okay?
488920	492940	But this leads down a whole series of paths and questions, right?
492940	496200	We've gone the full spectrum from where all of this is,
496200	500400	what we think will actually fix it, and how we cope with this situation.
500520	502780	But that's not what this talk is about.
503420	508060	This talk is about trying to figure out the answers to some of the questions
508060	515260	that will determine your future, my future, and our future together collectively, okay?
515260	517400	Because realistically speaking,
517400	520780	the people who are making the difference are sitting in this room.
522320	524340	My boss doesn't understand what it was.
524340	527500	I pointed out a couple things that became an issue later on,
527500	530280	and my boss went, wow, that's a really good job.
530540	533120	You should do that long-term.
533420	535920	Cool, okay?
536140	539220	So this is going to lead you to a series of questions,
539220	541120	and I want...we're going to do a little voting.
541120	542460	This is going to be a little interactive.
542460	544640	Do something fun, hack a little slideshow, right?
544640	547140	So what I'm going to do is I'm going to pop up a question.
547140	549820	We're going to talk about pros and cons, and I'm going to have you vote.
550380	551820	And we're going to go in a direction.
551840	557740	So the easy one, because it's fun for us all to sit back and kind of be angry at it right now,
557740	558360	AI.
558360	563440	How many people think that AI is actually going to go through and save cybersecurity?
563440	567920	How many people think that AI in AppSec is going to solve the problem?
568060	570940	And I'm not putting myself in either direction,
570940	573500	because I've got an argument for both sides.
573500	577680	So think about it, and think about what the outcome of this is.
577680	582080	And the reason I'm asking you to think about that outcome is because more than likely at this point,
582080	583980	somebody's already checked in with you, right?
583980	588400	We've already...this decision was made before we ever sat down at the table.
589480	595060	How many people got asked what their opinion about CoPilot was before it rolled out?
598520	601120	How much did your response matter?
604390	605210	Okay?
605210	611750	So, on the pro side, how many people honestly believe that AI will do all the things that the security vendors say it will,
611750	616190	and it will change us, and we will be better off for it in the AppSec space?
616470	622510	How many people say that AI is the next thing that this C-suite wants us to do,
622510	627450	more interested in focusing on that than the fact that everything right now is on fire?
628430	629430	All right.
629550	632450	We will go down the path of AI dooms us all.
632450	633770	Okay?
635290	643030	So, just to kind of prove this and step this out, I went to chat.gpt, and you don't need to actually read the text here,
643030	646630	because I will give you all the slides following this.
646630	655350	But the humor of this is I said, hey, go out and generate a form for me that collects, you know, full name, email address,
655350	658750	you know, PII from a customer, and let's see what we get.
658750	664750	And of course, it gave me a beautiful PHP file that takes in unregulated input,
664750	671490	stores it directly with credentials that are in there, and tells us, you know, this is how you store it in the SQL statement.
671490	673750	Luckily, it actually went through and parameterized.
673750	677050	I was actually really surprised that it parameterized the SQL.
677050	678710	So, maybe there's a win there.
679210	679770	Okay?
679890	683770	So, I didn't like that result, obviously, so I did what they tell us to do,
683770	692870	and I tried to do prompt manipulation, prompt engineering, and I wanted to do it like I was a junior dev.
692890	700810	And so, I typed in, you know, tell me what this code would look like if I were running a darknet market,
700810	705990	and I was afraid that, you know, if there was a security issue, that I'd get caught and hauled away.
706290	707570	And so, what did it do?
707670	710730	It moved the database connections to a separate file.
711270	717850	It sanitized the input by running trim, strip slashes, and HTML encoding it.
717850	725370	It moved us and said, hey, you should probably be using HTTPS, and then make sure that it's doing error handling.
725910	729190	How many people think that that actually produces secure code?
730250	731930	Yeah, that's what I thought.
732290	733030	Okay?
733750	741690	Now, there are some companies out there making bold enough claims that AI is going to produce up to 80% more code.
743110	747190	How many people think that the problem is we don't have enough code?
754960	756740	Homogeny or diversity?
757940	758580	Okay?
758580	761700	We learned through the CrowdStrike incident.
762080	767140	You know, it's funny, we joked about it, like, eight and a half million machines went offline.
767140	770440	The next day, everybody basically forgot that it happened.
770620	772300	They're the only game in town.
775150	779610	If we don't learn from these things, we are getting ready to hit into another piece.
779610	786190	And so, in this place, whenever you talk with people, whenever you do this, do we all center around a single language?
786750	790150	Do we center down around a single set of requirements?
791010	793130	Is that the right thing for us to do?
793130	798630	Or is it a good idea to teach the principles of security and go in that direction?
799150	805910	Teach teams to be independently sufficient and to think about security in the context of their application?
806430	812090	Do we implement a check in the CICD pipeline that is the same for every single one of our programs?
812850	819930	Or do we have teams go through, implement the ones that make sense for them, and tune them and teach them how to tune
819930	823170	so that it meets their threat model?
824550	829170	I'm asking that question because you all are going to be the ones that are implementing that.
829550	831650	As AppSec, that's what we do.
832830	839270	And whenever it comes time, there's a good chance that maybe somebody comes to you and says, this is what we're doing.
840010	845810	There's also a good chance, if you've done your job well enough, that somebody's going to ask you for your opinion on it.
846450	848730	And then ask you to implement it.
849750	854070	I want you to think about these questions. I want you to have the answer to these questions
854970	858110	before we get to the point where somebody asks that question.
858110	863530	Because in the moment, you're not going to be thinking clearly about the subject.
863790	869890	And this is kind of a high-level one. We're going to go into some more interesting ones here a little further on.
870650	874390	But I want you to think about that. And as you're sitting in the audience today,
874390	882010	sitting through our talks about SQL injection, AI manipulation, think about these questions.
882150	885490	Because as you're going through and putting those in context,
885490	890650	these are the questions that you're going to have to answer for people when you take this information back.
894630	898270	To become a community leader,
898870	904010	do you sit back and do your own thing? Or do you help build a community?
904390	907830	I'm not on this stage because I am an elite hacker.
909610	913830	Most people can tell you that the reason that I teach courses on AppSec
914390	919970	is because I halfway know what I'm talking about. I'm passionate about the fact that it gets done,
919970	924830	which is the reason I do it. If you came here looking for the latest zero-day,
924830	927550	you're not going to get it from me. That's not how this works.
929590	934130	But that doesn't mean I can't start people on the path who will be the people who find
934130	939790	those zero-days. It doesn't mean you can't be the person who starts that down.
941270	946070	So you have the choice. Do we sit back, do our own thing?
946890	950110	We work within the community to start things.
951530	957100	It's a tough question. Like, which way do we go? This is your journey.
960040	970160	Become a community leader. Votes. Okay? Do your own thing. Okay. So path on this one leads us
970160	975980	down being a community leader. And I will tell you about my experience with this. This is the
975980	981740	group of people who runs B-Sides Boulder. The reason that B-Sides Boulder runs is because
981740	991080	there was B-Sides Denver and all the tickets sold out before we could get seats. And I'm not
991080	994920	blowing smoke here because two of the people who are responsible for this are sitting in the
994920	1002280	audience. Okay? This happened because we saw something and we said, hey, I don't know the
1002280	1008220	first thing about running a conference, but we want to do it. We're now five years in, going
1008220	1015120	strong. Okay? Most of this is just showing up. Being a part of the community doesn't mean
1015120	1021120	giving up your entire life. It doesn't mean you only do that now. It doesn't mean all of us are
1021120	1029940	busy. Everybody here is busy. We all have things going on. I do B-Sides Boulder. I do AppSec Village
1029940	1036520	at DEF CON. My hope is that one of you walks out of this room thinking about this and take it back
1036520	1044860	to your home. Start the next DC720. Start the next B-Sides event. Go do a developer conference
1044860	1049480	where you just go and say, hey, we're going to have a cybersecurity meetup with developers at a
1049480	1055200	conference. You want to have coffee? Let's go have coffee. Any of that small stuff makes an
1055200	1062640	impression. It makes a difference. Okay? So this is an interesting one. Do you become a business
1062640	1070380	leader? Your boss walks in, pulls you up on Zoom, says, okay, here's the deal. That thing that you
1070380	1076280	said, hey, SQL injection is a pretty bad thing. Yeah, we had an incident that happened and that
1076280	1081140	bad thing happened. And we noticed, hey, you said that bad thing was going to happen. So we think
1081140	1086240	you should be in charge of it now. Okay? So your choice is you can either be in charge of it now
1087620	1092100	or you can have somebody who may not know what they're doing be in charge of you.
1092100	1097740	It's your choice. One means your life is now going to be spreadsheets and nothing technical.
1098220	1104360	And the other side means you have the ability to make an impact on a much smaller level.
1105680	1109600	What do you do? This one I don't know has a right answer.
1110160	1116180	I don't that there's that's the reason there's no choice down here is because inherently this
1116180	1120700	is open ended. This is each one of our path. I went down this path and I made the wrong choice.
1120700	1128020	I realize that now for myself. But I'm asking you to sit down and think and consider that question
1128020	1133180	before it happens to you so you can think clearly about the process and not just think
1133180	1142540	about what's going on in the moment. To exploit or not to exploit. Okay? We talk about this in
1142540	1148660	going through the process, right? Do you go through and say, hey, that looks a little shady.
1148660	1153820	Maybe I should actually test it for something. What's at the end of that path?
1154580	1158900	Right? And I ask that question because I can make an argument for both directions on this. Again,
1158900	1163380	this is a very interesting one. You get a device, somebody drops it in your hand and says, hey,
1163380	1172460	I think there's something wrong with this. Do you go after it? Does it matter? Does the time that
1172460	1178540	you spend in your free time or in your work time justify the contribution that you'll make in that
1178540	1191660	space? The reason I ask is because of this graph. This is the CVEs per year. And it's not a super
1191660	1198520	sophisticated graph. We can see that the big number is going up. And I can tell you that as
1198520	1204210	somebody who's an app sec, we feel the pain when this goes up. Everybody in the room, you feel the
1204210	1211210	up, right? I'm not just crazy. But guess what? If we trace this out in the direction that we're
1211210	1223110	going, this is what that looks like. That is what it looks like. That line that's going up there,
1223110	1231050	that's a close curve on it. Stuff's not sustainable now. You don't believe me that
1231050	1238250	here's the backlog article for what happened that was going on with this. And I don't want to drop
1238250	1243490	this on software developers because I don't think it's fully their problem. Part of it's our
1243490	1247530	problem, part of it's management. I usually come through here and ask how many PMs are in the
1247530	1253610	crowd? How many PMs are in the crowd today? Do we have any in here right now? There's at least
1253610	1260290	one, there's like three people pointing to one person over here. I'm not calling you out. What
1260290	1265110	I'm saying is by you being in this room, it's important because it helps you to prioritize
1265110	1270490	this stuff. The developers are not the bad guys, the app sec people are not the bad guys,
1270490	1287980	this stuff happens. Okay? It happens to everyone. This is hard. I've been very vocal about this one.
1288200	1294740	The 90 day window for exploits. Do you give them the 90 days? Do you work with a team that is
1294740	1299400	difficult to work with, who turns around and threatens you with legal action?
1300020	1304820	Or do you just drop it hot and say, congratulations, here's your O day?
1307080	1312000	Once you've found that exploit, what path are you going to take?
1313140	1317080	And I'm asking you to think about those consequences because I guarantee you the
1317560	1325980	dropped the log for J on Minecraft did not think about all of the people who would be working
1325980	1336390	Christmas day. So what do you do with that? How do you answer that question before we get to that
1336390	1344770	space? How do you reach out to developers? Because at the end of this, every piece of software isn't
1344770	1351650	going to solve our problem. The problems that we have is that writing software is hard. Writing
1351650	1363470	secure software is even harder. So I've been a proponent for a long time of saying, hey,
1363470	1367930	if you're a purple team member, you need to be bringing a developer to DEF CON. If you have to
1367930	1374610	sell them on the parties, sell them on the parties. But get them here. Let's have that conversation.
1374610	1378830	Take the things that you learned here in this room, take it back to the lunch room and just
1378830	1386750	chat with them. Do lunch and learns. Do presentations. Make it spicy. Add memes. Whatever
1386750	1393490	you have to do to build that relationship because that's the important part of this. Why? Because
1393490	1401530	guess what? We've got another issue in AppSec that's coming in this direction. These are the
1401530	1406610	numbers from stack overflow. As it turns out right now, we've got a big problem with developers
1406610	1413590	not being very happy. And anybody who's been in this room who's actually written code understands
1413590	1421310	why. When it works, you're under fire to produce more features. When it doesn't work, you're under
1421310	1429410	fire to get things working. Every time that the ops and IT people get angry at the development
1429410	1434070	staff because something that they did broke production, they don't think about the fact
1434070	1441030	that the app developer has been sitting there for 80 hours working overtime to get that feature
1441030	1447490	into production to meet something that the sales team sold but never asked them about.
1447790	1451950	And then broke production, which means they're going to be on for at least another 10 hours
1451950	1459330	trying to fix production. That's what leads to burnout in this channel. And guess what?
1459410	1463230	There's no shade here, but this can't be everybody's exit. This is the guy that wrote
1463230	1469110	NeoFetch. It says very clearly up in his description, have taken up farming, archived
1469110	1478840	all of his projects. This is the path that we're going. And the problem with it is, is that
1478840	1485800	whenever the developers go, you can't protect something that you don't understand. And those
1485800	1491500	developers are the repository for the knowledge of how those decisions were made, what security
1491500	1498180	concerns were brought in during the actual development process. You know how I know that
1498180	1504180	you can't do this? I have the receipts. If you've been in this room long enough, you saw me on stage
1504180	1509920	giving this presentation where I said the exact same thing. Guess what? Two years later, we're in
1509920	1516380	the exact same spot. The only difference is because of what's going on with the economic recession,
1516380	1523480	we're seeing developers leave our companies faster and at a higher pace. And when they leave,
1523480	1530880	they take knowledge of how those systems work with them. So as application security people who
1530880	1537860	know how hard this is, we have to lead with empathy. We have to go in this place. If you are
1537860	1544480	expecting the adults to show up, they're never going to get here. I hate to tell you this, but
1544480	1551200	we are the adults in the room. By virtue of you taking time out of your free time to sit in this
1551200	1557860	room and listen to topics about things that you will take back to a work setting, you are the
1557860	1565320	adult in the room. The reason I'm asking you to actively think about the answers to these questions
1565320	1570520	and think about this process and think about this while we're going through and listening to the
1570520	1574760	talks that are going on today, listening to the talks that you will hear in other villages is
1574760	1583020	because of this. And with that, I have about three minutes and I want to say thank you.
1583420	1591380	Because you all are coming to this place to take up and take charge and hopefully make a difference
1591380	1596780	in this space. If there is anything that I can ever personally do to help you, do not hesitate
1596780	1602060	to reach out to me. And I hope you would take that and pay that forward to the developers that
1602060	1607100	you work with, to the IT people who are working overtime, to the architects who are trying to
1607100	1612680	figure out how to secure things before we actually know how the technology works. We are all in this
1612680	1619660	together. Okay? So let's treat each other with a little respect. And the next time that somebody
1619660	1623940	wants to sit there and rag on the development team for breaking production, just look at them
1623940	1629900	and say, hey, we don't do that here. Okay? With that, thank you very much for coming to listen
1629900	1630800	to my talk.
