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.

13 règles sur 12 jours · 1 répétition masquée (afficher) Plus récentes d'abord
DateFormatRègle et sujetNiveauATT&CK
24/11 YARA Fichier MSBuild .targets du stager VS_Builder / HappyOne.MSBuildAnalyzerTreize paquets NuGet malveillants déguisés en test d'embauche WinUI 3 : exécution à chaque build MSBuild et préparation d'un side-loading osk.exe élevé T1195.001 T1127.001
tb-2026-11-24-fichier-msbuild-targets-du-stager-vs-builder-happyone-msbuil.yarTélécharger la règle YARA
rule TB_20261124_NuGet_MSBuildAnalyzer_targets
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-24"
        reference = "https://socket.dev/blog/malicious-nuget-packages-fake-job-assessments"
        description = "MSBuild targets file of the VS_Builder / HappyOne.MSBuildAnalyzer NuGet stager that runs MSBuildAnalyzer.dll after every build"
        status = "experimental"
    strings:
        $t1 = "ExecuteInlineCSharpTarget" ascii wide
        $t2 = "ForceExecuteNonExistenFile.txt" ascii wide
        $t3 = "MSBuildAnalyzer.dll" ascii wide
        $t4 = "_AnalyzerLibFolder" ascii wide
    condition:
        (uint8(0) == 0x3C or uint16(0) == 0xBBEF or uint16(0) == 0xFEFF) and filesize < 50KB and 3 of ($t*)
}
yara : compilée fichiers (cache NuGet, dépôts clonés) Licence DRL 1.1

