DEW #173 - Semantic Search for Hunting, ARTEX is pwning everything and Breaches galore
Welcome to Issue #173 of Detection Engineering Weekly!
✍️ Musings from the life of Zack:
Every week, I read, watch and listen to all the Detection Engineering content so you can consume it all in 10 minutes. Subscribe and get a weekly digest of the latest and greatest in threat detection engineering!
It’s officially sweater weather and I’m trying to re-up on some graphic sweaters featuring birds. Am I getting old? Loons are dope and should be celebrated
For MMA/BJJ readers: I got a massive bone bruise on my shin/calf and everyone is telling me there is no fix but waiting for it to heal. Is this how Muay Thai people get indestructible legs?
#HugOps to anyone who has been on call these last few weeks dealing with the Vulnpocalypse and subsequent Neocloud/ARTEX shenanigans.
Sponsor: Anyday Security
Anyday Security Launches ExploitTotal to Provide Defenders Free AI-Built Exploits
Anyday Security, the defense layer for the age of AI-powered adversaries, launched ExploitTotal.ai. It is a free platform that shows defenders which vulnerabilities open-weight AI models can readily exploit, and gives security professionals validated actionable PoCs for free, so they can test whether for exposure and build detection rules. Weaponized AI, for defenders.
ExploitTotal.ai already contains hundreds of working AI-generated exploits, including 80%+ for vulnerabilities with no public PoC.
💎 Detection Engineering Gem 💎
Modernising threat hunting: Using Semantic Search to Find Risky AI Agent Behavior by Marcus Jeffes
Over the last six months, I’ve found that the best security blogs and research about the use of Agents in blue teaming are moreso about restricting reliance on LLMs than the use of them. For example, it’s common knowledge now that one-shotting a prompt to triage an alert will not work in an actual environment. So, by building evaluation criteria to measure performance, memories to steer agents and skills to supplement specific investigative scenarios, you can start treating the prompt and the agent turn as the final piece of the puzzle rather than the first piece.
If LLMs are your first introduction to machine learning, you may also be missing decades of research on machine learning engineering, incredible ML applications, and how they can integrate with a security harness. That is what this blog by Jeffes achieves through embedding models. These models enable vector search, a way to turn unstructured data into a database that provides similarity scores for an input against a corpus. In this blog, Jeffes uses embedding models to help with threat hunting across Claude sessions, reducing the complexity of searching unstructured data and instead focusing on the intent or outcome of a prompt turn to find maliciousness.
Since we know an Agent running a task is more than just a prompt, this also means that the context around the internal monologues, tool calls and the eventual output can all be taken into context and fit into the embedding models. Then, when you hunt or search for maliciousness, you can search across more than just the prompt or response. For example, searching for “exfiltration” in a prompt can capture false positives where the prompt is talking generally about exfiltration.
Jeffes added a helpful visualization on how best you can query an embedded model given these four channels:
The output of an embedded model is a probability, which you can interpret as how similar your search is to a subset of the embedded model. You want to look for closeness of a “bad turn” to other malicious ones. Here, you can set thresholds for what to include versus what to exclude. Tuning and eval datasets are helpful here, so you can figure out whether an 85% vs 95% match is what you want.
There are some drawbacks that Jeffes points out, but I’ll try to put into my own words:
Your “channel” telemetry is only as good as what coding agents expose. Given the heterogeneity of coding agents, you might get varying levels of prompt/reasoning/tool/responses that might work well for Claude but not as well for Codex
Because this is a machine learning problem, data and labeling are key. The test Jeffes has in this blog post is on their personal corpus of prompts and turns, so doing this at scale is much harder
Where you store the embedded model dictates how you want to respond to malicious turns. I’ve talked to folks who want to embed things like this as close to the host as possible to block in real time, but you start to eat storage, and you add more operations into coding agents that can reduce their velocity. Tread carefully!
The rest of the blog is great; they run several experiments and show readers how to set this up with their own Elastic cluster, so please go check that out too!
🔬 State of the Art
Implementing Detection as Code as a multi-platform MSSP by Regan Carey
Six-time newsletter contributor Regan Carey put out this fascinating post detailing how they manage detection-as-code (DaC) at an MSSP. I’ve posted a ton of DaC content and research here, but most of it focuses on managing a ruleset for a single security environment. This makes sense: you want your internal teams to be able to manage their detection rules and integrate them into your organization’s deployment pipeline. The rules repository is the corpus, and each change to that corpus runs through DaC to eventually land in your one SIEM. But what if you have hundreds of environments, each with different technologies?
Much of the architecture remains the same as what you see in DaC:
A detection engineer commits a change to a new branch and a pull request is issued. A gate for an approver blocks deployment until they verify correctness through their own expertise, tooling, and a separate validation pipeline. When the validation pipeline passes and the approver +1s the P/R, it’s sent to the deployment pipeline. But how do you differentiate between rules going to one customer versus another? Here’s what Carey adds:
Organize rules into “content packs” so it’s easy to add, tune, or remove rules from packs without having to make changes in several areas
Specialized tooling to backtest rules against customer environments to prevent runaway rules or high false positives
Steer away from Sigma, which has a meta-rule language, and focus on the specific rule languages themselves to remove ambiguity
This is one of the better DaC posts I’ve read in a long time because architecture decisions are way more interesting once you land in an environment.
Hand an LLM your AWS keys. What does it do next? by Adan Alvarez
This was a fun experiment where Alvarez gave 14 models access to a controlled AWS environment and a secret key, then asked what they would do next with that access. There was some initial prompting to tell the agents this was an authorized security test, but once the agents were convinced they were doing something ethical, they launched several “next-hop” attacks. According to the data, most models wanted to learn their current permissions and map the environment, but began refusing to take more “destructive” actions, such as taking other secrets or moving laterally.
Alvarez links detection opportunities towards the end of the research, but most of the security fundamentals of cloud still apply here. Alert on everything from new identities being created, taking lots of secrets at once, or having an identity turn logging off.
ClickFix Observer by PassGuard
This is a cool interactive site that surfaces ClickFix malware lures with a full investigative chain from an AI agent. I’m unsure how exactly they source these websites, but an agent finishes the site, takes screenshots of the lure and then moves through the infection chain until it receives the payload. I’m guessing all they have to do to be successful here is to search “Install Claude” on Google every 15 minutes and they’ll get a fresh batch of ClickFix sites :P.
Videos
My friend Jared Stroud (who runs an excellent blog) had his DEFCON presentation recently published. In his Doctoral research, Jared spends a lot of time looking for vulnerabilities in open-source bootloader software. This software helps run some of the biggest parts of the Internet and software. An exploit against bootloader software can survive operating system wipes so it’s a critical area of research.
Jared’s research involves employing an agentic harness using traditional static code analysis tools with LLMs to find vulnerabilities. I highly recommend giving his talk a watch!
AI YouTube-thumbnail cringe aside, Kitboga does some amazing work combatting scammers and helping victims of call scams. He’s noticed a wave of AI scammer phone calls and schemes, so he walks through how to socially-engineer the AI voice service and messing with it’s system prompt. It’s hilarious and I can’t wait to try this for the next AI phone call that I am on !
Sponsor: MagicSword
Application control without the overhead
WDAC and ThreatLocker policies take time most teams don’t have. MagicSword builds policies automatically from research on what attackers abuse. No rules to write. Audit first, enforce in as little as 48 hours. Connect your AI via MCP.
Free forever.
☣️ Threat Landscape
The theme for the Threat Landscape section this week is Autonomous pentest agents. I’m reading a TON of security incident disclosures where companies detail a compromise that involved post-exploitation from open-source AI pentesting frameworks. I made this post on LinkedIn as a half-joke but half-serious observation into the state of these frameworks:
ARTEX is the biggest example I’ve seen but there are so many others.
On the hunt for ARTEX: understanding agentic attacks in AWS environments by Julie Agnes-Sparks
~ Note, I work at Datadog and Julie is my colleague! ~
Julie’s threat report gives a breakdown of activity the research team here has observed in environments where ARTEX was operating. It gives a great overview on it’s internal workflows which look like the AI-pilled version of Cobalt Strike’s graph, as well as how it’s very efficient at rotating through API keys if one gets banned.
Like most AI-based attacks I’ve seen disclosed to the world in the last 6 months, ARTEX just seems noisy. It tries a bunch of different paths while it begins to enumerate an environment, and it has to checkin with a central C2 control plane to report results. The detection opportunities for the most part remain the same from a behavioral perspective, such as looking for AWS activity indicative of a key scan or enumeration, but the IOCs and the UserAgents are a good first step to go hunting in your environments.
ARTEX: Agentic Asbestos by Silas Cutler
Silas (also friend of the newsletter!) has a blog from the Censys team that looks at how ARTEX and other “offensive harnesses” are deployed on the Internet. Much of their findings document publicly accessible ARTEX instances, and some of the unique findings from this research is that attackers like to “stack” these frameworks on one host. I don’t know if it’s just bad OPSEC, or honestly they are just bad at security, but I imagine attacks from these frameworks are going to be obvious for a security team to catch.
Update for October 30th, 2026 Data Security Incident by WorkOS
This is a follow-up RCA post from WorkOS’s initial security incident disclosure, but the TL;dr here is that WorkOS found ARTEX activity inside their environment and contained it. After they published their initial report, a security researcher reached out and admitted that their ARTEX agent broke out of it’s testing environment which led to the WorkOS breach.
I wonder if they were running this on the public internet? :)
Incident Report: October 21st Security Attack by Jacob Cooper, Angelo Saraceno, Sarah Bedell & Luca Casonato
In this report by the Railway security team, an autonomous agent “similar to ARTEX” gained access to the Railway build environment via a compromised build credential. Once they contained that specific scenario, they learned the attacker gained access to Railway source code and used that to find a secondary path back into Railway.
My big takeaway here is: source code leaks value pre-agents was secrets. It’s relatively easy to TruffleHog your way through a huge corpus of code and find keys. But it would take months to years to understand certain parts of a company codebase to have any idea on how you can exploit it, and even if you did learn that, it would probably be so stale that the information didn’t matter.
Now you can take a codebase, point an agent at it, and get several attack paths back in within days.
November 4, 2026 Public Notice of Security Incident by kernel.sh
Kernel is a company that provides browsing capabilities to AI agents. According to this security disclosure, an attacker got access to a compromised API key to their environment and used ARTEX to perform post-exploitation activities. The attacker gained access to a logging provider which held secrets and then used those secrets to pivot into a GPU cluster. This GPU cluster had customer sessions on it and the attacker gained access to them.
My takeaway: these agents are much faster at mapping and understanding the access that they have. And much like what you read in the previous two breach disclosures, and Adan Alvarez’s research above, will quickly ascertain environment details and can find nooks and crannies of your infrastructure to find more secrets. This TTP isn’t new but ARTEX seems to be very good at pivoting with this in mind.
🔗 Open Source
Agentic Offensive Harnesses - pick your poison!
I’ll list each one I found starting with ARTEX because nothing beats creating a carbon copy of one successful post-exploitation framework.
This is not the main repo since, according to Censys’ blog on ARTEX above, the main actor took the repository down and switched ARTEX to closed source. I wonder if they got a nice job offer from the PRC?
And the myriad of others..
Every week, I read, watch and listen to all the Detection Engineering content so you can consume it all in 10 minutes. Subscribe and get a weekly digest of the latest and greatest in threat detection engineering!
Generated by your browser's model. Nothing was sent anywhere.
Mentions (2)
- ARTEX Malware
- exploittotal[.]ai Domain
Reader notes
Notes are held for moderation. No account needed.