Règles de détection · Sigma, Cortex XQL, YARA

Toutes les règles, tous les jours

Le catalogue des règles Threat Brief depuis le début : filtrez par format, période, niveau ou technique ATT&CK, ouvrez une règle pour lire son code, et récupérez la sélection en un fichier.

14 règles sur 8 jours · technique T1195.002 (retirer) Plus récentes d'abord
DateFormatRègle et sujetNiveauATT&CK
18/11 SIGMA Exfiltration du voleur agent-framework vers webhook.site (User-Agent runtime-diagnostics/1)PyPI : le paquet officiel Microsoft agent-framework publie deux versions piégées (1.26.1, 1.26.2) qui volent identifiants Azure, GitHub et CI élevé T1567 T1552.001 T1195.002
tb-2026-11-18-exfiltration-du-voleur-agent-framework-vers-webhook-site-use.ymlTélécharger la règle Sigma
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
sigma : analysée et convertie (splunk, lucene) proxy Licence DRL 1.1

POST HTTPS unique du voleur d'identifiants des versions piégées 1.26.1 et 1.26.2, reconnu à son User-Agent ou au chemin webhook.site d'exfiltration ; suppose un proxy qui journalise User-Agent et URI. Faux positifs : peu probable : outil interne reprenant le même User-Agent.

1 citation des 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 Hook .pth ou module du voleur agent-framework écrit sur disquePyPI : le paquet officiel Microsoft agent-framework publie deux versions piégées (1.26.1, 1.26.2) qui volent identifiants Azure, GitHub et CI élevé T1195.002 T1546 T1552.001
tb-2026-11-18-hook-pth-ou-module-du-voleur-agent-framework-crit-sur-disque.xqlRègle de corrélation XSIAM
BIOC
Télécharger la requête XQL
// 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
xql : relue, non exécutée xdr_data (fichiers) Licence DRL 1.1

Écriture des fichiers agent_framework_meta.pth, af_runtime_diag.pth, af_runtime_diag.py ou agent_framework_meta/_telemetry.py : le hook s'exécute à chaque démarrage de Python, même sans import du framework. Faux positifs : analyse ou mise en quarantaine des wheels par une équipe sécurité.

3 citations des 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 Voleur d'identifiants et hook .pth d'agent-framework 1.26.1 et 1.26.2PyPI : le paquet officiel Microsoft agent-framework publie deux versions piégées (1.26.1, 1.26.2) qui volent identifiants Azure, GitHub et CI élevé T1195.002 T1552.001
tb-2026-11-18-voleur-d-identifiants-et-hook-pth-d-agent-framework-1-26-1-e.yarTélécharger la règle YARA
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*))
}
yara : compilée fichier Python ou .pth (site-packages) Licence DRL 1.1

Reconnaît le module voleur (URL d'exfiltration encodée en Base64, garde-fou _AF_TEL, User-Agent, jetons OIDC GitHub et Azure DevOps) et les fichiers .pth d'une ligne qui l'importent. Faux positifs : copies des échantillons dans des dépôts d'analyse.

8 citations des 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 Charge track.js d'OPTIMJACK (clipper, skimmer, chargeur iOS)Optimizely : une faille du parcours d'inscription exploitée pour piéger les scripts d'environ 180 organisations (OPTIMJACK) élevé T1195.002 T1056.003
tb-2026-11-17-charge-track-js-d-optimjack-clipper-skimmer-chargeur-ios.yarTélécharger la règle YARA
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*)))
}
yara : compilée fichier JavaScript Licence DRL 1.1

Reconnaît la charge JavaScript ou une copie embarquée dans un script Optimizely par son hôte, ses chemins d'exfiltration, le chemin de l'iframe iOS et ses variables globales ; la charge a changé quatre fois le 16/11, d'où une règle sur le contenu plutôt que sur un hash. Ne couvre pas le chargeur encodé en Base64. Faux positifs : rapports d'analyse ou listes de blocage qui citent ces chemins.

