All rules, every day
The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.
18/11 SIGMA agent-framework stealer exfiltration to webhook.site (User-Agent runtime-diagnostics/1)PyPI: Microsoft's official agent-framework package ships two poisoned versions (1.26.1, 1.26.2) stealing Azure, GitHub and CI credentials high T1567 T1552.001 T1195.002
title: agent-framework 1.26.1 or 1.26.2 credential exfiltration to webhook.site
id: 0d00089a-4e52-4bc9-a149-8bacc39e2a5c
status: experimental
description: Detects the single HTTPS POST of the credential stealer shipped in the compromised Microsoft agent-framework PyPI releases 1.26.1 and 1.26.2, identified by its User-Agent (runtime-diagnostics/1 or af-runtime-diagnostics/1) or by the webhook.site path used for exfiltration. Requires TLS inspection or an explicit proxy logging the User-Agent and URI.
references:
- https://www.stepsecurity.io/blog/microsoft-agent-framework-pypi-package-compromised
- https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi
author: Threat Brief (tlpclear.fr)
date: 2026-11-18
tags:
- attack.exfiltration
- attack.t1567
- attack.credential-access
- attack.t1552.001
- attack.initial-access
- attack.t1195.002
logsource:
category: proxy
detection:
selection_ua:
c-useragent:
- 'runtime-diagnostics/1'
- 'af-runtime-diagnostics/1'
selection_path:
cs-host: 'webhook.site'
c-uri|contains: 'd381fd80-ec62-42ad-8f5c-d1b15103c9bb'
condition: 1 of selection_*
falsepositives:
- Unlikely; an internal tool reusing the same User-Agent string
level: high
Single HTTPS POST of the credential stealer in the poisoned 1.26.1 and 1.26.2 releases, recognised by its User-Agent or by the webhook.site exfiltration path; requires a proxy logging User-Agent and URI. False positives: unlikely: internal tool reusing the same User-Agent.
1 quote from the sources
- “POSTed in one request to https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry with Content-Type application/octet-stream and User-Agent runtime-diagnostics/1 ( af-runtime-diagnostics/1 in 1.26.1)” www.stepsecurity.io
18/11 XQL agent-framework stealer .pth hook or module written to diskPyPI: Microsoft's official agent-framework package ships two poisoned versions (1.26.1, 1.26.2) stealing Azure, GitHub and CI credentials high T1195.002 T1546 T1552.001
// Threat Brief 2026-11-18 · agent-framework PyPI 1.26.1 / 1.26.2 · experimental
// Startup hook (.pth) or payload module of the poisoned wheels written to disk
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE
| filter action_file_name in ("agent_framework_meta.pth", "af_runtime_diag.pth", "af_runtime_diag.py") or action_file_path contains "agent_framework_meta/_telemetry.py"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name, action_file_sha256
Write of agent_framework_meta.pth, af_runtime_diag.pth, af_runtime_diag.py or agent_framework_meta/_telemetry.py: the hook runs at every Python start, even without importing the framework. False positives: analysis or quarantine of the wheels by a security team.
3 quotes from the sources
- “it drops a .pth file into the site-packages root ( agent_framework_meta.pth in 1.26.1, af_runtime_diag.pth in 1.26.2)” www.wiz.io
- “1.26.2 uses af_runtime_diag.pth → af_runtime_diag.py” socket.dev
- “agent_framework_meta/_telemetry.py collects credentials asynchronously” socket.dev
18/11 YARA agent-framework 1.26.1 and 1.26.2 credential stealer and .pth hookPyPI: Microsoft's official agent-framework package ships two poisoned versions (1.26.1, 1.26.2) stealing Azure, GitHub and CI credentials high T1195.002 T1552.001
rule TB_20261118_agent_framework_pth_stealer
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-18"
reference = "https://socket.dev/blog/agent-framework-pypi-package-compromised-with-credential-stealer?utm_medium=feed"
description = "Credential stealer and .pth startup hook of the compromised agent-framework PyPI releases 1.26.1 and 1.26.2"
status = "experimental"
strings:
$enc = "aHR0cHM6Ly93ZWJob29rLnNpdGUvZDM4MWZkODAtZWM2Mi00MmFkLThmNWMtZDFiMTUxMDNjOWJi" ascii
$guard = "_AF_TEL" ascii
$ua1 = "af-runtime-diagnostics/1" ascii
$ua2 = "runtime-diagnostics/1" ascii
$hook = "Lightweight runtime diagnostics hook" ascii
$gh = "ACTIONS_ID_TOKEN_REQUEST_URL" ascii
$ado = "SYSTEM_OIDCREQUESTURI" ascii
$pth1 = "import agent_framework_meta" ascii
$pth2 = "import af_runtime_diag" ascii
condition:
(filesize < 200KB and ($enc or ($guard and 2 of ($ua*, $hook, $gh, $ado))))
or (filesize < 256 and 1 of ($pth*))
}
Matches the stealer module (Base64-encoded exfiltration URL, _AF_TEL guard, User-Agent, GitHub and Azure DevOps OIDC tokens) and the one-line .pth files importing it. False positives: sample copies in analysis repositories.
8 quotes from the sources
- “_ENC = "aHR0cHM6Ly93ZWJob29rLnNpdGUvZDM4MWZkODAtZWM2Mi00MmFkLThmNWMtZDFiMTUxMDNjOWJi"” socket.dev
- “if os.environ.get( "_AF_TEL" ): return” socket.dev
- “# Lightweight runtime diagnostics hook try” socket.dev
- “u = os.environ.get( "ACTIONS_ID_TOKEN_REQUEST_URL" )” socket.dev
- “SYSTEM_ACCESSTOKEN and SYSTEM_OIDCREQUESTURI for Azure DevOps federation tokens” socket.dev
- “agent_framework_meta.pth contains one line: import agent_framework_meta” www.wiz.io
- “a 23-byte af_runtime_diag.pth containing a single line, import af_runtime_diag” www.stepsecurity.io
- “User-Agent runtime-diagnostics/1 ( af-runtime-diagnostics/1 in 1.26.1)” www.stepsecurity.io
17/11 YARA OPTIMJACK track.js payload (clipper, skimmer, iOS loader)Optimizely: a signup flow flaw exploited to hijack scripts served to about 180 organisations (OPTIMJACK) high T1195.002 T1056.003
rule TB_20261117_OPTIMJACK_track_js
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-17"
reference = "https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer"
description = "OPTIMJACK track.js (crypto clipper, card skimmer, iOS stage loader) served through Optimizely-hosted scripts: payload host, exfiltration paths, iOS iframe path and page globals"
status = "experimental"
strings:
$host = "1688360.cc" ascii nocase
$ios = "/JIUJIU888/weifile.html" ascii
$p1 = "/card.php" ascii
$p2 = "/hit.php" ascii
$p3 = "html2canvas.min.js" ascii
$g1 = "_qxc" ascii
$g2 = "_shot" ascii
condition:
uint16(0) != 0x5a4d and filesize < 500KB and ($ios or ($host and 1 of ($p*)) or (all of ($g*) and 2 of ($p*)))
}
Matches the JavaScript payload, or a copy embedded in an Optimizely script, by its host, exfiltration paths, iOS iframe path and page globals; the payload changed four times on 16/11, hence a content rule rather than a hash. Does not cover the Base64-encoded loader. False positives: analysis reports or blocklists quoting these paths.
4 quotes from the sources
- “/track.js , /html2canvas.min.js , /hit.php , /card.php” www.stepsecurity.io
- “/boot.js , /JIUJIU888/weifile.html , /JIUJIU888/index.js , /A8/a.html” www.stepsecurity.io
- “window._k7 , window._cc , window._qxc , window._shot” www.stepsecurity.io
- “It adds a script tag for https://1688360[.]cc/track.js” www.stepsecurity.io
17/11 SIGMA Proxy request for the OPTIMJACK payload or the iOS second stageOptimizely: a signup flow flaw exploited to hijack scripts served to about 180 organisations (OPTIMJACK) high T1195.002 T1189 T1056.003
title: OPTIMJACK payload or iOS stage requested through the proxy (Optimizely-hosted scripts)
id: 7c008adb-fd90-4fd5-888a-8d938343ddac
status: experimental
description: Detects browser requests for the OPTIMJACK payload and exfiltration paths on 1688360.cc (track.js, html2canvas.min.js, hit.php, card.php) or for the iOS second stage path /JIUJIU888/ served from .icu hosts, injected into Optimizely-hosted scripts on 16 November 2026.
references:
- https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer
author: Threat Brief (tlpclear.fr)
date: 2026-11-17
tags:
- attack.initial-access
- attack.t1195.002
- attack.t1189
- attack.collection
- attack.t1056.003
logsource:
category: proxy
detection:
selection_payload:
cs-host|endswith: '1688360.cc'
c-uri|contains:
- '/track.js'
- '/html2canvas.min.js'
- '/hit.php'
- '/card.php'
selection_ios:
c-uri|contains:
- '/JIUJIU888/weifile.html'
- '/JIUJIU888/index.js'
condition: 1 of selection_*
falsepositives:
- Security researchers or sandboxes retrieving the payload for analysis
level: high
Browser requesting track.js, html2canvas.min.js, hit.php or card.php on 1688360.cc, or the /JIUJIU888/ path of the iOS second stage: endpoint or visitor exposed to the clipper and skimmer injected into Optimizely scripts (StepSecurity). False positives: researchers or sandboxes retrieving the payload for analysis.
4 quotes from the sources
- “/track.js , /html2canvas.min.js , /hit.php , /card.php” www.stepsecurity.io
- “/boot.js , /JIUJIU888/weifile.html , /JIUJIU888/index.js , /A8/a.html” www.stepsecurity.io
- “window._k7 , window._cc , window._qxc , window._shot” www.stepsecurity.io
- “It adds a script tag for https://1688360[.]cc/track.js” www.stepsecurity.io
15/11 YARA Backdoored extension.js of the Claude Code extension (Cursor)Cursor: a key held by Fireworks AI, stolen agent traces and a trojanised Claude Code extension served for 11 hoursalso on 31/10 high T1195.002 T1098.004
rule TB_20261115_Cursor_ClaudeCode_extension_js
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-15"
reference = "https://cursor.com/blog/claude-code-extension-security-notice"
description = "Backdoored extension.js of the trojanised Anthropic.claude-code 2.1.312 and 2.1.313 extension (Cursor marketplace, 29 October 2026)"
status = "experimental"
strings:
$key = "svc-telemetry" ascii
$ip = "134.209.82.225" ascii
$tun = ":0:localhost:22" ascii
condition:
filesize < 15MB and $key and ($ip or $tun)
}
Script containing the svc-telemetry SSH key comment together with the attacker IP or the reverse tunnel forwarding string, as described by Cursor for the malicious extension.js. False positives: Security reports or remediation scripts quoting these indicators.
2 quotes from the sources
- “svc-telemetry” cursor.com
- “ssh -N -R '*:0:localhost:22'” cursor.com
14/11 XQL Backdoored ARTEX Docker image (tomicdd/artex, congdonglinux/artex) pulled or runARTEX and AI pentest frameworks: FBI flash alert, Talos, Elastic and Unit 42 analyses high T1195.002 T1610
// Threat Brief 2026-11-14 · ARTEX backdoored Docker image · experimental // Pull or run of the backdoored ARTEX images, or start of the backdoored /app/artex binary config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START | filter action_process_image_command_line contains "tomicdd/artex" or action_process_image_command_line contains "congdonglinux/artex" or action_process_image_sha256 = "d5070f52262effe216b840711343bff8f2787f39208d887d8dfd9c673f8d1573" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line, action_process_image_sha256
Process start whose command line names one of the two backdoored ARTEX images, or start of the backdoored /app/artex binary (hash from the IOC feed): an internal ARTEX install that hands root to a third party. False positives: Security researcher analysing the backdoored image in a lab.
2 quotes from the sources
- “tomicdd/artex , congdonglinux/artex” www.stepsecurity.io
- “Docker removed the image on November 5, along with an identical second image, congdonglinux/artex” www.stepsecurity.io
10/11 YARA SleepyDuck loader from bee-js 13.3.0 and Swarm Desktop 0.56.2Supply chain: bee-js 13.3.0 and Swarm Desktop 0.56.2 deliver the SleepyDuck backdoor high T1195.002 T1059.007
rule TB_20261110_beejs_SleepyDuck_loader
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-10"
reference = "https://socket.dev/blog/bee-js-compromise"
description = "SleepyDuck loader from bee-js 13.3.0 (scripts/generate-version.cjs) and Swarm Desktop 0.56.2 (Electron main process)"
status = "experimental"
strings:
$d = "frameworkmetrics.xyz" ascii wide
$p1 = "/v1/analytics" ascii wide
$p2 = "/v1/electron" ascii wide
$p3 = "/v1/swarm/report" ascii wide
$h = "X-Ethersphere" ascii wide nocase
condition:
filesize < 200MB and $d and 1 of ($p*, $h)
}
Matches generate-version.cjs, index.js or app.asar containing the stage 1 domain and the paths /v1/analytics, /v1/electron, /v1/swarm/report or the X-Ethersphere header. False positives: analysis reports or IOC lists containing these strings.
10/11 XQL SleepyDuck persistence (systemd, LaunchAgent, ScreenConnect) or traffic to a C2 hub on 4912Supply chain: bee-js 13.3.0 and Swarm Desktop 0.56.2 deliver the SleepyDuck backdoor high T1543.002 T1543.001 T1219 T1102 T1195.002
// Threat Brief 2026-11-10 · bee-js / Swarm Desktop (SleepyDuck) · experimental
// Persistence (systemd, LaunchAgent, ScreenConnect service) and traffic to C2 hubs on :4912
config case_sensitive = false
| dataset = xdr_data
| filter (event_type = ENUM.FILE and (action_file_path contains "solidity-langsupport-runner" or action_file_path contains "com.solidity.langsupport.runner" or action_file_path contains "/.solidity/")) or (event_type = ENUM.REGISTRY and action_registry_key_name contains "ScreenConnect Client (5cbe79c9c25524df)") or (event_type = ENUM.NETWORK and action_remote_port = 4912 and action_remote_ip in ("193.57.9.155", "193.57.9.17", "178.16.54.222", "107.189.27.223", "107.189.27.46", "91.108.240.156", "107.189.16.215"))
| fields _time, agent_hostname, event_type, actor_process_image_name, actor_process_command_line, action_file_path, action_registry_key_name, action_remote_ip, action_remote_port
Covers Linux, macOS and Windows: persistence files, ScreenConnect Client (5cbe79c9c25524df) service silently installed, connections to active C2 hubs on port 4912. False positives: Legitimate ScreenConnect: instance ID 5cbe79c9c25524df is specific to the campaign.
10/11 SIGMA solidity-langsupport-runner systemd unit or ~/.solidity/ directory (SleepyDuck)Supply chain: bee-js 13.3.0 and Swarm Desktop 0.56.2 deliver the SleepyDuck backdoor high T1543.002 T1195.002
title: SleepyDuck backdoor persistence (bee-js 13.3.0, Swarm Desktop 0.56.2) on Linux
id: 76d67032-7a00-4eaf-9aa8-28265fb9c92f
status: experimental
description: Creation of the solidity-langsupport-runner.service systemd unit or files under ~/.solidity/, persistence for the Go stage 3 delivered by bee-js 13.3.0 and Swarm Desktop 0.56.2 (Socket).
references:
- https://socket.dev/blog/bee-js-compromise
author: Threat Brief (tlpclear.fr)
date: 2026-11-10
tags:
- attack.persistence
- attack.t1543.002
- attack.t1195.002
logsource:
product: linux
category: file_event
detection:
selection_unit:
TargetFilename|endswith: '/solidity-langsupport-runner.service'
selection_dir:
TargetFilename|contains: '/.solidity/'
condition: 1 of selection_*
falsepositives:
- Legitimate Solidity development tool writing to ~/.solidity/ (rare, verify)
level: high
Linux persistence for the Go backdoor delivered by bee-js 13.3.0 and Swarm Desktop 0.56.2, described by Socket. False positives: legitimate Solidity tool writing to ~/.solidity/.
09/11 SIGMA Bun downloaded and executed from /tmp/.b_ (strutil-core)RubyGems strutil-core 1.0.1: testmetest worm returns, with wiper on revocation high T1195.002 T1059.007
title: strutil-core, Bun runtime downloaded and executed from /tmp/.b_ during gem installation
id: 903a33fd-d22e-47b7-88c9-4f68d33b9eec
status: experimental
description: Malicious strutil-core 1.0.1 gem extconf.rb script (testmetest worm) downloads Bun 1.2.18 to /tmp/.b_<pid> then executes bun run against the index.js payload.
references:
- https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem
author: Threat Brief (tlpclear.fr)
date: 2026-11-09
tags:
- attack.execution
- attack.t1195.002
- attack.t1059.007
logsource:
product: linux
category: process_creation
detection:
selection_bun:
Image|startswith: '/tmp/.b_'
Image|endswith: '/bun'
CommandLine|contains: ' run '
selection_curl:
Image|endswith: '/curl'
CommandLine|contains|all:
- 'oven-sh/bun/releases/download/bun-v1.2.18/'
- '/tmp/.b_'
condition: 1 of selection_*
falsepositives:
- Legitimate installation script staging Bun in a temporary directory named .b_ (unlikely)
level: high
Execution during gem installation: extconf.rb downloads Bun 1.2.18 into /tmp/.b_<pid> then executes bun run on index.js. False positives: legitimate installer staging Bun in a .b_ temporary directory (unlikely).
09/11 YARA testmetest worm index.js and sync.pyRubyGems strutil-core 1.0.1: testmetest worm returns, with wiper on revocation high T1195.002 T1059.006
import "hash"
rule TB_20261109_strutil_core_testmetest
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-09"
reference = "https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem"
description = "index.js payload and sync.py backdoor of the testmetest worm (strutil-core 1.0.1 gem): markers and hashes published by Socket"
status = "experimental"
strings:
$m1 = "msync-3f7a" ascii
$m2 = "AutoSyncComplete" ascii
$m3 = "paleasbest.top" ascii
$m4 = "/var/tmp/.fontconfig_state" ascii
$m5 = "net-health-checker" ascii
$m6 = "workspace-tools" ascii
$m7 = "bun-v1.2.18" ascii
condition:
uint16(0) != 0x5a4d and uint32(0) != 0x464c457f and filesize < 8MB and
(
2 of ($m1, $m2, $m3, $m4) or
($m3 and 2 of ($m5, $m6, $m7)) or
hash.sha256(0, filesize) == "c7ef186aa59b67d9b198a14f6dc8aaee6dd86510ac7c37d28f65d310cd846411" or
hash.sha256(0, filesize) == "306c1deec402e8b4a6478e7f0fe02194bcd224d37d8fc6ba61ad1951e8abd7a9" or
hash.sha256(0, filesize) == "c5264f3b9cf2f95c83a70b7dd7430aab8abc262b853dbbcd5386c3a8a9c74769"
)
}
msync-3f7a, AutoSyncComplete, paleasbest.top markers and hashes published by Socket for payload, backdoor and installer. False positives: analysis reports or rule repositories containing these strings.
03/11 YARA extension.js of the weaponised Claude Code loaderTrojanised "Claude Code" extension on the Cursor marketplace: SSH backdoor high T1195.002 T1098.004
rule TB_20261103_ClaudeCode_Cursor_extension_loader
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-03"
reference = "https://opensourcemalware.com/blog/trojanized-claude-code-extension-plants-persistent-ssh-backdoor"
description = "Weaponised extension.js from anthropic.claude-code extension (Cursor marketplace): svc-telemetry key, authorized_keys, and reverse SSH tunnel"
status = "experimental"
strings:
$k1 = "svc-telemetry" ascii
$k2 = "authorized_keys" ascii
$k3 = "134.209.82.225" ascii
$k4 = "localhost:22" ascii
$k5 = "child_process" ascii
condition:
filesize < 30MB and $k5 and 3 of ($k1, $k2, $k3, $k4)
}
Strings from the injected loader prepended to extension.js: svc-telemetry key, authorized_keys, tunnel to 134.209.82.225. False positives: None known.
opensourcemalware.comwww.helpnetsecurity.comSee 03/11 with its edition →