James (@jamesspi) header
James (@jamesspi) profile picture

Helping folk do security things with @elastic. Views are my own. Creator of https://teapawt.net/t.co/FY2IQ2eAhe, https://teapawt.net/t.co/aDuzYgUuYw, https://teapawt.net/t.co/qz9J8Kb0v3 and https://teapawt.net/t.co/eiiVHgqb5G

Parker, CO
Joined April 2009
Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)Photo by James (@jamesspi)
Attackers are using legitimate AI coding assistants to execute malicious commands on compromised endpoints. In two confirmed intrusions, Elastic Threat Command observed adversaries operating cyber attacks through Claude Code on Windows and the ChatGPT desktop app on macOS. Both involved trusted applications being used to carry out malicious activity. @_xDeJesus principal security research engineer at Elastic Threat Command, walks through the findings and what security teams should be looking for: go.es.io/47ZcxMM The findings highlight a detection challenge: These applications are signed and authorized to execute commands, making it difficult to distinguish legitimate activity from attacker behavior. The speed of these attacks is another concern. Elastic researchers observed an average of just eight minutes between ClickFix/infostealer infection and attackers logging in with stolen credentials. In the latest threats, etc quarterly report, Elastic Threat Command documents these intrusions and examines the implications for endpoint visibility, behavioral detection, and threat hunting. Full report: go.es.io/4sO5G2k
5
8
2
34
1,595
James retweeted
🚀 161 new Elastic Security detection rules in 2 months! From AI security and RMM & ClickFix to Kubernetes parity, ESXi, cloud identity, Linux, macOS and network threats. Huge effort from our TRADE team. Proud of what we've achieved! 👏 elastic.co/guide/en/security…
6
8
82
5,533
James retweeted
‼️ ok, this might be the first publicly documented, validated PHP2Shell RCE in the wild. my agent did the analysis, published here: github.com/0x4D31/honeypot-d…
🧵👀 ahh shit, might’ve caught a potential RCE. investigating…
10
45
6
298
55,823
I wasn’t there in person, but I had a blast building this. Thanks everyone who participated in the @elastic BTV CTF at DEFCON. And “spames-jiteri”, thank you, you made my day 😂😂😂
1
240
The @huggingface team did an incredible job with this write up and the incident replay. The detail was excellent, nothing was spared. Thank you for setting a (hopefully) new standard on these reports here! huggingface.co/blog/agent-in… huggingface-anatomy-of-front… It inspired me enough to take the detail they provided and create a script to emulate the behaviors and events for anyone wishing to replay them in @elastic security. Also highlighted which detections/preventions would have helped here, as well as some examples of other detections too. More details below: hf-incident.threatsearch.io github.com/jamesspi/hf-incid… Have fun, and please feel free to contribute in the repo! Thank you again, Hugging Face, for the reports and detail!
17
7
119
387,716
wp2shell PoCs went public within hours of disclosure, and we are seeing active exploitation. Pre-auth RCE in WordPress Core. No plugins required. CVE-2026-63030 and CVE-2026-60137. We ran the Icex0 PoC end-to-end with Elastic Defend. On the host, every run ends the same way. The web server writes PHP under wp-content/plugins/, then spawns a shell. 4 rules caught it: - Payload Execution by Web Server: EDR, kills the shell on launch - PHP File Creation in WordPress Plugin Directory: catches the drop before execution - Suspicious Command Execution via Web Server: flags discovery commands from the web parent - Unusual Command Execution via Web Server: alerts on command lines the host has never run The PoC self-cleans after running. A missing plugin folder doesn't mean a clean host. Patch to 7.0.2 or 6.9.5. Hunt the IOCs while tooling is still stock. Full rule walkthrough, process lineage, and Attack Discovery correlation: go.es.io/4wW8NpB
1
21
2
71
4,924
7 trojanized repos targeting developers. Zero detections across every AV vendor. Elastic Security Labs is tracking a new Contagious Interview campaign (REF9403) where DPRK-aligned actors distribute fake coding challenges through Slack job postings. The repos masquerade as real Next.js e-commerce projects. The code was copied from a legitimate template called GoCart. The difference is steganography. Base64 payload fragments are hidden inside HTML comments in SVG flag images. A script reassembles them alphabetically, decodes with a custom function, and runs on server start. What deploys: - Credential stealer targeting 25 crypto wallet extensions plus browser login data - File stealer scanning for .env, .pem, .ssh, .aws, documents, images, shell history, and source code - Socket. IO RAT providing real-time interactive shell access - Clipboard stealer polling every 500ms, plus a Windows dropper downloading 3 disguised executables from the C2 Full analysis from Elastic Security Labs by @danielstepanic : go.es.io/4fqEhgp
2
30
71
4,827
We tracked a new activity cluster targeting Mexican banking customers. Elastic Security Labs discovered REF6045, an operator-assisted banking fraud campaign targeting customers of Mexican banks, fintechs, and cryptocurrency platforms through ClickFix fake-CAPTCHA lures. The operation exhibits a reliance on AI-generated code and suffers from significant operational security (OPSEC) failures that exposed their infrastructure and their toolkit. The toolkit gives operators a full fraud workflow from: •Vishing overlay: lock the screen behind a fake bank warning •Browser redirect: paste a phishing URL via automated keystrokes •Clipboard swap: replace CLABE or card numbers mid-transfer •Remote access: install Remote Utilities for hands-on takeover Research by @k33b0i and @soolidsnakee. Full analysis from Elastic Security Labs: go.es.io/4eP6VZF
2
26
71
6,260
James retweeted
new detection content for Kubernetes covering a variety of techniques using k8 audit logs: github.com/elastic/detection…
50
165
13,089
Built something new to showcase what's possible with @elastic's Workflow and Agent Builder capabilities in 9.4. Lurelit - an agentic screenshot analyzer for phishing and smishing attempts. Entirely powered by an Elastic workflow, end-to-end. Upload a screenshot of a suspicious message. The workflow handles the rest: AI vision analysis extracts IOCs and classifies the threat VirusTotal and urlscan.io enrich every URL and domain Automated ES|QL hunting across your Elastic environment Human-in-the-loop gates before proceeding with hunts Token consumption tracking with per-model cost breakdowns It demonstrates Workflows GA, Agent Builder's new skills framework, the connector framework, the consumption API, and human-in-the-loop steps with conditional triggers. The workflow is 700+ lines of configuration. I didn't write a single line. The natural language workflow authoring skill built the entire thing. Code, docs, bootstrapping UI, and sample data included. lurelit.ai | github.com/jamesspi/lurelit
1
11
916
James retweeted
Agent Builder in Elastic 9.4 cuts token costs by up to 40%. Not by truncating context, but by enabling agents to manage it independently. Four mechanisms do the work: • Dynamic skill loading: instructions load only when needed, not all at once • Conversation context store: large result sets stay out of the prompt until required • Selective compaction: long conversations compress without losing what matters • OAuth connectors: query Google Drive, Salesforce, Slack without copying data In internal testing, dynamic skills alone cut input token usage by 21 to 39%. Top snippets retrieval added another 27 to 34% reduction. Context window stays stable past 30 turns. Without this, it balloons to max size by turn twelve.
1
3
12
1,546
James retweeted
Elastic 9.4 is now available, bringing new advancements across the Elasticsearch Platform. Key new features: • Elastic Workflows GA, scripted automation and agentic reasoning enable AI agents to act on their findings • Elastic Agent Builder enhancements optimize context, transforming agents from open-ended prompts into controlled, action-driven systems • Native Prometheus and PromQL support, with significant TSDB efficiency improvements, position Elastic Observability as a compelling alternative to competing metrics solutions and enable a single platform across logs, metrics, and traces Transform data into answers, actions, and outcomes. Learn more: go.es.io/4tZVi7q
5
3
19
4,888
We have identified a novel social engineering campaign abusing Obsidian, the popular note taking app, to deliver a previously undocumented RAT #PHANTOMPULSE and it’s loader #PHANTOMPULL targeting individuals in finance and crypto. The attack never exploits a vulnerability. It abuses Obsidian's own plugin ecosystem to execute code the moment a victim opens a shared vault. Full analysis: go.es.io/4cld0dB
3
42
6
115
15,001
Quick new thing, in case it helps anyone. explainpls.ai Have fun!
3
130
James retweeted
We open sourced the tool used to detect the Axios supply chain compromise! I built it Friday after a red eye home from RSAC. Also, wrote up the full story, including the hectic moments after that first critical alert github.com/elastic/supply-ch…
32
245
18
1,286
138,563
‼️ Meet the guy almost everyone loves for alerting the axios devs about the supply chain attack. He built a supply chain monitoring system last week, and was alerted within minutes of the axios compromise. The world should be thanking Elastic Security's finest: Joe @dez_
‼️ Meet the guy almost everyone hates for releasing a PoC for a MongoDB unauthenticated memory leak exploit dubbed Mongobleed the day after Christmas. This is allegedly the vulnerability used to breach Ubisoft, which led to the R6 chaos.
13
104
6
1,435
145,480
ElasticSecurityLabs detects the Axios npm supply chain attack across Linux, Windows & macOS. Our behavioral detections caught it without relying on static indicators. Full malware analysis dropping soon: go.es.io/488UwvJ
21
2
48
6,787
James retweeted
Elastic Cloud Hosted on AWS GovCloud (US) achieves FedRAMP® High authorization, continuing our team’s longstanding commitment to the highest levels of security and efficiency for sensitive government data. go.es.io/4s4cVAS
15
8
1,171
James retweeted
We are working it, sharing what we know as of now - gist.github.com/joe-desimone…
Replying to @npmjs
@npmjs @GHSecurityLab there is an active supply chain attack on [email protected] which pulls in a malicious package published today - [email protected] - someone took over a maintainer account for Axios
7
55
7
225
113,763
APT confirmation used to take hours. Now it takes 4 minutes. Attack Discovery correlates alerts into a single narrative. A workflow triggers the agent. The agent: • Looks up the hash on VirusTotal • Runs ES|QL queries across your logs • Finds the on-call analyst • Creates a case • Opens a Slack incident channel All before you read the threat intel report.
1
34
1
189
11,672