Skip to main content

Bait session cookie in the browser

The "Bait session cookie" puts a session cookie for your bait backup console where an infostealer looks first: inside Edge and Chrome on a Windows workstation. Nobody legitimate has that cookie. If whoever buys the stolen data loads it into a browser and opens your backup console, or calls its API with it, the console records the cookie value in full, with the IP and the time, and the alert is immediate.

It needs a backup console decoy already deployed and verified. Choose "Browser steps (Edge and Chrome on Windows)" as the method. The steps are run by the user whose browsers should carry the cookie, on their own machine, without administrator rights.

  • How it is planted: nothing is written into the browser's cookie store, which Edge and Chrome encrypt. The steps register a scheduled task for that user that opens the backup console once, with no window, in each installed browser. The browser stores the cookie it receives, valid for 400 days. Planting it leaves no event in the console and opens no incident.
  • Only with the browser closed: if Edge or Chrome is open, the task waits and tries again every 30 minutes and at each sign-in, for up to 14 days. When both are done, it removes itself. Edge's startup boost keeps Edge running in the background and can delay it.
  • The name in the cookie: the cookie carries the name the browser used to reach the console. A host name that resolves to the backup console, such as the backup server's name, is more believable than an IP address. Set it in "Host name of the backup console". The first step checks that it resolves, without connecting to the console. Use an internal name: the cookie does not lead outside your network.
  • Test: the console gives you a command that presents a test cookie against the console's API, as a thief would.
  • When removing it: the steps remove the task if it is still there. The cookie stays in the browsers until it expires, and only works against the decoy.

The file steps of the same decoy are still there: a cookie export in clear text, for Windows, Linux and macOS.