How a Ransomware Attack Unfolds, Step by Step
5 min read25 Nov 2026A ransom note usually turns up on a Monday morning, or late on a Sunday, in a shared folder that used to hold budgets. It reads like the start of the incident. It is closer to the end. By the time files are locked, the people who locked them have often been inside the network for days, and in many cases they have already copied out what they wanted.
That sequence is the useful part to understand, because every stage leaves something behind: a login from an odd place, a new administrator account, a large outbound transfer at two in the morning. This post goes through the stages in the order they tend to happen, using the Sophos Active Adversary Report 2026 and CISA's #StopRansomware guidance. Real attacks vary and the stages overlap, so treat it as a rough map and not a script.
Getting in
Most attacks do not start with anything clever. Sophos found that two thirds of the incidents it investigated (67%) were rooted in identity: stolen or guessed passwords, phishing, and accounts without properly configured multi-factor authentication. The attacker simply logs in. The other common routes are remote access services left open to the internet and edge devices that nobody patched. CISA's advisories also describe attackers using default credentials on VPN access, which is as dull as it sounds.
Some groups do not do this part themselves. Initial access brokers specialise in getting in and sell that access to the people who run the ransomware. So the person who breaks in and the person who encrypts your files are often different people, working days apart.
This is the stage where a view of your own network from the outside helps most. The way in is usually something exposed that someone forgot about, or a password that leaked months ago.
Looking around
Once inside, the attacker has one account and no map. The first hours go on working out where they are: what that account can reach, who the administrators are, which servers matter. The usual goal is Active Directory, because whoever controls it controls every login in the company. In Sophos's data, the median time from the start of an intrusion to reaching Active Directory was 3.4 hours. That is less than a working morning.
Very little of this looks like an attack. It looks like an ordinary user running ordinary commands, just in an odd order and at an odd hour. That is why detection at this stage is hard, and why it is so valuable when it works.
Taking control
With access to the directory, the attacker creates accounts, switches off security tools where they can, and spreads to other machines. Remote desktop sessions between internal hosts and compromised service accounts are the usual road. They head for two things: the file servers, where the data lives, and the backup systems, because backups are what would let you ignore the ransom.
CISA's guidance notes that attackers increasingly delete backups to make restoration harder, and that default administrator credentials on backup systems are abused regularly. A backup that the same domain administrator account can reach is a backup the attacker can reach too. It is worth checking that yours is not one of those.
Taking the data
Before anything is encrypted, many groups copy data out, using ordinary tools. CISA's guide lists Rclone, Rsync, web-based file storage services and plain FTP. This is the double extortion model: even if you restore everything from backups, they still hold your files and threaten to publish them. It is also the point where a ransomware incident becomes a personal data breach, with the reporting duties that follow.
Some attackers now skip encryption altogether and only steal and extort. CISA says so directly. If your plan for ransomware is "we will restore from backup", it does not cover that case.
Pressing the button
Encryption comes last, once the attacker has enough leverage. Sophos found that 88% of ransomware payloads were deployed outside business hours, and 79% of data theft also happened out of hours. That is why attacks land on weekends, public holidays and the night before a deadline: fewer people are watching.
Akira was the most active group in that data set, involved in 22% of incidents, and Sophos counted 51 active ransomware brands in all, 24 of them new. The names change often. The sequence changes much less.
One caution on all these numbers. Sophos's data comes from 661 cases handled by its own incident response and managed detection teams, so it reflects organisations that had help, not every victim.
Where you could have stopped it
Read the stages again as a list of chances. Sophos puts the median dwell time, the gap between getting in and being detected or disrupted, at three days. That is three days in which something could have noticed.
The signals are modest. An exposed service or a leaked login at the start. An odd login or a burst of directory queries in the middle. A large outbound transfer shortly before the end. None of them is loud, and each one is much easier to act on if you already know what normal looks like.
At QStellar, two parts of the platform map onto the earliest of these. Attack Surface watches what your organisation exposes to the internet, so that the forgotten service is found by you first. DarkWatch tracks leaked credentials, so that a password sitting in a stealer log is something you know about before somebody else uses it. Neither replaces monitoring inside the network, and we would not claim they do. What they do is take away the cheapest ways in. If you would like to see what they show for your own domain, you can request a demo.
Key terms
- Initial access broker. A criminal who breaks into organisations and sells that access to others, often ransomware operators.
- Active Directory. Microsoft's directory service, which holds the accounts and permissions for most corporate Windows networks. Control of it is control of the network.
- Lateral movement. Spreading from the first compromised machine to others inside the network.
- Dwell time. How long an attacker is inside the network before being detected or disrupted.
- Double extortion. Stealing data before encrypting it, so that the victim is pressed to pay both to get files back and to stop them being published.
- Exfiltration. Copying data out of the network to a place the attacker controls.
Related checklist
- Sophos Active Adversary Report 2026: identity attacks dominate as threat groups proliferate (Sophos): the 67% identity root cause, off-hours deployment, Akira share and number of brands.
- Ransomware activity peaks outside business hours (Help Net Security): the 3.4-hour median to Active Directory, and the 661-case sample.
- #StopRansomware Guide (CISA): attack stages, exfiltration tools, data-theft-only extortion, and backup deletion.
- CISA and MS-ISAC Ransomware Guide, September 2020 (CISA): exposed remote services as an initial access route, and backup deletion.
Discussion
Loading the discussion