4 citations des sources
17/11 SIGMA Requête proxy vers la charge OPTIMJACK ou le second étage iOSOptimizely : une faille du parcours d'inscription exploitée pour piéger les scripts d'environ 180 organisations (OPTIMJACK) élevé T1195.002 T1189 T1056.003
tb-2026-11-17-requ-te-proxy-vers-la-charge-optimjack-ou-le-second-tage-ios.ymlTélécharger la règle Sigma
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
sigma : analysée et convertie (splunk, lucene) proxy Licence DRL 1.1

Navigateur demandant track.js, html2canvas.min.js, hit.php ou card.php sur 1688360.cc, ou le chemin /JIUJIU888/ du second étage iOS : poste ou visiteur exposé au clipper et au skimmer injectés dans des scripts Optimizely (StepSecurity). Faux positifs : chercheurs ou bacs à sable récupérant la charge pour analyse.

4 citations des sources
15/11 YARA extension.js piégé de l'extension Claude Code (Cursor)Cursor : une clé confiée à Fireworks AI, des traces d'agents volées et une extension Claude Code piégée pendant 11 heures élevé T1195.002 T1098.004
tb-2026-11-15-extension-js-pi-g-de-l-extension-claude-code-cursor.yarTélécharger la règle YARA
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)
}
yara : compilée fichier JavaScript (extension) Licence DRL 1.1

Script contenant le commentaire de clé SSH svc-telemetry avec l'IP de l'attaquant ou la chaîne de redirection du tunnel inverse, d'après la description de l'extension.js malveillant par Cursor. Faux positifs : rapports de sécurité ou scripts de remédiation citant ces indicateurs.

2 citations des sources
14/11 XQL Image Docker ARTEX piégée (tomicdd/artex, congdonglinux/artex) tirée ou lancéeARTEX et frameworks de pentest IA : flash alert du FBI, analyses Talos, Elastic et Unit 42 élevé T1195.002 T1610
tb-2026-11-14-image-docker-artex-pi-g-e-tomicdd-artex-congdonglinux-artex-.xqlRègle de corrélation XSIAM
BIOC
Télécharger la requête XQL
// 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
xql : relue, non exécutée xdr_data (processus) Licence DRL 1.1

Démarrage de processus dont la ligne de commande nomme l'une des deux images ARTEX piégées, ou lancement du binaire /app/artex piégé (hash du flux IOC) : installation interne d'ARTEX qui donne un accès root à un tiers. Faux positifs : chercheur analysant l'image piégée en laboratoire.

2 citations des sources
10/11 YARA Loader SleepyDuck de bee-js 13.3.0 et Swarm Desktop 0.56.2Supply chain : bee-js 13.3.0 et Swarm Desktop 0.56.2 livrent le backdoor SleepyDuck élevé T1195.002 T1059.007
tb-2026-11-10-loader-sleepyduck-de-bee-js-13-3-0-et-swarm-desktop-0-56-2.yarTélécharger la règle YARA
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)
}
yara : compilée fichier JS, archive asar ou installeur Licence DRL 1.1

Reconnaît generate-version.cjs, index.js ou app.asar contenant le domaine de stage 1 et les chemins /v1/analytics, /v1/electron, /v1/swarm/report ou l'en-tête X-Ethersphere. Faux positifs : rapports d'analyse ou listes d'IOC contenant ces chaînes.

10/11 XQL Persistance SleepyDuck (systemd, LaunchAgent, ScreenConnect) ou flux vers un hub C2 en 4912Supply chain : bee-js 13.3.0 et Swarm Desktop 0.56.2 livrent le backdoor SleepyDuck élevé T1543.002 T1543.001 T1219 T1102 T1195.002
tb-2026-11-10-persistance-sleepyduck-systemd-launchagent-screenconnect-ou-.xqlRègle de corrélation XSIAM
BIOC
Télécharger la requête XQL
// 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
xql : relue, non exécutée xdr_data, fichier, registre, réseau Licence DRL 1.1

Couvre Linux, macOS et Windows : fichiers de persistance, service ScreenConnect Client (5cbe79c9c25524df) installé en silence, connexions vers les hubs C2 du jour sur le port 4912. Faux positifs : ScreenConnect légitime : l'identifiant d'instance 5cbe79c9c25524df est propre à la campagne.

