Use case
Updated 27 October 2026. Outside sources are listed at the end of the page, each with its own date.
To stop ransomware before encryption, block the changes it makes first. Before encryption, operators commonly delete shadow copies and tamper with security tools. Mimic Networks Ransomware Defense checks each change to a protected Windows or Linux server against that server's known-good profile and stops unauthorized changes at the point of execution.
Mimic Networks calls this Pre-Encryption Enforcement. It enforces a known-good baseline at Ring 0: each attempted change to a protected server is checked against a verified record of that server’s authorized state, and Mimic stops exploitation at the point of execution when a change falls outside it. No signature, behavioral pattern or prior knowledge of the variant is required.
This guide follows the attack in order: what ransomware does before it encrypts, what CISA recommends at each stage, where each control acts and how the five steps of the Known-Good Enforcement Guide, by Mimic Networks, stop the change on the server. It ends with what to do if encryption starts anyway.
CISA defines ransomware as “a form of malware designed to encrypt files on a device, rendering them and the systems that rely on them unusable” (CISA). Many operators also steal data first and threaten to release it, which CISA calls double extortion, and some skip encryption entirely. Encryption often comes last: CISA notes that in some cases ransomware deployment “is the last step in a network compromise.” The steps before it follow a pattern MITRE ATT&CK documents technique by technique.
| Stage | What attackers do | ATT&CK technique |
|---|---|---|
| Get in | Exploit an internet-facing application, use an exposed remote service such as a VPN or RDP, send phishing messages or sign in with stolen credentials | T1190, T1133, T1566, T1078 |
| Take credentials and spread | Dump credentials from LSASS memory and move laterally over Remote Desktop | T1003.001, T1021.001 |
| Run tools that look legitimate | Run PowerShell and proxy execution through signed system binaries | T1059.001, T1218 |
| Impair defenses | Disable, degrade or tamper with security tools such as EDR, antivirus and logging agents | T1685 |
| Inhibit recovery | Delete shadow copies and backup catalogs, and turn off recovery features | T1490 |
| Encrypt | Encrypt data on local and remote drives and withhold the key | T1486 |
CISA’s response checklist names the built-in Windows tools to watch at the recovery stage, bcdedit.exe, fsutil.exe, vssadmin.exe, wbadmin.exe and wmic.exe, and calls their misuse “a common ransomware technique to inhibit system recovery” (CISA). Each stage before encryption is a chance to stop the attack, and each takes a different control.
CISA’s #StopRansomware Guide, written with MS-ISAC, the NSA and the FBI, groups prevention by initial access vector and maps its recommendations to CISA’s Cross-Sector Cybersecurity Performance Goals (CISA). These are the practices that bear most directly on stopping ransomware before encryption.
| Area | What CISA recommends |
|---|---|
| Backups | “Maintain offline, encrypted backups of critical data,” test them in a disaster recovery scenario and keep “golden images” of critical systems. CISA notes many variants try to find and delete or encrypt backups they can reach. |
| Response plan | Create, maintain and exercise a cyber incident response plan and communications plan, with a hard copy and an offline version. |
| Internet-facing systems | Don’t expose services such as RDP to the web, scan for vulnerabilities regularly and prioritize timely patching of internet-facing servers, “especially for known exploited vulnerabilities.” The KEV catalog lists them. |
| Remote access | Limit RDP, close unused RDP ports, apply MFA and log login attempts. Patch VPNs and require MFA on every VPN connection. |
| Credentials | Phishing-resistant MFA for email, VPNs and accounts that access critical systems. Separate admin accounts from user accounts, and protect LSASS with the attack surface reduction rule for LSASS and Credential Guard. |
| Phishing | Awareness training, email gateway filtering, DMARC and macros disabled in Office files sent by email. |
| Precursor malware | Centrally managed antivirus, and “application allowlisting and/or endpoint detection and response (EDR) solutions on all assets,” with Windows Defender Application Control, AppLocker or both on Windows. Microsoft’s current documentation covers App Control for Business and AppLocker. |
| Social engineering | Training on advanced social engineering, Protective DNS and sandboxed browsers. |
| Third parties and MSPs | Review their risk management and cyber hygiene, and give them only the access their role needs. |
| Hardening | Least privilege on all systems and services. Also restricted PowerShell, secured domain controllers, network segmentation and centralized logs in a SIEM. |
NIST’s ransomware profile organizes the same work under the Cybersecurity Framework 2.0 functions: govern, identify, protect, detect, respond and recover (NIST IR 8374 Rev. 1). Most of CISA’s list works before an attacker reaches a server, by closing the way in. On the server itself, allowlisting decides which software may run and EDR decides what activity looks like. Known-good enforcement adds a different check there: whether a given change was authorized.
| Control | Where it acts | What it needs to know |
|---|---|---|
| Patching known exploited vulnerabilities (CISA KEV) | Before an attacker can use a known flaw to get in | Which vulnerabilities are being exploited |
| Phishing-resistant MFA (CISA) | At sign-in | Who the user is |
| Application allowlisting (NIST SP 800-167, App Control) | When code tries to run: which applications and components may execute | The approved application inventory |
| Attack surface reduction rules, Windows (Microsoft Learn) | When software attempts a risky behavior, such as running an obfuscated script | The behaviors to block |
| Controlled folder access, Windows (Microsoft Learn) | When an app tries to change files in a protected folder | Which apps are trusted |
| EDR (Microsoft Learn) | When activity matches a threat pattern or behavior it detects. Some modes also block on those detections, such as Microsoft’s EDR in block mode | Threat patterns and behaviors |
| Known-good enforcement | Inline, before a change to a protected server executes | The server’s authorized baseline. Nothing about the attacker |
| Offline, tested backups (CISA) | After the attack, for recovery | What to restore and whether the copy is clean |
The controls don’t compete. They act at different moments and need different knowledge, so one can catch what another misses. Patching speed matters: of the 491 vulnerabilities newly named as exploited in the first half of 2026, attackers were already exploiting 141 when those flaws went public, per the Zero Day Clock, read 24 October 2026. For the platforms compared row by row, see what runs beside EDR to stop ransomware.
The Known-Good Enforcement Guide, by Mimic Networks, sets out five steps that run on each protected server. The known-good enforcement page explains the model behind it.
During onboarding, Mimic profiles each protected server in its approved state and records its files, processes, services, registry keys and settings. Unlike application allowlisting, which decides what may launch, the baseline governs what may change. It describes the server, not the threat, so it doesn’t need an update when a new variant appears.
Each attempted change to a protected server is checked against the baseline. Mimic decides inline, before the change executes. The question is whether the change was authorized, not whether it looks malicious, so the check doesn’t depend on recognizing the variant.
Authorized changes proceed. When a change to a protected server falls outside the baseline, Mimic stops exploitation at the point of execution. Controlled folder access and the allowlisting CISA recommends decide by which application is asking. Mimic decides by whether the change itself is in the baseline, so a trusted or signed process attempting an unauthorized change is stopped too.
Each blocked attempt is recorded with the process behind it and what it tried to change, and the record is visible in DashCam, Mimic’s console. Responders start from what was attempted, in order, rather than from a reconstruction.
Approved updates are part of the baseline’s lifecycle, so legitimate operations continue. For planned administrative work there’s Maintenance Mode. In Maintenance Mode, Mimic suspends enforcement and keeps monitoring, so schedule those windows with the same care as any other change.
For protected critical applications, Mimic blocks the unauthorized change before it reaches the data, so there’s no window of data loss to clean up. Where a restore is still needed, Mimic creates a restore point the moment it detects the change.
Ransomware prevention stops an attack before it acts. Detection recognizes an attack by its signature or behavior, then alerts, blocks or responds. A control that has to recognize an attack can’t act on one it doesn’t recognize yet, and operators alter variants, sign their binaries or work through legitimate administrative tools to avoid a match.
Microsoft’s documentation separates the two. It describes attack surface reduction as capabilities that “eliminate risky or unnecessary behaviors on devices and networks,” and says they complement the Defender for Endpoint capabilities “that detect and respond to threats after they occur” (Microsoft Learn).
Prevention controls differ in what they decide on. ASR rules constrain risky software behaviors (Microsoft Learn). Controlled folder access “checks apps against a list of known, trusted apps and prevents untrusted apps from modifying files in protected folders” (Microsoft Learn). Known-good enforcement decides on the change itself: whether it’s inside the protected server’s authorized baseline.
By not depending on recognizing it. AI lets operators generate new variants, adapt mid-intrusion and compress the attack timeline, and each of those strains a control that has to recognize the attack first. A variant nobody has seen has no signature. An operator adapting mid-intrusion changes the behavior a profile was built on.
Enforcement asks only whether an attempted change falls inside the known-good baseline. A variant generated minutes ago gets the same test as one catalogued for years, because the test was never about the variant. Enforcement isn’t a response with an analyst in the loop. It’s a decision made in the execution path.
Ransomware operators often sign in rather than break in. MITRE ATT&CK documents adversaries using valid accounts to get in, persist and escalate privileges (T1078), and CISA tells organizations to apply least privilege because attackers often use privileged accounts for network-wide ransomware attacks (CISA). With a valid credential and an approved tool, the activity can look legitimate to identity and endpoint controls.
Mimic checks the change, not the credential. An attacker holding valid credentials still has to make a change the baseline doesn’t contain, and that change gets the same answer as any other.
Follow your approved incident response plan. CISA’s response checklist tells responders to “move through the first three steps in sequence” (CISA):
Then report the incident to CISA, a local FBI field office, the FBI’s IC3 or a local U.S. Secret Service field office, and follow your notification plan. Contain and eradicate next. Capture system images and memory. Ask federal law enforcement about available decryptors. Secure the systems and accounts involved in the initial breach, rebuild systems in order of critical services and reset passwords for affected systems (CISA).
Recovery reconnects systems and restores data from offline, encrypted backups, again in order of critical services, taking care not to re-infect clean systems. CISA closes the checklist with lessons learned, documented and shared with CISA or your sector’s ISAC. Where Mimic protects a server, its record of blocked attempts gives responders the order in which changes were tried. Enforcement doesn’t replace any of these steps.
Proof
DashCam keeps the record of the protected run: what each blocked attempt tried to change, by which process and when.
Enforcement doesn’t remove the vulnerability ransomware used to get in, and it doesn’t judge whether approved software is behaving maliciously. It decides whether each change to a protected server was authorized. It doesn’t retrieve data stolen before an attack was stopped. It covers the servers where it runs. It doesn’t replace patching, MFA, detection or offline backups.
Related reading: Mimic Ransomware Defense, what is kernel-level enforcement security?, the known-good enforcement glossary and Virtual Patching.
Limits
Who it's for
A control that has to recognize the attack has nothing to match on a variant nobody has seen. Mimic checks the change instead, on the servers where encryption would cost the most.
Mimic decides inline, before the change executes. Enforcement runs as a file system mini-filter driver on Windows and through eBPF on Linux, with the enforcement logic in a WebAssembly sandbox implemented in Rust, from a single module on both.
What is kernel-level enforcement security?
No reboots required. In Maintenance Mode, Mimic suspends enforcement and keeps monitoring, so schedule those windows like any other change.
How do you stop ransomware before encryption starts?
+Close the ways in and block the changes ransomware needs before they execute. Patch internet-facing systems, require phishing-resistant MFA and use allowlisting, as CISA recommends. Keep offline, encrypted backups, because attackers commonly go after recovery before they encrypt. Kernel-level enforcement checks each attempted change to a protected server against its authorized state and stops exploitation at the point of execution when a change falls outside it.
What is the difference between ransomware detection and ransomware prevention?
+Detection recognizes ransomware by its signature or behavior, then alerts, blocks or responds. Prevention stops the attack before it can act. Attack surface reduction rules, allowlisting and known-good enforcement are all prevention controls, and they decide on different things. Mimic uses a prevention model that checks whether each change to a protected server was authorized, so it doesn’t need to recognize the variant.
Is kernel-level enforcement the same as application allowlisting?
+No, though both block by default. Allowlisting decides which software may run, and per-application rules can limit what approved software reaches. Kernel-level enforcement decides whether each change to a protected server matches that server’s authorized state, whichever process makes it. The two can run together: allowlisting on what may execute, enforcement on what may change.
What happens when ransomware tries to delete backups first?
+Plan for it, because it’s common. MITRE ATT&CK documents attackers deleting built-in recovery data such as volume shadow copies and backup catalogs, and CISA recommends offline, encrypted backups that are tested regularly so a copy survives. On protected servers, Mimic checks attempted changes against the authorized baseline and stops exploitation at the point of execution when a change falls outside it.
Does known-good enforcement replace EDR or backup?
+No. Mimic Networks is designed to run alongside existing EDR, XDR, SIEM, SOAR and BCDR tooling rather than replace it. EDR covers detection, investigation and response. Backups cover recovery, and CISA recommends keeping them offline and tested. Mimic adds a check on protected servers that doesn’t depend on recognizing the attack: whether each change was authorized before it executes.
How do you prevent AI-powered ransomware?
+By not depending on recognizing it. AI lets operators generate new variants and adapt mid-intrusion, which strains signature and behavioral models. Enforcement asks only whether an attempted change falls inside the known-good baseline, so a variant generated minutes ago gets the same test as any other. Enforcement runs in five steps: profile, check, stop, record and keep the baseline current.
What does CISA’s #StopRansomware Guide recommend?
+The guide has two parts. Part 1 covers preparation and prevention: offline, encrypted and tested backups, an exercised incident response plan, patching internet-facing systems with known exploited vulnerabilities first, phishing-resistant MFA, allowlisting or EDR on all assets and least privilege. Part 2 is a response checklist that starts with isolating impacted systems, then triage, reporting, containment and recovery. CISA wrote it with MS-ISAC, the NSA and the FBI.
What happens to the forensic record?
+Each blocked attempt is recorded with what it tried to change, when and the process behind it, and the record is visible in DashCam, Mimic’s console. The record exists whether or not anyone asked for it, because the attempt was intercepted rather than reconstructed afterward. Responders can see the order in which changes were tried on a protected server.
Each source below was read on 22 October 2026 unless its date says otherwise. Dates are the dates each page shows.
Start with a demo. Bring the servers you need to protect and the questions your team will ask.
Resources
BlogCase StudiesEventsIn the NewsKnown-Good Enforcement GlossaryStop Ransomware Before EncryptionKernel-Level Enforcement SecurityKnown-Good EnforcementKernel-Level Enforcement GuideAI-Powered Ransomware ExplainedHow to Stop Ransomware Before EncryptionHow to Prevent AI-Powered RansomwareHow to Stop AI-Powered RansomwareAboutCompany
CareersCopyright Mimic 2026
By use case
Active Directory protectionAdmin tools and valid credentialsAgentic AI GovernanceAI-discovered vulnerabilitiesBlock unauthorized changesRun alongside EDRServers you can't patchStop ransomware before encryptionThe window before a patchBy use case
Active Directory protectionAdmin tools and valid credentialsAgentic AI GovernanceAI-discovered vulnerabilitiesBlock unauthorized changesRun alongside EDRServers you can't patchStop ransomware before encryptionThe window before a patchBy industry
EnergyFinancial servicesGaming and entertainmentHealthcareHospitality and casinosLife sciencesManufacturingPublic sectorRetailTelecomSolutions
All solutionsActive Directory protectionAdmin tools and valid credentialsAgentic AI GovernanceAI-discovered vulnerabilitiesBlock unauthorized changesRun alongside EDRServers you can't patchStop ransomware before encryptionThe window before a patchEnergyFinancial servicesGaming and entertainmentHealthcareHospitality and casinosLife sciencesManufacturingPublic sectorRetailTelecom