Coverage › CVE-2025-21391
CVE-2025-21391 Mapped Sigma
Microsoft Windows Storage Link Following Vulnerability
- Vendor / product
- Microsoft — Windows
- Description (CISA)
- Microsoft Windows Storage contains a link following vulnerability that could allow for privilege escalation. This vulnerability could allow an attacker to delete data including data that results in the service being unavailable.
- Added to KEV
- 2025-02-11
- Due date
- 2025-03-04
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Known ransomware use
- Unknown
- CWE
- CWE-59
- CISA notes
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21391
https://nvd.nist.gov/vuln/detail/CVE-2025-21391 - Elsewhere
- cve.org · NVD · CISA KEV · JSON
ATT&CK techniques · CTID Mappings Explorer, ATT&CK 16.1, KEV snapshot 2025-07-28
3 mapping objects across 3 techniques. exploitation technique states how the vulnerability is exploited; primary and secondary impact state what exploitation achieves. They are different claims and are labelled as such.
| Technique | Mapping type | CTID comment | Status in v19.2 |
|---|---|---|---|
| T1068 Exploitation for Privilege Escalation | exploitation technique | Exploiting this link-following vulnerability can lead to privilege escalation, with the primary result being deletion of system data. As a consequence of this, deletion of certain files could also make the recovery process more difficult. ref 1 |
live |
| T1485 Data Destruction | primary impact | Exploiting this link-following vulnerability can lead to privilege escalation, with the primary result being deletion of system data. As a consequence of this, deletion of certain files could also make the recovery process more difficult. ref 1 |
live |
| T1490 Inhibit System Recovery | primary impact | Exploiting this link-following vulnerability can lead to privilege escalation, with the primary result being deletion of system data. As a consequence of this, deletion of certain files could also make the recovery process more difficult. ref 1 |
live |
Detection chain · ATT&CK Enterprise v19.2 detection strategies, analytics, log sources
T1068 Exploitation for Privilege Escalation exploitation technique
- DET0514 Detection Strategy for Exploitation for Privilege Escalation
AN1419 WindowsDetects exploitation attempts targeting vulnerable kernel drivers or OS components, often followed by unusual process or token behavior.Tunable:
DriverNamePatternTimeWindowParentProcessPathAN1420 LinuxDetects escalation via vulnerable setuid binaries or kernel modules, often chained with unusual access to /proc/kallsyms or /dev/kmem.Tunable:SetUIDBinaryListTimeWindowEffectiveUIDThresholdAN1421 macOSDetects use of vulnerable kernel extensions or entitlements abused via setuid or AppleScript injection chains.Tunable:EntitlementListTimeWindowAN1422 ContainersDetects container breakout behavior via exploitation (e.g., DirtyPipe, CVE-2022-0847), followed by host OS interaction or escalated capability assignment.Tunable:NamespaceEscapePatternTimeWindow
Sigma rules tagged attack.t1068 (31)
Author: Florian Roth (Nextron Systems)
· 2019-11-20 (modified 2024-12-01) · logsource: product=windows category=process_creation · 02e0b2ea-a597-428e-b04a-af6a1a403e5c
Detects an exploitation attempt in which the UAC consent dialogue is used to invoke an Internet Explorer process running as LOCAL_SYSTEM
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-08-18 (modified 2023-12-02) · logsource: product=windows category=driver_load · 05296024-fe8a-4baf-8f3d-9a5f5624ceb2
Detects loading of known malicious drivers via their hash.
Author: Florian Roth (Nextron Systems)
· 2021-10-09 (modified 2022-12-25) · logsource: product=linux service=auditd · 071d5e5a-9cef-47ec-bc4e-a42e34d8d0ed
Detects command line parameter very often used with coin miners
Author: Nisarg Suthar
· 2025-08-01 · logsource: product=windows category=process_creation · 0fdc7c7f-c690-4217-9ae3-31f5156eed72
Detects suspicious child processes created by CrushFTP. It could be an indication of exploitation of a RCE vulnerability such as CVE-2025-54309.
Author: Swachchhanda Shrawn Poudel (Nextron Systems)
· 2025-10-02 (modified 2026-03-31) · logsource: product=linux category=file_event · 10ac0730-c24e-4f4c-81f8-b13a1ac95a1d
Detects the creation of nsswitch.conf files in non-standard directories, which may indicate exploitation of CVE-2025-32463.
This vulnerability requires an attacker to create a nsswitch.conf in a directory that will be used during sudo chroot operations.
When sudo executes, it loads malicious shared libraries from user-controlled locations within the chroot environment,
potentially leading to arbitrary code execution and privilege escalation.
Author: @eyezuhk Isaac Fernandes
· 2025-02-19 · logsource: product=windows category=image_load · 17ce9373-2163-4a2c-90ba-f91e9ef7a8c1
Detects potentially suspicious loading of "ksproxy.ax", which may indicate an attempt to exploit CVE-2024-35250.
Author: Florian Roth (Nextron Systems)
· 2017-03-01 (modified 2025-03-17) · logsource: product=linux · 18b042f0-2ecd-4b6e-9f8d-aa7a7e7de781
Detects buffer overflow attempts in Unix system log files
Author: Florian Roth (Nextron Systems), oscd.community, Jonhnathan Ribeiro
· 2019-11-15 (modified 2021-11-27) · logsource: product=windows category=process_creation · 1c373b6d-76ce-4553-997d-8c1da9a6b5f5
Detects exploitation attempt of privilege escalation vulnerability via SetupComplete.cmd and PartnerSetupComplete.cmd described in CVE-2019-1378
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
· 2021-10-15 (modified 2022-10-05) · logsource: product=linux category=process_creation · 21541900-27a9-4454-9c4c-3f0a4240344a
Rule to detect the use of the SCX RunAsProvider Invoke_ExecuteShellCommand to execute any UNIX/Linux command using the /bin/sh shell.
SCXcore, started as the Microsoft Operations Manager UNIX/Linux Agent, is now used in a host of products including
Microsoft Operations Manager, Microsoft Azure, and Microsoft Operations Management Suite.
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2025-06-06 · logsource: product=windows category=process_creation · 38a1ac5f-9c74-47d2-a345-dd6f5eb4e7c8
Detects the execution of SharpSuccessor, a tool used to exploit the BadSuccessor attack for privilege escalation in WinServer 2025 Active Directory environments.
Successful usage of this tool can let the attackers gain the domain admin privileges by exploiting the BadSuccessor vulnerability.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-10-03 (modified 2023-12-02) · logsource: product=windows category=driver_load · 39b64854-5497-4b57-a448-40977b8c9679
Detects loading of known malicious drivers via the file name of the drivers.
Author: Florian Roth (Nextron Systems)
· 2021-11-22 (modified 2022-12-25) · logsource: product=windows category=file_event · 3be82d5d-09fe-4d6a-a275-0d40d234d324
Detects signs of the exploitation of LPE CVE-2021-41379 that include an msiexec process that creates an elevation_service.exe file
Author: Gene Kazimiarovich
· 2026-04-30 · logsource: product=linux service=auditd · 474b415a-8b3d-4e6a-9f12-0d5c8a7b6e94
Detects creation of AF_ALG (Address Family 38) sockets via the socket() syscall.
AF_ALG is the Linux kernel crypto API interface. It is exploited in CVE-2026-31431
to achieve local privilege escalation via a buffer overflow in the AF_ALG AEAD
splice path that corrupts the page cache of SUID binaries.
Legitimate AF_ALG usage is rare and confined to specific crypto utilities and VPN
daemons using non-default kernel offload configurations.
Author: Gene Kazimiarovich
· 2026-05-09 · logsource: product=linux category=process_creation · 474b415a-d917-4f3b-8c62-9e1a0d5f7b48
Detects kernel auto-loading of the authencesn crypto module via modprobe
This occurs when user-space code creates an AF_ALG socket and binds the authencesn AEAD cipher
(e.g., authencesn(hmac(sha256),cbc(aes))). The kernel invokes modprobe to load the
crypto module. This is a key indicator of CVE-2026-31431 (Copy Fail) exploitation,
where the authencesn cipher is used to trigger a buffer overflow in the AF_ALG AEAD splice path,
corrupting the page cache of SUID binaries for local privilege escalation.
On Linux systems, modprobe is typically a symlink to kmod, so the process image will be /usr/bin/kmod (or /bin/kmod)
with 'modprobe' appearing in the command line.
Author: Florian Roth (Nextron Systems), Zach Mathis
· 2020-01-15 (modified 2022-10-22) · logsource: product=windows service=application · 48d91a3a-2363-43ba-a456-ca71ac3da5c2
Detects events generated by user-mode applications when they call the CveEventWrite API when a known vulnerability is trying to be exploited.
MS started using this log in Jan. 2020 with CVE-2020-0601 (a Windows CryptoAPI vulnerability.
Unfortunately, that is about the only instance of CVEs being written to this log.
All 31 rules on the technique page →
T1485 Data Destruction primary impact
- DET0146 Detection of Data Destruction Across Platforms via Mass Overwrite and Deletion Patterns
AN0411 WindowsAdversary spawns command-line tools (e.g., del, cipher /w, SDelete) or scripts to recursively delete or overwrite user/system files. This may be correlated with abnormal file IO activity, registry writes, or tampering in critical system directories.Tunable:
TargetFilenameProcessCommandLineVolumeThresholdTimeWindowAN0412 LinuxMassive recursive deletions or overwrites viarm -rf,shred,dd, or wiper binaries. May include unlink syscalls, deletion of known config/data paths, or sequential overwrite patterns.Tunable:ExecutablePathDeletedPathPatternSyscallBurstRateAN0413 macOSDestruction viarm -rf, overwrite withddorsrm, often executed by script in /tmp or /private/tmp, may also involve file overwrite to political or decoy image data.Tunable:CommandPatternEntropyChangeRateAN0414 IaaSAdversary deletes critical infrastructure: EC2 instances, S3 buckets, snapshots, or volumes using elevated IAM credentials. Frequently includes batch API calls withDelete*orTerminateInstances.AWS:CloudTrailDeleteBucket, DeleteDBCluster, DeleteSnapshot, TerminateInstances→ DC0022 Cloud Storage DeletionTunable:OperationTypeUserAgentRegionScopeAN0415 ESXiAdversary destroys virtual disks (VMDK), images, or VMs by invokingvim-cmd, deleting datastore contents, or purging snapshots.Tunable:DatastorePathInitiatingUserAN0416 ContainersContainer process executes destructive file operations inside volume mounts or host paths. Includesrm -rf /mnt/volumes/, container breakout followed by host deletion attempts.Tunable:MountPointContainerImage
Sigma rules tagged attack.t1485 (20)
Author: Daniel Degasperi '@d4ns4n_'
· 2025-06-04 · logsource: product=windows service=application · 00321fee-ca72-4cce-b011-5415af3b9960
Detects the invocation of MS SQL transactions that are destructive towards table or database data, such as "DROP TABLE" or "DROP DATABASE".
Author: Austin Songer @austinsonger
· 2021-08-07 (modified 2022-08-23) · logsource: product=azure service=activitylogs · 08d6ac24-c927-4469-b3b7-2e422d6e3c43
Identifies when a Azure Kubernetes network policy is modified or deleted.
Author: Austin Songer @austinsonger
· 2021-08-07 (modified 2022-08-23) · logsource: product=azure service=activitylogs · 12d027c3-b48c-4d9d-8bb6-a732200034b2
Identifies when a service account is modified or deleted.
Author: Austin Songer @austinsonger
· 2021-08-07 (modified 2022-08-23) · logsource: product=azure service=activitylogs · 25cb259b-bbdc-4b87-98b7-90d7c72f8743
Detects the creation or patching of potential malicious RoleBinding/ClusterRoleBinding.
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), MSTIC
· 2021-10-15 (modified 2022-07-07) · logsource: product=linux category=process_creation · 2953194b-e33c-4859-b9e8-05948c167447
Detects potential overwriting and deletion of a file using DD.
Author: Austin Songer
· 2021-08-16 (modified 2022-10-09) · logsource: product=aws service=cloudtrail · 33d50d03-20ec-4b74-a74e-1e65a38af1c0
Identifies when an EKS cluster is created or deleted.
Author: Jakob Weinzettl, oscd.community
· 2019-10-23 · logsource: product=linux service=auditd · 37222991-11e9-4b6d-8bdf-60fbe48f753e
Detects overwriting (effectively wiping/deleting) of a file.
Author: Thomas Patzke
· 2017-06-14 (modified 2024-12-13) · logsource: product=windows service=security · 39a80702-d7ca-4a83-b776-525b1f86a36d
Detects files that have extensions commonly seen while SDelete is used to wipe files.
Author: Austin Songer @austinsonger
· 2021-09-03 (modified 2022-10-09) · logsource: product=azure service=activitylogs · 46530378-f9db-4af9-a9e5-889c177d3881
Identifies when a device or device configuration in azure is modified or deleted.
Author: frack113
· 2021-12-26 (modified 2023-02-21) · logsource: product=windows category=process_creation · 4b046706-5789-4673-b111-66f25fe99534
Detects usage of the "cipher" built-in utility in order to overwrite deleted data from disk.
Adversaries may destroy data and files on specific systems or in large numbers on a network to interrupt availability to systems, services, and network resources.
Data destruction is likely to render stored data irrecoverable by forensic techniques through overwriting files or data on local and remote drives
Author: Austin Songer @austinsonger
· 2021-08-15 (modified 2022-10-09) · logsource: product=aws service=cloudtrail · 6a7ba45c-63d8-473e-9736-2eaabff79964
Detects when a EFS Fileshare Mount is modified or deleted. An adversary breaking any file system using the mount target that is being deleted, which might disrupt instances or applications using those mounts.
Author: austinsonger
· 2021-08-19 (modified 2022-10-09) · logsource: product=m365 service=threat_management · 78a34b67-3c39-4886-8fb4-61c46dc18ecd
Detects when a Microsoft Cloud App Security reported a user has deleted a unusual a large volume of files.
Author: Austin Songer @austinsonger
· 2021-08-07 (modified 2022-08-23) · logsource: product=azure service=activitylogs · 7ee0b4aa-d8d4-4088-b661-20efdf41a04c
Identifies when a Kubernetes account access a sensitive objects such as configmaps or secrets.
Author: Austin Songer @austinsonger
· 2021-08-07 (modified 2022-08-23) · logsource: product=azure service=activitylogs · 818fee0c-e0ec-4e45-824e-83e4817b0887
Identifies when ClusterRoles/Roles are being modified or deleted.
Author: Austin Songer @austinsonger
· 2021-08-07 (modified 2022-08-23) · logsource: product=azure service=activitylogs · 93e0ef48-37c8-49ed-a02c-038aab23628e
Detects when a Container Registry is created or deleted.
All 20 rules on the technique page →
T1490 Inhibit System Recovery primary impact
- DET0329 Behavioral Detection for T1490 - Inhibit System Recovery
AN0933 WindowsProcess chains that use native utilities (vssadmin, wbadmin, diskshadow, bcdedit, REAgentC, wmic) with arguments to delete shadow copies, disable recovery, or remove backup catalogsWinEventLog:Microsoft-Windows-Backup
Windows Backup Catalog deletion or catalog corruption→ DC0040 File DeletionTunable:TimeWindowCommandLinePatternParentProcessContextAN0934 LinuxShell utilities or scripts deleting/etc/systemd/system/rescue.target,/etc/fstabbackups, or/boot/efipartitions; chattr used to block snapshot auto-recoveryauditd:SYSCALLchattr, rm, shred, dd run on recovery directories or partitions→ DC0064 Command ExecutionTunable:WatchedFilePathsShellProcessUserAN0935 ESXiESXi shell or vim-cmd execution that deletes all VM snapshots using vmsvc/snapshot.removeall or rm on snapshot pathsTunable:TargetVMNamesAN0936 Network DevicesExecution oferase,format, andreloadin immediate sequence from a privileged AAA sessionTunable:CommandSequenceWindowUserPrivilegeLevelAN0937 IaaSCloud API calls disabling snapshot scheduling, backup policies, versioning, followed by DeleteSnapshot/DeleteVolume operationsAWS:CloudTrailDeleteBucket, DeleteDBCluster, DeleteSnapshot, TerminateInstances→ DC0022 Cloud Storage DeletionTunable:UserAgentResourceType
Sigma rules tagged attack.t1490 (27)
Author: frack113
· 2022-01-02 (modified 2023-02-15) · logsource: product=windows category=file_delete · 06125661-3814-4e03-bfa2-1e4411c60ac3
Detects deletion of files with extensions often used for backup files. Adversaries may delete or remove built-in operating system data and turn off services designed to aid in the recovery of a corrupted system to prevent recovery.
Author: E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community
· 2019-10-24 (modified 2023-02-15) · logsource: product=windows category=process_creation · 1444443e-6757-43e4-9ea4-c8fc705f79a2
Detects the use of the bcdedit command to tamper with the boot configuration data. This technique is often times used by malware or attackers as a destructive way before launching ransomware.
Author: Tim Rauch, Elastic (idea)
· 2022-09-20 (modified 2022-12-30) · logsource: product=windows category=process_creation · 21ff4ca9-f13a-41ad-b828-0077b2af2e40
Detects deletion of Windows Volume Shadow Copies with PowerShell code and Get-WMIObject. This technique is used by numerous ransomware families such as Sodinokibi/REvil
Author: Florian Roth (Nextron Systems)
· 2020-05-08 (modified 2023-02-13) · logsource: product=windows category=process_creation · 29fd07fc-9cfd-4331-b7fd-cc18dfa21052
Detects specific process characteristics of Maze ransomware word document droppers
Author: Pratinav Chandra
· 2024-05-29 · logsource: product=macos category=process_creation · 2c95fa8a-8b8d-4787-afce-7117ceb8e3da
Detects disabling of Time Machine (Apple's automated backup utility software) via the native macOS backup utility "tmutil".
An attacker can use this to prevent backups from occurring.
Author: Markus Neis, @markus_neis
· 2021-07-07 (modified 2025-07-11) · logsource: product=windows category=image_load · 333cdbe8-27bb-4246-bf82-b41a0dca4b70
Detects the image load of vss_ps.dll by uncommon executables. This DLL is used by the Volume Shadow Copy Service (VSS) to manage shadow copies of files and volumes.
It is often abused by attackers to delete or manipulate shadow copies, which can hinder forensic investigations and data recovery efforts.
The fact that it is loaded by processes that are not typically associated with VSS operations can indicate suspicious activity.
Author: frack113
· 2022-10-31 (modified 2026-05-18) · logsource: product=windows category=image_load · 37774c23-25a1-4adb-bb6d-8bb9fd59c0f8
Detects the image load of VSS DLL by uncommon executables
Author: Florian Roth (Nextron Systems), Tom U. @c_APT_ure (collection), oscd.community, Jonhnathan Ribeiro
· 2019-01-16 (modified 2025-10-18) · logsource: product=windows category=process_creation · 41d40bff-377a-43e2-8e1b-2e543069e079
Detects WannaCry ransomware activity
Author: Pratinav Chandra
· 2024-05-29 · logsource: product=macos category=process_creation · 452df256-da78-427a-866f-49fa04417d74
Detects deletion attempts of MacOS Time Machine backups via the native backup utility "tmutil".
An adversary may perform this action before launching a ransonware attack to prevent the victim from restoring their files.
Author: frack113
· 2023-02-17 (modified 2025-12-03) · logsource: product=windows category=image_load · 48bfd177-7cf2-412b-ad77-baf923489e82
Detects the image load of VSS DLL by uncommon executables
Author: frack113
· 2022-04-04 (modified 2023-08-17) · logsource: product=windows category=registry_set · 5de03871-5d46-4539-a82d-3aa992a69a83
Detects the modification of the registry to disable a system restore on the computer
Author: frack113, Nasreddine Bencherchali (Nextron Systems)
· 2021-12-13 (modified 2024-05-10) · logsource: product=windows category=process_creation · 639c9081-f482-47d3-a0bd-ddee3d4ecd76
Detects the deletion of all backups or system state backups via "wbadmin.exe".
This technique is used by numerous ransomware families and actors.
This may only be successful on server platforms that have Windows Backup enabled.
Author: Austin Clark
· 2019-08-12 (modified 2025-04-28) · logsource: product=cisco service=aaa · 671ffc77-50a7-464f-9e3d-9ea2b493b26b
Modifications to a config that will serve an adversary's impacts or persistence
Author: Nasreddine Bencherchali (Nextron Systems), frack113
· 2024-05-10 · logsource: product=windows category=process_creation · 6fe4aa1e-0531-4510-8be2-782154b73b48
Detects the recovery of files from backups via "wbadmin.exe".
Attackers can restore sensitive files such as NTDS.DIT or Registry Hives from backups in order to potentially extract credentials.
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2026-03-11 · logsource: product=windows category=process_creation · 7c06ab9b-b1d2-4ba9-b06e-09491ded20d9
Detects system restore registry modification via command line, which can be used by adversaries to disable system restore on the computer.