Detection rules · Sigma, Cortex XQL, YARA

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.

13 rules over 12 days · 1 repeat hidden (show) Most recent first
DateFormatRule and topicLevelATT&CK
24/11 YARA MSBuild .targets file of the VS_Builder / HappyOne.MSBuildAnalyzer stagerThirteen malicious NuGet packages posing as a WinUI 3 job assessment: code runs on every MSBuild build and stages an osk.exe side-load high T1195.001 T1127.001
tb-2026-11-24-fichier-msbuild-targets-du-stager-vs-builder-happyone-msbuil.yarDownload YARA rule
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: compiled files (NuGet cache, cloned repositories) Licence DRL 1.1

build/*.MsBuildAnalyzer.targets file that runs dotnet MSBuildAnalyzer.dll after every build (ExecuteInlineCSharpTarget target, ForceExecuteNonExistenFile.txt output), to hunt in the NuGet cache and in take-home test repositories. False positives: copy kept by a researcher or an analysis tool.

3 quotes from the 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 GL.iNet GoodCloud malware ni.sh installer scriptGL.iNet: a GoodCloud platform flaw was used to plant backdoors and root reverse shells on routers and KVM devices high T1105 T1036.005 T1037
tb-2026-11-23-script-d-installation-ni-sh-du-malware-gl-inet-goodcloud.yarDownload YARA rule
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: compiled shell script file Licence DRL 1.1

Shell script that disguises its process as crond -i /tmp/.log and downloads gl-helper from the attacker servers, as examined by BleepingComputer. False positives: The community scanner or IOC lists that embed the same strings (exclude security tooling).

2 quotes from the sources
23/11 YARA Java class of the FabricShadow reconnaissance tool (BankWeaver)BankWeaver: Forescout describes Java web shells dropped on Temenos Quantum Fabric deployments left open to anonymous access high T1505.003 T1082
tb-2026-11-23-classe-java-de-l-outil-de-reconnaissance-fabricshadow-bankwe.yarDownload YARA rule
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: compiled Java .class file Licence DRL 1.1

Class file carrying FabricShadow's RECON_* markers and ReconPreProcessor or ReconJavaService names; run it on extracted JARs (a JAR is compressed). False positives: None known.

4 quotes from the sources
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
tb-2026-11-18-voleur-d-identifiants-et-hook-pth-d-agent-framework-1-26-1-e.yarDownload YARA rule
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: compiled Python or .pth file (site-packages) Licence DRL 1.1

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
tb-2026-11-17-charge-track-js-d-optimjack-clipper-skimmer-chargeur-ios.yarDownload YARA rule
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: compiled JavaScript file Licence DRL 1.1

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
16/11 YARA PHP session file carrying upload_progress_pwn (PHP2Shell, Check Point)Check Point CVE-2026-123039: KEV deadline today, nothing new over the weekend, compromise markers still to be checked high T1190
tb-2026-11-16-fichier-de-session-php-portant-upload-progress-pwn-php2shell.yarDownload YARA rule
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: compiled gateway PHP session files (file scanning) Licence DRL 1.1

Flags session files containing the upload_progress_pwn marker that Check Point lists as a sign of PHP2Shell exploitation on Mobile Access gateways exposed before the patch. Meant to be run over the gateway's PHP session directory. False positives: None expected: the key is not used by legitimate Mobile Access sessions according to the source.

1 quote from the sources
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
tb-2026-11-15-extension-js-pi-g-de-l-extension-claude-code-cursor.yarDownload YARA rule
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: compiled JavaScript file (extension) Licence DRL 1.1

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
13/11 YARA TSGA / TSProxy, destroy_v6 wiper and zz*.tpl webshell (Check Point)Check Point Security Gateways: PHP2Shell then CVE-2026-123039, webshells, TSGA backdoor and a wiper high T1505.003 T1485 T1090
tb-2026-11-13-tsga-tsproxy-wiper-destroy-v6-et-webshell-zz-tpl-check-point.yarDownload YARA rule
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: compiled ELF files and .tpl templates Licence DRL 1.1

Three rules on the files described by Check Point Research: TSGA binary and TSProxy library, destroy_v6 wiper writing DREAM_ANNEXATION.txt, .tpl webshell keyed zz2026; backed by the published hashes. False positives: No known legitimate file carries these strings together.

6 quotes from the sources
12/11 YARA SCKit / RelayTrap kit scripts and source codeScreenConnect: MSP consoles hijacked, SCKit and RelayTrap mass-deployed via Run Command high T1059.001 T1547.001
tb-2026-11-12-scripts-et-sources-du-kit-sckit-relaytrap.yarDownload YARA rule
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: compiled script files Licence DRL 1.1

Identifies PowerShell and batch scripts and C# source code from the kit via kit-specific names (RelayTrapLiteAlert, TrapWatch, ToolboxRelayUploader, Run-Lateral-Full, sckit-decoder). False positives: Reports or analysis notes citing these names.

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
tb-2026-11-10-loader-sleepyduck-de-bee-js-13-3-0-et-swarm-desktop-0-56-2.yarDownload YARA rule
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: compiled JS file, asar archive or installer Licence DRL 1.1

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.

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
tb-2026-11-09-index-js-et-sync-py-du-ver-testmetest.yarDownload YARA rule
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: compiled script files (JS, Python, Ruby) Licence DRL 1.1

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.

07/11 YARA cwpsrv binary bearing X-Ngx-Integrity-* headersCWPdoor: trojanised cwpsrv turns Control Web Panel into a passive backdoor high T1505.003 T1554
tb-2026-11-07-binaire-cwpsrv-portant-les-en-t-tes-x-ngx-integrity.yarDownload YARA rule
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: compiled ELF file Licence DRL 1.1

Trigger strings for the backdoor described by QiAnXin XLab, to be scanned on /usr/local/cwpsrv/bin/cwpsrv and cwpsrv.prev-* files. False positives: None known.

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
tb-2026-11-03-extension-js-du-loader-claude-code-pi-g.yarDownload YARA rule
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: compiled JavaScript file (extension.js) Licence DRL 1.1

Strings from the injected loader prepended to extension.js: svc-telemetry key, authorized_keys, tunnel to 134.209.82.225. False positives: None known.