Builders & Breakers | Building Hackbots: Models, Harnesses and Human Expertise with Hamid Kashfi
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Hi, I'm Stuck and you are about to experience the first ever recording of the Builders and Breakers podcast. A podcast focused on the high velocity shortcuts in conversations between people that actually build and break the technology of tomorrow. These are uncertain times. Things are changing insanely fast and what better way to try to figure out to solve all the security issues that we are facing by just simply trying to do it together. And I want to give an extra big thank you to our research partner, Senity Labs, for sponsoring the show. Thank you. Now, without further ado, here's the first episode.
Hi, and welcome to this episode of Builders and Breakers, a podcast for people that build and break at high velocity speeds in a state where, you know, everything is changing. All of us needs to adapt really fast. And the intention with the conversations that we're having is to make it a little bit simpler for everyone in the space right now because if somebody has walked the path, it's way simpler to just follow that along and maybe you will pick up some nuggets along the way. Life is uncertain at these times. So, we're trying to figure out together. And who else would be a better choice to have with me here today than just Cook? So, hi Coug. How's life today? Hi Stuck. I
am having a great day today. Uh life is changing. You never know what's going to happen yet tomorrow. But like I was thinking for this episode that we'll start talking about the offensive side. We always start with the offensive side and it's like something that we have to get out of our systems and it's something that cannot be ignored because we are I think entering a new phase
um in in in cyber security. We are entering the hackbot era and to talk about the hackbot era I want to introduce Hamid Kashi who is a security researcher uh that I've known for a while and he's the best one in the um that's available
I think and Hamid works currently at Expo but has a background in trailer bits and immunity and I'm really happy to have you Amit welcome >> hi and thank you very much for having me and great pleasure to be between you two guys and on this show as well. And nice way to say getting offensive out of your system, but it will jump back at you. >> Indeed. >> Yeah. No, I it's it's uh it's a strange
time to be in offensive. We've met people who have said things like, "Oh, it's so sad." Because when everyone talked about how AI would take our jobs, we never expected it would take the offensive researcher's job. That was that was not the intention, right? It was be it would be everyone else. But now it's like very clear to us I think
that we are slow slowly being evicted out of the loop in some sense. So we have experienced what we would call the vulmageddon like an huge spike in in public vulnerabilities and a huge spike in private vulnerabilities too undisclosed ones. And the question is is this going to turn into a breach mageddon uh in the era of hackbots like if we start there I mean do do you think there's a correlation between breach and and vulnerabilities? >> More or less what I look at it or the way I kind of adapt myself to it is that
it has been always about tools and who
uses the tool which when you combine them becomes a capability. Now it's just a change of variations and the levels of effort each side is factoring in and like putting in. We used to be more human-driven, less tool driven and the tools were also developed by humans and that was also a factor of how skilled and how experienced the human that writes the tool was. But now we are in a phase that we have a very powerful
tool which can even improve itself and develop itself if needed to fork out to new sub tools and whatnot. But it's still to a notable level
human-driven. So even when we look at all these fancy results or as you call it w magadon there are the ones that are legitimately found autonomously but majority of the good stuff and the eye-catchy ones and the ones that end up in PR materials are actually humans behind the keyword running those very powerful tools and that is exactly why we are observing there is it's same model, same supplier, more or less uh
same building bricks or builds of uh
pieces of puzzle, but we end up seeing totally different vulnerabilities on the same code base or even even more interesting there is same code base, same kind of level of people looking at
it like more or less all of them experienced previous classic wall hunters and vulnerability researchers, but somehow they end end up finding 12 different critical vulnerabilities in the same codebase being the engineix for instance and that tells this part of the story that it's not not purely model because they all were using the same model it's not purely human because they are all experienced so it's it's a variation of between how much you are playing with the ingredients here and how you're using your ingredient at what state which produces different vulnerabilities that the others might have missed or uh
might have like got the tip from you later on and were able to rediscover it. >> I think we should come back to that question in every iteration when we dissect the hackbot like to what extent does it need a human because like u I
think there is a lot of sci-fi mixed with reality and this will obviously change. So if you watch this uh 6 months later in time it would be different. If we had made this episode 7 months ago, 6
months ago it would be different. 7 months ago a completely different story uh because there would be pretty much nothing seven months ago but 6 months ago uh we noticed that models actually started finding in exploits like in in the cross of the New Year's Eve. I think that's when models became good at exploitation. Right. I would go a little bit longer back because personally speaking, I've been using LLMs for like almost 3 years now
to find bugs and good stuff as well. But as you mentioned, this variation was much different story and the level of effort that human or the model puts on or the harness puts on was totally different ratio. Now we are on on a
scale that's uh speeding up much faster. LLM is taking over and doing the heavy work but it's still uh human driven in a
in in a notable way but as you perfectly put it down like in 6 months if we rec re-record this and we have the same conversation we will be talking about different variables again. So what I'd like to do is to talk about the different factories that make out the hackbot. So if we start in the recon
phase, if you imagine a scenario where you have a known target, I know that stuck has been involved in in recon because you're big in bug bounty and uh that means that understanding the surface is is crucial. That's maybe not necessarily me me and Jameid's area from the beginning I guess or maybe it is but like has has that area changed the recon phase and and that factory changed a lot with AI. >> That's the way that I see it for sure. I mean it it's changed over time like it used to be like you're writing this
Go or Python script or applications that you're running and you're running those continuously deterministic. you're blowing them at scale over uh different kind of distributed droplets. That changed. Now people run max subscriptions on their machines go bur. It's it's different kind of ways to do it. And obviously there's a big difference between production and going at scale. But the way that I've seen it is that these models are getting more and more competent on running this. And if you're having a local model and you're having building swarms etc. those things just keep on going. They feed you data. They make their own decisions and you know they write your reports and you go through all the stuff. You still need to tell it like there's a v here. You still need to work on it once you collected the data. But right now harvesting and collecting data is quite easy.
that change. >> I think if you if you can pin all the versions of all the frameworks used in web application or an application at all, it will help the other um the other factories produce good results. Right? So the next factory would be the exploit factory. So imagine that you've identified uh a list of softwares and
you've identified what version they're running using this recon bot somehow.
But that changed a lot like you used to be running like you know what's web and and different stuff to collect information and then you be very granular going through that. Now you just ask it like spend a couple of time day doing some recon on this collect me the data and you go through oh yeah they're using that one that's interesting. So it definitely changed that way. It helps you to understand the scope bigger. The problem is that you also lose that um depth that comes with
going after a target a longer time. Like you have this feeling that something is off in some spaces that that got removed because you you just trust these systems that provide you the whole output then combining them. Hey, then you winning.
So, so you're saying that like the structure has in a sense loosened like the problem with AI is always memory, right? I think we can all agree on that. It it forgets things and doesn't keep memory. So having structure for recording what you're doing helps. And I think in all kind of exploitation I I grew up writing a lot of notes, postits on my screen sort of thing. Uh don't so much anymore, but like taking notes is is sort of part of it. And you know the obsidian sort of era of this made structure easier because when
structure tools like Obsidian came around it meant that when you were doing pentesting, bug bounty or any type of hacking you would be able to record observations and you could pick them up later. Now be making that accessible to a model uh makes it easier to determine what is the most valuable route because there's always ROI in every investment, right? It's like token for money. >> One thing I would also add on this is that uh it's uh I I keep kind of jumping
back to the same subject is that there
there used to be this way of using
models or hackbots or however you want to call your harness. The way you used to steer it towards your goal, which would be finding vulnerabilities or uh finding targets and whatnot was that you create a harness, you use LLM to run a bunch of tools, run a bunch of deterministic scripts and code and harvest the results and analyze it and give you the final output that you are expecting or you're not expecting. that has been also changing gradually
for like past one year or a little bit
longer as well is that uh especially past few months and latest models is that the way you are uh commanding your
hackbot is also shifting and changing and it goes like this that back in the day you used to
define a set of tools that your hackbot can use like run end map, use this for like static analysis, use graw for this, use the other tool or this like this uh script for this specific task that you frequently are repeating and that would hopefully speed up your process. You burn less token, you get better results and you get a little bit more predictable results. Uh that's no longer the case interestingly as we are like uh benchmarking internally and I'm I'm experimenting with it as well. uh is that you no longer should enforce and
restrict models on how to do what they
are tasked to do because interestingly
enough what used to improve them like
three generation ago in like SOTA models state-of-the-art models if you repeat the same recipe now you're actually degrading your capabilities like imagine
hundred uh bench like vulnerabilities that you have planted somewhere you want to test the same recipe that used to ace
this 100 up to finding 90s with the older models if you repeat the same scenario and like you must use end mapap you must use uh this specific plug-in in gra to do the reversing you must do uh recon through this exactly defined steps that I'm telling you and if you do otherwise you are breaking making a rule and you should restrain yourself. That used to work fine. But if you repeat the same experience now with like uh GP5.6 six uh soul or whatever the latest model you pick up using. And if you actually measure your stuff, you would notice that you get less results or you get different set of results that not as high quality. which I think is an interesting observation that a lot of uh people are either missing or will learn it the hard way cuz uh if you are in
this business and if you're LLM hacking or VIP hacking however you want to call it for money or as a business and you
are still running the same harness and same code base and same structure as you used to do two years ago you will be obsolete. it and you will be broken very
soon, very quickly and you will probably
not even notice what happened. You think uh others have found all the good ones and yours is not finding. You would think that you you have like softened up somewhere in your skill. But the reality is that your hardness has not been catching up and adapting fast enough to
the speed that models are progressing. And in some cases, you just have to start from scratch because what you have been building over for two years might not be fundamentally and structurally correct anymore for the latest models capabilities or the the way they keep track of their memory as uh Stuck mentioned like uh things are changing so fast. This echoes what Stuck was saying about loosening the structure because in in the recon phase we're talking about you know you used to have a structure because there was recon bots before they were just oneliner automations right uh but now it's more like if you if you actually lessen the tool control uh you
can get more value out of what you're doing. >> This is mind-blowing. I I didn't know this and it's annoying at the same time because it's like you spend so much time on at least I do trying to turn things deterministic again to just understand like what goes on and what you're saying is like yolo it is that what you're saying >> yes and no because it's it's a very delicate thin line between yoloing it and having it uh done in a deterministic way because models by their nature are uh undeterministic. So same question, same recipe, 100 times repeated, you get 99 different results. The catch or the problem is that if you want to do this at scale and in a predictable, reliable way, uh it takes much more craftsmanship
to build your harness and build your or
design your prompts and the way you're monitoring and you're capturing the results and auditing your traces. It's a totally different game if you're doing it at at scale versus you're doing it uh
from your home office for fun as a hobby single time project. So >> you should also look at what's your purpose of using this and what's your use case and what's the scale of your use case because each of these makes the
uh question or the variables that you're talking about totally different like what uh what I'm doing at work is
probably 80% unnecessary
for the tasks that I'm doing it as a single person researcher. the other way around. What I'm doing yoloing it sometime sometimes sitting behind the behind the prompt and typing everything works perfectly fine. I find super good vulnerability super quick in in a matter of day if not hours. Uh if I apply the same recipe at scale of running 500 pentests or 1,000 pentests for customers, it will go off
in 1,000 different directions.
that's totally not uh uh systematically
reliable or if you put a business plan on it, it it's just it it just doesn't doesn't work. You cannot rely on it if you're selling this as a business. >> A little bit compliance versus go bur. So that's that's kind of what we're trying to figure things out. be instructor, but also, you know, let it go go crazy and find the creative stuff that you did not know existed or the tools that because it might select a tool that you didn't know about, right? So, just being able to find allow it to
explore, but that just adds when it comes to compliance is going to be another discussion. We're not going to go that down that, but guard rails, stopping things, that's that's my world. So, um, I find this very interesting. This is cool. >> Sorry. The the conversation is sort of segueing into, you know, what's potential for a research exploit bot. Like, if you would want to put guard rails on something, it's not for the the situation where you're scanning the internet because then you can pretty much scan however you want just to detect whatever you're detecting if you're doing it blindly. But like the other flywheel that that we sort of need for the hackbot would be um imitating
the target environment or whatever the model is doing uh if we make it free to determine that there is an exploit potential here and just discovering that exploit potential either by you know reversing a patch or finding a zero day. um like when it comes to to limiting
that it like let's talk about the two scenarios you mentioned like at home and at Expo. What's the sort of uh what's the what's the two worlds that you're experiencing there when it comes to finding exploits? What's the limitations and what's the uh the freedoms you would give a model? So at home uh it's you you you come up
with ideas, you try it, you type it at keyboard, you either get the results or not and if something goes wrong, no problem. You revert the snapshot from the virtual machine you're testing. Uh you try again a different tool and you have all the time you want unless uh your baby wakes up at 5 in the morning and you finally have to leave the keyboard. So there's not not much constraint on that regard and you don't have to answer to anyone except unless you're doing something bananas. You have limited set of guard rails not in a sense of LLM guard rails or policy guard rails in a set that you your target is x.com under no circumstances you want the model to steer into z.com because simply put you that might be out
of the scope for bug bounty. So even if you get something you might not necessarily get paid for it or it you might be focused on one particular component in one particular software which is what there is demand for and you might find bugs in a different component which there is no demand for which again means no money. But uh if
things break, you're there to fix it. Most of the time it's okay. If you come back one day or 2 days later at your keyboard and find everything broken, you would just press the power button. Worst case scenario, uh turn it on and off again and start from there. Uh that recipe absolutely does not work when you do it at job at expo or anywhere I would say because the moment you go off the rail um customers will start calling
back at you. Hey what the heck have you been doing? This was the scope I put on my application form. Why is the model getting like poking this other thing? Or, hey, your model took down our production website. Or, hey, your model
uh actually managed to exploit the vulnerability. I see it because it uploaded a web shell or something and then later on it removed, but I don't see any confirmed vulnerability in your final report. Where is that thing? And on the on the
other side, you also when when you want to do things at scale, you probably have experienced it as well that you you have a lot of hypothesis that you want to try this, you want to try that, it may work, it may not work. Part of the process of
watching and confirming what has worked and what has not worked is a human brain. Unless you are outsourcing that to another like manager or boss bot. Uh
but even if you do that the way you pull
that off makes a huge difference because
uh again by their nature they are undeterministic. So you repeat that experience five times you get five different results. And if you are not
watching after your own traces as we call it to compare notes, you might see
that some of the stuff that are actually found and got confirmed in the process
are not landing as final vulnerabilities. And that's that's actually a notable problem I would say in industry as we
call it or whatever you want to do in this new business model of running AIS uh as like hackbots. This this happens
more often that uh people might be comfortable with and the reason is that uh we we are we are setting models for to freely get the results they want and
because we have no idea or a limited idea of predicting how those results might be achieved. Therefore, we are adjusting our monitorings or confirmations with that bias as well. However, if the model comes up with a novel way of doing things and achieving the same results, we might not have the cor the correct monitoring or the correct interpretation of the results. Therefore, we will miss the final result. That's one aspect that's totally not going to work if you jump with the recipro. And then the other thing is you have to when you do it at scale or at work, you have to factor in the cost. You have to factor in the load that you impose on customers. You have to factor in availability. You have to factor in um
all the boring policy sides and stuff. You have to factor in all these model guardrails which are problem trajections because you spin up a sub agent to do something. It might hit a guard guard rail from Opus or from GP that you're not expecting it. But if you have not a
the deterministic code or harness that detects and takes care of that and repeats that experiment unless you don't have that at place that sub agent and its results are basically gone and toasted. So like when when you look at
this from far above, you see a lot of
little problems. Each of them could be devastating to the results that needs to be solved and worked and aligned perfectly together before you can you can actually deliver LLM as an so as a software as a service or
like uh LLM as a service kind of uh business model. These all should work perfectly fine together before you can reliably doing it. And there is this uh
well this is like a made a percentage to be clear. uh but I think 90% of
um startups I would say or people or interested people that look at LLMs as a
way of providing a business or providing as a service do not consider these details under the hood in in our head. I I was making the same mistake myself a while back not too long ago that okay how hard can it be to make expo how hard can it be to make like all the other similar companies that do the same thing. You put up a couple of prompts because you have been doing this long enough. You know what exact prompt might work and you have tested it at home and at our home lab and it works perfectly fine. You get pretty good results. So just uh package all of the together as a harness, spin it up uh throw it at customers and harvest the results and sell the reports. Wank wrong. That's
that's going to uh hit the fan. uh I'm
not sure how how BP how much we are allowed to use BP word but will hit the fan very soon because uh that
doesn't scale and that's not reliable and people don't realize and don't notice that how much work and how much effort uh businesses are putting into this aspect of selling LLM as a security
provider uh to customers and if if if I
look at my own work I I would say it's 20% models 80% harnesses that even with
current models because uh as I as I said at the beginning we are all using the same models more or less like few of the companies are like a little bit more trusted more privileged that they have access to less restricted models but if we if we skip that uh pretty much anyone
is using one of the three four five models that are available generally to this to the community and they are getting substantially different results and the same codebase that has been audited to death by one or most almost most almost most all the all other groups. Someone out of nowhere comes with an RC on a component that everyone thought okay all the latest models audited it there was nothing and then somehow you see a pretty decent quick easy RC. um talking about the WordPress core uh R like end up as RC that was
like a good example of this that everyone probably looked at it that's that's literally the first thing anyone wants to test their harness they throw at it at an open source project like >> like is the is the bug surface finite is
there an end it's a stupid question but like I think it's >> actually it's very much not stupid question it's actually statistical question and also I would say in a way scientifically measured question. I would have assumed and there are friends of mine that uh agreed or
are on this direction that because there are good models now out there all the vulnerable all the goods going to be found and going to get fixed and then we everything goes back to normal job. I would not exactly think
like that partly because human factor is
still strong. it's going to get less and less involved up to a point and I I will
come back to that based on some recent interesting observations that I did as well. But uh so partly human the other part is that there was a recent uh recent uh I wouldn't call it study it was a white paper the code white folks published I think it was last year so it's it's already very obsolete by
one year in lm world it's like ancient results it's it's already out but it delivers the concept that uh first of all like
60% of the code or 70% of the code that's produced by all these uh LLM
helpers or ids and whatnot had vulnerabilities with them and that's already against the belief that you write it with you white code it know it's the same model that finds these bugs therefore it should not be writing vulnerable code that's the big mistake it does and it very much does that's one factor so that ratio of writing vulnerable code by LLM uh is definitely going to get lowered but it's not zero. So as long as it's not zero we are in business. The second factor is that uh even on a static code this I think
David was talking about this or presented numbers and results like actual measured number of uh uh
measured data for that was that for like given static code code base if you gradually develop it over over time by
human or by model or whatever uh you gradually introduce a percentage of it which was like five six 7% something like that I don't remember the exact numbers but uh the point was that
uh well the static code you could it's going to get finite and you're going to eventually find more or less all the interesting bugs but all the codes that we are using are dynamic they are getting updated by week if not by days and each of these changes that are introduced to the code. There is a 5 to 10% chance. I'm again making up this number because I don't remember the exact one, but it was like something in that range. Each of these little changes have a percentage and chance of adding new vulnerabilities. So that becomes a second contributing factor of constantly new vulnerabilities. And then uh
there is also new classes of vulnerabilities that every now and then pops up and now we have reached to the point that models are good enough to actually find new vulnerability classes not just new box >> that's yeah >> yeah that's less explored and super interesting and it's not common but if
it happens boy it will rain
>> yeah yeah right I I mean like when we said security research are cooked that was three months ago now Um that was like the story was that like in the given bug classes we have uh like exploring those bug classes uh we are now inferior uh in some sense and I think most people can agree to that but
mostly uh but when it comes to discovering new ones uh I know there was some research on black hat uh presented uh recently about like when when models
actually start finding and reasoning about new bug clauses and given that it's starting to happen I as it will continue. No, what do you think? >> We will see. >> We will definitely see. >> That's true. >> I've got a question that I've been thinking about pondering a bit and it's going to be connecting back to the things that we talked about because Coug wrote a blog post a while back where he
because the challenge space that we are in that we used to be hack as hackers. We used to be like criminals. Then we turned into pentesters. Then we became the heroes. And then after a while we were having great time. It was a sought after um uh job to have. It was pretty
pristine. We we did cool stuff. We did great research. And then suddenly
that kind of got ripped underneath our feet. Now we're standing here and models can do things way better than us. And we are now turned into builders. We have to build these things to be able to build our harnesses to excel at the crafting we have. So we'll take all these years of experience that we have and now trying to use these models to create novel new research around the things that we do that's more capable than we ever been. There's a lot of people in our industry that's I mean losing self a bit. How do you feel about that? Have you because you're one of the best pentesters ever that I know like you now we're shifting into something else. How do you find yourself and your ego as you as a person
as a breaker in this state? Like where are you at? Where's your head at?
>> Is it for me or for Cooks? Because he is the best faster. >> You guys are so cute. Uh both
I I can try to Yeah, I can try to reply just quickly. I'm humbled and annoyed. I'm humbled by the things that I didn't see and I'm annoyed when it wastes wastes time on things that's futile. So, it's like both, right? You you get uh a bit of annoyance when you have to to be the middle manager, but you're mostly humbled when it's like going br
these days. But, Jame, you go next. I can say well I I concur what you said
because uh humbled by reviewing the
stuff that I missed. So, and I I would
get back to this, but I'm having the time of my life because as someone that always is curious about poking something different, I have a huge very long list of to-do things for research and for VR that uh is is
basically never ending. We all do. And some of them takes quite a lot of time and effort. Some of them are off the chart because I simply when I when I wrote that line in my to-do list, I simply didn't have the skill and capability required to do that because it would have required me to be a super good reverse engineer. It would have been required me to be super good at understanding some protocol at deep down level and that's a proprietary protocol. So it would have taken me probably a few months of reversing just to understand how that works. All of those hard pills are now suddenly candies and I can swallow and eat them and enjoy them. And for that reason, I'm super excited about this golden era that we are at. And that's literally one of the reasons I joined Expo was that because I was doing this, I mean, as a hobby and as a part-time thing. Now I can do it as a job and learn in the process. And to answer to your question again,
I I think uh this joke of 10x developer that uh at the beginning of wipe coding caused it to become a meme or something. Now we are all 10x hackers because we we we all had the idea of what we wanted to do. We either didn't have the time to do it. We either didn't have the budget to do it or we didn't have the skill to do it. And it's perfectly fine to say that I don't have the skill for something because not all of us can do everything as good as everyone else that's expert on that field. Now it's at our disposal and I called it a golden opportunity because this is not a period that's going to last too long. maybe one, two, three more years until this uh like curve uh like this uh grow starts
the curve starts to flatten out because uh things get saturated in the in the market. >> Yeah. But uh it's it's a golden period
that you can tap into whatever interest you had. And um I I can just say I'm excited because
I'm doing a lot of stuff that uh one example I can tell you there was a research not necessarily technically complicated but it was extremely
contentheavy work that I wanted to do like part of the things that I do beside like like poking and liking on the
technical side is I also monitor like
Middle East and Iran as like as a threat
actor or as a cyber range receiving and
sending all sort of exploits to and from it. So I've been always studying it and looking at basically on the more or less not academic but on the
above technical side of cyber war and how it happens and why it happens and the uh the politics involved with it and
how countries become or invest on
becoming a cyberpower or becoming target of one of these that that's been an interesting subject for me. So for one of these studies that I had in mind or one of these research works that I had in mind, I had a corpus of over 2,000
something papers and materials that I had to read through to digest, take notes and then be able to come up to some conclusion and draw some conclusions based on what I may or may not find in those results. That would have been probably a two-year work, full-time job, just to go through all of these, take notes, and even if my brain can handle or Obsidian can save so much details and forks, I might have come to a result. Couple of weeks ago, I
said, "Oh, maybe that's a good task for uh Soul Ultra and burning some tokens on it." took just uh four or five days to
go through everything and boom, it was
done and uh it it I mean I knew it it's going to happen but it was still such a big moment for me that wow this this was such a huge and heavy task that I always wanted to do and never had the opportunity to do it. Now it was couple of prompts and just uh couple of days of
waiting and watching and steering back to the direction but man this was uh fruitful and this was interesting. So imagine all these big stones or big unreachable otherwise targets that we have in mind. Now it's suddenly within your reach. You just have to prompt it away. you it's it's no longer the excuse of I don't have time or the excuse of I can't do it or it's too complicated even if you have just started in this field uh prompted away
>> and I agree and it's it's mind-blowing to me that we're at this state right now because I'm >> I'm I'm having the kind of like the same experience because I have research project that I've I've been canning over the years I'm like yeah maybe I'm going to look into that later and you know I have parts of it and Now I can just get this agent to just go at it and figure things out and even build like I I build
guard rails for a living currently like I I break models cages and whatever and try to you know harden them using proxies and similar solutions. So the way that I can do it now is just I can set up a whole test bench and then just run evals at this and then harden them on the fly. Oh, you bypass this. Perfect. Write the harden rule. Do it again. and it does it again and it does it again and then every now and then spins out a report for me to go through and I'm like h that's great that's a good incentive maybe you can go down this path too and I feed it my experience over you know being in this industry for over 20 plus years and all the consultancy infrastructure that I built up I'll just add that too because they didn't know what to ask for but it's human-driven but it's also like fully automated it just goes crazy gives me a report I'll judge the report. I'll give it critique back and say like, "Hey, maybe we can do it this way too.
Can you try that for me or can you try to bypass this?" And it just does. I love it. >> One thing uh what you mentioned like experience uh this was known factor like in our field
and like among people who use LM for security. It's it's kind of an obvious case, but it it it it flashed before my
eyes again when I was reading something totally different. It was a study about people using uh LLMs for uh
uh medical cases like self diagnosing themselves with models and the study was about I don't remember the exact details that's how much I remember in my brain is that the study was showing that you
get uh 70% better results in medical
field when a doctor or an educated that
person questions the model and you get
much more accurate results and diagnosis for the same like literally same text of
lab report that someone like shares with the LLM to get a diagnosis from for whatever they are dealing with or the problems they have. The study was showing that you get 70% better results if a doctor actually queries that LLM and uses established medical terms to ask those questions rather than simplified like uh rand random Joe way
of asking do I have a cancer or not versus a doctor says do you have this specific like use some uh some established medical terms and methodologies for asking those questions and that circles back to our field as well. uh there is this uh belief I also
talked about this but in Farsy on uh some of the videos I was recording recently uh people might ask okay so
um I'm new into this field I want to join and I want to participate and I want to learn do I even have a space in this line of work uh because LLMs are doing all the right jobs and uh the other day I was being asked do I even need to learn programming when I want to do these kind of works and I want to hack and stuff because models are writing all the code right nowadays like most of like most of us are heavily using models as well for writing our scripts and whatnot so I don't need that experience anyone can become a hacker anyone can become a security expert and every direction we look any signs that we measure we see
that the answer is no because if you
don't have these 20 years of experience. If you have not hit and solved all those hard problems the manual human way, you
don't even know what questions to ask or you don't know the right questions to ask or you don't know the right part of the component or the software or the architecture or the thread model to look at. And that's where the human factor
Yeah. And that's where humans still shine and excel. And we have not reached there in a reasonable way because like you you you have been doing this for too long enough. You look at a software or someone describes you a product you in your head you already have a top five list of potential components in that implementation without even reading the code or even interacting with the application that you know that okay this is likely a potential way or potential area to find good bugs in. This is likely where developer might have gone lazy and you would hide like find parser vulnerabilities and whatnot. Uh if you
throw this software or this product at a model and say go find vulnerabilities whatever you deem necessarily as critical or whatever you you think is interesting. It might find some stuff. It might find good stuff as well and you would find RC's as well, but most of it
is not going to be deep vulnerabilities as we call it and it's going to be the same ones that everyone else is finding >> versus one like I'm going to wrap it up here is that like there is this approach and then there is the deeper approach of asking the right questions but also forcing the model to go deep into the software as well. like I I drafted a tweet uh actually yesterday I I wanted to talk about this but I got busy was that like how do you find deep bugs with the models? One way is just prompted away but my method my personal method is that like there's a software stack that I want to find good bugs in. You could either go the normal everyday way of prompting it and go find critical go find command injection and whatnot. uh my approach if I find to find good bugs that I know that





