# Startup and extension persistence

Startup .lnk files, forged browser extension integrity, and debugger-entitled binaries that survive reboot

_Area: Memory corruption and native code. Seen in 2 disclosed reports; latest 2026-09-14. Updated 2026-11-09._

## How it works
Persistence means code runs again after reboot or browser restart without the user re-triggering it. The assumption that breaks is that a trusted launch surface only launches trusted things: a Startup-folder shortcut is assumed to point at a real program, a browser's Secure Preferences are assumed to be unforgeable, and a signed binary is assumed to be benign. Each of these is a place where an attacker can plant an entry that the OS or browser will faithfully execute on every start [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md)[E2](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md)[E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md).

## Where it shows up
- A `.lnk` in a user's Startup folder pointing to a renamed interpreter (e.g. `ctfmon.exe` running a `.py`) or any non-standard binary [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md)
- Browser Secure Preferences / extension entries whose HMAC or App-Bound hash validates but whose extension was never user-installed [E2](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md)
- Signed Mach-O binaries carrying both `com.apple.security.cs.debugger` and `com.apple.security.get-task-allow` [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md)
- LaunchDaemons/LaunchAgents created after a sudo prompt, especially following an AppleScript or "extension" install [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md)
- Whitelisted system binaries (`msbuild.exe`) used as hollowing hosts for injected payloads [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md)

## How to review
For each persistence surface, check the invariant: *the entry's target and the entry's integrity proof must both trace to a trusted origin.* Concretely: resolve every Startup shortcut to its real target and confirm the binary is the expected one, not a renamed interpreter [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md); confirm extension records were written by the browser's own install flow, not regenerated from a recovered seed/key [E2](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md); confirm no binary holds debugger entitlements unless it is a real debugger [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md). Treat "valid signature" and "valid HMAC" as necessary but not sufficient.

## How finders spotted it
- An end user reported downloading a suspicious Zoom extension; installing EDR revealed the intrusion, and the lure traced to a Telegram message from weeks earlier [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md)
- A suspicious `sysmon.lnk` persisting in a Startup folder looked wrong; inspecting it showed a renamed `ctfmon.exe` (IronPython) running `update.py`, prompting staged deobfuscation [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md)
- Tracked a malware family across seven campaigns, deobfuscated the JS loader, reverse-engineered the C++ installer, and built a test playground to exercise the extension's config [E2](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md)

## Variants seen
- AppleScript disguised as a browser extension leading to LaunchDaemon persistence and debugger-entitlement injection [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md)
- Forged browser integrity values installing a malicious extension that steals sessions [E2](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md)
- Startup-folder shortcut to a renamed interpreter chaining obfuscated payloads into a RAT [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md)

## Impact and severity
High: persistence plus credential/wallet theft. E1 reached keylogging, screen capture, clipboard and a crypto-wallet stealer [E1](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md); E2 stole banking credentials and session tokens with in-page injection [E2](https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md); E3 ended in a RAT with AMSI patching and elevated persistence [E3](https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md). Impact rose where persistence was combined with process injection or integrity forgery.

## 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.
- **Google Chrome** (Secure Preferences integrity checks (resources.pak seed, OSC) (version not stated): The extension you never installed: KREMLIN forges Chrome's own integrity checks to steal banking sessions. Report: https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md

## Evidence
- E1: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-inside-bluenoroff-web3-intrusion-analysis.md
- E2: https://bugbountylibrary.com/r/blog%3Aelastic-co-security-labs-threat-command-malicious-browser-extension-kremlin-banking-malware.md
- E3: https://bugbountylibrary.com/r/blog%3Ahuntress-com-blog-snakes-on-a-domain-an-analysis-of-a-python-malware-loader.md
