Ransomware Attack in India: What to Do in the First 24 Hours (CERT-In 6-Hour Rule)
Most Indian companies we hear from after a ransomware attack call on the first morning: the accounts team cannot open Tally, the ERP will not connect to SQL Server, or every file on the shared folder has a strange new extension. What happens in the next 24 hours decides two things: how much data comes back, and whether the company meets its legal duty to report the incident.
This guide goes through the first day in order. It is written from our own lab work on 656+ ransomware cases, many of them from Indian manufacturers, distributors, hospitals and IT companies. It is general information, not legal advice.
Hour 0 to 1: stop the spread, do not destroy anything
Disconnect the affected servers and PCs from the network: pull the network cable or disable the switch port, and turn off Wi-Fi. If the encryption is still running, disconnecting stops it from reaching more shares, backup drives and NAS volumes.
Do not shut down, format or reinstall the servers, and do not run antivirus clean-up on the encrypted files. Some clean-up tools delete encrypted files as "infected", and a reinstall overwrites the disks you may later recover data from. If a server has to be powered off, note the time and why.
Disconnect backup drives, NAS units and the backup server from the network straight away, even if they look fine. Attackers usually go for the backups first, and a backup that is still reachable can be encrypted or deleted hours after the main attack.
Use phones or a personal messaging group to talk, not company email, in case the mail server or domain accounts are compromised.
Hour 1 to 6: report the incident to CERT-In
CERT-In's directions of 28 April 2022, issued under section 70B of the Information Technology Act, require service providers, intermediaries, data centres, companies and government bodies to report cyber incidents, including ransomware, to CERT-In within six hours of noticing them. The clock starts when the incident is noticed, not when the investigation ends.
The report can be sent by e-mail to incident@cert-in.org.in using the incident reporting form on cert-in.org.in. You do not need every detail in six hours: report what you know (when it was noticed, which systems are affected, the ransom note, the file extension) and send updates as you learn more.
The same directions require ICT system logs to be kept for 180 days, within India. Do not delete firewall, VPN, server and Active Directory logs while cleaning up: CERT-In can ask for them, and they show how the attackers got in.
If personal data of customers, patients or employees was affected, the Digital Personal Data Protection Act, 2023 also requires the breach to be reported to the Data Protection Board of India and to the people affected; the DPDP Rules set out the form and timing. Banks, NBFCs, insurers and listed companies have extra reporting duties to their regulator (RBI, IRDAI or SEBI). You can also file a police complaint at cybercrime.gov.in or call the national cyber crime helpline 1930.
Hour 6 to 12: keep the evidence and find out what was hit
Keep a copy of the ransom note and a few encrypted files from each type of system: one database file (.mdf, .bak), one Tally data folder, one virtual disk (.vmdk, .vhdx) and one ordinary document. These samples are what a recovery lab needs to measure how the files were encrypted.
If you have older unencrypted copies of the same files, for example last month's Tally backup on a pen drive or an old copy of the ERP database, keep them separately. Comparing a clean copy with the encrypted file shows exactly which parts were encrypted and which survived.
Make a simple list: every server and storage device, what runs on it (Tally, Busy, SQL Server ERP, file server, VMware or Hyper-V host, NAS), whether it is encrypted, and the date of the last backup that you know is clean. This list is the basis for every decision that follows.
Hour 12 to 24: check the backups before you trust them
Do not restore anything onto the infected network yet. First check each backup on an isolated machine: does it open, is it complete, and is its date before the attackers got in? Attackers are often inside the network for days or weeks before they encrypt, so the newest backup may already contain their tools.
Change administrator, VPN, remote-desktop and backup passwords from a clean computer, and remove remote-access tools you did not install (AnyDesk, other remote-support software). In Indian SME networks the most common ways in that we see are remote desktop open to the internet with a weak password and unpatched VPN or firewall devices.
If the backups are clean and complete, plan the restore on cleaned or new servers. If they are encrypted, deleted or months old, do not give up on the data: that is the situation we handle every week.
When the backups are encrypted too
Most ransomware does not encrypt every byte of large files, because that takes too long. Many families encrypt only the first part of a file, or stripes through it. A SQL Server database, a Tally data folder, a VMware virtual disk or a Veeam backup file is often mostly intact under the encryption, and tables, vouchers, virtual machines and files can be rebuilt from the intact parts.
We measure exactly how much of each file was encrypted before we quote, so you know what can come back and what cannot before you pay anything. When a file is encrypted from end to end with a strong cipher, we say so: no lab can recover it without the key, and anyone who promises otherwise without seeing the files is guessing.
Our lab is in Dharmapuri, Tamil Nadu, and works with companies across India. Encrypted files can be sent through our secure upload under an NDA, so a first assessment usually needs no visit and no couriered disks.
Should you pay the ransom?
Paying does not guarantee working keys, does not delete the stolen data, and marks the company as one that pays. Before considering it, find out what can be recovered without it: in many of our cases the most important database or virtual machine came back from the encrypted files. If paying is still being considered, get legal advice first, because payments to sanctioned groups can create further problems.
First-day checklist
1. Disconnect affected systems and all backup storage from the network. 2. Do not format, reinstall or run clean-up on encrypted files. 3. Report to CERT-In within six hours of noticing the incident. 4. Keep logs, the ransom note and encrypted sample files. 5. List every system, its state and its last clean backup. 6. Check backups on an isolated machine before restoring. 7. Reset passwords from a clean computer and remove unknown remote-access tools. 8. If backups are gone, send sample files for a free assessment before deciding anything else.
Questions and answers
Is it mandatory to report a ransomware attack in India?
Yes. CERT-In's directions of 28 April 2022 require companies, service providers, intermediaries, data centres and government bodies to report cyber incidents, including ransomware, to CERT-In within six hours of noticing them. If personal data is affected, the Digital Personal Data Protection Act, 2023 also requires notifying the Data Protection Board and the people affected. This is general information, not legal advice.
How do I report a ransomware attack to CERT-In?
Fill in the incident reporting form available on cert-in.org.in and e-mail it to incident@cert-in.org.in. Report what you know within six hours and send updates later. You can also file a complaint at cybercrime.gov.in or call the cyber crime helpline 1930.
Can data be recovered after ransomware without paying?
Often, yes. Many ransomware families encrypt only part of large files such as SQL Server databases, Tally data, VMware and Hyper-V virtual disks and Veeam backups, and the data can be rebuilt from the intact parts. Files that are fully encrypted with a strong cipher cannot be recovered without the key. A free assessment of sample files shows which case you are in.
Should we restore the latest backup immediately?
No. First check the backup on an isolated machine and confirm its date is before the attackers got in. Attackers are often inside the network for days before encrypting, so the newest backup may contain their tools, and restoring onto an infected network can get the restored data encrypted again.
Ransomware data recovery service →
Facing this problem? Contact us now.
We have already solved 656+ ransomware and data recovery cases: encrypted and corrupted SQL Server, Oracle and MySQL databases, Tally, Busy and Marg ERP data, Veeam backups, VMware and Hyper-V virtual machines, RAID and NAS. Send us the details and we tell you what we can recover.
- ✓ Free assessment before you pay anything
- ✓ No data, no charge
- ✓ NDA on request
Email: info [at] asittech.com · Mon–Fri, 9:00–18:00 IST