start	end	text
8550	15430	All right, so you are now attending Navigating the Cybersecurity Labyrinth, Choose Your Own Security Adventure.
16110	29750	The first thing I'd like to point out is because I am an independent consultant and I am here as my own business is with Stamp Security, nothing that I say on this stage will ever be endorsed by any of my employers, okay?
29750	33030	So we're just getting that out of the way here to start with.
33030	37370	My name is James, and because of that, I go by Punk Coder.
37970	40530	I spent 15 years as a software developer.
40530	47330	I have done the last seven or eight, nine, 10, something like that as a security professional in AppSec.
47410	49230	But this talk isn't about me.
49730	51070	It's about you.
52010	65530	And I want to make that very clear because this entire conversation is, you know, me kind of reflecting back over the things that have happened to me and what we've done to get here and what the future needs to look like.
65530	68450	So this is a conversation about exploits.
68450	70930	Sorry, I'm not going to be dropping any zero days on you.
70930	76630	Code, AppSec, and maybe some memes, okay?
76690	79190	So this has been a tough couple of years for all of us.
79190	91090	For those of you who recognize this, this is the image of what happened in the world whenever we had the breached forums who went offline because they were taken down by the United States government.
91090	100590	Then within 48 hours, we're back online again, only to be taken down another 72 hours later, only to come back 24 hours later after that.
100690	105790	I feel like this has been tough no matter what side of any of this you're on.
105790	108310	If you're Red Team, you're AppSec, it doesn't matter.
108310	109670	It's all been tough.
109670	122690	In top of that, we're dealing with things left over from the pandemic where all of our lives changed and cybersecurity inevitably changed because of this, okay?
122690	127550	It's been tough because this has also been the last year of breaches.
127970	129790	Like, this isn't even a full list.
129790	133350	This is just kind of the big ones, okay?
133350	135670	And they barely fit on my screen.
135950	139230	But did we stand up and say, enough is enough?
140930	142050	Nope.
142650	146290	Quick, everybody get the servers back online, get back to business.
146770	152750	It's all just pace after another, one after another, and we continue along with the speed.
153490	155150	And everybody likes a joke.
155150	161390	The number of times that I've seen this set up because humor is how we deal with it, right?
161490	167170	We saw this come out and came out, and this was originally because of a node library that was a problem.
167170	173970	And then we had the log4j incident, and it became the poster child for log4j.
174050	180190	And then we had the CrowdStrike issue come out, and it became the poster child for CrowdStrike, right?
180370	185570	That tire, you know, we always talk about the little block that's down there that's possibly gonna be the end of it.
185570	188190	But in this case, it was the giant block.
188550	203950	They took 8.5 million computers off of the world, critical infrastructure, and then a couple weeks later had a giant banner just across the street at this previous conference at Black Hat advertising.
203950	205070	And you know what?
205070	207170	Their booth was filled.
208730	216070	And sometimes we reveled in the fact that we were running stuff so old we couldn't be impacted by it.
216170	226710	There were people who were absolutely proud of the fact that this didn't happen at Southwest Airlines because they were running Windows 3.1.
228350	229030	Okay?
229030	233710	Now, we have things that we are trying to do in this space to make things better.
233710	237370	There are people who are fighting the good fight and trying to go for this stuff.
237450	243550	NIST has done a fantastic job of going through and saying, hey, we've got the Secure by Design Guidelines.
243550	249030	How many people have heard or read the Secure by Design Guidelines published by CISA?
249030	252310	How many of you have actually talked to your developers about them?
253810	256050	Did your response look like this?
258410	265430	I was told, you will take C away from me when you pry it from my cold, dead hands.
267350	273110	No matter how hard we push for rust, this is what we're up against.
273370	286350	And to show you the other side of this conversation, how desperate the other side of this is, this is the group of signatories for the Secure by Design paper.
286850	289310	Saying, this is what we need to do.
290270	298090	Last time I checked, we were up to 12 foreign countries, including every major security agency in the United States.
299530	307070	And the answer to this was, you will take C from me when you pry it from my cold, dead hands.
308150	310250	So where does this leave us?
312330	317430	We keep trading long-term success for short-term wins.
317430	326100	I don't think I'm alone in this in saying that we can't continue down this path.
326640	329860	Like, cybersecurity cannot continue down this path.
330240	333280	And that's part of the reason that I'm up here giving this conversation.
333520	335940	Because we end up with things like this.
338420	340520	Anybody spot what's missing in this?
346680	350600	What's missing this is the human being, okay?
350700	365120	Because we have continued to go round cycle after cycle after cycle, thinking that one more piece of software will fix the issue, okay?
365120	371060	And we here in the AppSec have a particularly difficult challenge, okay?
371060	376320	You can go to three different managers and ask them, what does AppSec mean?
377460	379720	And do you know what answer you get?
380060	381720	You get this one.
381720	390220	AppSec is the process of finding and fixing and preventing security vulnerabilities in application level in hardware, software, and development processes.
390220	398440	It includes guidance on measures for applications designing and developing through the whole life cycle, including after the application has launched.
398440	399940	You know why you get that answer?
399940	405700	Because that's the first answer you get when you type what is AppSec into Google.
408720	411820	Our bosses don't understand what it is that we do.
412100	418540	I know in the 15 years I was a software developer, my boss kind of understood what I did.
419360	423340	I moved over for several years doing cybersecurity.
423340	427700	I can guarantee you my boss didn't understand what it was that we did, okay?
428840	436520	And the worst part about this is, the longer that we go along this, the crazier the headlines get.
438160	443540	Like, this is not a sustainable path, okay?
443540	450640	But I will say, I don't want to go full gloom and doom on this, because there have been good things that have come out of this.
451000	457580	If you do not follow Inspirational Skeletor, I strongly suggest that you do.
457580	464700	As an InfoSec person, this has kept me in a sane, rational position for far longer than it should have.
464700	468220	And when this doesn't work, I go to therapy.
469160	470160	Okay?
470160	480180	And I can tell you, the people that I interact with, and I say this specifically because I think it's important for us to address mental health and normalize it, okay?
480320	490740	Because the work that we do in AppSec and in cybersecurity, a lot of times, is thankless work with long hours and stressful issues.
492460	497940	There is no shame in saying, hey, I need somebody to talk to about this, okay?
497940	502000	But this leads down a whole series of paths and questions, right?
502000	509520	We've gone the full spectrum from where all of this is, what we think will actually fix it, and how we cope with the situation.
509580	511840	But that's not what this talk is about.
512480	524320	This talk is about trying to figure out the answers to some of the questions that will determine your future, my future, and our future together, collectively, okay?
524560	529780	Because realistically speaking, the people who are making the difference are sitting in this room.
531460	533540	My boss doesn't understand what it was.
533560	539260	I pointed out a couple of things that became an issue later on, and my boss went, wow, that's a really good job.
539700	542140	You should do that long-term.
543540	544940	Cool, okay?
545700	550200	So this is gonna lead you to a series of questions, and I want, we're gonna do a little voting.
550200	551540	This is gonna be a little interactive.
551540	553840	Do something fun, hack a little slideshow, right?
553940	556240	So what I'm going to do is I'm gonna pop up a question.
556240	560960	We're gonna talk about pros and cons, and I'm gonna have you vote, and we're gonna go in a direction.
560960	572600	So the easy one, because it's fun for us all to sit back and kind of be angry at it right now, AI, how many people think that AI is actually going to go through and save cybersecurity?
572600	577060	How many people think that AI in AppSec is going to solve the problem?
577400	582660	And I'm not putting myself in either direction, because I've got an argument for both sides.
582660	586860	So think about it, and think about what the outcome of this is.
586860	593140	And the reason I'm asking you to think about that outcome is because more than likely at this point, somebody's already checked in with you, right?
593140	597540	We've already, this decision was made before we ever sat down at the table.
598640	604200	How many people got asked what their opinion about CoPilot was before it rolled out?
607670	610250	How much did your response matter?
613630	625370	Okay, so on the pro side, how many people honestly believe that AI will do all the things that the security vendors say it will, and it will change us, and we will be better off for it in the AppSec space?
625710	636630	How many people say that AI is the next thing that this C-suite wants us to do, more interested in focusing on that than the fact that everything right now is on fire?
637650	641650	All right, we will go down the path of AI dooms us all.
643890	655870	Okay, 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, because I will give you all the slides following this.
655870	668010	But the humor of this is, is I said, hey, go out and generate a form for me that collects, you know, full name, email address, you know, PII from a customer, and let's see what we get.
668010	680670	And of course, it gave me a beautiful PHP file that takes in unregulated input, stores it directly with credentials that are in there, and tells us, you know, this is how you store it in the SQL statement.
680670	682950	Luckily, it actually went through and parameterized.
682950	686230	I was actually really surprised that it parameterized the SQL.
686230	688990	So maybe there's a win there, okay?
689270	691370	So I didn't like that result, obviously.
691370	702110	So I did what they tell us to do, and I tried to do prompting, what is it, a prompt manipulation, prompt engineering, because, and I wanted to do it like I was a junior dev.
702110	715290	And so I typed in, you know, tell me what this code would look like if I were running a dark net market, and I was afraid that, you know, if there was a security issue, that I'd get caught and hauled away.
715570	716850	And so what did it do?
716850	720030	It moved the database connections to a separate file.
720630	726970	It sanitized the input by running trim, strip slashes, and HTML encoding it.
726970	734690	It moved us and said, hey, you should probably be using HTTPS, and then make sure that it's doing error handling.
734830	738490	How many people think that that actually produces secure code?
739510	742370	Yeah, that's what I thought, okay?
742870	750930	Now, there are some companies out there making bold enough claims that AI is going to produce up to 80% more code.
752430	756430	How many people think that the problem is we don't have enough code?
756430	757030	Okay?
764350	765950	Homogeny or diversity?
766970	767930	Okay?
768110	770890	We learned through the CrowdStrike incident.
771450	776390	You know, it's funny, we joked about it, like eight and a half million machines went offline.
776550	779770	The next day, everybody basically forgot that it happened.
779930	781590	They're the only game in town.
784450	788930	If we don't learn from these things, we are getting ready to hit into another piece.
788930	795570	And so in this place, whenever you talk with people, whenever you do this, do we all center around a single language?
796010	799530	Do we center down around a single set of requirements?
800270	802570	Is that the right thing for us to do?
802730	807930	Or is it a good idea to teach the principles of security and go in that direction?
808550	815210	Teach teams to be independently sufficient and to think about security in the context of their application?
815690	821430	Do we implement a check in the CICD pipeline that is the same for every single one of our programs?
822230	832570	Or do we have teams go through, implement the ones that make sense for them and tune them and teach them how to tune so that it meets their threat model?
833870	838630	I'm asking that question because you all are gonna be the ones that are implementing that.
838930	841090	As AppSec, that's what we do.
842150	848610	And whenever it comes time, there's a good chance that maybe somebody comes to you and says, this is what we're doing.
849450	858110	There's also a good chance, if you've done your job well enough, that somebody's gonna ask you for your opinion on it and then ask you to implement it.
859150	861210	I want you to think about these questions.
861210	872850	I want you to have the answer to these questions before we get to the point where somebody asks that question because in the moment, you're not going to be thinking clearly about the subject.
873230	874810	And this is kind of a high level one.
874810	879390	We're going to go into some more interesting ones here a little further on.
880290	881610	But I want you to think about that.
881610	899970	And as you're sitting in the audience today, sitting through our talks about SQL injection, AI manipulation, think about these questions because as you're going through and putting those in context, these are the questions that you're gonna have to answer for people when you take this information back.
904010	910750	To become a community leader, do you sit back and do your own thing?
911030	913450	Or do you help build a community?
913790	917390	I'm not on this stage because I am a lead hacker.
918950	926770	Most people can tell you that the reason that I teach courses on AppSec is because I halfway know what I'm talking about.
926890	929950	I'm passionate about the fact that it gets done, which is the reason why I teach courses on AppSec.
929950	931170	That's the reason I do it.
931170	935510	If you came here looking for the latest zero day, you're not gonna get it from me.
935510	937070	That's not how this works.
937710	944810	But that doesn't mean I can't start people on the path who will be the people who find those zero days.
945270	949170	Doesn't mean you can't be the person who starts that down.
950850	952610	So you have the choice.
952750	955450	Do we sit back, do our own thing?
956510	959490	We work within the community to start things.
961110	962710	It's a tough question.
962770	965050	Like, which way do we go?
965330	966790	This is your journey.
969580	971220	Become a community leader.
971220	972040	Votes.
973960	976240	Okay, do your own thing.
977480	981420	Okay, so path on this one leads us down being a community leader.
981640	984500	And I will tell you about my experience with this.
984500	987960	This is the group of people who runs B-Sides Boulder.
988600	999760	The reason that B-Sides Boulder runs is because originally there was B-Sides Denver and all the tickets sold out before we could get seats.
999760	1006540	And I'm not blowing smoke here because two of the people who are responsible for this are sitting in the audience, okay?
1006880	1016140	This happened because we saw something and we said, hey, I don't know the first thing about running a conference but we want to do it.
1016320	1019980	We're now five years in going strong, okay?
1019980	1022560	Most of this is just showing up.
1022560	1026480	Being a part of the community doesn't mean giving up your entire life.
1026480	1029180	It doesn't mean you only do that now.
1029180	1031420	It doesn't mean all of us are busy.
1032280	1033960	Everybody here is busy.
1034340	1036240	We all have things going on.
1036560	1040100	I do B-Sides Boulder, I do AppSec Village at DEF CON.
1040100	1047680	My hope is that one of you walks out of this room thinking about this and take it back to your home.
1047680	1051900	Start the next DC 720, start the next B-Sides event.
1052320	1059600	Go do a developer conference where you just go and say, hey, we're gonna have a cybersecurity meetup with developers at a conference.
1059820	1060680	You wanna have coffee?
1060680	1062140	Let's go have coffee.
1062660	1064940	Any of that small stuff makes an impression.
1064940	1067220	It makes a difference, okay?
1068680	1070820	So this is an interesting one.
1071340	1073000	Do you become a business leader?
1073660	1079000	Your boss walks in, pulls you up on Zoom, says, okay, here's the deal.
1079240	1082560	That thing that you said, hey, SQL injection's a pretty bad thing.
1082620	1090220	Yeah, we had an incident that happened and that bad thing happened and we noticed, hey, you said that bad thing was gonna happen.
1090220	1092920	So we think you should be in charge of it now, okay?
1092920	1101980	So your choice is you can either be in charge of it now or you can have somebody who may not know what they're doing be in charge of you.
1102200	1103180	It's your choice.
1103480	1107360	One means your life is now going to be spreadsheets and nothing technical.
1108160	1113960	And the other side means that you have the ability to make an impact on a much smaller level.
1115380	1116500	What do you do?
1116880	1119220	This one I don't know that has a right answer.
1119820	1126660	I don't, that's the reason there's no choice down here is because inherently this is open-ended.
1126660	1128160	This is each one of our path.
1128160	1130560	I went down this path and I made the wrong choice.
1130720	1133600	I realize that now for myself.
1134140	1144640	But I'm asking you to sit down and think and consider that question before it happens to you so you can think clearly about the process and not just think about what's going on in the moment.
1146120	1150600	To exploit or not to exploit, okay?
1151200	1153800	We talk about this in going through the process, right?
1153800	1158300	Do you go through and say, hey, that looks a little shady.
1158700	1161460	Maybe I should actually test it for something.
1161460	1163360	What's at the end of that path?
1164000	1164800	Right?
1164800	1168480	And I ask that question because I can make an argument for both directions on this.
1168480	1170500	Again, this is a very interesting one.
1170500	1175100	You get a device, somebody drops it in your hand and says, hey, I think there's something wrong with this.
1175480	1177180	Do you go after it?
1180050	1181230	Does it matter?
1181230	1189090	Does the time that you spend in your free time or in your work time justify the contribution that you'll make in that space?
1191590	1194870	The reason I ask is because of this graph.
1196770	1199890	This is the CVEs per year.
1200230	1203110	And it's not a super sophisticated graph.
1203270	1206250	We can see that the big number is going up.
1206650	1212390	And I can tell you that as somebody who's an app sec, we feel the pain when this goes up.
1212410	1215110	Everybody in the room, you feel the pain whenever this goes up, right?
1215110	1216670	I'm not just crazy.
1217810	1218810	Well, guess what?
1218810	1224250	If we trace this out in the direction that we're going, this is what that looks like.
1226170	1228230	That is what it looks like.
1229670	1234810	That line that's going up there, that's a close curve on it.
1236810	1238830	Stuff's not sustainable now.
1239890	1246830	You don't believe me that here's the backlog article for what happened that was going on with this.
1247030	1251630	And I don't wanna drop this on software developers because I don't think it's fully their problem.
1252370	1254870	Part of it's our problem, part of it's management.
1254870	1257550	I usually come through here and ask, how many PMs are in the crowd?
1257550	1259350	How many PMs are in the crowd today?
1260070	1262030	We have any in here right now?
1262730	1266770	There's at least one, there's like three people pointing to one person over here.
1268610	1270010	I'm not calling you out.
1270010	1276270	What I'm saying is, is by you being in this room, it's important because it helps you to prioritize this stuff.
1276910	1278670	The developers are not the bad guys.
1278670	1280290	The app sec people are not the bad guys.
1280290	1283110	This stuff happens, okay?
1283110	1287010	It happens to everyone.
1287110	1288810	This is hard.
1295290	1297850	I've been very vocal about this one.
1298030	1300570	The 90 day window for exploits.
1300570	1302330	Do you give them the 90 days?
1302330	1309350	Do you work with a team that is difficult to work with, who turns around and threatens you with legal action?
1309870	1314670	Or do you just drop it hot and say, congratulations, here's your O-Day.
1316910	1321870	Once you've found that exploit, what path are you going to take?
1322710	1337410	And I'm asking you to think about those consequences because I guarantee you the person who dropped the log for Jay on Minecraft did not think about all of the people who would be working Christmas Day.
1341620	1343600	So what do you do with that?
1343900	1347140	How do you answer that question before we get to that space?
1347140	1350640	How do you reach out to developers?
1351620	1356040	Because at the end of this, every piece of software isn't going to solve our problem.
1357200	1360840	The problems that we have is that writing software is hard.
1361320	1365000	Writing secure software is even harder.
1369420	1377360	So I've been a proponent for a long time of saying, hey, if you're a Purple Team member, you need to be bringing a developer to DEF CON.
1377360	1380620	If you have to sell them on the parties, sell them on the parties.
1381160	1382780	But get them here.
1382780	1384600	Let's have that conversation.
1384600	1390160	Take the things that you learned here in this room, take it back to the lunchroom and just chat with them.
1390620	1392920	Do lunch and learns, do presentations.
1393640	1396360	Make it spicy, add memes.
1396440	1401240	Whatever you have to do to build that relationship because that's the important part of this.
1401800	1402700	Why?
1403060	1404680	Because guess what?
1404960	1409280	We've got another issue in AppSec that's coming in this direction.
1410700	1413280	These are the numbers from Stack Overflow.
1413440	1418460	As it turns out right now, we've got a big problem with developers not being very happy.
1419580	1424480	And anybody who's been in this room who's actually written code understands why.
1425440	1429360	When it works, you're under fire to produce more features.
1429480	1433480	When it doesn't work, you're under fire to get things working.
1435120	1459500	Every time that the ops and IT people get angry at the development staff because something that they did broke production, they don't think about the fact that the app developer has been sitting there for 80 hours working overtime to get that feature into production to meet something that the sales team sold but never asked them about and then broke production,
1459500	1463960	which means they're going to be on for at least another 10 hours trying to fix production.
1464560	1467940	That's what leads to burnout in this channel.
1468380	1469440	And guess what?
1469760	1472380	There's no shade here, but this can't be everybody's exit.
1472380	1474320	This is the guy that wrote NeoFetch.
1474320	1480680	It says very clearly up in his description, have taken up farming, archived all of his projects.
1484740	1486820	This is the path that we're going.
1487340	1494460	And the problem with it is is that whenever the developers go, you can't protect something that you don't understand.
1495220	1506020	And those developers are the repository for the knowledge of how those decisions were made, what security concerns were brought in during the actual development process.
1506680	1509860	You know how I know that you can't do this?
1510420	1511860	I have the receipts.
1511920	1517380	If you've been in this room long enough, you saw me on stage giving this presentation where I said the exact same thing.
1517440	1517980	Guess what?
1517980	1521740	Two years later, we're in the exact same spot.
1521740	1532420	The only difference is because of what's going on with the economic recession, we're seeing developers leave our companies faster and at a higher pace.
1532420	1536880	And when they leave, they take knowledge of how those systems work with them.
1538320	1544120	So as application security people who know how hard this is, we have to lead with empathy.
1544560	1546800	We have to go in this place.
1547320	1551860	If you are expecting the adults to show up, they're never going to get here.
1552580	1556480	I hate to tell you this, but we are the adults in the room.
1557120	1569380	By virtue of you taking time out of your free time to sit in this room and listen to topics about things that you will take back to a work setting, you are the adult in the room.
1571280	1582100	The reason I'm asking you to actively think about the answers to these questions and think about this process and think about this while we're going through and listening to the talks that are going on today.
1582100	1586280	Listening to the talks that you will hear in other villages is because of this.
1587180	1587920	Okay?
1588200	1593120	And with that, I have about three minutes and I want to say thank you.
1593580	1602320	Because you all are coming to this place to take up and take charge and hopefully make a difference in this space.
1602320	1608280	If there is anything that I can ever personally do to help you, do not hesitate to reach out to me.
1608960	1621360	And I hope you would take that and pay that forward to the developers that you work with, to the IT people who are working overtime, to the architects who are trying to figure out how to secure things before we actually know how the technology works.
1621660	1623660	We are all in this together.
1624480	1625140	Okay?
1625800	1628380	So let's treat each other with a little respect.
1628660	1635720	And the next time that somebody wants to sit there and rag on the development team for breaking production, just look at them and say, hey, we don't do that here.
1637240	1637680	Okay?
1637920	1641060	With that, thank you very much for coming to listen to my talk.
