Cybersecurity

Early Warning for Ransomware: Decoy Files, Decoy Accounts and Attack Precursors

Marta Teknoloji•November 4, 2026•9 min read

Ransomware does not start with encryption

A ransomware incident is usually noticed when the ransom note appears on screen. By then, though, the attack is in its final act. Modern ransomware operations are largely run by hands-on-keyboard operators, and there is a long preparation phase before anything is encrypted:

  • Initial access: a phishing email, a document with macros, a leaked password or an unpatched internet-facing service,
  • Reconnaissance: mapping the servers, shares and backups on the network, and querying Active Directory,
  • Credential harvesting and lateral movement: taking over admin accounts and moving from machine to machine,
  • Weakening defences: switching off antivirus, adding exclusions, clearing logs,
  • Blocking recovery: deleting shadow copies and backups, disabling system recovery,
  • Exfiltration and encryption: copying data out for double extortion, then encrypting at scale.

Every link in that chain is an opportunity for the defender. The aim of an early warning strategy is to catch the attacker before they reach the encryption stage. The two most effective ways of doing that are to lay traps the attacker cannot avoid touching, and to watch for ransomware precursors.

Why deception works so well

Traditional detection tries to tell suspicious behaviour apart from legitimate behaviour. That is not always easy: an administrator running a remote command and an attacker doing the same can look almost identical. Deception turns the question around. It creates objects that no legitimate person should ever touch, so any access to them is suspicious by definition.

Well-designed traps therefore offer two big advantages: a low false-positive rate, and they still catch an attacker who sticks to legitimate tools. An attacker doing reconnaissance goes looking for valuable-looking files and accounts, and that is exactly what a trap offers.

Decoy files: the documents an attacker opens first

Decoy files are synthetic documents that hold no real data but look valuable: password lists, finance and payroll documents, access details or key files. Because they have nothing to do with anyone's job, users are not expected to open them. When a decoy file is:

  • Read, someone is searching the network for valuable information,
  • Modified, that is a much more serious sign,
  • Changed alongside many other decoys at once, it is a strong warning that encryption may have begun.

Ransomware typically works its way through folders one after another. Decoy folders placed in the right locations help spot encryption in its earliest stages, so the affected machine can be cut off from the network before the damage spreads.

Decoy AD accounts and the Kerberoasting trap

An attacker's route to taking over Active Directory runs through accounts, which makes traps inside AD especially valuable:

  • Decoy accounts: accounts that belong to no real person or service. Any attempt to log on with them shows that leaked or harvested credentials are being tried.
  • Kerberoasting trap: in a Kerberoasting attack, the attacker requests Kerberos tickets for service accounts and tries to crack the password offline. A ticket request for a service account that no application uses, but which looks attractive to an attacker, is a clear sign that someone is attempting this attack.

These traps fire during the credential harvesting stage, long before encryption.

Ransomware precursors: the signs just before encryption

Alongside traps, it pays to watch for the preparation steps that ransomware operators repeat in almost every incident:

PrecursorWhy it matters
Shadow copies and backups deletedStops the victim recovering files on their own
System recovery disabledPrevents the machine rolling back to an earlier state
Defender disabled or exclusions addedLets the encryption tool run unhindered
Event logs clearedDestroys the traces and timeline of the attack
Mass file deletion on sharesCan indicate that a destructive process has started
Encoded or download-and-execute PowerShell commandsTools run in memory, leaving little behind
Command lines launched from Office applicationsA typical sign of initial access via a macro document
Tunnelling and remote desktop tools installedThe attacker opening a persistent remote access channel

Most of these steps are rare in legitimate administration. Shadow copy deletion and security log clearing in particular should be treated as events that demand urgent response on their own.

Nights and weekends: the attacker's favourite hours

Ransomware operators tend to time encryption for when IT teams are least alert: at night, at weekends and over public holidays. That is why an early warning system has to work outside office hours too, and critical alerts need to reach people through channels that find them directly, such as their phone. Watching for off-hours logons and restricting unnecessary network traffic outside working hours also narrows the attacker's room for manoeuvre.

When the alert comes in: first response

When a trap fires or a shadow copy deletion attempt is seen, time is the most precious resource. Points to bear in mind in the first response:

  • Stop the spread: cut the affected machine off from the network and terminate the suspicious process.
  • Preserve evidence: isolating the machine rather than shutting it down keeps the information needed for investigation.
  • Establish the scope: check which other machines the same account has logged on to and which other alerts are related.
  • Keep a record: gather decisions, assignments and notes under a single case.
  • Remember KVKK: if personal data is affected, the clock for breach notification is already running.

Backups are a target too

Backups are the last line of defence against ransomware, and attackers know it, so they go after backups. As a general principle, keep at least one copy of your backups separate from the production environment, monitor backup jobs for failures and test restores regularly. A backup that has never been restored is not really a backup.

Ransomware early warning with Marta Security SAM

Marta Security SAM (Cyber Analysis Centre Management Software) is a threat detection and threat notification system developed by Marta Teknoloji. It brings the early warning layers described in this article together in a single console:

  • Decoy files: synthetic password, bank and VPN documents; a high alert when read, a critical alert when changed and a “possible ransomware” alert on bulk changes. A ready-made decoy library is included, with ransomware early-warning folders and Linux lures.
  • Decoy AD accounts and a Kerberoasting trap: any use of the account or ticket request raises a critical alert.
  • Ransomware precursors: shadow copy and backup deletion, recovery disabled, Defender disabled or exclusions added, event logs cleared and mass file deletion on shares.
  • Initial access and execution traces: shells launched from Office applications, PowerShell download-and-execute and suspicious encoded commands, LOLBin abuse; detection and optional blocking of tunnelling and remote desktop tools.
  • Off-hours protection: off-hours and weekend logon alerts, and restriction of lateral traffic and internet access according to a working-hours calendar.

Critical alerts are delivered by email, SMS, Teams, Slack or webhook, and they keep coming through even during quiet hours. When an alert arrives, one-click network isolation (the agent stays connected to the console), process termination and quarantine are available, with case and incident management and a KVKK breach notification draft on the same screen. File, SQL Server, Active Directory and user profile backups are managed from the same console too; failed backup jobs raise alerts, and data can be restored to another machine in the same organisation.

You will find every feature on the Marta Security SAM product page. To discuss a trap and early warning set-up suited to your environment, get in touch with us.

#fidye yazılımı#erken uyarı#tuzak dosya#aldatma teknolojisi#Kerberoasting#gölge kopya#Marta Security SAM

Want to learn more?

Contact us for information about our cybersecurity, software, and infrastructure services.

Contact Us→