Call WhatsApp Consultation
Home › Legal Articles › Cyber crime

Ransomware Attack What It Is and How It Works in India

By Advocate Panchanand Shaw, Bar Council of West Bengal · Published 25 Nov 2026 · Cyber crime

A ransomware attack is a criminal intrusion that locks a system or copies its data and then demands payment to undo the harm. The access offends Sections 43 and 66 of the Information Technology Act, 2000, and the demand is criminal intimidation under Section 351 of the Bharatiya Nyaya Sanhita, 2023. Here is how it unfolds.

A ransomware attack is a criminal intrusion in which an attacker takes control of a computer system or its data, encrypts it or threatens to publish it, and demands payment in exchange for restoring access. The demand usually arrives as a locked screen, a text file on the desktop, or an email to the management. In Indian law the intrusion is an offence under Sections 43 and 66 of the Information Technology Act, 2000, and the demand itself is criminal intimidation under Section 351 of the Bharatiya Nyaya Sanhita, 2023.

What makes ransomware different from ordinary data theft is the double leverage. The attacker does not merely steal; it denies you the use of your own records and then sells you back the ability to operate. For a hospital, a school, a small manufacturer or a professional firm, the encrypted files are not an inconvenience but the business itself. That is why the pressure works, and why the first decisions are legal as much as technical.

How a ransomware attack actually runs

The screen is the last step, not the first. By the time a victim sees the demand, the attacker has usually been inside the network for days or weeks. Understanding the sequence matters, because each stage leaves a trace that can be preserved and each stage suggests a different legal response.

Stage one: getting a foothold

Most campaigns begin with a lure. A invoice attachment, a fake courier notice, a job application, a password-reset email or a compromised supplier account delivers the initial payload. In other cases the entry is technical: an unpatched internet-facing service, a weak remote-access password, or credentials bought from an earlier breach. The common thread is that the entry is quiet. Nothing appears to happen on the day the attacker first arrives.

Stage two: looking around

Once inside, the attacker maps the network, identifies where the valuable data sits, and checks what backup and recovery systems exist. This reconnaissance phase is where the attacker learns whether you can recover without paying. Systems that are well segmented and well backed up make the attack less profitable and are sometimes abandoned at this point.

Stage three: raising privileges

The attacker moves from an ordinary account to an administrator account, often by harvesting credentials from memory or by finding a misconfigured service. Elevated access is what allows the encryption to reach servers and backups rather than a single laptop.

Stage four: taking a copy

Before encrypting, many groups copy the data out. The copy is the second lever: even if you restore from backup, the attacker can threaten to publish the records. This is why restoring a system does not end the incident, and why the legal questions about confidentiality and notification survive the technical recovery.

Stage five: encryption and the demand

Encryption is then run across the estate, and the demand is delivered with a deadline. The demand may be denominated in cryptocurrency and may include a sample of the stolen data to prove the claim. The deadline is a pressure device; the attacker's promise to decrypt is not enforceable and is frequently broken.

What the law says about ransomware

The Information Technology Act, 2000 covers the intrusion. Section 43 makes unauthorised access, downloading, damage or disruption of a computer resource actionable, and Section 66 makes computer-related offences punishable. Where the attacker obtains and uses credentials belonging to another person, Section 66C on identity theft and Section 66D on cheating by personation can apply. Section 66F, which deals with cyber terrorism, becomes relevant only where the attack is intended to threaten the unity, integrity, security or sovereignty of India or to strike terror, and it should not be invoked casually.

The Bharatiya Nyaya Sanhita, 2023 covers the extortionate demand. Section 351 defines criminal intimidation, which covers a threat to injure a person, reputation or property in order to cause alarm or to compel an act. Where the demand is dressed up as a fraudulent business proposition or a fake recovery offer, Section 318 on cheating may apply. Where an insider assists the attack, Section 316 on criminal breach of trust becomes relevant. Section 336 on forgery can apply where documents or records are fabricated to support the demand or to conceal the intrusion.

