When people talk about infostealers, they talk about passwords. That's fair: emptying a browser's saved logins is the headline feature of every stealer family. But it's not the whole job. The same malware sweeps the machine for anything else worth selling, and on a developer's or an ops engineer's laptop, that includes the keys to your infrastructure.
Today we're launching Exposed Secrets: DarkStrata now finds the API keys, cloud keys, tokens, database URLs and private keys that stealers took from your staff's machines, and tells you which ones to rotate.
What Stealers Take Besides Passwords
A stealer doesn't care what a file is for. It grabs .env and config files, documents left on the desktop, and whatever was typed into saved form fields. Out of that comes a predictable haul: AWS, Azure and Google Cloud credentials, GitHub and GitLab tokens, Stripe keys, OpenAI and Anthropic keys, Slack tokens, database connection strings and private keys.
This isn't rare. In four recent stealer-log archives covering 8,108 infected machines, roughly 1 in 300 held a machine credential of this kind. Interestingly, most hadn't been left lying around in files. They'd been saved into automation and AI tools such as n8n, make.com and Supabase, which is exactly where a team wiring up a quick integration would put them.
Why a Stolen Key Is Worse Than a Stolen Password
- There's no password or MFA in the way. A key is the credential. Whoever holds it can call the API straight away, with no login prompt and no second factor.
- It rarely expires. Most keys keep working until someone deliberately rotates them, which can mean months or years.
- It's often over-privileged. Keys made for a quick test have a habit of ending up with far more access than the job needs.
There's also a trap in the usual response to an infection. Resetting the user's password and re-enrolling their MFA is the right thing to do for their account, but it does nothing to a key they pasted into a config file last spring. That key still works. The only fix is to rotate it.
How It Works
Exposed Secrets runs on the same infostealer pipeline that already powers DarkStrata. We scan the stealer logs we collect for keys, tokens, database URLs and private keys, then attribute each one to an organisation. A secret is yours when the infected machine's user signed in with one of your monitored, DNS-verified domains, which makes it a staff machine. Personal and free email domains never attribute, so you see your organisation's exposure, not your employees' private lives.
When we find one, you're alerted by email, and by webhook or through your SIEM if your plan includes them. Each finding shows the provider, the type of secret, a hint (the first and last four characters), the file it came from, the machine, the infection date and the staff login. Rotate the key, mark it rotated, and you're done. If that same key ever turns up again on a different infected machine, the finding re-opens.
Handled Carefully
Holding other people's stolen keys is a responsibility, and we've built the feature around that:
- We never test a key against its provider. That would be using a stolen credential, so every check we run is offline.
- The full secret is shown only in the web console, only to Owners and User Admins, and every reveal is audited.
- The API and the MCP server only ever show the hint, never the full secret.
- DarkStrata is a UK company, hosted in the UK.
In Your Tools
Exposed secrets travel the same routes as the rest of your findings: the alert.secret_exposure.created webhook event, CEF, LEEF and STIX 2.1 SIEM feeds, the Splunk add-on, and the REST API and MCP server for listing findings and updating their status. Every one is tagged with MITRE ATT&CK® T1552.001, Credentials In Files, plus T1552.004, Private Keys, when a private key was taken.
Get Started
Exposed Secrets is included on every paid plan and in the free trial. If you're already a customer, open the console and look under Data Intelligence. If you're not, find out more or start a free trial and see which keys have already left the building.