Go back

Solo Pod: James plays with ARTEX

from Risky Business Features

1h 6m 54s

Solo Pod: James plays with ARTEX

RTX, Antifox, and CAN are AI-powered pen testing frameworks that use large language models to autonomously explore web applications. RTX, built as an agent harness, employs a modular design with separate knowledge and progress graphs, while Antifox extends RTX by adding a searchable document store for contextual input. These tools gained attention through high-profile incidents, though many reports lack verifiable evidence of direct use. A key risk is that some forks of Antifox contain backdoors or malware, making source verification crucial. Translation of prompts can degrade results due to linguistic loss, and the tools' autonomy—driven by a simple loop of planning and work execution—is not equivalent to meaningful progress. In real-world use, RTX can identify vulnerabilities in test environments, even if it fails to achieve specific goals, revealing valuable insights for defenders. The core lesson is that autonomy is emergent, not engineered: defenders must actively manage scope, monitor execution, and design systems to ensure progress, not just relentless activity. This knowledge enables defenders to strengthen detection, conduct proactive "hack yourself first" testing, or leverage framework insights to improve security posture—offering practical, actionable strategies in the evolving AI-driven threat landscape.

Transcription

11330 Words, 62074 Characters

English
Hey everyone, I'm James Wilson and welcome to this solo risky business features episode that is all about RTX, antifox, can and these AI pen testing frameworks that have popped up in the headlines recently. In this episode we are going to focus primarily on RTX, as it is the harness framework pen testing suite, whether you want to call it that seems to have gone at the most amount of attention, but we'll also look at what came before it, a framework called CAN. That's spelled C-A-I-R-N and my Australian accent tells me that that is for an else CAN. And we'll also look at almost like a successor to RTX, which is called antifox, which has also started to make some waves. But maybe we just need to get grounded first in some of the terminology here, right? I'm already sort of tripping over, do we call these a harness, do we call these a framework, do we call these pen testing, things, a-I-S, right? So what even are these things? That's what we're going to go through first, we'll focus on what these things are, how to name them properly, what capabilities they've got, how are they different, how we know what makes RTX, RTX versus CAN that came before it, and then antifox, it's more recent and some of the reasons why we have these different versions and the history that went into this. And then we're going to look at both the reported experience of what these things can do from a couple of articles. But then I'm going to give you my first hand experience of having used RTX myself hands on to try to hack a few things, some real things, some made up fictitious things that I created in a lab environment, and I'll give you sort of the actual lived experience of working with RTX to try to exploit web apps. And then we're going to bring it all together at the end with a bit of a so-what section of a case. So what can we actually learn as a defender from getting a sense of how these offensive security tools are being constructed, how they work, and is there actually ways in which we can directly take things like RTX and turn it into something that is either beneficial for us as a defender or perhaps actually becomes part of the tooling that we have available to us. So let's start with terminology. Already I've sort of stumbled over to I call this a framework, is it a harness, is it AI, is it a pen tester, at the heart of what RTX is, it is a combination of a couple of things. It is a web application, and it has a backend, it has a front end, we'll go into some of the architecture choices there in a bit. But it's an application, right? You run this thing, it's self-hosted, there is also a commercially hosted version, log into it with a browser and interact with it like any other web app. In the scenes, it is essentially an agent harness, right? So it is able to connect to and send requests to a large language models and messages endpoint. I've been primarily using this with Z AI or their GLM models, which present an anthropic compatible endpoint. But looking at the dropdowns, it seems as though this agent harness that's in RTX can talk to both anthropic and open AI compatible large language models. So it is a web app, it is an agent harness, and so far as it can connect and drive a large language model. And in that agent harness, there are two important ingredients. There is a set of prompts, and we will look at those because it really gives you a sense of what's baked into RTX versus perhaps what the model is providing based on how it's been prompted as opposed to being baked into the prompts. And it's also a relatively small number of skills, I think I saw a couple in there, one in particular that looks sort of central to what RTX is being a pen-testing thing, is that there's a skill there for doing API endpoint, enumeration, and discovery. But the skills are relatively small in number. The real, I guess, essence of what makes RTX RTX is its MCP tools that it presents because it is the combination of the prompts that it has built into the web app that are used either verbatim or have values interpolated into them, that are sent off to the model. The model then can use this selection of MCP tools. Again, it's a relatively small number, and we will talk about some of the benefits of simplicity here. But it uses those MCP tools to essentially administer and leverage two graphs. There is a graph of, let's say, knowledge, what it has learned along the way, facts and findings. And then there is a graph of progress, right? What does it decide to do and why? And it's through these MCP tools and the ability to maintain and leverage this graph that is essentially the heart of why RTX is effective at doing what it does in the offensive cybersecurity space. But this is probably a good point to say, you know, don't be under any illusion here. This is not some magical pixie dust, incredible rare unicorn Black Swan technological marvel. Now, I don't want to take anything away from the creators of RTX. It is apparently was apparently created by one loan security researcher in China. Not taking anything away from that because there is actually something to be said for the effectiveness of the simplicity. But there's really, you know, when you sort of really break it apart and look under the hood as to how RTX works, it's pretty simple, right? And, you know, I've said this on the main show, I think the reason that it got so popular right now is it just happens to be the right tool in the right place used by interesting actors to do the things that catches all the headlines at the moment with AI agents going rogue and hacking things. But it's only didn't earn those headlines by being particularly novel or very differentiating in its level of sophistication either in what it can do or in the engineering that's gone into it. And in fact, maybe this is where we should actually take a look at the history of RTX. How did we get here? In short order, and I'm talking literally in the space of weeks, maybe months, there was first a framework or a harness called CAN, C-A-I-R-N as opposed to CAN's C-A-I-R-N-S, which is a place here in Australia, hence the similarity and pronunciation for me. Anyway, CAN took a different approach in two key ways. First is CAN does not bill itself as first and foremost a AI pen testing harness. But rather, they describe themselves as a general purpose AI state space search engine that can be turned into an autonomous penetration testing framework. Now we'll come back to this a few times because this has started to really excite me and get me thinking about the notion of exploring state space, problem space with graphs. And for those not familiar with what I mean when I say graph, I don't mean pretty picture drawn with number goes up, arrow goes up to the right, this is good. But rather, a graph has in nodes and edges and vertices, basically. When I say these things maintain a graph, it's really just to say that they retain a deliberately structured and related set of items that can be strung together to demonstrate a lineage or a persistent relationship, this led to this led to that then came that. That's what I mean when I say these things use graphs. So CAN differs in two ways. One, it is, first and foremost, it just tries to be a more generalized problem solver using the language models, but there's a difference also in how it maintains its graph. It maintains a single graph that is it co-mingles knowledge and facts that it discovers or context you could say about what it's the area it's operating in alongside the actual exploration work that it's doing, the intents, what it tried, what worked, what didn't. Whether or not that's better or not, I think is still an open question. I talk to here just to call out that this is actually one of the fundamental differences from CAN between CAN and RTEX. RTEX does call out in some of the documentation that they were at least inspired by or took some lessons from the CAN framework when they were building RTEX, but notably RTEX uses the two separate graph model. There's a graph for what the knowledge and there's a graph for the actual exploration itself. But again, which one's better? Oh no, I think this still comes down to this is very much the state of AI and large language models at the moment is that we're still trying to work out the right way to create structure around these indeterminate and token-munchen machines to make them do what we want them to do with a degree of quality and autonomy. That's a good point, I think also to bring in antifox. Now antifox has just started to hit the headlines alongside RTEX in terms of it being another AI pen-testing thing. And it actually has a direct lineage to RTEX, so whereas CAN was predecessor, that inspiration was taken from to create RTEX, antifox itself is actually one of the forks of RTEX, and it has since had additional functionality and changes added into it. The primary thing that antifox has that neither CAN nor RTEX has is a document store. This is not a document store that the agent uses to stash knowledge and things that have lines along the way, but rather this is a way for the operators to bootstrap the work that Antifox does with a whole bunch of documentation about, you know, anything really, the application you're working on, the environment, maybe previous pen tests or other findings, whatever you want, you can throw it into this document store and it becomes searchable and readable by the actual harness that is running, Antifox and the penetration testing work that it is doing. No, that's what says Antifox apart. But there's something to delve into here around, well, hang on, why are there forks of Artex and what is the current state of care and Artex and Antifox and this is where things get a little bit interesting. So Artex was created supposedly by this loan security researcher operating under a pseudonym on GitHub and they published Artex and it got pretty popular and you know, lots of stars and lots of use and then they came the headlines. It was implicated in a bunch of hacks and I think the most prominent one was on some South Korea banks, it was the first I heard of it, but you know, there's literally daily headlines now. With I would say varying levels of demonstrated proof points or provenance that say, you know, Artex did this, Artex did that, Artex we believe was involved in this. But look, my money here is not on Artex being particularly special or suitable to those task, but rather it was popular, it got picked up. It has an ability here to get things done in offensive cyber security and you know, the tool that you know about and hear about has nine tenths of the advantage of the tool that might be ten times better, but you don't know about it. So that's why Artex is where it is. But that fame caused a problem. The author decided to close source it. So interestingly, can is open source and still so far as I know, actively developed. When Artex drives the inspiration from can creates Artex, or the developer of Artex creates Artex, it becomes a bit too hot to handle, gets dropped back into being closed source. And then what we're seeing now is two interesting events playing out. One is there is an Artex Pro, a commercial version that is hosted by a security company, happens to be the security company that we now know there was some employment or some sort of beneficial relationship between the original developer of Artex and this company that's now hosting Artex Pro, but it's closed source. And so what's actually getting, well, just as much if not probably more traction, is the various forks of the Artex when it was open sourced. This has introduced a problem, a couple of problems actually. First is be careful which Artex you go and use because sure enough, some of the quite popular forks that we're sort of got traction in the wake of Artex being closed sourced again, they actually included some malicious backdoor and backdoors and malware. So be careful, make sure you pick an Artex to run from a snapshot from a reputable provider that has gone through and actually ensure that those backdoors are being removed and it is safe to run. I personally use the one from failsafe and I'll include a link to that in the show notes here. But there's other problems. Some of the forks that happened after Artex when closed source did the translation from Chinese to English so the UI is better for an English speaker like me. I've been making do with the Chinese version and just using Google translate within Chrome and look, it's janky but it works. Janking more so because of some bugs and errors that I run into in Artex itself where I have to reload the page which resets the translation. So needless to say, my trackpad is getting very worn out because I keep doing right click, translate to English, right click, translate to English. But there's a subtle problem here which is also beware of forks or permutations of Artex that have done the translation for you because turns out there's actually some evidence that the language that you prompt a model in and that model's heritage in terms of its training set can affect the quality of the results. And in fact, even in the case of a translated prompt, taking for example a prompt verbatim from Chinese and saying to a model, please create me a English version of this, you will lose some syntactical linguistic subtlety along the way in that translation that could actually result in that prompt being less effective. And I'm definitely not saying that this is a reason why Artex is good at doing its job but there is some research out there that says there's a correlation between a model's ability to understand and achieve a task if it's prompted in the same language through which it had a bias in the training set or perhaps a larger door dominance in the training set in terms of languages. And so there might be something, I certainly wouldn't say it's a huge benefit but I think there might be something in using properly written Chinese from a native Chinese speaker prompts with a Chinese model might actually get you better results than just taking those Chinese written prompts and converting them lazily into English using an LLM and thinking you're going to get the same results. But anyway, just an interesting aside of some of the challenges that you now face if you just want to jump on the Artex bandwagon, you've got to find a safe version, you've got to be comfortable with the language issues, you've got to be comfortable with how the translation might affect your experience and all the models experience. And now we need to also add into the matrix of considering which model openways close way and which geography was trained in, what does that do for the training set and what does it do for its ability to respond to English versus Chinese or even other languages prompts, other language prompts for that matter. Okay, so that's a little bit about the history of how we got to Artex and what's now coming after Artex, as well as just some high level concerns and information about things to think about if you are wanting to give these things a try. But let's now take the level of detail down a notch and really dive into how does this thing work, what makes it do what it does and how it does things. Let's start with just installing this. So again, I picked a deliberately picked a so-called safe Artex from a company called FailSafe and they essentially provide you a GitHub repo that you clone and then once you've cloned the GitHub repo, there's Docker command to run to compose everything up and build the images and then hey, Presto, you've got yourself a locally running Artex. And so what is actually running, right? Well, Artex is composed of a backend and a frontend. I was a little surprised about how this has been built but apparently it is an established pattern but there is a single Go binary and that is essentially the backend. But that Go binary actually has the TypeScript and React pages for the single page app that it presents in the browser, baked into that binary and advanced those pages from the Go binary itself and then they operate in the browser as a client side rendered React app. So that's what you've got running, once you've got Artex going, there's also a couple things included in the Docker image, like various tools and map and things like that, the skills that I mentioned before, but you're pretty much ready to go at this point. And when you steer your web browser to the local host address and port that Artex is now running on, the first thing you're going to realize is as I mentioned before, everything is in Chinese. So make sure you're using a browser that can translate it to your language of choice if you're not a native Chinese speaker. I've used this a bunch now, but I am no closer to actually understanding any of the labels in there, let alone trying to navigate by the icons alone. So yeah, translation is a must, but I think it's better to do the translation on the fly rather than try to get a repo that's already been translated, less to translate the prompts and cause you further problems, okay. So you've got Artex running, you pointed your browser at it. The first thing you're going to want to do is to find a goal. Well, actually, the first thing you're going to want to do is configure your LLM properties, endpoints, token, sorry, I should say endpoints and API keys, any token budget to context, length, et cetera. And that's all set up in the LLM section, but that was about it for initial setup. And then I was straight off to defining my goal. And this is where there is the first bit of machinery, I guess I'd say, within Artex that is interesting and worth looking at. Because when you define that goal, you do it essentially in a freeform text field. There's a few things broken out so you can be more specific about inclusions and exclusions and scope and whatever. But I just went with a relatively simple approach of, I think, the first time I used Artex, I simply said, there is an authorized pen test target at this URL and I want you to try to exfiltrate the customer list out of it. This was just a very simple react app that I created and hosted up on an isolated VSEL account for the sake of this. There is a thing in Artex called the goal decomposer that will take whatever you provide it as the goal and not only decompose that goal into sub-goals if it feels that's worthwhile, but also it will extract out of there anything that looks like it's a scope or a boundary or a explicit inclusion, rules of engagement, that kind of thing. And I thought that was pretty neat. There's actually a dedicated prompt that that goal that you enter into Artex is run through to decompose it into sub-goals to essentially prepare the state of Artex before it kicks off. which is important because then the next thing to look at is, when more or less. Once you've added that goal in, RText basically goes off to start doing its work. And the work is divided between two components. There is the planner and there is the worker. So after that goal decomposition has happened and it's extracted all the scopes and whatever else out of what you've given it, it essentially kicks off the planner. And the planner is a consistent and long-running transcript that does what it says on the tin. It just plans work. The planner essentially runs in a loop. It can be invoked for a number of different conditions, but it always gets woken up given a snapshot of the graphs that RText is maintaining. And it's essentially asked the question, what should we do next? You know, take a look at the current state of things, propose the next intents as a cause that intents are like the next small bounded investigation to look at to try to find, you know, I guess the next path along on that exploration graph to try to improve the knowledge graph or to try to reach further towards the intended goal. The planner basically exists to examine the current state and propose work to be done that could incrementally get you closer to the goals as they've been stated. The thing that I found fascinating about this is the planner is where RText's autonomy emerges from. So remembering back to my last solo poll that I did where I said, I was very interested in trying to capture the essence of the relentless pursuit of benchmark scores that we see out of Frontier Labs, almost to the extent where in the pursuit of those high benchmark scores, these models break out of their containment and run a muck. I was very, and still am very interested in what is it that creates that relentlessness, that perseverance, that persistence in the combination of a model and harness. And RText actually has this codified in a relatively simple algorithm. The planner has what it calls a baseline check where each time the planner is invoked and asked to plan work, it has to deliver at least one intent if there is no other intent currently planned and/or running. So it's really as simple as that. It's like never let the queue of work to be done drop to zero and stay there. You know, if the planner is invoked and it sees that there is no work plan, no work in progress, it's by virtue of the prompt it is forced to come up with or propose at least one new intent to go and work on. So that's a real simple way to, I guess, build in autonomy and relentlessness into this process. Does it work well, though, is the question? I mean, it's really just a glorified, or maybe you call it a modulated Wigham loop, right? You can just literally a loop that where you constantly RCL a them the same thing over and over again. And incrementally, you get better in different answers and you put that all together and you get something greater than the sum of its parts. But this case, I call it a modulated Wigham loop because it has that step of, if there's work in progress, let that happen. By all means, investigate the work, propose changes to the work, propose new intensive if something's been discovered in some of the work that's been done or is in progress. But ultimately, the heart of our Texas relentlessness and its relentless pursuit of the goal comes from the simple algorithm of never let the queue of work drop to zero and stay there. But I say does a work well because I saw, even in my usage, which we'll get to a little bit later, cases where this resulted in endless work, shall we say, but not necessarily progress that I could trust towards that goal, but more of that to come a bit later. The other side of this is the worker. So the planer plans the work, it basically drops these intents into a queue and then workers spin up to do those work to explore those intents. Think of an intent as like a tightly bounded hypothesis and this is an interesting deviation from the way I'd been approaching Colonel and Damon and operating system vulnerability finding where I would tend to use a very long running LLM transcript and we would navigate through this sort of state machine and ladder towards to progress from finding something that was a lead right through to proving it's statically, proving it dynamically, building a proof of concept, etc. And I would do that within that one session. In the RTX model, the planer creates those intents, but those intents would be just one sort of small thing. Like, can you progress this from let's say an API endpoint that you found that returns to 100 without credentials to determining what can be accessed behind that API and maybe even that as I say it is probably too broad for what these intents are. But think of the intents as little units of work that a standalone worker without a transcript history can pick up and make sense of. When these workers run, they don't run in a separate sandbox, they don't run in a separate container or they're just a separate process or a separate engagement with an LLM. And as I said, it's a transcript that starts fresh each time. But that's not to say it starts as empty. And this is another fascinating difference between RTX and CAN that came before us and now antifox is that, and I don't know whether this is intentional or it's just how it's happened. But each of them do things slightly different in terms of how they position the prompts in these worker sessions. In the case of CAN, it would put essentially the state to prime the worker and the goal that the worker's got to pursue in the first user prompt of the agent. Now that's fine, that's going to work. But it also begs the question, well, what was in the system prompt and is that going to contribute or detract from being able to complete this work? But there is a problem around compaction of the transcript. If the transcript runs particularly long or if you're on a relatively limited context window, when that compaction happens, which is just a fancy way of saying summarize the transcript so it's smaller and then keep going, that compaction could dilute or confuse or cause a drift away from the task because the original instructions will be kind of lost, like a lossy compression, so to speak. Artex and antifox do things a little bit differently by leveraging the system prompt. Now, the system prompt is just a different part of the transcript, but it's more sacred, let's say. The system prompt exists at the very top of the transcript and it's not subject to compaction, so it's almost like the durable set of instructions that the LLM is always given and that won't be mutable because it doesn't get compacted. And I think this is a smarter move on the part of Artex and antifox because this means that there's much less chance of drift, though it might actually be for not a lot of benefit because these sessions tend to be quite small, so unless you've got like a 200,000 token window, you might not actually run into compaction during a work a session. The worker is handed essentially a snapshot of relevant parts of the graph, an articulation of what the overall broader investigation is as well as its specific task, but it also has MCP tools available to it that allow it to do a couple of things. It can read the knowledge in the progress graph. It can actually look at sessions from other sibling sessions that have, or work at sessions that have run, which I found interesting because I've kept more of a strict sort of separation between sessions, but seemingly the developers of Artex found it beneficial to allow one worker to traverse the graph and then call up a session if it wanted to actually look at what a previous agent did rather than just relying on the result or the findings that it might have filed. But ultimately the worker does its thing, it does the task it's been presented in this is a multi-turn exercise it could run for quite a while, but it tends, at least in my experience, not to run particularly long again to that point of compaction and at the end of doing what it's been us to do, it basically files its results, its findings back to the planner via those MCP tools. The filing of these results via the MCP tool calls then essentially wakes up the planner again and the planner looks at what was filed, determines is there more work to be done, should things be changed about any work in flight and again follows that autonomy rule of if there's no work planned at the end of that planner session it's got to, it's got to come up with at least one thing to do. But that's pretty much it for Artex. Its goal, decomposition of the goal, turning that into the first execution of the planner, the planner comes up with the intents, the intents are farmed out to the workers, the workers file their findings, that wakes up the planner, it determines what to do next and so on and so on and so on, all the while building out this graph of knowledge that it's obtained along the way and the exploration and steps that it's done, both of which are accessible and usable via those workers and the planner as well. So when I've said that it's not particularly sophisticated that's what I'm getting at is that this state machine is really quite simple. Effective? Yes, clearly with the headlines that it's been getting, a absolute bug-finding exploit rating wrecking machine, I'm not convinced of that. And, you know, I'll talk about this more and talk about my experience if you haven't used it. But it's got, I would say it's got potential. This, this very simple state machine and workers and the loops, et cetera, I think that is emerging as the best practice for how you harness a large language model. I don't think there's much doubt around that. But I'd say that it's too naive in its current form because it doesn't do things like adversarial challenges of the results. You know, I found a huge uplift in my own vulnerability research work. If I simply paired one model with another model and always had them check each other's work and challenge each other, that I didn't find there. There is some evidence rules and some nudges that the worker is given. But those are all baked into the problem. So I'm talking about, I think what artx could benefit from is more models and classifiers being integrated to do specific purposes within that relatively simple life cycle. But here's where simplicity is an interesting quality. The security vulnerability harness that I worked on for a couple of months that I've talked about previously, to be honest with you, it's in the bin right now. It got to the point where it was just way over complicated. I wasn't getting the results out of it. I was spending more time yelling at it and getting frustrated with it because of its emergent behavior, as opposed to just what felt like the good old days when we could shake loose some local bridge escalations and some pretty gnarly memory corruption bugs. And when I did my own sort of retrospective as to why did we get to this point, it was because I kept layering on more and more complexity. To be honest with you, I didn't come up with these things. It was more of a case of pointing out problems that I saw and asking a large language model and encoding agent to fix them. And having, I guess, too much of a hands off the wheel approach and letting it just free wheel into creating solutions. Before we know it, we had things like assignments. The assignments had to be agreed by the human. Then they got broken down into smaller units of work or hypotheses. And then those had confidence ratings. And those had to be filed with a challenge and what needs to be true. And all of these I think had good structural elements and intentions. But they just, they came with so much overhead in terms of more turns by the model, more tools, more state management, more bifurcations of logic flows that in the end, the models were just kind of falling over themselves interacting with the complexity and the, in maze that I'd created for them, or they'd created for themselves, rather than actually getting the work done. This is what I am learning about simplicity and agent design is that or enhanced design is that there is a benefit in simplicity in so far as a fewer number of tools for a very specific purpose. That's always been the golden advice. But as the state machine itself also needs to be quite simple, otherwise models will become too fascinated in how to progress this certain, you know, side channel of the, or this, this certain wrong or branch of the state machine. The simple loop here is good. I think what it could benefit from is maybe something like a classifier that rates the potential for success or a quick sort of second pass on the intent by an adversarial model to say, you know, pick this apart and try to invalidate why it would be useful and come up with something better. But at the same time, that wouldn't be particularly difficult to layer into this. We have to remember that with our techs, we're seeing a snapshot of a developer's passion project for lack of a better term so far as we know. So for all we know, this was the basis and they were intending to add that and maybe they just haven't got to it quite yet. But the potential, the potential is definitely there. Okay. So to round this out in terms of what these things are and how they work, I'd say at the highest level, here's my observations. The CAN project mostly teaches agents how to investigate together that notion of that state space that it explores through the graph. I think is the most interesting and novel thing about CAN. Artex takes that and teaches essentially pen test techniques, evidence, judgments and sort of layers in a bit of ground truth about how to do the practice of pen testing on top of that collaboration and knowledge gathering architecture that CAN introduced. And then antifox takes it once to further by supplying specialist reference material in that searchable document store that the operator provides. That's basically what makes each three of these unique and also the lineage and what we've learned from each of them along the way. So now the question is, what do they like to use and what sort of results do you get from them? For this, we're going to look at four reported uses of Artex and then I'm going to give you my own first hand experience of using Artex. The first one to look at is the Microsoft ConnectWires incident where Microsoft themselves say that Artex was used to essentially take the credentials that had been taken from the ConnectWires Cloud Backup application to sign into customer environments and move downstream from there. I have one big problem with this reporting from Microsoft. They don't tell us how they knew it was Artex. They just say, "Yep, Artex was used." That doesn't fly with me. I would like to know a lot more about what was detected. It's one thing to label something as "agentic" because you see rapid, perhaps attempts or quick pivoting or a lot of, you know, throw a lot of stuff against the wall and see what happens. That is what tends to manifest in an agentic cybersecurity attack at least in today's world. Then drawing that directly down to it was Artex that was used, but then not saying how you knew that is to me quite dissatisfying. The other thing to note here in the case of the Microsoft and ConnectWires report is that it was quite large in terms of numbers. Something like 150,000 failed logins with password spraying. There was something like 2,250 tenants that were signings were attempted. Big numbers, but they don't all translate to breaches. Really, Artex was used here to essentially take a bunch of credentials that had already been stolen and see if they could be used and how might they be used. This is an interesting way to think about that notion of state space or problem space and the notion of using graphs to guide cybersecurity offensive or defensive work. In the case of saying, "I've got these credentials. They're for these tenants. Go see what you can do with them." I'd argue that that's quite a small bounded problem in state space or put a different way. The distance between the starting fact, I have these credentials for these tenants and the goal, go find what you can do with them, is a relatively small distance between those two points in the problem space. What I mean by that is there's not too many hops between there to go from have credential, know what a tenant it's for, log in and numerate, see what I can find and then report those findings. As opposed to say the distance between the starting fact of here's Mac OS 27.2, I want you to find me a kernel exploit that defeats pointer address codes. That's a very large problem space that's going to require a lot, a lot of hops between that initial starting fact, here's the OS. The goal, node, I want to kernel exploit, huge space between those two in terms of the problem space. My sense here is that our text works particularly well when the distance between the starting fact and the goal in the graph for the problem space is relatively short. I don't have facts to back that up. It's purely based on just my long now history of using large language models and doing harness engineering and seeing what their tendency is like, especially when they're governed by a relatively simple plan, the work, do the work, plan the work, do the work sort of loop. I think it will do fine navigating a short problem space. I think a long amorphous and nebulous problem space, it's going to get lost and I did see that happen in my own use of it. But nonetheless, clearly it was a tool that was useful enough here for this campaign to go to be reported on by both Microsoft and I think there was also some follow-up reporting from Hunters. The second one to look at is the checkpoint report where they talked about how they saw an operator assign something like 290 crypto payment domains and basically they were looking out ways to steal cryptocurrency with our text. This reporting is a lot more satisfying because in this case, checkpoint actually discovered misconfigured art text consoles that they were able to gain access to and they could see the operators goals and all the agent activities. question that this was Artex. What's interesting though is they also didn't find any evidence that the credentials or any sort of material finding that Artex had made actually resulted in any crypto currency theft. Now, it's probably unfair to think of that as well, Artex failed you then, but I would say two things I'd observe here. One is the framing of the prompts that are baked into Artex, a very pen test specific. I don't know that it would necessarily have a good idea of how to monetize a crypto wallet seed phrase. Maybe there's enough of that baked into the model for it to find a way, but it's certainly not, it's not Artex's purpose, and Artex does actually have a very strong bias in the way that it's prompts of being constructed towards web app pen testing. And it could also just be in that if there was seed phrases and other material, I guess credentials discovered during this campaign, maybe they were being stockpiled and not yet ready to be moved on or they were getting ready to be sold. Who knows? But the interesting thing here is the checkpoint reporting is real analysis of real instances of Artex being examined to look at what it was doing. The third example that sheds some light on what Artex is like and what sort of results you get from it is the work OS report, which I think was one of the earlier articles that drew attention to Artex. Now in this case, we know it's Artex because the Artex instance was being run by a security researcher that accidentally let their Artex run amok and it went after work OS and I believe there was access to an internal sales and support tool, which had a publicly reachable API. It was sitting on some legacy infrastructure that didn't have the right credential rate limits and controls in place and it got popped by this legitimate researchers instance of Artex. Whoops dot dot dot spoiler mind tried to do that too. So this is interesting because it speaks to Artex not having an innate sense of scope. You do have to prompt it quite carefully in terms of how you define your goal to make sure you're clear about what's okay to go after and what's not. Otherwise, you're going to find yourself in potentially a little bit of a tricky situation where your Artex instance, going after your supposed, hopefully, honestly approved pentest target. But in order to get there, it decides that there's a side quest to be done and goes and finds an exploit in something else instead along its way. But that was the interesting thing out of that the work OS article. Not so much what it did, but the fact that it was actually a research running Artex and their instance went and reached out and found a vulnerability in work OS. I don't think it was necessary, particularly successful in its overall task here because a go-to-market tool probably isn't going to help you with a pen testing exercise on a different target. But who knows? Who knows what it might have found that might have excited the right neurons in a large language model. Maybe it did just give it a little bit of a noge in the right direction. We don't know. But it's a good write-up nonetheless from from work OS. And then just more recently in the last couple of days, Arne Lab has put out essentially a white paper of blog post about putting Artex in a lab and running it up against actually vulnerable, known to be vulnerable applications and systems and what it found. Good write-up and it again supports my theory that what we're looking at here is a in terms of Artex. It's well architected, it's well designed, but it is quite simple in how it operates, how's the potential to be extended. But in its current form, it's relentless and that means it's best given the simplicity that it operates or how it derives that relentlessness. It works best, you know, quite a bounded context where it doesn't have to again navigate too far in that problem space to get from that and starting fact through to its goal. And that's what the Arne Lab work here essentially shows. In one lab, it had an exposed Apache and Q service. It did some initial access and then Artex was able to execute commands on four of the internal hosts. So it demonstrated the inability to find vulnerability, pivot, literally move all the things you would reasonably expect. I do think when I was reading their research that this actually was also evidence of why those small, almost like atomic sets of intense work really well with a large language model because the act to find that initial access enumerate the next paths, move, laterally, determine where you are, think about where you can go next. All of those are quite small bounded tasks to do. And doing those as isolated worker sessions with a graph that keeps a record of why you went down this path and helps you determine what to do next, that I think works much better than relying on a single LLM transcript where once it gets quite long in the twos, all of that activation of the large language model it tends to increasingly give more and more drift or worse, more and more hyper focused on just going down one particular task within that session. So good right up and good, I think, proof points around some of the behavioral characteristics that I've mentioned around Artex. Okay, so reporting aside, what's it really like? What's it really like to use? It's fascinating to watch. It is a bit of a pain at first, you know, all the translation and I kept running into errors that caused me to reload the page, which would then turn off the translating, turn the back on, I think I mentioned that before, but just the kind of hassle you get from using, first of all, it's not a commercial project, this is just someone's open source project in a completely different language, operator language, and there's plenty of rough edges. It's certainly usable though, don't get me wrong, but don't expect a polished, pleasant experience when you're using Artex. But what I will say folks is, for the first time in a long time, if not forever, in my use of large language models, this was the first time I was too scared to let an agent just run off and do its thing without keeping my eye on it constantly. And to be fair, I did actually get a little bit more comfortable, I let it run overnight once I had it in a very bounded context of what the exclusions were, but my first use of Artex was, as I mentioned before, I gave it a very naive prompt, I have a authorized pen test target at this URL, that URL happened to be a versatile host adapt that I'd vibe coded entirely, didn't look at the code. Welcome to how we roll in 2026. And I said to it, look, there's a customer list in this pen test target that I want you to exfiltrate, and that's all I gave it. Within the first couple of steps, the first thing it did was enumerate the API surface, do some basic reconnaissance of the app and what was deployed. But the first thing it noticed was, oh, you're using Work OS as your identity provider, which was an intentional choice on my behalf. And immediately it pivoted towards trying to find a vulnerability in Work OS. It was enumerating Work OS's API surface, looking for potential vulnerabilities, how could it mint a token, how could it create a user, how could it register a new user into the tenant. And I found that fascinating and disconcerting. It made me go back and actually look through the prompts within Artex and ask the questions of the agent that I was working with to help construct this episode. I said, you know, this behavior of going after Work OS as my IDP is that something that is hinted out or nudged towards in the prompts there in Artex, or is it just the combination of those prompts and then actual, the model itself determining that that was the next steps. And it turns out it's largely the large language model deciding that the thing to do would be to go after your identity provider if you're trying to log into this pen test target and exfiltrate some data. So needless to say, the next time that I ran Artex, I gave it more of a bounded context. And in the goal, I said, you know, here is this application at this URL. It is a production application. It is a authorized pen test target. The goal here is I want you to exfiltrate a given piece of data, it doesn't matter what it was. But I said very clearly to it, you're not to go looking for a vulnerability in a third party service of this application users, including Work OS and AWS, but not limited to those services. And to my delight, that goal decomposition and scope forming process that happens after that goal is being defined did a great job of turning that into a set of structured boundaries and explicit exclusions that it couldn't go after. And when it kicked off its work, I'm happy to say for my own ability to remain out of jail that it stayed well and truly away from both Work OS and AWS in terms of trying to find a vulnerability in a third party in order to complete the pen test work in the authorized target that I had given it. So, it can be scoped, but you've got a scope and you could that doesn't absolve the importance of sitting there and actually watching and making sure these things do stay within the guard rails that you've provided for it. The session that went after Work OS, once it sort of nudged it back on track and said, no, no, hold on, treat Work OS as a third party provider that there's no vulnerabilities in it. It's not in scope, stay entirely within this bounded target that I've given you. This is where I started to get a sense of that relentless autonomy is not directly correlated to progress that you can trust. Actually, it's totally changed my notion of my understanding of how to achieve the level of autonomy that I would love to see in a vulnerability discovery harness. I won't get too much into the deep philosophy of how I'm thinking about this now, but if suffice to say I've come to realize that autonomy in a pen-testing framework, in a vulnerability discovery, an exploit, development harness, autonomy is an emergent property. I actually don't think, and this is just me anecdotal and talking editorial here, I don't think you can engineer autonomy as a fundamental property into these harnesses, other than just the simple things like, if there's no work left to do, make sure you come up with more work. But I'm talking about the level of autonomy and the relentless pursuit of goals and the success on that goal that we see from things like model benchmark runs where they are so hell-bent on getting an amazing score out of that training run or their benchmark run that they break out of containment and go try to find the answers and things like that. I think that autonomy that I'm looking for and that sort of progress towards goal that you can reliably trust is actually an emergent property of the way that you architect that state machine. I'm starting to think of that autonomy that I desire is actually a bright product of dealing with a system that doesn't exhibit that autonomy at all and then incrementally working out at every time it stops, what caused it to stop, how might I create the right state machine or loop here or additional involvement of a model or a classifier to then put the system back on the rails as opposed to thinking about autonomy as something that you engineer at the heart of the system. But anyway, there was a little bit of a detail. I call that out because investigating our text has been really fascinating, not just from understanding what it is and how it works. But the more you look into these things, the more you get a much better sense of the art and the science behind harness engineering and design and it really is at the moment in the state of the art, a combination of art and science. But I say this point about autonomy because once I had nudged this session back on track to the target it was going after, I was surprised at how doggedly it pursued what is absolutely just a complete dead end. What it did was it noticed an interesting, I don't want to say vulnerability because there's more of just like a aspect of how the sign-in and password recovery page worked. It figured out that if you attempted to start, I think it was start a password recovery flow, there was a certain cookie token set or certain cookie set, you could modify that and manipulate it such that when you came back to the password recovery, you could be supplying a different email address which would allow you then attempt on guessing that password or resetting that password. I'm sort of forgetting the follow a little bit here, but that's not the point. The point here is it got stuck on a capture and musically enough, we kind of think it captures this pointless now because a large language model has no trouble getting around it. But the way that Artex tried to go around it was quite comical to watch. It's tried to use a Chrome browser, a headless browser and it had some trouble with the WebGL usage within the capture and it sort of tried and tried and tried to get that to work to render properly, couldn't do it, couldn't manipulate it, couldn't interact with it. And so then it went and discovered these third-party services out there, I didn't even know these things were out there and I'm sure they're well shady as all get out, but there's actually SaaS providers out there that work around captures. But Artex couldn't get an account on these and the free version of it didn't work with the particular capture that we had. So it went and signed up for at least one of these capture resolving systems, but then it ran into, ran into a hitch. The hitch it ran into was that in order to sign up for these capture solving services, you need an email account so that it could do sort of a verify your email and even a multifactor role set up for the service. So it went and created a throwaway email account for itself and worked out how to check its own inbox using APIs, completed the sign up for the capture process, and this took hours of Artex working out how to interact with the email provider, how to find the email provider in the first place, how to complete the sign up flow for the capture solving service, how to do the MFA roundtrip, and eventually it got there. But I call this out in this example of engineering autonomy gets you relentless pursuit, but not necessarily progress you can trust, because after all this time of relentlessly pursuing this idea of I have to find a way to defeat this capture, it didn't get it anywhere good because there was no credentials that it could have sprayed on that app to make it work. As in like I know that this was a test app, I know that there was only an administrative account configured there. And so you know it's like you can't sort of confuse a dogged agent running relentlessly as synonymous with and directly correlated to continual progress on that goal. And that I think remains sort of the unsolved problem with Harness design in the cybersecurity domain is how do you get the level of relentless attempts on these on the goals or relentless progress towards the goal that gives you the best of machine speed and inverted commas. I hate that term, but you know all the working around the clock, the parallel execution, the constantly on nature of a large language model in the agents. How do you get all of that? But Harness it in a direction, pun not intended, Harness it in a direction where it does actually continue to make real meaningful material progress towards that goal. That's still something I think we're all collectively trying to work out. But all that said, that's not to say that I found our text to be a tool that's not suitable or didn't provide anything interesting or wasn't illustrative in and of itself to watch the way it worked on the targets that I gave it quite the opposite. It found out things about these applications that I had created and that I'd been developing. One was a throwaway thing, one was something that I've poured months of development into. It found things that were very useful for me to know as the maintainer of those systems. There were things about the way that the tokens were being mentored and constructed that I wasn't aware of that, you know, in hindsight, I probably would prefer they weren't done that way. It did legitimately find some endpoints that should have had tighter scoping of access controls and other things in there. After running for 24 to 48 hours on these two targets, it didn't come up and find, you know, "Hey, good news boss, I popped access to this thing and I'll try the data that you asked for in the goal." The goal always remained unresolved, but it definitely found things that I as the maintainer of those systems found really, really interesting. Which leads us to the so what? What's the so what of all of this? What can a defender actually do with this knowledge of how these pen testing frameworks and agents and harnesses work? Well, there's a couple of things and, you know, when I was thinking through this, it felt like at this point of having gained this level of knowledge into how our attacks and can and antifox work, it felt like there was a three-way fork in the road in front of me. If I was a defender armed with this knowledge, I could decide to go and spend a whole bunch of time improving my detections and being able to intervene in an agenteic attack faster and sooner. Cool. That's that's, you know, option one, door one, and it makes sense. I don't think anyone could could mount a strong argument as to why that wouldn't be a good use of time. The second one is you could think about and, you know, Pat made this point and I'm sort of rising to his challenge here with this episode is, you know, hack yourself first. And that's what I did. One of these systems is something we're using tonally at risky business. And I'm hand on my heart, happy to say it didn't, it didn't yet find a way to break into it. Good job me and my army of agents. But, you know, you can essentially, what you're doing in that option is you are just essentially joining the crowd of bad actors and hackers and trying to get ahead of them. And it's almost like you're deciding to play their game, but hopefully you can play a little bit better, a little bit faster and learn where your vulnerabilities are and fix them before they do. And then what really intrigued me was, what's the third option here, right? If option one is how do you make it harder for the attacker to do what they do? And then option two is how do you, you know, if you can't beat them, join them, become an attacker and attack yourself better faster and stronger than the attackers can and resolve your system issues first. Cool. But what would it take to turn our text into the opponent that an attacker might run into? Now to be super clear, I'm not talking about AI versus AI and some sort of live knife fight during a live cyber security attack. Do we get there at some point with agents versus agents? Maybe, I don't know, I'm skeptical. I think the, you know, the approach of throw everything at the, against the wall, see what sticks, find that, follow that, that works for an attack, but in the defense, we're going to need something different. So I'm not talking about, you know, taking our texts and somehow convincing it, it's actually a defender and having it go out and find other agents that are attacking and fight with them. Okay. Again, maybe we get there. That's not the point. I'm talking about more, how do you turn our text into a useful opponent behind the scenes that helps you in a live attack scenario or an incident response in a way that levels the playing field with the attackers? Now one of the deeper realizations that I've had while I was looking into this was I come to the belief that I think what today and increasingly so will separate an organization from being resilient to a cyber attack campaign versus a victim over campaign is the amount of context that that organization has about their operating environment. And when I say context, I mean machine, readable, introspectable, the kind of context that an LLM can just devour and give it the superpower understanding of your entire environment. This has been quite a lively discussion around risky business in the last couple of days about, you know, are we at the point where a large language model could say take the PHP to shell advisory and immediately determine whether or not you're at risk, what to patch, what to do next, create remediation plan, my view is it probably could, but it would require a heck of a lot of engineering of the processes to do that in the various different systems and things in the in your network that it's going to have to look at and introspect and make plans about. But ultimately, I think the counter argument that I get is that in an organization that just isn't that context reliably about the entire landscape, and I think that's sort of the difference of opinion that we have about this is my view is clinically, there's no reason why from a technology perspective that a large language model and a sufficiently sophisticated harness couldn't take that PHP to shell advisory and determine what you should patch and how soon and give you a strategy and maybe even if you really feel and wild, let it go and do that for you, I think technologically it can. The real gap and why that's not practical though is the information that that large language model and harness would need to successfully do that in a live real enterprise is often the thing or is almost certainly the thing that is going to be lacking. You know, who knows about every single edge to appliance, who knows about the embedded version of PHP running on something that you didn't even realize was running PHP, who knows about that thing that's under the desk that the cafeteria uses to schedule the rosters, you know, all these things, right, it's context, context, context, and some of that context will exist in an organization somewhere, a lot of it's going to be in people's heads, a lot of it's just cultural knowledge for the lack of a better tone, and LLMs don't do well with that kind of thing. But here's my proposal for a third option for how you can use something like RTX in it as a defensive thing, a defensive tool for you. Use it to constantly build that contextual knowledge of your organization. Because regardless of the actual outputs of, hey, I found this vulnerability or, hey, I was able to breach this system, that information is obviously useful for, you know, actionable go do something about that right now. But I'm not hearing enough talk about the incredible value of the context that the agent will generate in its exploration of those systems. That graph that it's building of the knowledge of, you know, what is this web app? What's its API? What is it built on? What's it connected to? What is it interact with? What's it talking to? What's the East West communication? The North South? All these things. This amazing corpus of knowledge that it builds into that graph. That's incredibly useful context. As is the context of what it explored. You know, if you were, I would imagine being in a, you know, incident response, if you could have a live graph of previous explorations we've done or attempts to attack a target from your own pen test agent, well, that's probably really useful context to establish what might be novel about the, what this attacker did or what was missed in previous things that they might have explored, right? Almost like the, he is the, all the dogs that were barking now, go find the one that's not. It is this context that I personally think will become the leading factor of determining how likely an organization is to fall victim to a cyber attack campaign versus be either, you know, not affected by it or was able to detect it and mitigate against it quickly. And so maybe you should think about a three pronged approach of not just use our text to test your detections and build better detections, not only use our text to hack yourself, but start to think about these pen testing agents and our texts and defaults and care. Think of them as amazing context and knowledge building machines and then go out there and have it constantly build this incredible coherent knowledge and graph about the entire, you know, technology landscape in an enterprise. And even if it doesn't find things or doesn't, you know, manage to breach things or give you reports that you have to then go and mitigate building up that context and having that on hand during an attack scenario or an incident response, I think could be actually the thing that provides the largest lasting benefit from using tools like our text. All right, I'm going to wrap it up there folks. Thanks so much for listening. I've been James Wilson for Risky Business Fatures.

