Check Point Security Gateways : PHP2Shell puis CVE-2026-123039, webshells, backdoor TSGA et wiper
SIGMA Lancement de TSGA ou dépôt de webshell .tpl sur une passerelle Check Point linux process_creation (passerelle Gaia) · high Threat Brief · expérimentale
title: Check Point gateway TSGA backdoor launch or PHP webshell staging
id: 2cd5c101-eb50-4e34-a3a1-7e5586147df3
status: experimental
description: Detects process command lines seen after PHP2Shell and CVE-2026-123039 exploitation on Check Point Mobile Access gateways, TSGA backdoor launch from /tmp, TSProxy library drop and zz*.tpl webshell staging.
references:
- https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
author: Threat Brief (tlpclear.fr)
date: 2026-11-13
tags:
- attack.persistence
- attack.t1505.003
- attack.t1543
- cve.2026-123039
logsource:
product: linux
category: process_creation
detection:
selection_img:
Image|endswith:
- '/tmp/CPconfigdaemon'
- '/slot_CPconfigdaemon'
selection_cmd:
CommandLine|contains:
- '/tmp/CPconfigdaemon'
- '/tmp/.bd.log'
- '/tmp/.up.tpl'
- '/lib/libcpfwcommon.so'
selection_webshell:
CommandLine|contains|all:
- 'base64 -d'
- '/zz'
- '.tpl'
condition: 1 of selection_*
falsepositives:
- Unlikely on a gateway, the paths are not used by legitimate Check Point components according to the source
- Administrator writing a portal template named zz*.tpl from base64
level: high
Lignes de commande observées par Check Point Research après PHP2Shell et CVE-2026-123039 : lancement de /tmp/CPconfigdaemon, journal /tmp/.bd.log, dépôt de /lib/libcpfwcommon.so et écriture de webshells zz*.tpl décodés en base64. Faux positifs : Peu probable sur une passerelle : ces chemins ne sont pas utilisés par des composants légitimes selon la source ; Administrateur écrivant un gabarit zz*.tpl du portail depuis du base64.
6 citations des sources
- « launching the TSGA malware (/tmp/CPconfigdaemon) in the background » research.checkpoint.com
- « nohup /tmp/CPconfigdaemon >/tmp/.bd.log 2>&1 & printf started » research.checkpoint.com
- « relaunches under the name slot_CPconfigdaemon in the boot persistence directory » research.checkpoint.com
- « an embedded shared library that it writes to /lib/libcpfwcommon.so » research.checkpoint.com
- « Uploaded files are saved to the fixed path /tmp/.up.tpl » research.checkpoint.com
- « printf <base64 Webshell> | base64 -d > <templates>/zz<random>.tpl » research.checkpoint.com
Conversions
Image IN ("*/tmp/CPconfigdaemon", "*/slot_CPconfigdaemon") OR CommandLine IN ("*/tmp/CPconfigdaemon*", "*/tmp/.bd.log*", "*/tmp/.up.tpl*", "*/lib/libcpfwcommon.so*") OR (CommandLine="*base64 -d*" CommandLine="*/zz*" CommandLine="*.tpl*")(Image:(*\/tmp\/CPconfigdaemon OR *\/slot_CPconfigdaemon)) OR (CommandLine:(*\/tmp\/CPconfigdaemon* OR *\/tmp\/.bd.log* OR *\/tmp\/.up.tpl* OR *\/lib\/libcpfwcommon.so*)) OR (CommandLine:*base64\ \-d* AND CommandLine:*\/zz* AND CommandLine:*.tpl*)
YARA TSGA / TSProxy, wiper destroy_v6 et webshell zz*.tpl (Check Point) fichiers ELF et gabarits .tpl · high Threat Brief · expérimentale
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")
}
Trois règles sur les fichiers décrits par Check Point Research : binaire TSGA et bibliothèque TSProxy, wiper destroy_v6 qui écrit DREAM_ANNEXATION.txt, webshell .tpl à clé zz2026 ; complétées par les hashes publiés. Faux positifs : Aucun fichier légitime connu ne porte ces chaînes ensemble.
6 citations des sources
- « relaunches under the name slot_CPconfigdaemon in the boot persistence directory » research.checkpoint.com
- « an embedded shared library that it writes to /lib/libcpfwcommon.so » research.checkpoint.com
- « the Unix socket /tmp/.p_sock » research.checkpoint.com
- « It also writes DREAM_ANNEXATION.txt to each processed directory » research.checkpoint.com
- « The expanded shell requires the hardcoded key zz2026 » research.checkpoint.com
- « Uploaded files are saved to the fixed path /tmp/.up.tpl » research.checkpoint.com