TRANSCRIPTIE 🔗
Anna Vanderberg: The vulnerability that's been sitting around for years becomes exploitable in days. Details leak before the patches are even ready, and organizations are suddenly making decisions about whether to take their systems offline. PHP to shell is a pretty remarkable story on its own, but it also raises the question: what happens when our ability to find and exploit vulnerabilities starts moving faster than our ability to defend against them? This is initial access. I'm Sean McMillan, and joining me today are Sergio Viegas, senior managing analyst, and Kendrick Urbaniac, senior operator and exploit developer. Welcome back, gentlemen. Hello. I guess you know, we usually have several topics that we're gonna go over. What happened this week? What are the big stories? And this is one of those rare situations where no one cares. What else happened this week? We have one I should I should go get the elephant again. We have one big elephant in the room. let's let's start with what happened with with PHP. Who wants to give the kind of high level summary to set the table for this? I can start with some summary. and it's really interesting because even though you mentioned we normally talk about different stuff, this is kind of a combination of all both stories into a single one, right? It is, yeah. There's a lot of components. Right. We will talk about like timing. We will talk about AI. We will talk about potential traductors, right? Like very a lot of I'm gonna talk about video games as well. Nice, nice. I love it. So basically what happened is there is this book that was disclosed back in time, like twenty twenty, if I remember correctly. it was a pre pre out pre-out RC or potential RCE debug, right? But the problem is that it it was never found to be viable to exploit an RCE. Fast forward to today, many years later, we discovered that there is actually something you can do about it. And there is two particular C V E's. We are talking about CB 2026 109618 and 109619. Those are the C V the C V E's for what we are doing PHP to shell. Right? That's the vulnerability. that's the vulnerability name. I always love our community naming stuff, right? It's always chill things. Anyway, this is a nine point two C V SS score. vulnerability, this is an this is an actual nine point two, right? And what I mean by that is I know a couple of episodes with Dylan, we were talking about like the C VSS was kind of weird because it didn't really explain. vulnerability by the by itself. It was like under ideal conditions. This is different, right? This is like it's actually like very critical and it will actually give you like a lot. It's PHP to shell for something, right? so this book what happened is that it it's basically kind of a it allowed after the PHP run of memory, it allowed for any code to be executed. That that is kind of the TLDR of the vulnerability, right? Without getting into Too too many details. the problem with this vulnerability is that the scope of it, right? Like twenty twenty-six, where do you see PHP? Well, basically everywhere. Where don't you see PHP? Yeah. Yeah, yeah. And that that is the the biggest problem. And the timing, because the timing was weird as well, right? that we will get into that a little bit more, but like yes, there was this disclosure that was like ethical disclosure. It was all to be good, but then someone leaked a potential POC or the potential vulnerability. So the world started to become into cr to to to start started to crumble, right? yeah. And everyone is now running because you need to patch. But the problem is that the patch didn't come until like two PM UTC time today, right? But you already had some potential POCs or potential attacks happening like yesterday from a book that came from twenty twenty. So it it is it is a lot, right? what is interesting about this specific history is that both SIS sorry, the SISA key K A V catalog, they are not classifying it as being attacked in the world yet. However, we are seeing some vendors reporting right like potential attacks in the world happening already. So right kind of traffic. Yeah. Right. So again, it's it's a lot, right? It's a lot. and the AI part. So what happened is that AI help a lot with like the problem with RCEs and I mean Kendrick is the exploit developer in here. but the problem with RCEs is that they are not easy to find and easy to resolve, right? Once you find a book that is potentially in RCA, you to do a lot to find the correct conditions or lines of code or lines of your script to actually make it vulnerable, right? To actually exploit it and make it do something, right? Yeah. Like we talked a couple of weeks ago, where it only save things to the logs, it didn't actually run any command. This is different. This this actually tells you to run anything you want. It's arbitrary code, right, for something. Yeah. And I think this type or class of vulnerability is a little bit abstract for AI to think about right now. I don't think it's quite there. the the the original the researcher basically said it was like they combined their knowledge plus AI and basically, you know, this sh shook out over time. it So yeah. Dangerous combo is expertise plus the the scale of AI. Absolutely. Yeah. Yeah. And I think the the AI part is is is is interesting because it's this is a perfect example of how AI can augment your capabilities as an offensive researcher or as a malware researcher, right? Like you are you're a malicious guy. Well it can help you as well with a combination of both. I do want to back up and talk about the scope a little bit here. That PHP, I I imagine most people that listen to our podcast have some understanding what of what PHP is. But I'd I'd like to, I think it's important for for some of what we're gonna get into to kind of talk about what of the web is built on PHP? Like what are what components depend on that? 75, 80% of the whole internet? Yeah, right. And and for anyone who
Load full transcript
has like I mean, there's major organizations, there's mom and pop shops, and then there's goofy little personal projects, right? And at every point of that, anyone who uses WordPress for anything, which is like a lot of people who have a any kind of website that's not like Apple.com or something, you know, like so many websites are built through WordPress, and that's all PHP. And that is, you know, your your student blog all the way up to plenty of big businesses that that run it. so I think that's an important distinction to make that this is not just a handful of big organizations. This is just millions and millions of websites that that could, you know, like like you said, we haven't seen proof of exploit or anything like that. But The risk level is very high for very many people. So that's when we talk about a giant scope and why everyone is losing their minds right now. That's that's why. If we want to compare it to recent history, we can say this is kind of like a log4j type of vulnerability. It's still yet to be seen how critical this one is. Log4J was more of like a if you were running it, you were vulnerable. This is more like if you're running it and there's some preconditions and configurations that it depends on what software suite you're using to some degree. There's a bunch of little preconditions that make this either more or less exploitable or just not exploitable at all, even if you're running the vulnerable PHP. It's it's a little bit of a mess right now, and I'm sure we'll see what shakes out. And this will either be worse or better than log4j. and depending on which side of the fence you sit on, that's a good thing or a bad thing. So we should also put a pin in the fact that we are recording this. On Wednesday the twenty first, it's about four thirty PM like I'm getting down to the hour, right? It's about four thirty PM Eastern time. Who knows what this is gonna look like when this releases on Friday, right? So we're gonna try and keep that in mind and like not talk to you completely like children. Like you should take this seriously. You know you should be taking this seriously. The prediction is that we're definitely gonna see some exploit code get dropped that is actually usable. I mean, we'll we'll see how usable it is or how portable it is. Cause that's the main thing that we're seeing is that it's framework dependent and not everybody has a solution that is as agn platform agnostic and also operating system agnostic. If we look at the disclosures video, even they were, you know, tailoring their their exploit code to kernel version. Down to the and platform. So it's like, you know, there's a lot of stuff going on and I I we don't know the full scope of what's vulnerable, what's not vulnerable, quite yet. So yeah. And and I think that's the scary part, right? Like how long someone should wait until they determine if they are vulnerable or not, with someone with something of this scope, right? This is not like one of those
like medium separative vulnerabilities where you're like, Okay, maybe I have a couple of weeks. To roll out my patch because I have these services are not exposed, right? But because PHP is embedded in a lot of things that you likely have, right? It's like, well, you need to be not to sound like alarmist or anything, but you need to be fast in in in a certain way, right? Like when we talk about like eighty percent of the whole internet using PHP, the problem is that it's not like everyone is installing PHP on on its own. It's like it reli it it's in It's attached to several things, right? Like i do you have MySQL? Do you have Postgres? Maybe you already have PHP. Do you are you running, I don't know, who Google? Are you running WordPress, Drupal, Joomla, any of those CMS? Well maybe you have PHP, right? Are you running Apache or Nginx web servers? Well, you have PHP, right? That that that's a problem. It's w when you think about it, it it's a lot, right? It It's become kind of a very core component of how literally the the internet works, right? Like do you have JavaScript running on your server? Well, probably you have in in your backend you have PHP serving that JavaScript. Somewhere. Yeah. It's almost it's almost like if there was a a recall on corn and you'd think, Well, I'm just not gonna eat corn. But like was corn flour involved in anything you eat? Was corn syrup? added to anything you like I mean I know that's like the the the biology behind that is probably off the chemistry or whatever. But like yeah that's the thing is it's not just a blanket like do I do PHP or not? Somewhere you do. Somewhere you do for sure. Yeah. And I think I was thinking about like Log for J. the the comparison, right? Like Lock4J was very critical but if I remember correctly log4j was targeted towards like you need to run specifically Apache Lock4J. It was more like centric around Apache, right? Which is still a wide scope. It's still big, but it was just Apache, if you will, right? Like not not trying to undermine it, but it's it's that's kind of the difference. And this is this is one of the embedded components across the world. It's it's it's very intense. Well are you I would like to ask also, we mentioned that AI is is plays a role in this story, as it does in almost any kind of security story now. but I'm curious like what we know about why this thing that's been around since 2020 suddenly is exploitable. How did that come to be? Well, I I wouldn't say it was suddenly exploitable. It's it's been around. and I think it really just took people putting two pieces together because the underlying reference count used after free vulnerability is like, sure it's kind of there, but I think the real next step chain was, well, we can get one worker to read another a previous worker's like memory essentially, because you know, of the way that the reference counts didn't change and it was just like, okay, well Why why was that happening? Okay, well, now we can actually use that to be to exploit it. So it was like the the building blocks were always there. It was really just needing that, forcing the the process to become out of memory to some degree and pressuring it. And then that sets up a state where, you know, we can crash one worker so that another worker can come in and and do something that's it's not supposed to do. so It's it's really interesting that AI Well, I'm sure AI probably found the first one because even when I started looking at this vulnerability, it was like, well, this is a use after free. And it's like, I can't really exploit this. And I'm like, well, okay, fine. Then I moved on to another one. And then you know, more posts came out and it's just like, we also found this use after free. And it's like, okay, now this person's pointing to it. And then we had, well, I think We actually before we go down that rabbit hole, let's let's go back to the the whole chain of we're we're talking about how this was even disclosed in the first place, because the coordinated disclosure kind of fell apart. Yes. yeah let's let's talk about that a little bit. So the coordinated disclosure was supposed to go off without a hitch and nobody would really care. But I think the the main problem that we saw was The creators of well, the originators, originating researchers of the the the vulnerability decided to post onto Twitter, as as everybody does, a short little video about them exploiting a bunch of things. It's primarily Joomla, Magento, all these different PHP-based services. And in that video, they showed a lot of information. They showed their stack. pointers that they were going through and basically resolving their ROP chain to some degree. This is a ROP chain, right? Or is that I might I might be getting that a little bit confused with a different the one of the other people that was looking at this, but they basically were disclosing their different memory regions, memory addresses, and also the functions that were or the the function calls that were kind of associated with those. So it kind of gave people a little bit of little pieces that they could go through and be like, Where is that type of function call even going to occur? And then you can go from there and be like, this it's in this region. And then that's what got a lot of people to that specific s basis of code. So really the responsible disclosure kind of fell apart with the br the researcher that was then complaining about people talking about their responsible disclosure and then putting up their own proof of concepts, who then just decided to eventually start arguing with people on Twitter to some degree to then Well it is Twitter. That's what you do then. I guess yeah that's that's what you do on Twitter. It's all I do there. Yeah. Which then allowed them to basically kind of like r release bits and pieces early because they they made some tweets that I would say are like not tweets you want to put out before your major patch
comes out. Patch, yeah like mitigation techniques because they're like, you know, this is is this a partial fix to the the vulnerability or is this a not a partial fix? And then they gave us a little bit more information of like, if you if you disable the status upload thing, you know, is that a partial fix? And they said it or asked them if that was the fix. They came back and said that's a partial fix. And it's like, well, okay, well now I have more information than I did before. So now I can feed that down to the questions. Yeah. I can feed that back to the LLM and already work on the proof concept even more. So it's just it was people is people need to understand that as even if they give us like a little piece of information, AI can take that and run with it. Like I took screenshots of that video and uploaded it to like to an LLM and basically said, Hey, this is what they're looking at and this is what they're showing off, and this is the product that it's in. You know, go find those functions or references. And you know, it came back with the the region of code. It didn't come up with the the out-of-bound or the sorry, the out-of-memory solution. because it just didn't really think of that at the time. But it got, you know, 90% of the way there. It just was missing the final little pieces of knowledge that really this person probably did. The origination, the original finder of this, probably, you know, fed into their AI. It was like, hey. Let's just go ahead and try this, you know, 2000 and I think they like they reference a 2004 bug and they're like they just happen to have knowledge of that 2004 bug. And they're just like, hey, let's just try this, like, you know, let's like stretch the memory of this and see what happens. And then boom, they they were able to use this going forward. So yeah, it's it's an insane series of events, but also a little bit of caliph kind of messing up their own coordinated disclosure with PHP because they couldn't keep it under wraps, which is kind of kind of interesting. With PHP's reaction to this, I mean obviously this did not go according to plan. What what could they have done differently? Ask them not to post it differently. I mean post like kind of out of their hands there. But I mean as far as like crap, it's out there. Not really. Like I think the same would have happened. The difference will be like hours of difference, right? It would it would have happened anyway, right? So it's like it doesn't make any difference. I I don't think there is like that much to be honest. Like it it is the same thing, right? Like maybe a more control like it coming officially from PHP and everyone putting it under control and not having like Part part of the story as well is like as soon as those tweets dropped, you started to see non-official POCs. But the problem I I I saw some of them and the problem with the POCs that were released is that a few of them were like just fail attempts, right? Like people just trying
stuff. A couple of those were like from from what I've seen and from my experience, is like actors trying to disguise or pass kind of path code to like impact your own service because you or researchers normally try to exploit their own servers to see how it works, right? So they're trying to either infect or to deviate the conversation because that way whenever like companies like let's say Mandian, my Mandian guys are very smart, right? Like close to them. like companies like Mandian that do their research, whenever they try to look for defensive stuff to publish or research to like how to track this type of activity. They will be misguided by those fake POCs and making their their their jobs harder, right? so so I I think that that was kind of a collat part of the collateral damage, right? Like right now it's very it's it's like a lot of tainted waters just because of that. Right. Like you don't know what's real, you don't know w where to look. we are still waiting for more information from PHP, basically. But I think it coming officially from PHP will have been the great difference, right? Like, hey, this is official. This is the good information. This is all the details. Please go and patch. but right now it's like, should I run? Should I stay? Right? Like So unfortunately from PHP's perspective, they unfortunately really should have released the patch as soon as the that Twitter post was made and the video was sent. Like, because technically that was all the information you needed to recreate a proof of concept. If you really like had lots of agents working, you had d core exploit developers working on something, you know, they were s either somewhat familiar with PHP exploitation in the first place. PHP really just should have been like, okay, well, this video dropped. There's so many details in this video that are real and relevant. Cause when the f video first dropped, everybody was just like, you know, this could be like just you know, a red herring or something like that's fake or something like that. And that's what I went into this video like skeptical as well. As like as you do with every big announcement of a new C V E that's mass exploitable, whatever, you gotta give it a lot of skepticism. I and I I basically was like, you know, told told my age AI agent was just like, you know, treat this with a grain of salt. You know, it just goes this it'll all just be a red herring. And then like, nope, it just, you know, it gives you most of the way the of the information that you need. And it's just like, great. Cool. That's awesome. How much how much time between the release of the video and the release of the patches was there? I don't know because I don't have Twitter, so I don't know what the timestamp was on Twitter, but let's see. Just curious, I ha I I had not seen that. It came the video came out or the the patch came out at like eight central, nine central today. So ice. Started working on this at 7 PM central yesterday. So that's
at least 12 hours. Give me a bit of breakdown of between the tweet and the patch. It is 17 hours and 34 minutes. Okay. To be approximate, right? No, not the worst then to to pick up from a random Twitter post. Right. It it's still less than twenty-four hours. that's funny. But as we talk about like that timeline is just it's fast. I mean it's gotta be out in a half hour. You know what I mean? Like 'cause my my AI agents from when I s found the video and started referencing it more and telling it, it was in the right code region and triaging the right bug within an hour. Like it had gone through and figured everything out. It had It skipped a critical step, so it was never gonna be able to weaponize the bug. And I and that's just of me as an exploit dev. I I didn't realize that this was a this is this was a thing necessarily in this exact instance. So I just didn't put it down that route. How many other people were doing the same thing? Exactly, right? I'm just one person. Somebody else could have been like, man, this is easy, just exploit I just need I just need to, you know, make sure pressure this one worker till it like croaks and then it this other worker will come by and, you know, help out. And then boom, I get my my thing. Yeah, yeah. And I was looking like going back to the conversation on AI. That that was kind of the the highlight, right? a what AI did was help map out exactly the the heap to align the pointer. And yeah, to confirm it was like the it made the rock chain reliable, which is kind of the hard part, right? And I think that's where you will see AI shine a lot, right, when you are trying to align where the where the pointers on the stack of the memory exist and how do you want to control them, right? I think because it's it's kind of a lot of like indicators to follow and whatnot, that's where AI becomes really useful. So that that's how it happened at the end. Right. So you you got l you got the the trigger, which was which was the out of memory, then you got the the user after free and then you got the the crop chaining to control the memory to go back to like to to whatever you I'm thinking like the AI, the role that it played, to me, I I told you I was gonna talk about video games and I it's what I do. But it feels like like a like the hookshot from The Legend of Zelda, right? Like you get that and then you suddenly go back and the map didn't change at all. But now there's all these other things you can access because you you've seen those little targets and you knew something was coming. And now you have the power to get to all these new places. Map doesn't change, but your capabilities are through the roof now. And I I d I wanted to bring that up because that's my read on it, but like you know, you guys being the experts is I I much prefer Pokemon where they give you like the TMs to do like the cut and surf, whatever. Like yeah, you get to go back and discover more things. Yeah. I think similar concept here. That's more
my speed at this point. Right, right, right. That's amazing. so but yeah, I think the the the patching question is like if they rush the patch and they put out yeah an incomplete or like partial kind of patches, is that better? We we are seeing potential for that to happen. There are some reports that there are multiple exploit chains here and that the patch that they put out is as of Wednesday you know four fifty seven now. Four fifty seven now. there it was incomplete and that there are multiple ways to achieve RCE through this worker and that the patch that they push out does not close all the the ways to get RCE. I mean which to Ph p credit, right? Like after someone releases a tweet with a bunch of technical details on how to exploit it, they did what they could do best. in in the in the less than twenty four hours time frame, right? Because it's a hard question, right? Like what would you prefer? An incomplete patch or a patch after a month? Right. I think they they technically patch this a little bit. yeah, I guess we don't have the timeline of when PHP gave them a working patch to test. But generally in a re in a responsible disclosure scenario, yeah, they would coordinate with the original researcher to verify that their patch was complete. So I mean, I guess maybe PHP didn't do that or Caliph didn't do their due diligence to actually make sure that the patch was complete. We don't know who's to blame here, but we hope that it's complete, but initial indications based on tweets, which could still be false at this point in time. We don't know. it doesn't look like a complete fix. Yeah. Well and that's I guess another reality. Here is it's not just patch now within complete versus patch later with a complete, but this could be like kind of like a new reality is you're if you if you're managing PHP, patch immediately. maybe patch again next week. Who knows how many this is gonna take? As as you know, we've talked before about the speed with which multiple people are gonna be coming at this as like this is huge news. There's you know there's bad guys out there that are just salivating, like going after this right now. So if if this fixes these POCs, what else what else does this open up for everyone else? because you know, this reach researcher found too, there's a lot of other people out there exploring this. And you know, you fix you fix what What this video shows and this POC shows, I I I think it's very likely that next week there's more and maybe more and more, you know? Or there's nothing and all and the fix was a a complete fix. We never know. There's only so many things your hookshot can do. Eventually you need bombs to get through the walls. Exactly. Yeah. But the reality is that with these type of attacks, we will probably get additional vectors on the wild. Right, like you will see additional versions of these, like, hey, you forgot this this potential use case, so it it's some patch again, right? Like same same C V just different
way to do it or to deliver. I think that's a perfect segue into the next thing, which is some tweets I saw that said, now that everybody's looking at PHP code, how many other critical vulnerabilities are we gonna find? And we'll see. Yeah. Yeah, it's it's they're out there. They're of course, like they're you're you're never gonna have everything patched. It's just a matter of like what can be found. and yeah, the the target is big now. Well, and also like nobody was well few people were probably looking at PHP. Now that the announcement was made, everybody's looking at PHP for the next week and a half until the next big thing drops. So how many vulnerabilities are we gonna find in random other PHP functions? Cause people didn't have enough details and they're like, I know there's an exploit in PHP Go. And their LLM went off, did something, and it's like, I found whatever. And then they're able to escalate it forward from there. And it's like PHP's back on the menu, boys. Yeah. Which is which is great for red team, but not great for defenders. Yeah. Well, yeah, let's talk about defenders like Because a lot of people are making hard decisions about shutting things down until they're patched, including the US government. US government websites going down until everything can get patched. I mean, how do you weigh that kind of downtime versus consequence of exploitation? I I manage a couple just personal sites. Like I I play in a band. We we pull 20 people to a show. I'm not as worried as the NSA is about my installation, you know? how do you how do you calculate that? That sounds like an invitation for for hackers to go to your website, man. I'll I'll get laughed out of the cybersecurity community. They'll be like, This is the best you can do. Yeah. I think I think go ahead. I I was thinking like exactly the same, right? Like I, which I don't several websites as well. I prefer to have my website down. But I don't rule I don't run any like critical business. Right? I don't run a whole government. I don't run like so so it's it's it's a tricky question, right? From where I'm seeing it is do I as a citizen prefer that my government website is down in regard of people not stealing my data, people not stealing my or or or Maybe, right? Like unless I have something critical critical to do. and I think I think most governments I I'm thinking about government, b governments, banks, they have alternative routes, right? Like if you need to make l let's say a bank is affected for any reason and you can do things on their mobile app. Okay, you can go to the branch in your local zone, right? There there's an alternative way to do it. So yeah, a backup redundant. Right. So yeah. Do I prefer that? 100%, right? That's me. That's that's how I personally operate. I would prefer them patching right away. That's reality, right? Like, hey, can't can't can I call the bank and be like, hey, did you patch already? I can't, right? But that's everyone. Yeah, yeah, that that'd be my preferred method. Yes, are you patched? Yeah, correct. I I think we're gonna see lots of companies decide that A twelve hour window is sufficient enough time to just bring their stuff down for a lot of places. business critical things, critical infrastructure type scenarios. I really hope critical infrastructure is not running PHP, but I'm it probably is at some point. It probably is. I really hope that they have really strict access control on those and that they have tuned their incident response teams to take everything seriously on PHP hosts for You know, the next however long until we're given the all clear because those hosts are probably gonna be major targets and until we get a yes or no that it's a good patch. I think they just need to keep patching and hoping for the best and then auditing and cross referencing and all those other things that Blue Team does that I I I don't quite know what they do, but you know, they press buttons and it's magic. Yeah, they make my life hard. And they think I press buttons and do magic, and I just think they just pr press buttons to do magic. So you it's a it's an equal world. Both are kind of right from my perspective. Yeah. I mean do you know what the sad part is? Like we working in the Savior Security field, we know the answer to that, right? Like, no, there is not enough controls. No, we we know it's it's bad. Well I mean if they audit enough things and they log enough things, they'll maybe see it twelve months later when they go to do an audit. So yeah. And and I mean for like talking about defenders, right? Like it's gonna be a rough week for them because They will be very careful with l logs. Like let's let's let's assume because I I think as a defender, you almost almost always want to have that attitude, like right, like I'm already hacked. I need to look because if you think you are invincible, that's a bad way to look at how to defend your organization. You need to look I'm already hacked. What should I be looking at? What should I be fixing next? what are the logs I should be criminal about? What res ne what new restrictions should I put to have to stop that hack to still being live, right? For lack of better word. and I think that's where it's gonna be kind of rough, just because this type of technologies tend to be really noisy at the log level, right? so at the log level, looking at all of that activity, it's gonna be weird. so it's gonna be rough. For the defenders, they're gonna see a lot of logs, they're gonna see a lot of information, and it's gonna take time, right? Like they need to patch, they need to be aware, and that's it. Yeah. Yeah, I think I mean patching is obvious, right? Like we always recommend as soon as you can patch. Well, I I I I suppose there's some nuance to that, but pretty much as soon as you can patch, you wanna do that. What other things? I mean, we kind of mentioned like tracking down where your PHP lives, where you have PHP. Some are gonna be
obvious, some are gonna take a little bit of time to discover. I'm I'm curious what other recommendations, and I know you guys are not blue teamers, but like what else what else do people need to be tackling as of as of Wednesday at 507 p.m. Eastern? Yeah, so I don't think a WAF rule is viable for this one based on the exploitation vector. I mean generalized WAF rules will catch, you know, command injection attempts and that type of stuff. But like I don't think there's a WAF rule that can be applied for this one and the partial mitigation fix that is in the the C V E or the PHP discl PHP notification was a full fix. but also They they they probably just need to take these things down if they're not business critical. I mean, it's it's better to not get randomly puffed by something that you just weren't accounting for. If you can take it down until you can verify it's either patched or not vulnerable type of thing, then it's as always that's the recommendation. But in reality, a lot of people can't just do that and a lot of teams aren't willing to do that because of business reasons or everything's a business critical, even for not for like small things un unfortunately these days. So the the probably the remediation is just take it down for however long it takes for you to patch it and then hope your the patch works. verify. Yes. Yeah and and verify your law like your your logs if you're collecting them, which hopefully you are. unfortunately for the mom and pop shops, look out for strange things happening like this. I'm sorry. There's not a whole lot of good advice there that we can give. So Yeah. I mean you can look look at your look for unexpected files, look for anything kind of unauthorized that's that's been happening and and that's kind of after you've patched and and verified that you're on the right s the right version and everything, that's kind of I think where we are for now. Right. And and I know it sounds like very generic, right? But with this type of poly of polymerities, that's a problem, right? It's very generic because you can run anything. It's it's Remote code execution, right? Like it it's on its name. Like there will be code being executed. That's it, right? Like well the the core problem here is that it's a component of so many different things. It's not like an RCE in Joomla, where it's just like the RCE is in Joomla. It's an RCE and a component of these large products that are so it's it's it's hard to know and we still don't know exactly the what the requirements are for exploitation. even though we have a good idea of we we have a good idea and there are proof of concepts that work. It's just how widely do they work. And I doubt everybody has tested besides Caliph of yeah, it's just Caliph, Caliph Research, sorry, have tested everything and developed proof of concepts for all these different services. So as of right now, it's definitely one of those things where because it's a component of many things, everything is vulnerable that uses it. And that's a lot of things. Yeah. I I wanna pivot for a second here and talk a little bit. I don't want this to come off as a sales pitch because we just announced a thing the other day about our offerings. Contact us if you want. It's look, I'm not in sales, that's not my intention here. But you know, the sales team talks about it, but we talk as a community about the difference between point in time testing and continuous. And I think this is one of those things that just shines a million watt spotlight on the importance of continuous testing because these point in time tests, yeah, they give you some information, especially if you're about to launch a thing or something. But if you did a test six months ago, you're fine, right? No. Like this I mean, sure. Sure, you can be fine. I mean, if you added zero new code in the next six months, yeah, nothing has changed and you weren't you weren't using PHP or whatever the next big problem like this is, you know. And availability from twenty twenty wasn't this close in in that time frame. I feel like this is a a moment where we all do kind of need to step back and and look at this this recommendation of you gotta do some kind of continuous testing. We've been we've been hammering away at it for long enough, like And and as a as a member of the emerging threat team at Bishop Fox, I say that we do a pretty good job of making sure that our customers are notified about the t pending and actual. No, they did not. No, you can't lie. You can't you can't say that. No, no, no. I don't know. We knew about it when the initial disclosure I did see that Caliph did reach out to some companies and inform them of the vulnerability ahead of time, I think. there was like a little addendum thing at some point that I saw. Maybe that's true, maybe it wasn't true. I I wasn't quite sure, but they informed some people about this vulnerability so that they could pre-patch before the the embargo was lifted. So there's there's some something about that was happened. So I don't I don't want to come off as I'm making a blanket blanket statement that everything needs to be continuous no matter what. that's kind of like a utopian view, I guess. But like, where does it make sense to actually still be doing point-in-time testing? When you launch a new product, I think. Yeah. But you should also get like when you're launching a new product, you get a point in time test. and then you should probably sign up for some continuous testing if you're planning on supporting that product for any length of time, especially if you're doing active development on that product. You've new features, you should probably just get a like a a small pen test for that new feature, assuming it's, you know, not microscopic in size, like it actually is adding something foundational to your your product. You should probably end up getting a s a small pen test of some kind, to double check that you're not doing something, you know,
atrociously bad. but also you can also do like your own code auditing before you even deploy features and that type of stuff. So yeah, it's it's a it's a team effort. You know, pen testing is basically just like auditing your audit of your own audit for your code. So if if you did everything right, the pen test should come back with nothing to report. So sometimes you have to trust you have to trust who you're hiring and all that fun stuff. So this this kind of reminds me of like like when when you're when you're young and I don't I'm not gonna go all the way down this rabbit hole, but I will mention it briefly because it illustrates my point. When you're young and you get like your MMR vaccine or something like that, like you're okay, you're good. You're good against that, whatever. Versus like I've got allergies that I just have to take a pill every day. I just that's my re that's my reality. I just have to do it every day. So like different use cases, okay. You may be able to get away with like a couple things that you can just kind of test and you're pretty much good. But like there's a lot out there that We really do kinda new reality with AI accelerating everything. Like you don't have time to to wait for a lot of this stuff. You you just have to stay on top of it. That's very true. And even if you do like get a a pen test, sometimes that includes just free zero days for your stuff because they end up using one because we're using everybody's using AI these days. So who knows when the next AI will just during a pen test, find a new zero day that gets responsibly disclosed. So it can be fun as well. Yeah, part of the process. Interesting that like AI accelerates these things, but we still need human expertise, right? especially in this one where they combine their out of memory sorry, their overflowing memory issue with their AI. So the way these models are developing and getting more and more powerful, honest question here. Like, when does that shift? Like when when does it become well the AI can figure out where to point it? The AI can, you know. So like there's a lot of pipelining stuff that like as an exploit dev person I'm working on, like, you know, ingest new PR requests or open source things, or you know, a new thing gets dropped that it doesn't have source, you know, pull that in and do a patch diff like all that fun stuff. So there's a lot of pipelining that can happen even nowadays, but Maybe I maybe I'm not exactly answering your question here, but I I I think it's a lot of it's already there. It's just no one AI agent is very good at everything yet. So I use a mixture of different AI service providers to do research development. So or development. and they find different things. they either Find the same things, different things, or sometimes neither of them find anything. And I'm just like, okay, well, none of the three that I used regularly found something, so I can probably move on from that service. So it's we not yet so we're okay. We've got a minute. Well wait. I I do though with with the you know the speed of AI, I'll bring it up again. This gives attackers an advantage. It gives defenders advantage. different advantages. I'm curious what you guys think though about not just give the defenders these AI tools to to scan and to do their their their own independent like defensive work. I I'm just curious how you guys think about are there s more structural or like more methodology kind of changes that would help defenders stay on top of this stuff. Like, is there some sort of like shift in mindset that they need to to use to to be able to use these tools to to actually avoid chaos situations like this? Not not sure, right? Like I don't think so. The the general methodology of how you defend should be the same. The problem is not the methodology on how you are defending. The problem is how fast-paced you are and normally defenders the problem they have is they are being kind of held by regulations, they are being held by policies, they are being held by so many things where they can't really act immediately, right? Like yeah. Well I guess that's my question is can we is there a way to alleviate that at all? I mean I don't think so, right? Like I know we in every episode say like patch fast. How fast they can patch. That's not the defender's problem. That's the problem of the whole company's infrastructure and how they can deploy a patch across like hundreds of servers, right? That's the real problem. So it's not I don't think it's a problem in methodology. what I think they can do is use the same techniques attackers are using to defend, right? Like as a defender, you should be at the top of the game with how the offensive team works because knowing that will help you. Like, okay, I should be looking at this and this, right? Okay, I don't have a patch, but I I know that they will exploit via email. So let me look at the email. Okay, I know they will exploit via UDP back back. UDP traffic being saying my way, okay, I will block everything in UDP because I don't need UDP other than DNS, maybe. Right? Like those are the things that defenders should be looking at, and they should be using the same augmentation capabilities from AI to be fast, right? Like, okay, I saw this on Twit. I saw I saw three A I am Kendrick seeing things 3 a.m. on Twitter, right? So so let me see this specific vulnerability. Let me see what it I'm not an expert in exploit development, but I know I know that the vulnerability is made of different components for it to be viable, right? What are those components? okay. I need to patch P PHP. I need to make sure these specific configurations are are being changed. And we need to make our defenders, not the owners or accountables if something bad happens. Because that's that's not a reality, right? Defenders don't want to do things because They end up being the culprits whenever they they are trying to protect and and we always blame the defenders like poor guys. I mean, yeah. Yeah. and it's basically offensive security companies and real tractors versus defenders. That's that's kind of it, right? Like the the they are the the weakest link in that sense. And the other kind of sad part is that and I think this is kind of reality across the world, most defensive roles are like junior roles. That's like whenever you are starting in cybersecurity, you almost always get a defensive role. Like, hey, you know how to manage the firewall. You know how to manage the antivirus, right? And it's like you don't get like really senior people in those type of roles. And those like you graduate out, but we ought to leave a couple of experts there. Yeah. So So the gap between like someone like Kendrick. Sorry, Kendrick, not because you but like Kendrick being an exploit developer versus someone out from school defending against Kendrick is like it it's it's it's yeah it's Yeah. I don't know. AI just does everything these days. I don't do anything. I just wait, wait. Never mind. I do lots of things here. it's not all AI. Yeah, yeah. Just for the record that holds the team together. Yeah, yeah. Just for the record, I do lots of things here. It's not all just AI. I have a job and I do it well. all right. Well I think that's a good good spot to wrap. we obviously are still in the midst of this. We'll have more information as it develops. What we can post on our blog, we'll post on our blog. PHP cooperating. we'll see what we can do. But also be sure to check out our LinkedIn. We will have a lot to say there as far as recommendations and and what we're kind of working on. if you found this valuable. Share it with someone in your organization for sure. and if you want to keep talking with us directly, join our Discord server or our our subreddit. Check out r slash bishop fox for that. Our Discord server, massive overhaul. It's pretty now. Come check it out. Come play. You know, we're we're down. All right, Sergio, Kendrick, thanks as always for joining. And till next week. Stay safe.