Strange Folders Appeared on Your Drive? Read This Before You Delete

Core-Infosec blog illustration

A person opens a shared drive and finds folders with random names and files nobody created. The instinct is to delete them. Hold that thought, because the right move depends on what they are, and “I cleaned it up” is a poor first response to a possible incident.

Two very different explanations

Decoy files from a security tool. Some anti-ransomware and endpoint tools deliberately place decoy files, sometimes called canary or honeypot files, in common locations. They carry random-looking names so that malware sweeping a disk is likely to touch them. A change to a decoy is a tripwire: the tool sees something modifying files it has no business modifying, and can react. Real documents stay out of it.

Something else created them. Random file and folder names can also be left by malware staging, a misconfigured sync client, a failed software install, or an attacker’s tooling. Same appearance, completely different meaning.

You cannot tell these apart by looking at the name.

How to tell which one you have

1. Ask what is installed. Check your own security tooling documentation for decoy or canary features. If the vendor documents the same pattern of names and locations, that is a strong clue.

2. Check creation time and owner. Decoys are usually created around the time the tool was installed or updated, by the tool’s service account. A burst of new folders created at an odd hour by a user account deserves attention.

3. Check whether any decoy has changed. Modified, renamed or newly encrypted decoys are the interesting ones. Untouched decoys are normally harmless.

4. Look for friends. Ransom notes, files with unfamiliar extensions, or ordinary documents that will not open all change the picture.

What to do, and what not to do

  • Do not delete or “clean up” first. If the files are decoys, removing them can weaken protection. If they are not, removal can destroy evidence.
  • Do not open or run anything inside them.
  • Do tell your IT team or provider and write down what you saw, with the time and the machine.
  • If anything looks like active encryption, act at once. CISA’s guidance for ransomware response emphasizes having a tested incident response plan with clear roles and communications, and keeping offline, encrypted backups so recovery does not depend on the affected systems. Disconnect the affected machine from the network, but do not power off or wipe it unless your responders tell you to.
  • If you are unsure, treat it as an incident until someone has looked. An hour spent confirming a decoy is cheap. A week of undetected access is not.

The bigger point

Decoy files are one of several cheap tripwires. They only help when somebody is watching for the alert and knows what to do next. A tripwire nobody monitors is decoration.

If you are not sure what your current tools would catch, or who would respond at two in the morning, message us and we can talk through your setup.

See how we help with incident response and security services.

Sources


Discover more from Core-Infosec

Subscribe to get the latest posts sent to your email.

Picture of mweisler

mweisler

Read More