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.
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
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*)
}
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
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*))
}
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
- “The installer includes functionality to disguise the malicious process as crond -i /tmp/.log” www.bleepingcomputer.com
- “downloads malicious executables named gl-helper and gb from hardcoded servers” www.bleepingcomputer.com
23/11 YARA PostScript or PDF file calling .putgstringcopy and .forceput (Upload2Shell)Ghostscript: Upload2Shell (CVE-2026-125396) escapes the -dSAFER sandbox, server takeover through uploaded files, fixed in 10.08.0 medium T1190 T1203
rule TB_20261123_Ghostscript_Upload2Shell_forceput
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-23"
reference = "https://cve.threatint.com/CVE/CVE-2026-125396"
description = "PostScript or PDF upload that references .putgstringcopy and the privileged .forceput operator, the -dSAFER bypass of CVE-2026-125396 (Upload2Shell)"
status = "experimental"
strings:
$p1 = ".putgstringcopy" ascii
$p2 = ".forceput" ascii
condition:
(uint16(0) == 0x2125 or uint32(0) == 0x46445025) and filesize < 20MB and all of them
}
Uploaded document that references the .putgstringcopy procedure and the privileged .forceput operator, at the core of the CVE-2026-125396 -dSAFER bypass; to be run on upload directories before conversion. False positives: Ghostscript's own resource files (gs_fonts.ps): exclude the Ghostscript installation directories.
2 quotes from the sources
- “contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps” cve.threatint.com
- “which calls the privileged .forceput operator without checking operand types.” cve.threatint.com
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
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*))
}
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
- “RECON_PREPROCESSOR” www.forescout.com
- “RECON_FROM_FABRIC” www.forescout.com
- “ReconPreProcessor” www.forescout.com
- “ReconJavaService” www.forescout.com