Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
9 deletions.
There are no files selected for viewing
26 changes: 17 additions & 9 deletions
26
rules/windows/registry/registry_set/registry_set_susp_pendingfilerenameoperations.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,34 @@ | ||
title: Set PendingFileRenameOperations to Rename File | ||
title: Potential PendingFileRenameOperations Tamper | ||
id: 4eec988f-7bf0-49f1-8675-1e6a510b3a2a | ||
status: experimental | ||
description: Detect use of the PendingFileRenameOperations to rename a file in a suspicious folder. | ||
description: Detect changes to the "PendingFileRenameOperations" registry key from uncommon or suspicious images lcoations to stage currently used files for rename after reboot. | ||
references: | ||
- https://app.any.run/tasks/64b0ba45-e7ce-423b-9a1d-5b4ea59521e6/ | ||
- https://any.run/report/3ecd4763ffc944fdc67a9027e459cd4f448b1a8d1b36147977afaf86bbf2a261/64b0ba45-e7ce-423b-9a1d-5b4ea59521e6 | ||
- https://devblogs.microsoft.com/scripting/determine-pending-reboot-statuspowershell-style-part-1/ | ||
- https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc960241(v=technet.10)?redirectedfrom=MSDN | ||
- https://www.trendmicro.com/en_us/research/21/j/purplefox-adds-new-backdoor-that-uses-websockets.html | ||
- https://www.trendmicro.com/en_us/research/19/i/purple-fox-fileless-malware-with-rookit-component-delivered-by-rig-exploit-kit-now-abuses-powershell.html | ||
author: frack113 | ||
date: 2023/01/27 | ||
tags: | ||
- attack.defense_evasion | ||
- attack.t1036.003 | ||
- attack.t1036.003 | ||
logsource: | ||
category: registry_set | ||
product: windows | ||
detection: | ||
selection: | ||
selection_main: | ||
EventType: 'SetValue' | ||
TargetObject|endswith: '\SYSTEM\CurrentControlSet\Control\SESSION MANAGER\PendingFileRenameOperations' | ||
Details|contains: | ||
TargetObject|contains: '\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations' | ||
selection_susp_paths: | ||
Image|contains: | ||
- '\AppData\Local\Temp\' | ||
- '\Users\Public\' | ||
condition: selection | ||
selection_susp_images: | ||
- Image|endswith: | ||
- '\reg.exe' | ||
- '\regedit.exe' | ||
condition: selection_main and 1 of selection_susp_* | ||
falsepositives: | ||
- Unknown | ||
- Installers and updaters may set currently in use files for rename after a reboot. | ||
level: medium |