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.
1 rule over 1 day
Most recent first
DateFormatRule and topicLevelATT&CK
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
}
yara: compiled
PostScript or PDF file
Licence DRL 1.1
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