start	end	text
3250	11010	Thank you. Thank you, everyone, for having me here. He didn't ask, but I'm interested. How
11010	15630	many people work directly or indirectly with vulnerability management in their day jobs?
15630	21370	All right. That was the hands that I wanted to see there, right? So we'll get started here.
21370	25310	This is super quick. And we'll dig in and have some time for questions at the end.
25350	31110	About me, my name is Jay Gamblin. You can just call me a vulnerability enthusiast.
31110	36590	That's kind of my unofficial title. I run two websites that you guys might like to look at. One
36590	43490	of them is CVE.ICU. What it'll do is it'll give you how many CVEs are published daily, weekly,
43490	48270	help you kind of break down. So if you have to write any reports and push those reports up to
48270	54150	your management, I built this site specifically for people to be able to go and grab data level
54150	61990	graphics for their reports. I also run a website called patchthis.app. What it does is it gives
61990	66070	you a list of vulnerabilities on your network that you should be investigating. We'll get to
66070	72950	both of those a little bit later in the talk. I'm a member of the EPSS, the Exploit Prediction
72950	77550	Scoring System, SIG. So I sit on those board meetings and I sit in their planning meetings
77550	85890	and I help kind of guide where the EPSS goes. I'm not special in any way and that is an open SIG.
85890	91130	So if you're interested in data science or vulnerability management, you can sign up for
91130	97490	that SIG on first.org. We'd love to have more people, especially people who are not in industry
98010	103250	in that SIG. So if you do vulnerability management in your day job, we would love to have you join
103250	108850	the SIG. We just have a new co-chair of the SIG who runs vulnerability management at Peloton. So
108850	116170	we're really trying to be more focused on the community. I'm also on the CVE SIG members. So
116170	120510	I spend a lot of time working with the Quality Working Group for CVE data. And if you know CVE
120510	126130	data, you know that that's a hard group to be on. And I'm also on the Automated Working Group,
126130	131790	which helps companies and individuals process CVE data at scale because it's so large.
131790	140190	Feel free to contact me either on X or email me. I have a bunch. I have 20 years worth of
140190	144330	CVE scripts and data on my GitHub website that's completely free.
146210	149310	So let's talk about the vulnerability reality here.
150630	157390	The problem is there are 110 CVEs roughly published per day this year.
158030	162610	Organizations do not know what to remediate first. When I started doing vulnerability
162610	171270	management 20 years ago for the government, there were 18 CVEs a day. It was my job basically to
171270	177270	read all 18 CVE descriptions and say, yeah, we have this. No, I've never heard of this, right?
177270	185530	One person could do it and it wasn't a big deal. We're way past that now. We're in the age of you
185530	193370	machine learning and algorithms to figure out what to patch. Many organizations use the CVSS
193370	201410	score to determine what to publish because PCI tells them they have to. I will tell you right
201410	207890	now, that is a misuse of the CVSS scoring system. Their SIG would want me to tell you do not use
207890	212990	CVSS to determine what to patch on your network. That's not what it's built for, that's not how
212990	220530	it's designed, and that's not how you're supposed to use it. The solution is people are moving to
220530	226790	patching known exploitable CVEs first. And that's the only way to do it. I'm lucky enough to have
226790	233290	been part of a startup that was acquired by Cisco that built the first vulnerability management
233290	239110	program that looked at what was exploitable and kind of helped companies patch that.
241410	248350	So, here are the number of CVEs published per day this year. And you guys don't have to grab
248350	252250	pictures of the screen all the time if you don't want to. I know it's handy, but I will tweet a
252250	259470	link to this PDF deck right after the talk. So, if you want the data, you don't have to screenshot it.
259470	266230	Yeah, we're over 100 CVEs a day, but at least two times a week, we get 250 new CVEs a day.
266230	270650	That's normally on Tuesdays and Thursdays. So, if you ever wonder why your vulnerability
270650	275730	management people look so stressed on Tuesdays and Thursdays, it's because their workload about
275730	285250	doubled that week. So, here's the CVEs per year. We've had two pretty big events here that's kind
285250	294770	of changed the trajectory of CVEs and how they're published. In 2016, they opened up the CNA process,
294770	303430	which allowed companies to directly publish CVEs to the CVE list, right? So, if you're Microsoft or
303430	309870	you're just even Joe's software shop, you could take control of what CVEs got published for your
310450	316090	list. That really took us up. In 2020, something else happened. Does anybody have a guess what
316090	325970	happened in 2020? COVID, but also GitHub. GitHub became a CNA in that time and started really,
325970	334010	really pushing hard on publishing CVEs for all open source code that's on their network, right?
334050	340650	In their repo. So, they shot to the top of the CNA list really, really quick. So, now we have
340650	347750	much more CVEs and a lot of them you'll never see on your network, right? Therefore, some code
347750	353510	somebody wrote one time and somebody found a CVE in it and it just sits there, right? So, it's just noise.
355450	362090	So, let's talk about what EPS is. EPSS stands for Exploit Prediction Scoring System. I just
362090	368210	realized I didn't put this in the slide deck and I'm sorry about that. So, EPSS is a data-driven
368710	375950	estimating the likelihood that any CVE on the CVE list will be exploited in the next 30 days.
375950	382590	So, that's a sliding 30-day windows. So, every night at midnight, we run the model.
382590	387990	It shoots out a new score for the CVEs and publishes it. So, what I really want to lean
387990	393130	into here is if you do want to use EPSS, it's not a grab at one time and this is my list.
393130	396590	You really have to build it into your process so that you grab it every night
397150	403730	at... it's normally done by 3.30 Eastern. So, whatever time zone that is for you is you should
403730	411710	grab it after 4 a.m. Eastern U.S. time and it'll be updated for that day. EPSS is managed under
411710	417550	FIRST. I was lucky enough to work at Kino Security like I mentioned earlier. We gave them the patent
417550	423950	for EPSS to use and they now manage that as a non-profit as part of our acquisition into the
423950	432650	Cisco systems. The score is used everywhere. If you use vulnerability management software,
432650	438310	over a hundred known vulnerability management software tools have the EPSS score built into
438310	443610	either algorithm or they display it on their website in some way. There's a list on the
443610	451410	website that you can see if you're using it already. So, the EPSS data provides two datasets.
451410	458130	It's a really simple dataset. It has... it's a three-column CSV. The first column is the CVE
458130	464530	number. The second column is the EPSS score. And then the third column, because people ask for it,
464530	471190	is what percentage of the CVEs this is, right? It's just a base percentile number.
472290	482970	I pulled these numbers today. The high-scoring CVE is a Cisco CVE from 2019 for Gigabit Interface
482970	496610	Router. The mean score is only 0.04 and the low score is 0.0004. So, that is shared by 7,000 CVEs.
496610	501030	That's the floor CVE number. That's what you get. That's the score you get if you're a CVE
501030	509150	at all. So, this is what the EPSS scores look like spread out over a graph, right? We tell
509150	514570	people all the time that you have to figure out what your comfort level is and what to do, right?
514590	518810	So, here's the graph we always show people and say, if you're trying to patch everything,
518810	524150	you're going to lose. If you want to use EPSS in your patching system, we tell people to start at
524270	532690	a minimum of 0.5 and it breaks that down to here. Today, there was 5,671 CVEs that the model
532690	540010	predicts will be exploited in the next 30 days. So, that's much more manageable for people to use,
540010	545810	right? So, the data's there and the data is doing what we want the data to do. It's kind of an odd
545810	553010	thought to think that we want to weed out 95, 98% of all CVEs, but that is the goal of the EPSS
553010	560270	project is to say that here are the CVEs that we have high expectation to be exploited in the next
560270	571630	30 days in the wild. I will start this slide by saying I am not a data scientist. So, if you want
571630	576090	to talk to our data scientist, Jay Jacobs runs the data science program, and he'll be happy to dig
576090	582990	into the geek stuff with you there and the math. But when they built V3 and released it in 2023,
582990	588550	we saw an 82% increase over the V2 model. So, that was really good. And we're looking again,
588550	593930	and we will release a new model in the fall and the V4. And we really think that we're going to
593930	599850	get about another 80% increase in efficiency again. So, the model is really, really starting
599850	605150	to shape up and be hard to defeat in what it does, in predicting what CVEs are going to be
605150	614430	exploited in the next 30 days. So, the data sources used in CVE in EPSS is pretty interesting.
614590	620510	We work with a lot of companies in the threat space and in the technology space, and they give
620510	625850	us their data for free, and we give them back the EPSS score to the community. That's the
625850	634010	working agreement we have with them. But we bring in probably 2,500 variables at the end of the day
634010	640190	to calculate these scores. There's a white paper that you can go read that talks about how to use
640190	647430	EPSS for vulnerability scoring and get into all the math if you need it. So, let's just talk about
647430	653730	what you guys are here for, using EPSS for vulnerability management. So, this is a warning,
653730	662850	EPSS is not a one-size-fits-all thing, right? We think that when we do it, we look at what an
662850	670470	average network is, and we build the model against an average corporate network. If your
670470	675150	network is different, we would suggest that you do all the testing and all the research and
675150	680090	understand. You know, we're not testing it, we're not a hospital network, so we don't have that kind
680090	685010	of stuff sitting around. So, we're not an IoT network, we're not an OT network. So, if you guys
685010	691630	have IoT or healthcare stuff on there, this might not be the model for you because it doesn't weigh
691630	696430	heavily in there. We would love to talk to you guys about that though, especially if you're
696430	702650	interested in building a healthcare-specific or an OT-specific model of EPSS, so that we
702650	708670	could lean in and say, here's EPSS for OT providers, here's EPSS for healthcare providers.
710310	717250	So, the best way to use EPSS for VM is to understand that it's for network-based attacks
717250	724410	because of where we get the data and how CVEs are weighted, this model is heavily for network
724410	728670	attacks. So, if you have a network that you let students connect to or that you have a big
728670	734330	corporate network, this is the model to use because those are the vulnerabilities and the
734330	740390	exploits that we can detect and are probably 99% of the exploits that people see in the wild.
740390	746130	There are very few keyboard hackers these days, right? Like, I have to be in front of the machine
746130	751470	to make this exploit work. So, this model understands that and has been built back
751470	760110	to use network-based attacks as its primary course. EPSS should only be used primarily
760750	767550	after all known exploited vulnerabilities are off your network. Let me say that again. EPSS
767550	772710	should only be used as a primary source of information after you remove all exploited
772710	777510	known vulnerabilities from your network. How many people have removed all known
777510	783710	exploited vulnerabilities from their network? Yeah. So, there are very few people who have done
783710	792190	that. I love for people to use EPSS in deciding what to patch, but EPSS does not stop and does
792190	798690	not pivot away from fixing stuff on your network that you know bad guys are attacking now.
798690	803210	In some point, we get to a point where everybody has all the known exploited vulnerabilities
803210	808310	patched, then EPSS is a superstar, right? Because then you're just patching what you think the bad
808310	814890	guys are doing. But 99.9% of us right now have vulnerabilities on our network that you can go to
814890	823310	GitHub and find an exploit for and run it against it, right? There's a super in-depth app, in-depth
823310	830330	guide that we just built on EPSS at risk-basedprioritization.github.io that sits you all
830330	836090	through this. We worked with Yahoo, Microsoft, and a couple other companies that gave us data
836090	840750	on the vulnerabilities on their network to kind of help build out a model to show you what it would
840750	846210	look like if you deployed EPSS on there. I'm not going to spend a lot of time digging into that
846210	851430	today because our time is so short, but I would suggest that you go there and look at that.
853950	859790	I've also built patchthis.app, which isn't the primary focus of this call, but if you do not
859790	866170	have a threat intelligence program today, I take what 80% of all threat intelligence
866170	872030	platforms are built on, put it in a CSV, and give it to everybody for free every night.
872050	877570	What it does is it goes out and checks what hackers, what quote unquote bad guys are using
877570	883430	to exploit networks, puts and combines that together, breaks it down, and gives you a list
883430	890550	of about 6,000 CVEs that we know are being actively used to exploit networks. So if you
890550	895310	need a place to start and a place to look, I suggest this. I'm happy to take any pull requests
895310	899710	or any information you guys have on this site, too, as it's one of my side projects that I'm
899710	907790	really, really into. So EPSS and the deployment pipelines. This is where it gets interesting,
907790	916450	especially for sec and DevOps people. EPSS is built to be ran this way, and a lot of tools
916450	923810	already have it built in. If you use any of the major code repositories, either GitLab or GitHub,
923810	929610	it's both built into there, into their scanning already, so when it finds a CVE in your code,
929610	935550	it will tell you that, hey, here's the CVE, here's the EPSS score, here's the CVSS score.
935550	940850	So I would really suggest that if you dev on one of those, if that's one of the places where you
940850	949310	keep your dev tools, that you enable both EPSS on both GitLab and GitHub. There's also a GitHub
949310	955770	action that I love to have people use, especially if you're using Kubernetes or Docker in your
955770	961710	environment, because what it does is it uses an open source program, either Trivy or something
961710	966830	along those lines, to scan your Docker container files and your development files for known
966830	973750	vulnerabilities. It will then go in and run EPSS against it, and you can set a threshold. Like,
973750	980790	I don't... if it's above a .6 in EPSS, please do not let this push to prod so that your teams can
980790	985630	go back and fix that. It's super simple. I'm super proud of the team that's built that. It's
985630	993210	made the main GitHub advanced security toolkit, so it's built into what GitHub tries to have
993210	998730	used internally and tries to have their best customers use. Here's a little screenshot of
998730	1004770	what that looks like. And with that, I am done. I want to take your questions. I want to understand
1004770	1010810	what you guys want and kind of use that. So if you have any questions, I'm here for them. If not,
1010810	1014630	I hope you guys enjoyed the AppSec Village this year. This was one of my favorite villages,
1014630	1019310	and I'm super glad to end the conference here. Question in the back?
1029580	1037420	So nothing goes to one. That's the model, right? Because we have to see it happen,
1037420	1045020	and since we don't run any IPSs or IDSs ourself, we can only assume that it happens,
1045020	1052840	so those bump up into the high 90s really quick. 97, 98, 99. But there's no such thing as a 1.0
1052840	1060940	in EPSS today, because we don't have firsthand knowledge, and we're always looking at data from
1060940	1067760	other IDS, IPS vendors, and since we can't see at the end if that was actually a successful attack,
1067760	1078160	it kind of gets fuzzy. Yes, yeah. Yes, yes we did, and we actually released a study. If you
1078160	1084260	go to Scientia.com, the company that builds and maintains the model, they just released the EPSS
1084260	1090140	study that puts it against that. So it's on LinkedIn or Twitter if you can find it. If not,
1090140	1105670	I'm happy to share it with you. Yes, CWEs give me a headache, to be completely honest. It's so hard
1105670	1114470	to get CVEs to line up with CWEs correctly, because the CWE pool is so wide. We work closely
1114470	1119470	with the CWE program. I've talked to them about that. We'd love to get CWE data in there,
1120390	1129290	but it's so complicated. It's going to take much more stronger and well-built models to be able
1129290	1133890	to build that data out correctly, because one cross-site scripting is not like another cross-site
1133890	1140010	scripting. So knowing severity across CWEs is where it gets really, really difficult, especially
1140010	1154780	if you just don't want it to be static. So we have talked with the CVSS SIG quite a bit,
1154780	1159280	and the problem with seeing the CVSS SIG environmental factors is that they're always
1159280	1164920	turned on. You can only lower a CVSS score by saying that we don't know that this is exploited,
1164920	1170180	we don't. If the CVSS model was built the other way, where when you flip the flag it made the
1170180	1175340	score go up, we would love to do that. But now all you can do on CVSS is flip a flag and make
1175340	1186680	the score go down. So it's kind of hard to marry that to a probability model. Yes.
1188500	1192780	No, we're just looking for people who would be interested in kind of talking about that and
1192780	1199240	joining the SIG and to help us kind of understand, A, where can we get the data on who's attacking
1199240	1204840	OT, what those look like, like what the IDS IPS rules look like, and kind of build a mirror model
1204840	1210200	of the regular EPSS score. So if you know anybody who has that data or whatever, that would be
1210200	1214620	great. We'd love to have you. If you just go to first.org slash EPSS, there's a sign up for the
1214620	1232110	SIG there. There was, oh, go ahead. Sorry. Yeah. I mean, it really depends. I like, I like 0.5,
1232110	1237870	that cuts you down to about 5,000 CVEs. And then you get to, then you get to marry that list
1237870	1242750	against what's actually on your network. And most people we've seen, when you take that 5,000 and
1242750	1249290	against actual networks, you get down to 50 or 60 CVEs that are 0.5 or above. Right. But that's the,
1249290	1253110	that's the hard work and the homework that you have to do is to take the list and then actually
1253110	1258570	match it against the CVEs that are still on your network and then figure out what, what works for
1258570	1264690	your VM groups. Right. Because in some organizations, 50 tickets to patch CVEs might be
1264690	1270470	nothing. And in other organizations that might, you know, cripple a VM team for a month.
1276350	1280970	Yeah. I will put this on my Twitter account, at jgamblin, and I will share it with the,
1280970	1285750	and I will share it with the village. And I think that they will put them all somewhere
1285750	1300830	at two at the end of the thing. Yes. Yeah. So we, we did. There's a couple of things about that.
1300830	1307470	CISA has stepped up and started providing fill-in CVSS scores. So we are leaning into those.
1308150	1313530	We are also missing a bunch of data from NVD. So it does hurt the model a little bit.
1313650	1316450	That's why we're having a new model come out at the end of the year that, that
1316450	1323210	relies less on NVD and more on the CNA data. So you'll see a big push for us too, to have the
1323210	1329670	CVE publishers require more data in the CVE records. For the longest time, all you needed
1329670	1334810	to publish a CVE was three data points. And that's just not enough for people to make informed
1334810	1357660	decisions in 2024. Yes, sir. Yeah. And I think that's where you just have to like really lean
1357660	1362340	into the exploitable, known exploitable, right? Like no matter where your known exploitable is,
1362340	1367680	it's, we took care of 95% of everything that had a known exploitable and everything else gets
1367680	1372280	pushed off into our large patching sections, either quarterly or monthly or whenever they
1372280	1378640	happen. But yeah. Yeah. I, if I ran a VM team right now, I would never ring the fire bell
1378640	1383220	unless there was known exploit code on, on the internet actively being exploited,
1383220	1388020	right? Like I wouldn't trust CVSS. I wouldn't even trust an EPSS score, right? Like,
1388020	1391460	like before I make somebody work over a weekend, I would have to see,
1391460	1407170	see code somewhere that, that made me do that. Just POC exploits. We try really hard on our
1407170	1412410	model to be able to determine if we're seeing the exploit versus it just being POC code.
1412410	1418730	We also lean really heavy on, we, we want the model to see if it's a network based POC code
1418730	1423410	versus a local based POC code. Cause a lot of times we see POC code for network based
1423410	1428150	vulnerabilities that you actually have to run on the system. And that never seems to make a
1428150	1445250	lot of sense. Yes, ma'am. That's a good question. We don't know yet, but bias in CNAs is a whole
1445250	1451310	another talk because you become a CNA so you get control over what CVEs you publish for your
1451310	1457850	software or not. So there's always some bias in CNA data at, at its root because that, that's why
1457850	1464350	most companies have become CNAs. All right. With that, I think I will, will call it my time and
1464350	1468670	say thank you guys very much again for coming to the AppSec village and to have a good rest of your
1468670	1469250	DEF CON.
