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 T1190 (remove) 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
tb-2026-11-23-fichier-postscript-ou-pdf-appelant-putgstringcopy-et-forcepu.yarDownload YARA rule
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
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