
Intermittent Encryption
Intermittent encryption is a ransomware technique that encrypts only parts of each file, such as blocks spread through it or its first section, instead of the whole file. It can finish faster than full encryption, and it leaves a mix of scrambled and original data that some detection methods find harder to judge from a file's overall statistics.
"Intermittent" describes where the encryption lands inside a file, not a schedule over time. Ransomware locks files and withholds the key, the secret that unscrambles them, until the victim pays; intermittent encryption is one way the locking step is done.
CyberRecaps is supported by its readers. We may earn an affiliate commission at no extra cost to you if you buy through a link on this page.


Explain It Like I'm 10
Picture a classmate who wants to ruin your notebook quickly. Instead of rewriting every line in a secret code, they recode a stretch here and a stretch there on every page. That is faster, and you can still read everything they skipped. But the coded lines stay unreadable without the code, and if the contents list at the front was coded, you may not be able to find your way around even though most of the words are still there. What you can still use depends on which parts were coded, not only on how many.
Intermittent Encryption Quiz
Test your knowledge about Intermittent Encryption - maybe you already know everything about it.
What does intermittent encryption do to each file?

How does intermittent encryption work?
Full encryption scrambles the whole of a file. The result looks random and cannot be opened without the key. Intermittent encryption encrypts only some of the bytes, the small units of data a file is made of. Sources describe several patterns: blocks with gaps left between them, only the start of a file, or a combination of the two. A pattern can also depend on factors such as file size, with small files encrypted completely. Some ransomware offers several modes, so what a victim meets can depend on how that ransomware was configured. The file that results is part scrambled data and part original data.
Why would ransomware encrypt only part of a file?
Two reasons appear in the sources. The first is speed. MITRE ATT&CK, a public catalogue of attacker techniques, describes partial encryption, meaning encrypting only part of a file, as a way to speed up encryption in its entries for INC Ransomware and RansomHub, and researchers at the security vendor Sophos wrote in 2021 that some families encrypt only part of each document "just to finish the encryption stage of the attack faster". The second is avoiding detection. Sophos said the approach "confuses some protection technologies", and a 2025 research paper describes it as a way "to evade classical detection methods".
How much faster is it?
Measured savings belong to the test that produced them. In 2022 the security vendor SentinelOne tested one ransomware's "Auto" mode and reported a noticeably shorter elapsed processing time starting at a 5 GB file size, with a figure of 8.65 seconds, and a maximum reduction of 1.95 minutes at 50 GB. The 5 GB point is where SentinelOne called the saving noticeable, not a size below which nothing is saved. What a saving means depends on the baseline timing, how the encryptor is configured, the files and the hardware, so neither number is a general rule. Sophos describes the practical effect of such configurations as affecting "more files in less time".

Where has intermittent encryption been documented?
Each source below describes what its authors reported for particular ransomware, not a rule for every version or attack.
- Sophos on LockFile, August 2021: researchers analysing LockFile ransomware wrote, "We call this 'intermittent encryption,' and this is the first time Sophos researchers have seen this approach used." The same post says LockBit 2.0, DarkSide and BlackMatter were already known to encrypt only part of the documents they attack. The name describes what Sophos had seen; partial encryption in other forms came before it.
- CISA advisory on RansomHub, August 2024: a joint advisory from CISA, the FBI, MS-ISAC and HHS says RansomHub "implements intermittent encryption", working through files in fixed-size chunks with gaps between them and encrypting files below a set size completely. It also describes affiliates, the criminals who use the ransomware service, encrypting systems and exfiltrating data to extort victims.
- MITRE ATT&CK: the catalogue files ransomware encryption under T1486, Data Encrypted for Impact, a technique in the Impact tactic. T1486 has no sub-techniques, and MITRE records partial encryption in its procedure examples, which are short summaries of behaviour reported for named malware or groups. The entries for INC Ransomware, Playcrypt, RansomHub and Royal describe it.
- Sophos on Akira, December 2023: the post says some strains, such as LockBit and Akira, "are deliberately configured to encrypt only a portion of each file". A figure in it shows Akira, attacking only remote data (files on other machines), encrypting 3% of each file. Sophos says this accelerates the impact of the attack, affecting more files in less time, so a low percentage can still mean many damaged files.

