diff --git a/rules/windows/file_event/file_event_win_wpbbin_persistence.yml b/rules/windows/file_event/file_event_win_wpbbin_persistence.yml new file mode 100644 index 000000000..d8e44ab95 --- /dev/null +++ b/rules/windows/file_event/file_event_win_wpbbin_persistence.yml @@ -0,0 +1,23 @@ +title: UEFI Persistence Via Wpbbin - FileCreation +id: e94b9ddc-eec5-4bb8-8a58-b9dc5f4e185f +status: experimental +description: Detects creation of a file named "wpbbin" in the "%systemroot%\system32\" directory. Which could be indicative of UEFI based persistence method +author: Nasreddine Bencherchali +date: 2022/07/18 +references: + - https://grzegorztworek.medium.com/using-uefi-to-inject-executable-files-into-bitlocker-protected-drives-8ff4ca59c94c + - https://persistence-info.github.io/Data/wpbbin.html +tags: + - attack.persistence + - attack.defense_evasion + - attack.t1542.001 +logsource: + product: windows + category: file_event +detection: + selection: + TargetFilename: 'C:\Windows\System32\wpbbin.exe' + condition: selection +falsepositives: + - Legitimate usage of the file by hardware manufacturer such as lenovo (Thanks @0gtweet for the tip) +level: high diff --git a/rules/windows/process_creation/proc_creation_win_wpbbin_persistence.yml b/rules/windows/process_creation/proc_creation_win_wpbbin_persistence.yml new file mode 100644 index 000000000..46cd7039d --- /dev/null +++ b/rules/windows/process_creation/proc_creation_win_wpbbin_persistence.yml @@ -0,0 +1,23 @@ +title: UEFI Persistence Via Wpbbin - ProcessCreation +id: 4abc0ec4-db5a-412f-9632-26659cddf145 +status: experimental +description: Detects execution of the binary "wpbbin" which is used as part of the UEFI based persistence method described in the refernece section +author: Nasreddine Bencherchali +date: 2022/07/18 +references: + - https://grzegorztworek.medium.com/using-uefi-to-inject-executable-files-into-bitlocker-protected-drives-8ff4ca59c94c + - https://persistence-info.github.io/Data/wpbbin.html +tags: + - attack.persistence + - attack.defense_evasion + - attack.t1542.001 +logsource: + product: windows + category: process_creation +detection: + selection: + Image: 'C:\Windows\System32\wpbbin.exe' + condition: selection +falsepositives: + - Legitimate usage of the file by hardware manufacturer such as lenovo (Thanks @0gtweet for the tip) +level: high