Skip to content

CloakDLP v0.6.0 - Clipboard detection actually works

Choose a tag to compare

@MAXIVA11 MAXIVA11 released this 11 Aug 05:38
· 63 commits to main since this release

The project's scope just narrowed to one problem it solves really well: you type your card number somewhere, and CloakDLP makes sure you know about it before your bank statement has to tell you.

CloakDLP console incidents feed showing flagged card-entry events with redacted card numbers, source domains, and risk badges

What's new

  • Typed card entry detection. A browser extension reads the card number straight out of the checkout form field, before your browser ever encrypts it, so this works without touching TLS at all. Luhn-validated and redacted to last-4 client-side; the full number never leaves your browser.
  • A risk score for where it went. Every network-channel match gets checked against a live malware/phishing blocklist plus a domain-age lookup (both free, no API key), so a well-known ten-year-old domain reads very differently from one registered four days ago.
  • A notification the moment it happens. A small tray app watches the live incident feed and pops a Windows notification, with the CloakDLP icon, not a generic system warning triangle.
  • Actually zero-config now. Install the MSI and you're set: the console opens itself, already signed in, and the tray icon is there before you even click anything. The agent self-registers with the console on first run and picks up an auto-provisioned "Credit Card Entry" policy, nothing to copy-paste, no API keys to wire up by hand.
  • Sign up from the console itself. The login screen has a real Sign in / Create account toggle. No more hitting /api/auth/register with curl.
  • A real install path for the extension, not developer mode. The console walks through downloading, extracting the zip into a folder, and loading it, with your actual browser detected (Brave included) so the instructions match what you're using. Once it's published to a store, this collapses to one click.
  • One workstation, not a fleet table. The Agents page shows your machine by name with two clear indicators, desktop agent and browser extension, each Online / Offline / Not installed, instead of a raw list of API keys and rows to reconcile yourself.

The general-purpose DLP engine this project started as is all still here and still works: SSN detection, secret/token patterns, salted Exact Data Match, and the from-scratch CTPH document fingerprinter, across clipboard, file, print, and network channels.

Fixes since v0.5.0

  • Clipboard detection didn't work at all, for two separate reasons. The desktop agent never captured the policy ID issued during pairing, so it silently skipped every credit-card match on every channel, not just clipboard. Separately, Windows Services run in an isolated session that can't see the interactive desktop's clipboard, no matter how the listener code is written; confirmed directly by testing the installed service. Both are fixed: pairing now correctly picks up the policy ID, and clipboard monitoring moved into the tray notifier, which runs in the right session and reuses the desktop agent's own paired identity to report incidents.
  • The tray icon didn't show up after a fresh install. It only started at the next logon via a Startup-folder shortcut. The installer now launches it immediately when setup finishes, in addition to registering the shortcut for future logons.
  • The console now opens itself after install. No more manually navigating to 127.0.0.1:8123 the first time.
  • Upgrading or reinstalling could leave two tray notifiers running at once, each popping a duplicate notification per incident, because a running .exe keeps executing even after its file is deleted out from under it during file replacement. The installer now stops any running tray notifier first, before touching any files, on every install/repair/uninstall/upgrade.

Installing

Run CloakDLP-Setup.msi (needs admin elevation). Two Windows services install and start automatically (CloakDLP Console, CloakDLP Agent), the tray notifier launches immediately and also starts at every future logon, and the console opens in your browser on its own. See installer/README.md for exactly what lands where, and browser-extension/README.md for loading the extension until it's published to a store.

Upgrading from v0.5.0: just run the new MSI. It replaces the old install in place (same product, higher version).

Known gaps

  • The browser extension isn't published to the Chrome Web Store or Edge Add-ons yet, so it still needs to be loaded unpacked; the console walks you through it, but it's still a manual step on the extension itself, not the installer.
  • Network-channel detection outside the browser is still HTTP-only (no TLS interception); this is exactly why the typed-entry path moved to the browser extension instead.
  • This MSI has been validated (full ICE ruleset) and run through multiple real install/uninstall/upgrade cycles this release, including a live upgrade from v0.5.0 and a deliberately-forced duplicate-process scenario to confirm the tray-notifier fix.

Full design rationale, including why this isn't a TLS-intercepting proxy, in ARCHITECTURE.md.