Back Blog.Virustotal Catching Ransomware: Introducing encrypts-files and Stricter MITRE ATT&CK T1486
When we for ransomware samples during an investigation or detection test, we usually want to answer a direct question: Did this file actually encrypt user documents when executed?
Modern ransomware families implement file encryption in many different ways. While commodity builders may call standard operating system cryptographic APIs, contemporary Ransomware-as-a-Service (RaaS) payloads written in Rust, Go, C++, or .NET frequently embed statically linked AES, ChaCha20-Poly1305, RSA, or custom intermittent encryption routines that never touch OS crypto libraries. At the same time, benign installers, browsers, and updaters legitimately use cryptography and write thousands of temporary files during normal execution.
This week, we rolled out three updates across VirusTotal and Google Threat Intelligence to identify malware that encrypts user files:
New encrypts-files Tag Across Windows and macOS Sandboxes: A cipher-agnostic behavioral trait ( behaviour_tags:encrypts_files ) and file-level tag ( tag:encrypts-files ) emitted across CAPE Sandbox , Zenbox , and macOS Mirage only when dynamic analysis confirms real encryption of user documents.
Stricter MITRE ATT&CK T1486 Gating in CAPE Sandbox: Previously, generic CAPE file-churn signatures mapped high-volume file deletes, overwrites, or moves directly to T1486 . Newly scanned CAPE reports now require verified user-file encryption before emitting those T1486 mappings, cutting CAPE-only daily T1486 hits from 1,039/day (78.5% with 0 AV detections) to 0 on benign files and reducing false positives across platform-wide T1486 volume by 97.6% (from 7,238 to 171 files per day).
Real-Time VirusTotal Livehunt Support: Real-time YARA-X matching on sandbox reports via vt.BehaviourTrait.ENCRYPTS_FILES .
How Cipher-Agnostic File-Encryption Verification Works
Across CAPE Sandbox (Windows), Zenbox (Windows), and macOS Mirage (Apple Silicon), each sandbox environment contains realistic user documents across standard user profile directories.
During and after detonation, our sandboxes apply three verification gates before emitting encrypts-files (and before CAPE emits generic T1486 mappings):
Content Destruction and Entropy Verification (Cipher-Agnostic): Rather than hooking OS cryptographic APIs, each sandbox inspects modified user-file content on disk using format-aware verification tailored to its platform. Depending on the file type and sandbox, checks evaluate destroyed file structures, elevated entropy, or non-text byte patterns alongside corroborating ransomware behaviors without relying on a single fixed entropy threshold. Because verification evaluates the resulting files on disk, it catches AES, ChaCha20, intermittent encryption, and XOR ciphers alike.
Coordinated Ransomware Extension Renames: Many ransomware families read original user documents, write encrypted copies under a uniform new extension (for example, .k404 , .lkd , .INC , .BLWZ , or .heartbreaker ), and delete the originals. Our sandboxes correlate reads, writes, moves, and unlinks across user directories to confirm coordinated encryption renames across user documents.
Benign File-Churn Exclusion Guards: Self-extracting archives, software installers, compilers, browser caches, and logs are explicitly excluded when they only generate routine temporary or application files rather than encrypting user documents. Similarly, dropping a README.txt file or calling crypto APIs alone never triggers encrypts-files without corroborated document encryption.
Real-World Ransomware Caught in Action
Across 328,257 newly submitted unique files (405,469 total files including rescans) analyzed in CAPE Sandbox, Zenbox, and macOS Mirage since November 17, tag:encrypts-files matched 55 files and surfaced in-the-wild and validation payloads across Windows executables, Python scripts, DLLs, compressed archives (ZIP and RAR), and a rescanned Apple Silicon macOS binary with zero benign software false positives across all 55 manually reviewed matches (alongside 0 benign false positives across 9,976 random CAPE reports and 400 macOS Mirage runs in pre-rollout backtesting). Below are three examples you can inspect on VirusTotal.
1. Catching Zero- and Low-Detection In-the-Wild Lockers: The .k404 Campaign and lkd.exe
Static signatures often lag behind script-based or freshly compiled lockers. In an active .k404 extortion campaign submitted on November 17-18, Python locker fb0982bb9f5d5700685dcf4e99ff695f4593fbc3e3d0359d4c2baf23c545f354 ( system_update.pyw ) was flagged by 0 out of 75 static antivirus engines at the time of analysis, while companion PE binary 3dd45ab8e2f9c1af773a75221d792fb78870764419170e9c9c5941160364c700 (K404T_Fidye.exe) had 10 / 75 detections and separate Windows locker a8c2402ef3ae115300f5428712ccb0b5461f4a2f14b5bfdfbe08d5ad86bd3087 (lkd.exe) had 3 / 75 at the time of analysis.
When detonated in Zenbox, system_update.pyw runs under pythonw.exe from AppData\Roaming\WindowsSystemUpdate\, self-deletes, and rewrites Desktop user files into .k404 ciphertext, while K404T_Fidye.exe and lkd.exe encrypt user documents in CAPE Sandbox using .k404 and .lkd extensions alongside k404t.txt and read_me_restore.txt ransom notes. In CAPE Sandbox, verified encryption sets both tag:encrypts-files and T1486 . Note that Zenbox, macOS Mirage, and third-party sandboxes (such as Dr.Web vxCube or VMRay) keep their own rule-level T1486 mappings, so a file can carry T1486 from another sandbox rule without tag:encrypts-files.
2. Enterprise RaaS & High-Speed Windows Encryptors: INC Ransom and BlackWizardLock
Modern Windows ransomware families optimize encryption speed using asynchronous I/O and multi-threaded directory queues. In sample d243031985f7fa82a741e5677a227c65b2e2f1b07e0e10f00fe575dcc0eb4645 ( INC Ransom ), CAPE Sandbox captures the payload binding user files to Windows I/O Completion Ports (IOCP), rewriting user documents into .INC files, and dropping INC-README.txt across directories.
Similarly, sample 98110dedcca5803bc211f2d8dd640de79a2ba2a69d1def2f4970fa7799313f3e ( BlackWizardLock ) executes unpacked payload code from dynamically allocated memory, stages temporary .~BLWZ.tmp files, overwrites user documents with .BLWZ extensions (such as bitaddress.pdf.BLWZ and cover-letter-uidev.docx.BLWZ ), and presents a full-screen Russian extortion lock screen that directs victims to @seedware on Telegram and threatens to destroy the Master Boot Record (MBR) after five wrong key attempts.
3. Native Apple Silicon macOS Ransomware: Heartbreaker (Historical macOS Sample Rescanned in macOS Mirage, 16 / 75 AV at Analysis)
While native macOS ransomware is rare in the wild compared to Windows, re-analyzing historical macOS samples validates Apple Silicon coverage. Sample 6bdf42a575d2daee3de2530161cb5b1fef6ca78b4abfa74f329d6b6c72890d18 (first submitted in May 2025 and rescanned in macOS Mirage) is a self-signed 64-bit ARM64 Mach-O binary detected by 16 out of 75 antivirus engines at the time of analysis .
When detonated on bare-metal Apple Silicon in macOS Mirage , the binary installs a persistent LaunchAgent ( /Users/admin/Library/LaunchAgents/com.network.startup.plist ), drops /Users/admin/Desktop/README.txt , and encrypts user documents in /Users/admin/Downloads/ into Invoice_INV-2026-0842.pdf.heartbreaker and Vendor_Payment_Schedule.xlsx.heartbreaker . This triggers both ENCRYPTS_FILES and T1486 ( Data Encrypted for Impact ).
Summary of Verified Public Samples
Every sample below is publicly available on VirusTotal and carries verified file-encryption behavioral telemetry across diverse file formats and ransomware families:
What This Signal Does Not Catch
tag:encrypts-files is a high-precision confirmation signal, not an exhaustive recall filter. A missing tag does not mean a sample is benign or lacks ransomware logic. Automated sandbox runs will not emit the tag in several common scenarios:
Samples that require command-line arguments or passwords: Affiliates often guard execution with a runtime flag (such as LockBit 3.0 builds that require -pass to decrypt their payload).
Sandbox evasion, user-interaction gates, or long sleeps: Samples that exit on VM checks ( DETECT_DEBUG_ENVIRONMENT ), stall past the analysis window ( LONG_SLEEPS ), or wait for specific locales or clicks never reach their encryption loop.
Unreachable command-and-control key servers: Families that fetch an encryption key from an offline C2 server before touching local files abort prior to file modification.
DLLs with custom exported entry points: Standard rundll32 detonation executes DllMain , which misses DLL lockers that require calling a specific named or ordinal export with structured arguments.
Network- -only targets or executable file infectors: Samples configured to encrypt only SMB shares, niche database extensions absent from the VM, or parasitic .exe infectors (such as Virlock and Neshta ) do not encrypt user documents on the local profile.
Safe ransomware simulators and analysis timeouts: Tools that only encrypt their own newly created test files rather than user documents, as well as samples that time out before reaching their encryption loop, do not trigger the tag.
Practical Security Use Cases & VirusTotal Intelligence Queries
Security teams can use tag:encrypts-files (or behaviour_tags:encrypts_files ) immediately across VirusTotal Intelligence and the v3 REST API to streamline four common workflows:
Building Clean Ransomware Validation Corpora for EDR and Storage Defense: Endpoint protection engineers, NAS/SAN storage security teams, and purple teams need fresh samples guaranteed to perform real disk-level file encryption when testing ransomware rollback and anomaly-detection sensors. Filter directly on samples verified to encrypt user documents across operating systems and architectures: All confirmed file-encrypting samples: entity:file tag:encrypts-files 64-bit Windows PE encryptors: entity:file tag:encrypts-files type:peexe tag:64bits Archive, script, and non-PE file encryptors: entity:file tag:encrypts-files NOT type:peexe macOS Mach-O encryptors (low in-the-wild volume): entity:file tag:encrypts-files type:macho (note: 20 of the first 55 tagged files match NOT type:peexe , mostly ZIP/RAR archives plus .pyw scripts and DLLs)
All confirmed file-encrypting samples: entity:file tag:encrypts-files
64-bit Windows PE encryptors: entity:file tag:encrypts-files type:peexe tag:64bits
Archive, script, and non-PE file encryptors: entity:file tag:encrypts-files NOT type:peexe
macOS Mach-O encryptors (low in-the-wild volume): entity:file tag:encrypts-files type:macho (note: 20 of the first 55 tagged files match NOT type:peexe , mostly ZIP/RAR archives plus .pyw scripts and DLLs)
Uncovering Evasive or Newly Emerged Ransomware Families: Combine dynamic encryption proof with low static antivirus detection thresholds to catch novel packers, custom Go or Rust lockers, or targeted affiliate builds before broad signature coverage arrives: Low-detection file encryptors ( Behavior Tags ( attributes.tags and behaviour_traits in the v3 API).
Where triggering file paths are recorded: Inspect Signatures and File system actions > Files written in the Behavior tab (or signature_matches[].match_data in /api/v3/files/{sha256}/behaviours ) to see the specific affected file paths.
Evaluating older cached files: Cached reports from earlier scans keep their historical tags. Click Reanalyze in the VirusTotal web UI to queue dynamic runs on eligible sandboxes that have not yet analyzed that hash ( POST /api/v3/files/{id}/analyse in the API refreshes static AV only unless the file is re-uploaded or detonated in Private Scanning).
To explore live matches right now, open VirusTotal Intelligence ( entity:file tag:encrypts-files ) or deploy the YARA rules above in VirusTotal Livehunt . If you spot an interesting sample, edge case, or feature request, please us .
