The door was the VPN
日本語

Chapter 2S=1:100

After the door opens

Encryption is the intruder's last step. In 2025, 79 of 99 Japanese victims that tried to restore from backup could not; in 48 the backups were encrypted.

Summary

Ransomware is a sequence of steps that starts at the VPN door and often ends, days later, with encryption. By the time screens go dark, the intruder usually holds the master keys, has deleted the backups and has copied data out.

Show all stepsBack to the scrolling plan

  1. Monday, 07:40

  2. They used the door

  3. Reception never saw them

  4. The master keys open every door

  5. The backups go first

  6. The data leaves the same way

  7. Encryption is the last step

Fig. 2-1Minato Precision head office, intruder route: all seven stepsComposite scenario, fictional company
Fig. 2-1Minato Precision head office, intruder routeComposite scenario, fictional company
  1. Monday, 07:40

    The first person in finds the office printer has printed the same page all night: a ransom note. File shares will not open. The backup server shows nothing.

  2. They used the door

    Minato Precision has a VPN appliance so staff and the maintenance contractor can work from outside. It is a door in the outer wall, open to anyone on the internet who gets past its lock. The intruder came in through it, with a leaked password or through a flaw in the appliance.

  3. Reception never saw them

    The VPN door opens into the corridor behind reception. Reception does not see who came in that way, and on the network they look like an employee working from home.

  4. The master keys open every door

    The intruder heads for the key safe: Active Directory. With an administrator’s account, every inner door opens.

    In the two hospital cases further down this page, the same administrator password was shared across servers and no account lockout was configured.

  5. The backups go first

    Before encrypting anything, the intruder deletes or encrypts the backups. In 2025, 79 of the 99 Japanese victims that tried to restore from backup could not, and 48 found their backups encrypted too.

    Source: National Police Agency 「令和7年におけるサイバー空間をめぐる脅威の情勢等について(統計データ)」 (sheets 統計編P122, P124, P126, P129, P130; sheets 統計編P137, P138)

  6. The data leaves the same way

    Files are copied out through the same VPN door and used for the second threat: pay, or the data is published.

  7. Encryption is the last step

    Encryption comes after all this, usually at night or over a weekend. In Sophos’s 2025 cases, 88.10% of ransomware was deployed outside business hours.

    Source: Sophos Nowhere, man: The 2026 Active Adversary Report (2025 case data)

The logs each step leaves

Each step leaves a record in a log most companies already have: the VPN appliance, Active Directory, the file server, the backup software.

Step 2: a login that does not fit the person

To the appliance, this is a normal login with a valid account.

What the IT team would seeTime T+0
  • VPN logA successful login at 03:00 by an account whose owner is asleep, from an address outside Japan or at a hosting provider.
  • VPN logA run of failed logins just before it, or none at all if the password had leaked.
  • VPN logA login on an account that should not exist any more: a former employee, or a contractor whose contract has ended.

Step 3: one remote worker touches dozens of machines

The intruder now has an inside address and starts mapping the network. Nothing passed through email filtering or antivirus, so they record nothing.

What the IT team would seeTime within 5 minutes
  • firewallOne VPN session connecting to dozens of internal addresses within minutes.
  • serversRemote desktop attempts to many servers from one machine. In the Osaka hospital case, information on about 240 addresses was collected and remote desktop tried to about 70 from one server.

Source: Arctic Wolf Smash and Grab: Aggressive Akira Campaign Targets SonicWall VPNs, Deploys Ransomware in an Hour or LessOsaka General Medical Center, Information Security Incident Investigation Committee 「調査報告書」 (pp.11–12, 18–19, 36–41, 45–47; pp.11, 37, 45–46, 71)

Arctic Wolf saw Akira operators start scanning the internal network “within five minutes” of logging in to a SonicWall VPN.

Step 4: a new administrator appears

The intruder takes over or creates an administrator account in Active Directory.

What the IT team would seeTime median 3.40 h
  • ADA user account nobody requested, or an existing account added to the Domain Admins group.
  • ADAn administrator account logging on from a VPN address.
  • serversAntivirus removed or switched off on a server. In Osaka it was uninstalled from the first server the intruder reached.

Source: Sophos Nowhere, man: The 2026 Active Adversary Report (2025 case data)Osaka General Medical Center, Information Security Incident Investigation Committee 「調査報告書」 (pp.11–12, 18–19, 36–41, 45–47; pp.11, 37, 45–46, 71)

In Sophos’s 2025 case data, the median time from gaining access to the first attempt on Active Directory was 3.40 hours.

Step 5: backup jobs start failing

This usually happens in the last hours or days before encryption.

What the IT team would seeTime before encryption
  • backupBackup jobs fail, or the backup server stops answering.
  • backupSomeone logs in to the backup console at night.
  • serversShadow copies, the restore points Windows keeps on each server, disappear.

