Skip to content

PendingFileRenameOperations#1131

Closed
akshat4703 wants to merge 2 commits intomandiant:masterfrom
akshat4703:akshat/PendingFileRenameOperations
Closed

PendingFileRenameOperations#1131
akshat4703 wants to merge 2 commits intomandiant:masterfrom
akshat4703:akshat/PendingFileRenameOperations

Conversation

@akshat4703
Copy link
Contributor

@akshat4703 akshat4703 commented Mar 9, 2026

Summary
Adds a new nursery rule to detect persistence via the PendingFileRenameOperations registry value under the Windows Session Manager.
Closes: #911

What Changed
Added a rule:
rules/nursery/persist-via-pendingfilerenameoperations-registry-value.yml

The rule detects when malware sets:
HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

This registry value is commonly abused to schedule file rename/delete operations that execute on the next system reboot.

Validation
capafmt passed, lint --thorough passed

Notes
Added as a nursery rule for further testing and feedback.
It allows capa to identify programs that schedule malicious file operations to run after a system reboot.

@mike-hunhoff
Copy link
Collaborator

This appears to be a duplicate of #1132. Closing this issue in favor of the former.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rule idea: modify PendingFileRenameOperations to delete, rename, or move file across reboots

3 participants