Podcast Summary

Key Points:

  1. RTX is an AI-powered agent harness that connects to LLMs to perform web application penetration testing, using a combination of predefined prompts and a small set of skills.
  2. RTX is inspired by CAN, which uses a unified graph to store knowledge and exploration data, while RTX separates knowledge and progress into distinct graphs for clearer state management.
  3. Antifox is a fork of RTX with added functionality, including a searchable document store for operators to provide context, making it more practical for real-world pen testing.
  4. The popularity of RTX and Antifox has been driven more by visibility and media coverage than by technical sophistication, with many cases lacking verifiable evidence of direct involvement.
  5. A major risk with forks of Antifox is the presence of malicious backdoors or malware, emphasizing the need to source from trusted, audited providers like Failsafe.
  6. Language translation in Antifox can degrade prompt effectiveness due to loss of linguistic nuance, potentially reducing the quality of generated results.
  7. RTX's effectiveness stems from a simple, loop-based state machine—planning, executing, and revisiting work—creating relentless autonomy, but not necessarily reliable progress.
  8. Autonomy in these tools is an emergent property of system design, not a directly engineered feature; true progress requires careful scope, oversight, and architectural refinement.

Summary:

RTX, Antifox, and CAN are AI-powered pen testing frameworks that use large language models to autonomously explore web applications. RTX, built as an agent harness, employs a modular design with separate knowledge and progress graphs, while Antifox extends RTX by adding a searchable document store for contextual input. These tools gained attention through high-profile incidents, though many reports lack verifiable evidence of direct use.

