Threats
Anatomy of a ransomware attack in Romania: from VPN to ransom
A stage-by-stage reconstruction of a typical attack, built from public patterns, and the 4 controls that would have stopped it.
Published · Updated · 5 min read
Key takeaways
- A ransomware attack does not start with encryption but with initial access — most often an unpatched VPN, stolen credentials or phishing.
- Days often pass between entry and encryption; that window is your detection opportunity.
- Attackers go after backups before encrypting; only offline or immutable copies are a real guarantee.
- In the first hours: isolate, preserve evidence, notify (NIS2: 24h/72h/one month; GDPR: 72h) and do not rush to pay.
- Four controls stop most attack chains: edge-device patching, MFA, segmentation and tested immutable backups.
Ransomware in Romania: lessons from Hipocrate and Electrica
In February 2024 a ransomware attack on the Hipocrate hospital information system, developed by RSC, affected around 100 hospitals in Romania; the attack was attributed to the Backmydata ransomware. In December 2024 Electrica Group disclosed a cyber attack, later claimed by the Lynx group. Both cases were communicated publicly, including by DNSC, Romania's national cybersecurity directorate.
The lesson is not about group names but about the pattern: modern attacks are multi-stage operations, not a virus that spreads on its own. Below we reconstruct a typical attack, composed from patterns described publicly by CISA, ENISA and incident response teams. It does not describe any specific organisation, but every stage occurs in real incidents.
Day 0: initial access through the VPN and stolen credentials
The most common entry points are well known and boringly repetitive:
- Vulnerable edge devices — SSL VPNs, firewalls and gateways with unpatched public vulnerabilities. They are internet-facing by definition and scanned constantly.
- Credentials stolen by infostealers — an infected personal laptop leaks the passwords saved in the browser, including the employee's VPN account.
- Phishing — an attachment or link that installs a remote access tool. See phishing in 2026.
- Exposed RDP directly on the internet, with weak passwords or no attempt limits.
In our scenario the attacker logs into the VPN with a valid password stolen by an infostealer. The account has no MFA. As far as the logs are concerned it is a normal login — only the time and the country of origin are unusual. Without a rule comparing the login with the user's normal history, nobody notices. The same lack of context means that, for edge devices, the gap between a patch being published and mass exploitation is often shorter than many organisations' monthly update cycle.
Days 1–N: escalation, discovery and lateral movement
Once inside, the attacker encrypts nothing. Several days of quiet work follow:
- Discovery: enumerating the Active Directory domain, file shares, backup servers and installed security tools.
- Privilege escalation: dumping credentials from memory, exploiting a local vulnerability or finding a service account with an old password and admin rights.
- Lateral movement: using legitimate admin tools (RDP, PowerShell, remote access software) — the traffic looks like an administrator at work.
- Persistence: creating new accounts, scheduled tasks or services, so they can come back if partially discovered.
Deleted backups, exfiltrated data, encrypted servers
Before the final blow the attacker prepares the ground: disables or uninstalls EDR wherever possible, deletes shadow copies and attacks the backup servers — domain-joined backup consoles are a favourite target. Then they exfiltrate data to an external storage service. This is the double extortion model: even if you restore from backup, the threat of publishing the data remains.
Encryption itself is usually launched outside business hours — at night or over a weekend — simultaneously on as many servers as possible, hypervisors included. In the morning users find renamed files and a ransom note with a link to a negotiation portal.
Hence the practical rule for backups: at least one copy must sit outside the reach of a compromised domain administrator — offline, on disconnected media, or immutable for a set period. The backup console should not use the same accounts as the rest of the infrastructure, and alerts about deleted jobs or shortened retention must reach a person, not just a log nobody reads. A good maturity indicator: how long it takes you to fully restore a critical server, measured rather than estimated.
The first hours after encryption: isolate, preserve, notify
- Isolate, do not power off: disconnect affected segments from the network and block VPN access, but avoid abruptly shutting servers down — memory may hold evidence and, sometimes, keys.
- Preserve evidence: firewall, VPN and Active Directory logs, the ransom note, samples of encrypted files. Record every action chronologically.
- Activate the response plan and the team: IT, management, legal, communications, possibly a specialised incident response firm.
- Notify: for NIS2 entities — early warning within 24 hours, incident notification within 72 hours, final report within one month; if personal data is affected, notify the data protection authority within 72 hours under GDPR.
- Restore from clean copies — offline or immutable — after you understand how the attacker got in, otherwise you risk restoring their access too.
The concrete steps for notifying DNSC are covered in the step-by-step DNSC notification. CISA's #StopRansomware guide contains a full response checklist.
The 4 controls that would have stopped the attack
| Attack stage | Control | How to verify it |
|---|---|---|
| Initial access via VPN | Fast patching of edge devices and a complete inventory of them | Correlate versions with active CVEs, prioritising the KEV catalogue |
| Stolen credentials | Phishing-resistant MFA on VPN, email and every admin account | Monthly report of accounts without MFA, target zero |
| Lateral movement | Segmentation and separate admin accounts, no domain rights on workstations | Test: can a workstation reach the backup console? |
| Encryption and deleted backups | Offline or immutable backup, with tested restores | A full test restore at least quarterly, with the time measured |
None of these is new or expensive. Do you have them all on paper? Then the right question is: when were they last verified? A backup that has never been restored is a hypothesis, not a control.
Should you pay the ransom?
Authorities consistently advise against paying. Payment does not guarantee a working key, does not guarantee deletion of the exfiltrated data and funds the next attack. Before any discussion, check No More Ransom for a public decryptor for your variant, consult legal counsel (international sanctions may restrict payments) and inform the authorities. Above all, do not decide in the first hours under pressure: restore options often turn out better than they first seemed.
These decisions are management's responsibility — see management liability under NIS2.
Frequently asked questions
+How long does a ransomware attack take from entry to encryption?
It varies widely: from a few hours to several weeks. Most often at least a few days of discovery and lateral movement pass, during which the attack can be detected and stopped.
+What is the most common way in?
Public reporting repeatedly points to vulnerable edge devices (VPN, firewall), stolen credentials and phishing. Internet-exposed RDP remains a classic route.
+How quickly must a ransomware incident be notified?
For NIS2 entities: early warning within 24 hours, notification within 72 hours and a final report within one month. If personal data is affected, GDPR requires notifying the supervisory authority within 72 hours.
+Does antivirus help against ransomware?
It helps but is not enough: attackers often disable security tools before encrypting and rely on legitimate admin tools. You need layers: patching, MFA, segmentation, monitoring and immutable backups.
+What does immutable backup mean?
A copy that cannot be modified or deleted for a set period, not even by an administrator. Together with offline copies, it guarantees that an attacker cannot destroy your backups as well.
Official sources
Want to see how this looks in the platform?
Defneo collects NIS2 and AI Act evidence from the systems already running. Start with the free Community Edition or ask for a demo.
This article is for information only and is not legal advice.
Related articles
- NIS2DNSC notification step by step: registration, deadlines, common mistakesThe two notifications NIS2 requires towards Romania's DNSC — entity registration and significant incident reporting — explained step by step, with the directive's deadlines.
- ThreatsPhishing in 2026: AI, ClickFix, deepfakes and why passkeys matterSpelling mistakes no longer give a phishing email away. Here are the techniques that work today and the controls that stop them even when someone clicks.
- Best practicesLinux server hardening in 2026: the CIS checklist explainedThe 20 CIS controls that really matter, how to verify them automatically and what evidence to keep for audit.