How does intermittent encryption affect detection?
A detector can look at what a program does or at what it writes. Behavioural monitoring watches actions, such as many files being written, unusual file extensions or ransom notes appearing. Content-based detection examines the data itself. Fully encrypted data looks random, so a common check measures how evenly the byte values in a file are spread (its entropy) or compares them with random data using a statistical test such as chi-squared. The two approaches are not exclusive, and a product can combine them.
A file that is part scrambled and part original has byte statistics somewhere between the two, so a check that expects random-looking data can miss it. Sophos said so in 2021: the approach "skews analysis such as the chi-squared (chi^2) used by some ransomware protection software".
What did the research test?
A 2025 research paper by Ineza, Jackson, Niyonkuru, Kevil and Serwadda tested content-based detection of partial encryption. It is an arXiv preprint (a paper shared before formal publication; arXiv:2510.15133, first posted 16 October 2025 and last revised 15 August 2026), and its arXiv page lists no journal publication. The authors re-created partial-encryption patterns based on descriptions of nine ransomware families and applied them to 26,482 files of 11 types from a public collection. They then trained neural-network classifiers (programs that learn from examples) to label each file as encrypted or not. Accuracy below is how often the label was right, averaged over file types and encryption levels:
- Whole-file model trained only on untouched and fully encrypted files: about 61.5%.
- Whole-file model also trained on partly encrypted examples: about 84.4%.
- Pieces plus per-type thresholds: 96.54%, from splitting each file into fixed-size pieces, classifying every piece and combining the results with thresholds set for each file type.
The tested approach is that whole combination: a classifier on each piece plus the per-type thresholds. Cutting files into pieces alone is not what was measured. What the numbers show and do not show:
- They show: how often a classifier labelled stored files correctly on a laboratory collection after encryption.
- They do not show: how many files a product would protect during an attack. The authors made the encrypted files themselves rather than using live ransomware samples.
- The authors' own framing: "a practical, robust baseline for future detection systems", which describes future research, not a test of an existing product.
- Low shares of a file: the authors treated them as a stress test, not a realistic setting; the Akira example above is a reported case with a low share.
This approach inspects files after they were modified. It can find damage that already exists; it does not by itself stop a process that is still encrypting. The authors describe it as complementary to behavioural defences that aim to stop encryption early: runtime monitors to cut off damage quickly, and content analysis to catch stealthy campaigns and support scans of endpoints and backups.
Why do file types behave differently?
Whether a whole-file statistic changes enough to stand out depends on what the file already looks like. Content, compression and internal structure all shape a file's normal byte pattern. The paper notes that compression can produce data that already looks random, so entropy checks can raise false alarms on harmless files such as DOCX documents. In the paper's measurements, whole-file statistics gave far more to work with for a spreadsheet format (XLS) than for video (MP4), and the compressed office formats DOCX and PDF were closer to MP4 than to XLS, so "documents" and "media" did not sort neatly. These results come from 11 formats in one public collection. They do not extend automatically to all documents, databases, backups or virtual disks.
What can behavioural detection see?
MITRE's detection strategy for T1486 lists behaviours to watch, including high-frequency file writes using uncommon extensions, followed by signs such as ransom note creation or shadow copy deletion (Windows snapshots of files). Those descriptions do not mention partial encryption, so they are not evidence that such signals stay the same when only part of each file is written. Encrypting less data changes how much is written and for how long, so a signal that depends on write volume or timing could change too.
The Sophos CryptoGuard post adds two points:
- Detection often follows some encryption: dynamic anti-ransomware tools, which detect an attack while it runs, commonly need "some level of encryption or data manipulation" to have happened first, and for one approach based on processor signals, Sophos says partial encryption means detection comes after "a significant number of files" are compromised.
- A product can combine both kinds of signal: Sophos describes its CryptoGuard as watching each process that reads and writes files, building histograms of the data (counts of byte values), and evaluating them for entropy and statistical classification as unencrypted, compressed or encrypted. That is a vendor's documentation, not an independent test, and the post does not report how the product performs against partly encrypted files.

What should defenders ask about their own tools?
A single signal can miss cases. The sources above describe layers: monitoring that can stop a process while it encrypts, content analysis that finds files already damaged, and backups for what is lost. These questions separate a product claim from evidence:
- Which signals are monitored: file content, write behaviour, processes, extensions, ransom notes or shadow copies? Are they combined, and does the tool treat a partly encrypted file as encrypted?
- How quickly does containment happen: what is stopped when a signal fires, a process, a device or an account, and how long does that take?
- What damage occurs before it intervenes: does the tool find damaged files afterwards or stop encryption before damage, and how many files are affected meanwhile?
- How are false positives controlled: some harmless files, such as compressed ones, look random, and the paper sets thresholds by file type for this reason. What happens when harmless activity triggers an alert?
Ask for evidence from a controlled test of the tool as configured in your environment. The descriptions in vendor and framework documents do not show how a given tool behaves against partial encryption.
Tested, protected backups remain a recovery measure. MITRE's mitigation for T1486 is a plan with regularly taken and tested backups, stored off system and protected from the methods adversaries use to destroy them. Sophos notes that because detection commonly follows some encryption, a backup and restore function is needed to recover affected files. Backups restore files; they do not undo theft of data, which has its own entry on dedicated leak sites.

Can a partly encrypted file be recovered?
Three different things can happen to a partly encrypted file, and they are easy to confuse:
- The application may not open it normally: a program relies on a file's internal structure. If encrypted bytes fall on parts it needs, it may refuse the file although much of the content is unchanged.
- Surviving content may be extractable: content left unencrypted can sometimes be pulled out of the damaged file. This is extraction of readable content that was never encrypted.
- Encrypted bytes stay encrypted: turning them back into the original requires the key. Neither of the first two does that.
The paper notes that when only a small share is encrypted, many formats remain partially usable or recoverable, and Sophos noted that a text document encrypted with LockFile's pattern "remains partially readable".
What does the White Phoenix tool show?
CyberArk, a security vendor, publishes White Phoenix, which its repository describes as a tool "to recover content from files encrypted with intermittent encryption". The README lists supported formats (PDF, Word, Excel and PowerPoint, OpenDocument and zip files), says it was tested on five named ransomware families, and warns "Not all files that were encrypted with intermittent encryption will have data that can be recovered", with larger files more likely to yield data. It describes recovering content, not decrypting it. That is conditional content recovery, not guaranteed restoration.
What decides the outcome?
The percentage encrypted does not by itself predict what survives: the outcome depends on which structures and content were encrypted. In the notebook picture, copying out the untouched lines is extraction, and reading the coded lines needs the code, which is decryption. Because recovery of this kind is conditional, the questions above still matter: how much was damaged before anything intervened, and whether a tested, protected backup covers it.