Companies face parallel obligations. The Digital Personal Data Protection Act, 2023 imposes duties on data fiduciaries in relation to the security of personal data, and sectoral regulators impose their own cyber security requirements. The Reserve Bank of India's directions on cyber security require regulated entities to maintain incident response arrangements and to report certain incidents. These obligations exist alongside the criminal law and can generate liability even when the attacker is never identified.

How ransomware groups organise

Modern ransomware is less a lone hacker than a small industry. One group builds the encryption tool, another gains access, and a third negotiates with victims, often splitting the proceeds. This structure has two consequences for a victim. First, the person who demands money may not be the person who broke in, which complicates any attempt to identify the attacker. Second, negotiation is a specialised activity with its own risks: a negotiator may inadvertently confirm details that help the attacker, or may promise a payment that the victim cannot lawfully make.

Because the roles are separated, evidence can sit in more than one place. The initial access may leave traces in email or remote-access logs, while the negotiation leaves traces in the chat channel and in any cryptocurrency address supplied. A victim who preserves only the ransom screen preserves the least useful part of the picture. A victim who preserves the mail gateway logs, the remote-access logs, the outbound transfer records and the negotiation thread gives investigators a chain that can be followed from the first foothold to the demand.

Insurance and the duty to disclose

Many organisations hold cyber insurance, and the policy usually imposes conditions: notify the insurer promptly, do not admit liability, and do not settle or pay without consent. Breaching those conditions can forfeit cover. Where the victim is a regulated entity, a separate reporting duty to the sectoral regulator may run in parallel, and the Reserve Bank of India's directions require regulated entities to have incident reporting arrangements. The two obligations can pull in different directions on timing, which is precisely why the decision should not be taken by the technical team alone.

There is also the question of what to tell customers and staff. Where personal data has been taken, a duty to inform may arise under the data protection framework or under contractual commitments, and a statement made too early, or too vaguely, can be used against the organisation later. A short, accurate, legally reviewed notice is generally better than a rushed reassurance that later proves untrue.

Why paying the ransom is a legal and practical trap

Paying is not illegal in itself under the IT Act, but it is rarely a sensible legal position. Payment funds criminal activity, may breach sanctions or internal compliance rules, and does not guarantee that the data will be decrypted or that the stolen copy will be deleted. An attacker who has already copied the data has every incentive to demand a second payment later. Where the victim is a regulated entity, the decision to pay may also need to be disclosed and may attract scrutiny from the regulator.

The legal position is genuinely unsettled in several respects. There is no statutory prohibition on payment, and no statutory protection for a victim who pays. That uncertainty is itself a reason to take advice before transferring money, because the decision affects insurance, regulatory reporting and the credibility of the victim's account later.

What to do in the first hours

  1. Isolate affected systems from the network without powering them down or wiping them.
  2. Preserve the ransom note, the demand email and the attacker's contact details in original form.
  3. Check whether any data has already left the network by reviewing outbound logs.
  4. Notify your insurer if you hold cyber cover, before you commit to any recovery step.
  5. Report the incident to cybercrime.gov.in or on 1930 and keep the acknowledgement.
  6. Brief management and, where applicable, the regulator through the correct channel.
  7. Engage a forensic team that documents its work, because its report may become evidence.

Where each stage leaves evidence

StageWhat the victim seesWhat to preserve
Initial accessNothing obviousMail logs, gateway logs, attachment hashes
ReconnaissanceUnusual logins or scansAuthentication logs, firewall records
Privilege escalationNew admin accountsAccount creation logs, group changes
ExfiltrationLarge outbound transfersProxy logs, cloud storage audit logs
EncryptionLocked files, ransom noteRansom note, sample encrypted files, timestamps

How investigators trace a ransomware intrusion

Tracing usually begins with the entry point and works forward. Investigators look at mail gateway logs to find the delivered lure, at remote-access or VPN logs to find the first successful login, and at identity logs to find when privileges were raised. They then follow the movement sideways, looking for the moment data left the network. Each hop depends on a log that someone retained long enough to be examined. Where a provider has already deleted the log, the trail simply stops there, which is why preservation requests matter more than analysis in the first days.