Step 6: one account reads everything

Data is usually copied out days into the attack.

What the IT team would seeTime median 3 days
  • file serverOne account reading thousands of files in a short time.
  • serversLarge compressed archives appearing on a server.
  • firewallOutbound traffic far above normal, often to a cloud storage service.

Source: Sophos It takes two: The 2025 Sophos Active Adversary Report (2024 case data)Sophos Nowhere, man: The 2026 Active Adversary Report (2025 case data)CISA, FBI and partners #StopRansomware: Akira Ransomware (AA24-109A)

CISA reports one Akira case that took “just over two hours”. In Sophos’s 2024 data the attack was detected a median of 2.7 hours after exfiltration.

Step 7: every file changes its name at once

Encryption is the first step anyone notices without reading a log.

What the IT team would seeTime under 4 h, sometimes 55 min
  • file serverThousands of files renamed with a new extension within minutes. The Osaka files ended in .elbie.
  • printersRansom notes printing on every printer, as at Handa Hospital before dawn.
  • serversServers and virtual machines stopping.

Source: Arctic Wolf Smash and Grab: Aggressive Akira Campaign Targets SonicWall VPNs, Deploys Ransomware in an Hour or LessOsaka General Medical Center, Information Security Incident Investigation Committee 「調査報告書」 (pp.11–12, 18–19, 36–41, 45–47; pp.11, 37, 45–46, 71)Tsurugi Town Handa Hospital, expert panel on the computer virus incident 「徳島県つるぎ町立半田病院 コンピュータウイルス感染事案 有識者会議調査報告書」 (printed pp.6–7, 13, 16, 21–22; pp.6–9, 13, 21, 37–38)

Time from entry to encryption

In the fastest cases, VPN login to encryption takes a few hours. The medians for data theft run to days. Each source starts its clock at a different point.

Akira via SonicWall SSL-VPN (Arctic Wolf, 2025)0 = VPN loginSophos incident cases, medians0 = start of the attackHanda Hospital, 2021 (expert panel report)0 = 23:57, first recorded remote desktop activity5 mininternal scanning starts55 minransomware, fastest casesunder 4 hencryption, almost all cases3.40 hfirst attempt onActive Directory11 h in 2024 data78.83 h (2025)72.98 h (2024)data exfiltration03:04ransom note opened01 h2 h3 h4 h1 day2 days3 days4 daysTime (compressed after 4 h)Ransomware deployed outside business hours (Sophos, 2025 data)88.10%100%Arctic Wolf, Akira0 = VPN loginSophos, median0 = start of the attackHanda Hospital0 = 23:57, first RDP record01 h2 h3 h4 h1 day2 days3 days4 days5 mininternal scanning startsArctic Wolf, Akira55 minransomware, fastest casesArctic Wolf, Akira03:04ransom note openedHanda Hospital3.40 hfirst attempt onActive DirectorySophos, medianunder 4 hencryption, almost all casesArctic Wolf, Akira11 h in 2024 dataSophos, median78.83 h (2025)72.98 h (2024)data exfiltrationSophos, medianTime (compressed after 4 h)Ransomware deployed outsidebusiness hours (Sophos, 2025 data)88.10%
Fig. 2-2Time from entry to each stage, three sources

Source: Arctic Wolf Smash and Grab: Aggressive Akira Campaign Targets SonicWall VPNs, Deploys Ransomware in an Hour or LessSophos Nowhere, man: The 2026 Active Adversary Report (2025 case data)Tsurugi Town Handa Hospital, expert panel on the computer virus incident 「徳島県つるぎ町立半田病院 コンピュータウイルス感染事案 有識者会議調査報告書」 (printed pp.6–7, 13, 16, 21–22; pp.6–9, 13, 21, 37–38)Sophos It takes two: The 2025 Sophos Active Adversary Report (2024 case data)

Data
SourceHour 0EventHours
Akira via SonicWall SSL-VPN (Arctic Wolf, 2025)0 = VPN login5 min, internal scanning starts0.08
Akira via SonicWall SSL-VPN (Arctic Wolf, 2025)0 = VPN login55 min, ransomware, fastest cases0.92
Akira via SonicWall SSL-VPN (Arctic Wolf, 2025)0 = VPN loginunder 4 h, encryption, almost all cases4.00
Sophos incident cases, medians0 = start of the attack3.40 h, first attempt on, Active Directory3.40
Sophos incident cases, medians0 = start of the attack11 h in 2024 data11.00
Sophos incident cases, medians0 = start of the attack78.83 h (2025), 72.98 h (2024), data exfiltration78.83
Handa Hospital, 2021 (expert panel report)0 = 23:57, first recorded remote desktop activity03:04, ransom note opened3.12
Sophos—Ransomware deployed outside business hours (Sophos, 2025 data)88.10%

