# Signed binaries loading hidden payloads

Signed EXE/MSIX loading unsigned sibling DLLs, renamed updaters, or decrypted second stages

_Area: Software supply chain and CI/CD. Seen in 4 disclosed reports; latest 2026-12-02. Updated 2026-12-05._

## How it works
A signature proves who signed a file, not that every byte it runs is benign. The signed file stays genuine, then loads code that was never signed: a DLL taken from its own folder, or a payload decrypted at runtime. The trust assumption "signed means safe" breaks because the signature covers the wrapper, not the library it loads. Windows resolves a bare DLL name from the application's own folder before system paths, so an unsigned DLL placed beside a signed host wins the load [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md)[E2](https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-trojanpony-fake-ai-agent-skill-forks-analysis.md)[E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md)[E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md). A signed host can also load a DLL whose import table pulls in a second malicious DLL, hijacking execution without touching the host [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md). Signed MSIX packages abuse the App Installer trust model: the package is signed, but its PowerShell stage decrypts and sideloads a renamed signed updater [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md).

## Where it shows up
- A signed EXE loading a same-named library from its own folder (`ceiinfolog.dll` beside Canon `COTFileReadApp.exe`; `winmm.dll` beside signed `Setup.exe`) [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md)[E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md)
- A renamed signed updater loading a hijacked library from its own folder (`gup.exe` renamed, loading a fake `libcurl.dll`) [E2](https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-trojanpony-fake-ai-agent-skill-forks-analysis.md)[E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md)
- A sideloaded DLL whose import table pulls in a second malicious DLL (`rdCore.dll`) [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md)
- Signed MSIX whose PowerShell stage GPG-decrypts a tar archive and sideloads a renamed signed updater (`gup.exe` as `VBoxSVC.exe`) that loads a trojanized `libcurl.dll` [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md)
- A ZIP release where one DLL's compile timestamp matches the day it was added, and its export table is stripped to `C3`/`90` stubs [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md)
- A second-stage DLL (`wmpdui.dll`) dropped XOR-decrypted and sideloaded by a signed binary [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md)

## How to review
The invariant: every executable byte that runs must be covered by a trusted signature or hash, and loaded libraries must resolve from a trusted path, not the loader's own directory. Check that signed binaries do not load sibling DLLs by bare name, and that a signed package's contents match what the vendor shipped. For MSIX, verify the package's PowerShell stage does not decrypt and sideload a renamed signed binary [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md). For a ZIP or installer, compare each DLL's compile timestamp against its archive entry time and confirm exports are real, not stubs [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md).

## How finders spotted it
- SOC correlated 40 incidents to one Google Sites domain; researchers then reverse-engineered each stage by reading code and reimplementing the decryption layers [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md)
- Re-checked 500 surviving forks via GitHub API and compared `libcurl.dll` git blob IDs across forks to reconstruct 11 loader builds [E2](https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-trojanpony-fake-ai-agent-skill-forks-analysis.md)
- Unpacked signed MSIX samples, traced the PowerShell GPG decryption, and reverse-engineered the IDAT chunk parser in `handoff.wav` [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md)
- Compared ZIP contents and compilation timestamps: `winmm.dll` compiled the same day it was added, and stripped export stubs confirmed the spoof [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md)

## Variants seen
- Signed host app sideloading a patched DLL whose import table pulls in a second malicious DLL [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md)
- Renamed signed updater loading a hijacked `libcurl.dll` from its own folder [E2](https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-trojanpony-fake-ai-agent-skill-forks-analysis.md)
- Signed MSIX dropping a PowerShell stage that decrypts and sideloads a renamed signed updater [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md)
- Fake GitHub project ZIP with malicious `winmm.dll` beside a signed host, plus a dropped second-stage `wmpdui.dll` [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md)

## Impact and severity
High: full RAT with AMSI bypass, ntdll unhooking and anti-VM checks [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md); info stealers (Rhadamanthys, Lumma) via signed MSIX [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md); XMRig miner with DGA/DoH C2 [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md). Impact rose where a valid cert and known-good on-disk bytes defeated signature-based trust [E3](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md)[E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md) and where the loader could deliver any PE or PowerShell payload [E4](https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md).

## Seen in real software
Open-source packages and projects, and products, where this pattern was found. If the target runs one, compare the version it runs with the fix.
- **Notepad++** (GUP.exe updater (libcurl.dll DLL search-order hijack)) (version not stated): TrojanPony: What 500 Surviving Fake Skill Forks Show. Report: https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-trojanpony-fake-ai-agent-skill-forks-analysis.md
- **Canon CaptureOnTouch** (ceiinfolog.dll) (version not stated): Attackers Abuse ChatGPT Custom GPTs to Deliver RAT via ClickFix. Report: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md

## Evidence
- E1: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-chatgpt-custom-gpts-clickfix-rat.md
- E2: https://bugbountylibrary.com/r/blog%3Astepsecurity-io-blog-trojanpony-fake-ai-agent-skill-forks-analysis.md
- E3: https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-ghostpulse-haunts-victims-using-defense-evasion-bag-o-tricks.md
- E4: https://bugbountylibrary.com/r/blog%3Aresearch-checkpoint-com-2026-tricks-from-the-past-deployed-via-signed-chatgpt-and-claude-binaries.md