Attribution is a separate and harder question. Knowing how an intrusion ran does not, by itself, identify the person behind it, and courts are cautious about arguments that tie a technical trail to a named accused without corroboration. A careful investigation therefore treats the technical timeline and the identity evidence as two lines of enquiry that must meet, not as one.

What decides the outcome

The first factor is containment: whether the victim stopped the spread without destroying the record. The second is documentation: whether there is a reliable timeline from the first suspicious login to the demand. The third is whether the data left the network, because that determines whether confidentiality obligations and notification duties are triggered. The fourth is the quality of the backup and recovery evidence, which affects both operational recovery and the credibility of any claim that the loss was unavoidable.

Investigators also weigh cooperation. A victim who reports early and preserves logs gives the police something to work with; a victim who quietly pays and rebuilds gives them almost nothing. That difference often decides whether the case moves beyond a preliminary enquiry.

Common mistakes

When to involve a lawyer

Ransomware sits at the intersection of criminal law, contract, insurance and regulatory duty, and the early decisions are hard to reverse. A cyber crime lawyer in Kolkata can help you decide whether and how to report, what to tell the insurer, and how to preserve the record so that a later complaint is credible. If the demand has been followed by a threat to publish personal data, you may also need advice on the notification duties and on whether a criminal defence posture is needed for any employee who may have enabled the entry. Businesses in West Bengal can raise the matter through the state cyber crime unit; the West Bengal cyber crime lawyer page explains the local route.

The screen is the last step. The evidence is in everything that happened before it.

None of this requires you to decide the whole case on day one. It requires you to keep the record intact long enough for someone to decide it properly.

Need help with a cyber crime matter?

Tell me what happened and I will tell you what to file, where, and by when. First conversation is free.

Call +91-9403890320

Frequently asked questions

What is a ransomware attack in simple terms?

It is a criminal intrusion that locks or copies a computer system's data and then demands payment to restore access. The attacker gains entry quietly, often through a phishing message or an unpatched service, and only reveals itself when the encryption runs. The demand is the extortion; the encryption is the leverage that makes it work.

Is paying a ransomware demand illegal in India?

There is no statutory prohibition on paying, but it is rarely a sensible position. Payment funds criminal activity and does not guarantee decryption or deletion of stolen copies. For a regulated entity it can raise compliance and disclosure issues. Because the law is unsettled on several points, take advice before transferring money rather than after.

Which sections of Indian law apply to a ransomware attack?

Sections 43 and 66 of the Information Technology Act, 2000 cover the unauthorised access and damage. Sections 66C and 66D may apply where credentials are misused. The demand is criminal intimidation under Section 351 of the Bharatiya Nyaya Sanhita, 2023, and cheating under Section 318 may apply where deception is used to extract money.

How does ransomware get into a system?

Most often through a luring email or message that carries a malicious attachment or link. Other routes include an unpatched internet-facing service, weak remote-access credentials, or credentials bought from an earlier breach. The entry is usually quiet, and the attacker may spend days or weeks inside the network before encrypting anything.

Should I turn off an infected computer?

No. Powering it down can destroy volatile evidence that investigators need, and it does not undo the encryption. Disconnect it from the network instead, so it cannot spread the attack or communicate with the attacker, and leave the device in the state in which the problem was discovered until a forensic team examines it.

Can a ransomware victim get compensation?

Sometimes. Compensation depends on identifying a party whose security failure allowed the attack, such as a vendor or platform. Section 43A of the Information Technology Act, 2000 supports a civil claim where reasonable security practices were not followed. Where the attacker is untraceable and no third party was negligent, compensation is difficult and recovery may depend on insurance.

Information for general guidance only and not legal advice. Provisions cited follow the Information Technology Act 2000, the Bharatiya Nyaya Sanhita 2023 and the Bharatiya Nagarik Suraksha Sanhita 2023.

Related articles

Cyber crime lawyer in your city · Bank account freeze help · Contact