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.

2 rules over 2 days · technique T1195.001 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
30/11 YARA PolinRider kit: eslint-check folderOpen task, node api.js hook, code after a long run of tabsPolinRider: what the StepSecurity report actually says, from force-pushed pull requests to C2 resolution through Ethereum calldata medium T1195.001 T1027
tb-2026-11-30-kit-polinrider-t-che-folderopen-eslint-check-hook-node-api-j.yarDownload YARA rule
rule TB_20261130_PolinRider
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-30"
        reference = "https://www.stepsecurity.io/blog/polinrider-malware-open-source-pull-requests"
        description = "PolinRider kit: hidden VS Code folderOpen task eslint-check running a fake font, node api.js build hook, or code hidden after a long run of tabs"
        status = "experimental"
    strings:
        $task1 = "folderOpen" ascii
        $task2 = "eslint-check" ascii
        $font1 = "fa-solid.lkf" ascii
        $font2 = "fa-solid.lfk" ascii
        $font3 = "fa-solid-700.fml" ascii
        $hook = "node api.js &&" ascii
        $tabs = { 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 }
    condition:
        filesize < 200KB and (
            (uint8(0) == 0x7B and $task1 and $task2 and 1 of ($font*)) or
            (uint8(0) == 0x7B and $hook) or
            ($tabs and not uint8(0) == 0x7B)
        )
}
yara: compiled repository files (JSON, JavaScript) Licence DRL 1.1

Kit files described by StepSecurity: tasks.json with the eslint-check task and a fake font, package.json with the node api.js && prefix, or a JavaScript file whose code follows at least a hundred tabs. False positives: legitimate package.json running node api.js before the build (StepSecurity found a few without the loader) ; generated JavaScript files with long tab indentation.

5 quotes from the sources
  • “a hidden task labelled eslint-check that runs node ./public/fonts/fa-solid.lkf when the folder is opened” www.stepsecurity.io
  • “fa-solid-400.woff2 , fa-solid-700.fml , fa-solid.lkf , fa-solid.lfk” www.stepsecurity.io
  • “grep -rl '"runOn": *"folderOpen"' --include=tasks.json .” www.stepsecurity.io
  • “GitHub code search returns 2,776 package.json files containing node api.js &&” www.stepsecurity.io
  • “api.js is a single line: 315 tab characters, then the obfuscated loader.” www.stepsecurity.io
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