Ransomware in India: how an attack unfolds and what to do in the first 24 hours
The Gist
Modern ransomware steals your data before it encrypts, so the demand has two halves: pay to decrypt, and pay again to stay silent. The first 24 hours decide the outcome — and two mistakes destroy it: switching machines off, and tidying up before the evidence is preserved.
What I wrote on this earlier
Kept as originally published.
- 2 November 2021 — The Toronto Transit Commission hit by a ransomware attack
- 3 November 2021 — FBI: Ransomware Actors Use Financial Events to Extort Victims
- 14 April 2022 — Ransomware crooks spend months in your network
- 16 April 2022 — Conti Ransomware Gang claims the Nordex hack
- 25 April 2022 — FBI sounds alarm on BlackCat ransomware
- 25 April 2022 — Quantum ransomware deployed in rapid network attacks
- 29 April 2022 — Ransomware costs show prevention is better than the cure
- 29 April 2022 — Don’t expect to get your data back from the Onyx group
- 19 November 2023 — The Ransomware Surge
- 25 June 2024 — Lockbit 3.0 ransomware gang
How a ransomware attack actually unfolds
The popular picture is a single dramatic moment: a pop-up, a countdown, a demand. The reality is quieter and much slower. By the time the note appears, the intruders have usually been inside for days or weeks.
It begins with a way in. A password reused from another breach. A phishing message that ends with someone opening an attachment or approving a login. An exposed remote-desktop service. A server that has missed two years of updates.
Then the pattern repeats. They map the network: where backups live, which account has the widest access, who approves payments. They create their own accounts so they can return after a password reset. They disable the antivirus software on individual machines — the endpoint protection — and move sideways, quietly, deciding what is worth stealing.
The theft comes before the encryption, often in small amounts over several days so it looks unremarkable. Only then do they encrypt. That order explains the modern bargain: the encryption is leverage, but the stolen data is the real threat.
The first 24 hours, step by step
In my training sessions I tell officers that the first hour of a ransomware incident is evidence handling, not IT support. What follows is the discipline of the first day. It is deliberately general: how a specific organisation should act depends on its systems, its regulator and its legal position.
- Stop and confirm. Treat it as real until proven otherwise. Do not let staff spend an hour restarting machines to see if it clears.
- Contain, do not switch off. Disconnect affected machines, block the paths in use, disable remote access. Powering down destroys the memory evidence — the record of what was running on the machine — that shows how they entered.
- Secure the backups. Check whether backups are reachable from the affected network and isolate them at once. Many incidents become unrecoverable because the backups were encrypted too.
- Tell the people who must know. Management, the board where relevant, your insurer, your legal adviser. Decide who speaks, and to whom.
- Preserve, do not tidy. Resist the urge to clean up. Deleting the ransom note or reinstalling a server feels productive and destroys the case.
- Notify on the clock. Under CERT-In’s 2022 directions, most organisations must report specified incidents within six hours of detection. Sectoral regulators such as the RBI set their own short windows for regulated entities, and personal-data obligations may also apply.
Evidence you must preserve before you touch anything
Evidence is lost in the first hour far more often than in the first week. The instinct to restore service is correct commercially, but it must not run ahead of preserving the record.
What matters: the memory of the affected machines, the logs showing who logged in and from where, the ransom note, the headers of the message that started it, and the state of the network at discovery. Note the time of each action. Photograph screens rather than closing windows. If a machine must leave service, keep it intact, label it, and record who handled it and when.
Two things are commonly lost for good: how the intruders entered, and proof of what was taken. Both are exactly what an investigation, an insurer and a court will ask for. Copy logs off the network as soon as it is safe.
To pay or not to pay
Paying is a business decision with legal, ethical and practical consequences, and it should never be made in the first hour under pressure.
The practical case against it is strong. Keys supplied by criminals often fail on large, complex systems. Payment funds the next attack. And the stolen data is frequently published or sold regardless, because the extortion does not end when the money moves.
In India there is no general statutory prohibition on paying, but payment is not neutral. It may raise questions under anti-money-laundering and sanctions frameworks, affect insurance cover, and create disclosure obligations. Regulators and law enforcement consistently discourage it. Any decision to pay should be documented, taken with legal advice, and taken by the organisation — not by the IT team at three in the morning.
Recovery meanwhile means rebuilding from verified clean backups, and assuming the intruders still hold credentials.
How Indian organisations get hit
The routes are unglamorous and repetitive. Email remains the most common: an attachment, a link, or a message that persuades someone to approve a login. Exposed remote-desktop services come next, especially where a vendor or branch office needed access and the simplest option was chosen. Unpatched systems come third: a server kept running because nobody wants to touch it is a standing invitation.
There is an Indian pattern worth naming: old and new run together — a modern cloud application beside a fifteen-year-old accounting server, a well-managed head office beside a branch with a shared login. Attackers do not need to beat your best-defended system. They need one door.
Prevention that actually works
Prevention is not a product. It is a short list of disciplines, done consistently, and most are unglamorous.
- Backups that are tested and separated. An untested backup is a hope; a reachable one is a target.
- Multi-factor authentication wherever it can be enforced, especially on email, remote access and administrative accounts.
- Patch the internet-facing doors first: remote desktop, VPN appliances (the gateways staff use to connect from outside), email gateways, web servers.
- Remove standing administrative rights. Fewer permanent wide-access accounts means less damage when one falls.
- Rehearse. An incident-response plan nobody has practised is a document, not a capability.
- Train on the tricks actually in use, not generic awareness. The current wave relies on convincing approvals, not obvious spelling errors.
Forensics & Legal angle
An incident is a potential crime scene, and Indian law treats electronic records with particular care. Demanding money by threatening to publish or destroy data is extortion under the Bharatiya Nyaya Sanhita, and unauthorised access, damage and data theft are offences under the Information Technology Act, principally sections 43 and 66. The Bharatiya Sakshya Adhiniyam, which replaced the Indian Evidence Act in 2024, keeps electronic records admissible subject to a certificate under Section 63. That certificate identifies the record and confirms the integrity of the device and process. In practice, how you handle evidence in the first hours decides whether it can be used later.
Maintain a chain of custody: who collected what, when, from which device, and where it has been since. Work on copies where possible. Record the hash of any image or export — the unique fingerprint calculated from the file’s contents — so integrity can be demonstrated. Keep the incident log contemporaneous; one written afterwards is worth far less.
Reporting runs on its own timelines. CERT-In’s directions require specified incidents to be reported within six hours of detection for most organisations, and sectoral regulators such as the RBI impose short windows of their own. Where personal data is involved, obligations under the Digital Personal Data Protection Act will also apply once its breach-notification provisions are brought into force.
Involve the cyber cell early, not as a last resort. A first information report, where appropriate, creates the official record insurers, regulators and courts later rely on, and it opens tracing and takedown channels a private organisation cannot use. Preserve, report, then investigate — in that order.
What you should do
- Assume the worst and confirm scope before restoring anything.
- Isolate affected systems and secure the backups first.
- Preserve logs, memory, the ransom note and the original phishing message.
- Open one contemporaneous incident log and keep it.
- Notify management, legal, insurer and regulator on their clocks.
- Do not pay or negotiate without documented legal advice.
- Rebuild from verified clean backups, not from decryption tools.
- Report to CERT-In within six hours for specified incidents; involve the cyber cell early.
Advertisement
Key Takeaways
- Modern ransomware steals data before encrypting, so recovery alone does not end the exposure.
- The first 24 hours are about containment and preservation, not cleanup.
- Backups that are separated and tested decide whether the incident is survivable.
- Payment is a legal and business decision, never a technical one, and it rarely ends the extortion.
- Section 63 of the Bharatiya Sakshya Adhiniyam makes early evidence handling decisive.
- CERT-In and sectoral reporting clocks start at detection, not at the end of the investigation.
FAQ
Can we recover without paying?
Often, yes — if clean, tested backups exist and the intruders have been fully removed. Where backups were reachable from the affected systems, recovery is a rebuild, not a decryption.
Should we switch off infected machines?
Generally no. Disconnect them from the network instead. Switching off destroys memory evidence that often shows how they entered and what they took.
Do we have to report to the police?
It depends on the organisation, the sector and the data involved; take legal advice. Reporting to CERT-In within six hours is a separate, generally mandatory obligation for specified incidents.
What if the data has already been published?
Then the task shifts to notification, regulatory reporting and reputation. The evidence work continues; it becomes the basis for action against the attackers and for your communications.
How long does recovery take?
With tested backups, days to weeks. Without usable backups, months, and sometimes records that cannot be reconstructed.
I train law-enforcement officers and advise organisations on preparing for incidents of this kind, and on what the first hours should look like. The preparation matters more than the response.
This article is general information, not legal advice. For a specific incident, consult a qualified professional and follow your organisation’s incident-response policy.