Fichier build/*.MsBuildAnalyzer.targets qui lance dotnet MSBuildAnalyzer.dll après chaque build (cible ExecuteInlineCSharpTarget, sortie ForceExecuteNonExistenFile.txt), à chercher dans le cache NuGet et les dépôts de tests techniques. Faux positifs : copie du fichier conservée par un chercheur ou un outil d'analyse.

3 citations des sources
  • « ExecuteInlineCSharpTarget runs after Build and launches dotnet on MSBuildAnalyzer.dll » socket.dev
  • « Its Outputs value names ForceExecuteNonExistenFile.txt , a file that nothing creates » socket.dev
  • « < _AnalyzerLibFolder Condition » socket.dev
23/11 YARA Script d'installation ni.sh du malware GL.iNet GoodCloudGL.iNet : une faille de la plateforme cloud GoodCloud a servi à installer backdoors et reverse shells root sur routeurs et KVM élevé T1105 T1036.005 T1037
tb-2026-11-23-script-d-installation-ni-sh-du-malware-gl-inet-goodcloud.yarTélécharger la règle YARA
rule TB_20261123_GLiNet_nish_installer
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-23"
        reference = "https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/"
        description = "GL.iNet GoodCloud ni.sh installer: disguises its process as crond -i /tmp/.log and fetches gl-helper from the attacker servers"
        status = "experimental"
    strings:
        $masq = "crond -i /tmp/.log" ascii
        $helper = "gl-helper" ascii
        $ip1 = "66.245.219.252" ascii
        $ip2 = "65.20.71.131" ascii
    condition:
        uint16(0) == 0x2123 and filesize < 500KB and $masq and ($helper or any of ($ip*))
}
yara : compilée fichier script shell Licence DRL 1.1

Script shell qui déguise son processus en crond -i /tmp/.log et télécharge gl-helper depuis les serveurs de l'attaquant, examiné par BleepingComputer. Faux positifs : Le scanner communautaire ou des listes d'indicateurs qui reprennent les mêmes chaînes (exclure les outils de sécurité).

2 citations des sources
23/11 YARA Classe Java de l'outil de reconnaissance FabricShadow (BankWeaver)BankWeaver : Forescout décrit des web shells Java déposés sur des déploiements Temenos Quantum Fabric en accès anonyme élevé T1505.003 T1082
tb-2026-11-23-classe-java-de-l-outil-de-reconnaissance-fabricshadow-bankwe.yarTélécharger la règle YARA
rule TB_20261123_BankWeaver_FabricShadow_class
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-23"
        reference = "https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/"
        description = "FabricShadow reconnaissance service (BankWeaver) in a Java class file: RECON_* output markers and ReconPreProcessor or ReconJavaService names"
        status = "experimental"
    strings:
        $m1 = "RECON_PREPROCESSOR" ascii
        $m2 = "RECON_FROM_FABRIC" ascii
        $n1 = "ReconPreProcessor" ascii
        $n2 = "ReconJavaService" ascii
    condition:
        uint32be(0) == 0xCAFEBABE and filesize < 2MB and (any of ($m*)) and (any of ($n*))
}
yara : compilée fichier .class Java Licence DRL 1.1

Fichier .class portant les marqueurs RECON_* et les noms ReconPreProcessor ou ReconJavaService de FabricShadow ; à passer sur les JAR extraits (un JAR est compressé). Faux positifs : Aucun connu.

4 citations des sources
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
16/11 YARA Fichier de session PHP portant upload_progress_pwn (PHP2Shell, Check Point)Check Point CVE-2026-123039 : échéance KEV aujourd'hui, pas de fait nouveau, les marqueurs de compromission restent à chercher élevé T1190
tb-2026-11-16-fichier-de-session-php-portant-upload-progress-pwn-php2shell.yarTélécharger la règle YARA
rule TB_20261116_CheckPoint_PHP2Shell_session_marker
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-16"
        reference = "https://www.bleepingcomputer.com/news/security/check-point-gateways-hacked-via-php2shell-to-deploy-vmware-esxi-wiper/"
        description = "PHP session file on a Check Point Mobile Access gateway carrying the upload_progress_pwn key left by PHP2Shell exploitation (CVE-2026-109618 / CVE-2026-109619) before CVE-2026-123039 root escalation"
        status = "experimental"
    strings:
        $marker = "upload_progress_pwn" ascii
    condition:
        filesize < 1MB and $marker
}
yara : compilée fichiers de session PHP de la passerelle (analyse de fichiers) Licence DRL 1.1

Repère les fichiers de session contenant la clé upload_progress_pwn, signe d'exploitation de PHP2Shell sur les portails Mobile Access exposés avant le correctif, selon Check Point. À lancer sur le répertoire des sessions PHP de la passerelle. Faux positifs : Aucun attendu : la clé n'est pas utilisée par les sessions Mobile Access légitimes selon la source.

1 citation 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 heuresaussi le 31/10 é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
13/11 YARA TSGA / TSProxy, wiper destroy_v6 et webshell zz*.tpl (Check Point)Check Point Security Gateways : PHP2Shell puis CVE-2026-123039, webshells, backdoor TSGA et wiper élevé T1505.003 T1485 T1090
tb-2026-11-13-tsga-tsproxy-wiper-destroy-v6-et-webshell-zz-tpl-check-point.yarTélécharger la règle YARA
import "hash"

rule TB_20261113_CheckPoint_TSGA_TSProxy
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-13"
        reference = "https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"
        description = "TSGA backdoor (slot_CPconfigdaemon) and its embedded TSProxy library seen on Check Point gateways after PHP2Shell"
        status = "experimental"
    strings:
        $s1 = "slot_CPconfigdaemon" ascii
        $s2 = "libcpfwcommon.so" ascii
        $s3 = "/tmp/.p_sock" ascii
    condition:
        uint32(0) == 0x464c457f and filesize < 20MB and
        (2 of ($s*) or
         hash.sha256(0, filesize) == "4171b521fa6441382aa2fa014a08e18ff9a6e0ab6096c9144072bf46b37a2ec8" or
         hash.sha256(0, filesize) == "d7549671c7189979f0624ec52dad9ea6a707d23146e3585ab8f8c4720eca0c63")
}

rule TB_20261113_CheckPoint_destroy_v6_wiper
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-13"
        reference = "https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"
        description = "destroy_v6 Linux wiper dropping DREAM_ANNEXATION.txt notes, deployed on ESXi after the Check Point gateway intrusion"
        status = "experimental"
    strings:
        $note = "DREAM_ANNEXATION.txt" ascii
    condition:
        uint32(0) == 0x464c457f and filesize < 20MB and
        ($note or hash.sha256(0, filesize) == "c7d9477309fac6c638a1128442056a242de086996add8cb49cd6496c36003237")
}

rule TB_20261113_CheckPoint_tpl_webshell
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-13"
        reference = "https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"
        description = "Expanded zz*.tpl PHP webshell of the Mobile Access portal: hardcoded key and fixed upload path"
        status = "experimental"
    strings:
        $key = "zz2026" ascii
        $up = "/tmp/.up.tpl" ascii
    condition:
        filesize < 200KB and (($key and $up) or
        hash.sha256(0, filesize) == "edb3e92eb7bda7413a09edcc4b1ba3cbed4bcdf42808a8abce63b6e4c3fda2b3")
}
yara : compilée fichiers ELF et gabarits .tpl Licence DRL 1.1

Trois règles sur les fichiers décrits par Check Point Research : binaire TSGA et bibliothèque TSProxy, wiper destroy_v6 qui écrit DREAM_ANNEXATION.txt, webshell .tpl à clé zz2026 ; complétées par les hashes publiés. Faux positifs : Aucun fichier légitime connu ne porte ces chaînes ensemble.

6 citations des sources
12/11 YARA Scripts et sources du kit SCKit / RelayTrapScreenConnect : consoles MSP détournées, SCKit et RelayTrap déployés en masse via Run Command élevé T1059.001 T1547.001
tb-2026-11-12-scripts-et-sources-du-kit-sckit-relaytrap.yarTélécharger la règle YARA
rule TB_20261112_SCKit_RelayTrap_scripts
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-12"
        reference = "https://cyberpress.org/sckit-worm-connectwise-screenconnect/"
        description = "SCKit / RelayTrap kit scripts and source code (ScreenConnect campaign targeting MSPs): task names, Run key names, and module names specific to the kit"
        status = "experimental"
    strings:
        $s1 = "RelayTrapLiteAlert" ascii wide nocase
        $s2 = "TrapWatch" ascii wide
        $s3 = "RelayTrap.cs" ascii wide nocase
        $s4 = "ToolboxRelayUploader" ascii wide nocase
        $s5 = "Run-Lateral-Full" ascii wide nocase
        $s6 = "sckit-decoder" ascii wide nocase
        $s7 = "Panel-Lateral" ascii wide nocase
    condition:
        uint16(0) != 0x5a4d and filesize < 2MB and 2 of ($s*)
}
yara : compilée fichiers script Licence DRL 1.1

Reconnaît les scripts PowerShell, batch et le source C# du kit par les noms propres au kit (RelayTrapLiteAlert, TrapWatch, ToolboxRelayUploader, Run-Lateral-Full, sckit-decoder). Faux positifs : Rapports ou notes d'analyse citant ces noms.

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.

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.

07/11 YARA Binaire cwpsrv portant les en-têtes X-Ngx-Integrity-*CWPdoor : un cwpsrv trojanisé transforme Control Web Panel en backdoor passive élevé T1505.003 T1554
tb-2026-11-07-binaire-cwpsrv-portant-les-en-t-tes-x-ngx-integrity.yarTélécharger la règle YARA
rule TB_20261107_CWPdoor_cwpsrv_integrity
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-07"
        reference = "https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html"
        description = "Trojanised cwpsrv binary (CWPdoor): X-Ngx-Integrity-* headers and ngx_http_integrity_helper socket"
        status = "experimental"
    strings:
        $h1 = "X-Ngx-Integrity-Time" ascii
        $h2 = "X-Ngx-Integrity-Data" ascii
        $h3 = "X-Ngx-Integrity-Sig" ascii
        $s1 = "ngx_http_integrity_helper" ascii
    condition:
        uint32(0) == 0x464c457f and filesize < 30MB and (2 of ($h*) or ($s1 and 1 of ($h*)))
}
yara : compilée fichier ELF Licence DRL 1.1

Chaînes du déclencheur de la backdoor décrite par QiAnXin XLab, à scanner sur /usr/local/cwpsrv/bin/cwpsrv et les fichiers cwpsrv.prev-*. Faux positifs : aucun connu.

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.