Osaka General Medical Center, 2022

Osaka General Medical Center (大阪急性期・総合医療センター) was hit in October 2022, and its investigation committee published what happened, with page numbers. The report names the companies only by letter (E社, C社) and does not name the VPN product; it does name the vulnerability.

StepWhat the report saysPage
1The hospital noticed an electronic medical record failure at 07:45 on Monday 31 October 2022. Ransomware was confirmed at about 08:30.11
2The hospital’s catering contractor (E社) had a VPN appliance for remote maintenance. It carried CVE-2018-13379, and its global IP address, ID and password were on a publicly posted list. The committee finds it reasonable that the intruder logged in with those credentials.45
2The appliance’s firmware had never been updated. Before the emergency upgrade it was found to run version 5.4.2.18, 37
3Inside the contractor’s network, the intruder used a dictionary attack tool over remote desktop. The contractor’s PCs shared one weak built-in Administrator password that was in the tool’s list.45
3At the request of the catering system builder (C社), the hospital firewall allowed remote desktop from the contractor’s network at all times. The report later found this access was not needed and not in use.18, 39, 46
4The password of the first hospital server (server B) was cracked with Mimikatz. The intruder logged in over remote desktop and uninstalled the antivirus software.12, 45–46
4The hospital servers shared the same built-in Administrator password, which made lateral movement easy. No account lockout was configured.12, 19, 46
4The intruder collected information on about 240 reachable IP addresses and tried remote desktop to about 70 from server B.47
5The on-site LTO backup device was encrypted. The critical-care systems had online backups only and could not use them. Off-site LTO tapes were readable and restored the records to their state of 27 October.38, 40–41
6No large transfer was seen. The largest were about 1.8 MB over remote desktop and 7.9 MB over SMB, whose content could not be determined because detailed logging was off. The committee judges a leak “extremely unlikely”.12, 46
7Most servers, including the medical record servers, were encrypted by the Elbie ransomware. Core systems restarted on day 43 and all clinical systems on day 73.11
AfterC社 upgraded the VPN appliance firmware on the evening of 31 October without a backup, and the VPN syslog was lost. The committee could not determine whether the attack was a single event. Firewall logs showed remote desktop traffic from the contractor back to April 2022, and failed logons before 31 October.37, 39, 46
Fig. 2-3Osaka General Medical Center, 2022: the scrolly's steps in the committee report

Source: Osaka General Medical Center, Information Security Incident Investigation Committee 「調査報告書」 (pp.11–12, 18–19, 36–41, 45–47; pp.11, 37, 45–46, 71)

Steps 5 and 6 differ from the composite. The off-site tapes held, so the main records could be restored, and no data left in any volume the logs could show.

Handa Hospital, 2021

Tsurugi Town Handa Hospital (つるぎ町立半田病院) was hit in October 2021 through the same vulnerability. Page numbers are the printed ones.

StepWhat the report saysPage
2A Fortinet FortiGate 60E VPN appliance for remote maintenance had not been updated since installation, leaving CVE-2018-13379 open.main 16
2The leaked data from about 87,000 devices contained the hospital’s global IP address, ID and password. The appliance accepted connections from any address on the internet.tech 10, 11
3Remote desktop activity was recorded at 23:57 on 30 October, before the incident was found.main 21
4Active Directory allowed 5-character passwords and had lockout disabled. The built-in Administrator account was common to every computer. Mimikatz and PsExec were noted.tech 9, 15; main 22
5The backup server’s data from 2018 onward had been physically deleted. Backups kept offline up to 2018 were unaffected and used for recovery.main 13, 22
7Before dawn on 31 October, several printers printed the ransom note. At 03:04 a ransom note was opened. 40 computers were affected. Normal care resumed on 4 January 2022.main 6, 7, 21, 22
AfterThe vendor updated the VPN appliance’s firmware without preserving logs, so the logs could not be analyzed. Without logs and evidence, the entry route and the lateral movement method remain unknown.main 16; tech 14
Fig. 2-4Handa Hospital, 2021: cross-check against the expert panel report

Source: Tsurugi Town Handa Hospital, expert panel on the computer virus incident 「徳島県つるぎ町立半田病院 コンピュータウイルス感染事案 有識者会議調査報告書」 (printed pp.6–7, 13, 16, 21–22; pp.6–9, 13, 21, 37–38)Tsurugi Town Handa Hospital, expert panel on the computer virus incident 「徳島県つるぎ町立半田病院 コンピュータウイルス感染事案 有識者会議調査報告書 技術編」 (printed pp.9–11, 14–15; pp.10–14)

At both hospitals the VPN logs were lost when the appliance was upgraded before anyone copied them.

ATT&CK techniques and the logs that show them