A key risk is that some forks of Antifox contain backdoors or malware, making source verification crucial. Translation of prompts can degrade results due to linguistic loss, and the tools' autonomy—driven by a simple loop of planning and work execution—is not equivalent to meaningful progress. In real-world use, RTX can identify vulnerabilities in test environments, even if it fails to achieve specific goals, revealing valuable insights for defenders.

The core lesson is that autonomy is emergent, not engineered: defenders must actively manage scope, monitor execution, and design systems to ensure progress, not just relentless activity. This knowledge enables defenders to strengthen detection, conduct proactive "hack yourself first" testing, or leverage framework insights to improve security posture—offering practical, actionable strategies in the evolving AI-driven threat landscape.

FAQs

RTX is an AI-powered agent harness that connects to large language models to automate penetration testing. It operates by using a set of predefined prompts and a small number of skills, such as API enumeration, to explore web applications. It maintains two graphs—one for knowledge and one for progress—enabling it to track findings and decision-making steps during an attack.

CAN is a general-purpose AI state space search engine that doesn't focus solely on penetration testing. It uses a single graph to combine knowledge and exploration data. RTX, inspired by CAN, uses two separate graphs—one for knowledge and one for exploration—offering clearer separation and better structure in tracking both findings and work progression.

Antifox is a fork of RTX that adds a document store allowing users to input and search documentation about targets, environments, or prior findings. This feature helps operators bootstrap testing with context. Antifox also maintains the core architecture of RTX, making it a direct evolution of the original framework.

Yes, some popular forks of Artex have been found to contain malicious backdoors or malware. Users must verify the integrity of the fork and ensure it has been audited. It's recommended to use well-known, reputable sources like FailSafe to avoid security risks.

When a user defines a goal, the system automatically decomposes it into sub-goals and extracts scope rules, inclusions, and exclusions. This helps structure the investigation and prevents unintended lateral movements, such as probing third-party services outside the target scope.

Yes, they can identify useful vulnerabilities, such as misconfigurations or access control issues, especially in bounded, well-defined targets. However, they sometimes pursue dead ends—like attempting to bypass CAPTCHAs—without making meaningful progress toward the original goal.

Chat with AI

Loading...

Pro features

Go deeper with this episode

Unlock creator-grade tools that turn any transcript into show notes and subtitle files.