10/11 SIGMA Unité systemd solidity-langsupport-runner ou dossier ~/.solidity/ (SleepyDuck)Supply chain : bee-js 13.3.0 et Swarm Desktop 0.56.2 livrent le backdoor SleepyDuck élevé T1543.002 T1195.002
tb-2026-11-10-unit-systemd-solidity-langsupport-runner-ou-dossier-solidity.ymlTélécharger la règle Sigma
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
sigma : analysée et convertie (splunk, lucene) linux file_event Licence DRL 1.1

Persistance Linux du backdoor Go livré par bee-js 13.3.0 et Swarm Desktop 0.56.2, décrite par Socket. Faux positifs : outil Solidity légitime écrivant dans ~/.solidity/.

09/11 SIGMA Bun téléchargé et lancé depuis /tmp/.b_ (strutil-core)RubyGems strutil-core 1.0.1 : le ver testmetest revient, avec wiper à la révocation élevé T1195.002 T1059.007
tb-2026-11-09-bun-t-l-charg-et-lanc-depuis-tmp-b-strutil-core.ymlTélécharger la règle Sigma
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
sigma : analysée et convertie (splunk, lucene) linux process_creation Licence DRL 1.1

Exécution à l'installation du gem : extconf.rb télécharge Bun 1.2.18 dans /tmp/.b_<pid> puis lance bun run sur index.js. Faux positifs : installeur légitime plaçant Bun dans un répertoire temporaire .b_ (peu probable).

09/11 YARA index.js et sync.py du ver testmetestRubyGems strutil-core 1.0.1 : le ver testmetest revient, avec wiper à la révocation élevé T1195.002 T1059.006
tb-2026-11-09-index-js-et-sync-py-du-ver-testmetest.yarTélécharger la règle YARA
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"
        )
}
yara : compilée fichiers scripts (JS, Python, Ruby) Licence DRL 1.1

Marqueurs msync-3f7a, AutoSyncComplete, paleasbest.top et hashes publiés par Socket pour la charge, la porte dérobée et l'installeur. Faux positifs : rapports d'analyse ou dépôts de règles contenant ces chaînes.

03/11 YARA extension.js du loader Claude Code piégéExtension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH élevé T1195.002 T1098.004
tb-2026-11-03-extension-js-du-loader-claude-code-pi-g.yarTélécharger la règle YARA
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)
}
yara : compilée fichier JavaScript (extension.js) Licence DRL 1.1

Chaînes du loader injecté en tête de extension.js : clé svc-telemetry, authorized_keys, tunnel vers 134.209.82.225. Faux positifs : aucun connu.

31/10 YARA extension.js piégé de l'extension Claude Code (Cursor)Extension « Claude Code » trojanisée sur le marketplace Cursor : backdoor SSH persistante élevé T1195.002 T1098.004
tb-2026-10-31-extension-js-pi-g-de-l-extension-claude-code-cursor.yarTélécharger la règle YARA
import "hash"

rule TB_20261031_ClaudeCode_Cursor_trojanized_extension
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-10-31"
        reference = "https://www.microsoft.com/en-us/security/blog/2026/10/30/inside-malicious-claude-code-branded-cursor-extension-persistent-ssh-backdoor/"
        description = "Trojanised extension.js from anthropic.claude-code 2.1.312/2.1.313 (Cursor marketplace): svc-telemetry key, tunnel to 134.209.82.225, LaunchAgent com.apple.sysmond"
        status = "experimental"
    strings:
        $k = "svc-telemetry" ascii
        $ip = "134.209.82.225" ascii
        $la = "com.apple.sysmond" ascii
        $t = "localhost:22" ascii
    condition:
        filesize < 20MB and ( hash.sha256(0, filesize) == "ecb58cb29078d9646ad1dcdbe51526f2d9cfea06be5fb2ab183e8ecc3ab6bf15" or ( $ip and 2 of ($k, $la, $t) ) )
}
yara : compilée fichier JavaScript (extension VS Code/Cursor) Licence DRL 1.1

Reconnaît le loader en tête d'extension.js (chaînes de la clé svc-telemetry, de l'IP du tunnel, du LaunchAgent) ou le SHA256 publié. Faux positifs : copies de rapports ou d'IOC citant ces chaînes.