Query: Sigma YAML for rpc_firewall / application
Matching passage: Sigma rule: Detects remote RPC calls to MS-DRSR from non DC hosts, which could indicate DCSync / DCShadow attacks.. Logsource: rpc_firewall / application. Rule: title: Possible DCSync Attack id: 56fda488-113e-4ce9-8076-afc2457922c3 status: test description: Detects remote RPC calls to MS-DRSR from non DC hosts, which could indicate DCSync / DCShadow attacks. references: - https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-drsr/f977faaa-673e-4f66-b9bf-48c640241d47?redirectedfrom=MSDN - https://github.com/jsecurity101/MSRPC-to-ATTACK/blob/ddd4608fe8684fcf2fcf9b48c5f0b3c28097f8a3/documents/MS-DRSR.md - https://github.com/zeronetworks/rpcfirewall - https://zeronetworks.com/blog/stopping-lateral-movement-via-the-rpc-firewall/ author: Sagie Dulce, Dekel Paz date: 2022-01-01 tags: - attack.t1033 - attack.discovery logsource: product: rpc_firewall category: application definition: 'Requirements: install and apply the RPC Firewall to all processes, enable DRSR UUID (e3514235-4b06-11d1-ab04-00c04fc2dcd2) for "dangerous" opcodes (not 0,1 or 12) only from trusted IPs (DCs)' detection: selection: EventLog: RPCFW EventID: 3 InterfaceUuid: e3514235-4b06-11d1-ab04-00c04fc2dcd2 filter: OpNum: - 0 - 1 - 12 condition: selection and not filter falsepositives: - Unknown level: high
Near-miss passage: Sigma rule: Detects the load of RstrtMgr DLL (Restart Manager) by an uncommon process. This library has been used during ransomware. Logsource: windows / image_load. Rule: title: Load Of RstrtMgr.DLL By An Uncommon Process id: 3669afd2-9891-4534-a626-e5cf03810a61 related: - id: b48492dc-c5ef-4572-8dff-32bc241c15c8 type: derived status: test description: 'Detects the load of RstrtMgr DLL (Restart Manager) by an uncommon process. This library has been used during ransomware campaigns to kill processes that would prevent file encryption by locking them (e.g. Conti ransomware, Cactus ransomware). It has also recently been seen used by the BiBi wiper for Windows. It could also be used for anti-analysis purposes by shut downing specific processes. ' references: - https://www.crowdstrike.com/blog/windows-restart-manager-part-1/ - https://www.crowdstrike.com/blog/windows-restart-manager-part-2/ - https://web.archive.org/web/20231221193106/https://www.swascan.com/cactus-ransomware-malware-analysis/ - https://taiwan.postsen.com/business/88601/Hamas-hackers-use-data-destruction-software-BiBi-which-consumes-a-lot-of-processor-resources-to-wipe-Windows-computer-data--iThome.html author: Luc Génaux date: 2023-11-28 modified: 2026-07-28 tags: - attack.impact - attack.defense-impairment - attack.t1486 - attack.t1685 logsource: category: image_load product: windows detection: selection: - ImageLoaded|endswith: \RstrtMgr.dll - OriginalFileName: RstrtMgr.dll filter_main_generic: Image|startswith: - C:\$WINDOWS.~BT\ - C:\$WinREAgent\ - C:\Program Files (x86)\ - C:\Program Files\ - C:\ProgramData\ - C:\Windows\explorer.exe - C:\Windows\SoftwareDistribution\ - C:\Windows\SysNative\ - C:\Windows\System32\ - C:\Windows\SysWOW64\ - C:\Windows\WinSxS\ - C:\WUDownloadCache\ filter_main_user_software_installations: Image|startswith: C:\Users\ Image|contains|all: - \AppData\Local\Temp\is- - .tmp\ Image|endswith: .tmp filter_main_admin_software_installations: Image|startswith: C:\Windows\Temp\ filter_optional_onedrive_1: Image|startswith: C:\Users\ Image|endswith: - \AppData\Local\Microsoft\OneDrive\OneDrive.exe - \AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe filter_optional_onedrive_2: Image|startswith: C:\Users\ Image|contains: \AppData\Local\Microsoft\OneDrive\ Image|endswith: \OneDrive.Sync.Service.exe condition: selection and not 1 of filter_main_* and not 1 of filter_optional_* falsepositives: - Other legitimate Windows processes not currently listed - Processes related to software installation level: low