Check Point Security Gateways: PHP2Shell then CVE-2026-123039, webshells, TSGA backdoor and a wiper
SIGMA TSGA launch or .tpl webshell staging on a Check Point gateway linux process_creation (passerelle Gaia) · high Threat Brief · experimental
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
Command lines observed by Check Point Research after PHP2Shell and CVE-2026-123039: launch of /tmp/CPconfigdaemon, /tmp/.bd.log output, /lib/libcpfwcommon.so drop and base64-decoded zz*.tpl webshells. False positives: Unlikely on a gateway: these paths are not used by legitimate components according to the source ; Administrator writing a zz*.tpl portal template from base64.
6 quotes from the 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, destroy_v6 wiper and zz*.tpl webshell (Check Point) ELF files and .tpl templates · high Threat Brief · experimental
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")
}
Three rules on the files described by Check Point Research: TSGA binary and TSProxy library, destroy_v6 wiper writing DREAM_ANNEXATION.txt, .tpl webshell keyed zz2026; backed by the published hashes. False positives: No known legitimate file carries these strings together.
6 quotes from the 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