Technique IDs and names are from MITRE ATT&CK. Most Security log events need the matching audit policy enabled. Appliance logs are lost in an upgrade unless they were sent off the box first.

StepATT&CK techniqueLog or telemetry that shows itEvent IDs
2T1190 Exploit Public-Facing ApplicationOften no login record at all, because the flaw is reached before authentication. Look for VPN process crashes and restarts, files on the appliance that should not be there, and configuration changes nobody made. Compare with the vendor's external integrity check.none (appliance or network logs)
2T1133 External Remote ServicesThe VPN appliance authentication log: user, source address, assigned internal address, session start and end. Flag logins outside the user's usual hours, from countries or hosting providers the user never uses, and from devices seen for the first time. Send this log off the appliance; both hospitals lost theirs.none (appliance or network logs)
2T1078 Valid AccountsOn internal hosts, successful logons whose source is the VPN address pool, by accounts that are dormant, belong to a contractor, or have never used the VPN. A run of failed logons before the first success.Security4624Security4625
2T1552.001 Unsecured Credentials: Credentials In FilesNot visible from Windows. This flaw class reads files on the appliance that hold credentials; CVE-2018-13379 did this at both hospitals. The sign comes later: logins with accounts whose passwords existed only on the appliance, such as local VPN users or the directory bind account.none (appliance or network logs)
2T1539 Steal Web Session CookieA VPN session used from a second source address without a new authentication event, or one user holding two concurrent sessions from different places.none (appliance or network logs)
3T1087.002 Account Discovery: Domain AccountOne host querying every user and group in the directory within minutes. Domain controllers do not log ordinary directory reads by default; EDR or directory query logging shows it. On member servers, group membership enumeration is logged.Security4798Security4799
4T1003 OS Credential DumpingEDR alerts on access to LSASS memory (Sysmon event 10, if Sysmon is deployed). On a domain controller, a copy of the directory database taken through a shadow copy. Both hospital reports name Mimikatz.Sysmon10
4T1078.002 Valid Accounts: Domain AccountsT1136.002 Create Account: Domain AccountA new account (4720), an account added to a security-enabled global group such as Domain Admins (4728) or to a local Administrators group (4732), and special privileges assigned to a logon that does not normally get them (4672).Security4720Security4728Security4732Security4672
4T1021.001 Remote Services: Remote Desktop ProtocolT1021.002 Remote Services: SMB/Windows Admin SharesLogon type 10 (remote interactive) on hosts that are never used that way; firewall flows to the remote desktop port from one host to many. Access to administrative shares from a workstation, and a new service in the System log when a remote-execution tool such as PsExec runs. The Osaka intruder tried remote desktop to about 70 addresses from one server.Security4624Security5140Security5145System7045
4T1562.001 Impair Defenses: Disable or Modify ToolsMicrosoft Defender events 5001 (real-time protection off) and 5007 (settings changed), Windows Installer event 11724 when a security product is removed, and an EDR agent that stops reporting. Clearing the Security log itself leaves event 1102 (T1070.001). The Osaka intruder uninstalled antivirus on the first hospital server.Defender5001Defender5007Application11724Security1102
5T1490 Inhibit System RecoveryShadow copies disappear from servers. With process-creation auditing that records the command line (4688), or Sysmon event 1, the deletion is logged together with the account that ran it. The backup software's own audit log shows console logins at night, deleted jobs and shortened retention.Security4688Sysmon1
6T1048 Exfiltration Over Alternative ProtocolT1567 Exfiltration Over Web ServiceOutbound volume per host far above its baseline, to cloud storage or file-transfer services. Archive tools running on servers (T1560.001). On the file server, one account reading thousands of files, visible with object-access or detailed share auditing. Osaka could not tell what a 7.9 MB SMB transfer contained because detailed logging was off.Security4663Security5145
7T1486 Data Encrypted for ImpactThousands of file writes and renames per minute on file servers, a new file extension on everything (.elbie in Osaka), ransom notes in every folder or on every printer, and virtual machines shutting down on the hypervisor. By this point the signal is loud, and it is late.none (appliance or network logs)
Fig. 2-5Intruder route mapped to ATT&CK techniques and their telemetry

Source: MITRE Enterprise TechniquesMicrosoft Advanced security audit policy settings (per-event pages linked from this reference: 4624, 4625, 4672, 4720, 4728, 4732, 4798, 4799, 5140, 5145, 4663, 1102)Osaka General Medical Center, Information Security Incident Investigation Committee 「調査報告書」 (pp.11–12, 18–19, 36–41, 45–47; pp.11, 37, 45–46, 71)

As one documented example, LockBit 3.0 deletes volume shadow copies and clears the Windows event logs.

Source: CISA and partners Understanding Ransomware Threat Actors: LockBit (AA23-165A)

Type a product, a CVE ID, a case or a term.