Query: Sigma rule for Office application called wmic to proxye execution through a LOLBIN process. This is often used to break suspicious pare
Matching passage: Sigma rule: Office application called wmic to proxye execution through a LOLBIN process. This is often used to break suspicious pare. Logsource: windows / process_creation. Rule: title: Suspicious WMIC Execution Via Office Process id: e1693bc8-7168-4eab-8718-cdcaa68a1738 related: - id: 438025f9-5856-4663-83f7-52f878a70a50 type: derived - id: 518643ba-7d9c-4fa5-9f37-baed36059f6a type: obsolete - id: 9d1c72f5-43f0-4da5-9320-648cf2099dd0 type: obsolete - id: c0e1c3d5-4381-4f18-8145-2583f06a1fe5 type: obsolete - id: 04f5363a-6bca-42ff-be70-0d28bf629ead type: obsolete status: test description: Office application called wmic to proxye execution through a LOLBIN process. This is often used to break suspicious parent-child chain (Office app spawns LOLBin). references: - https://thedfirreport.com/2021/03/29/sodinokibi-aka-revil-ransomware/ - https://github.com/vadim-hunter/Detection-Ideas-Rules/blob/02bcbfc2bfb8b4da601bb30de0344ae453aa1afe/Threat%20Intelligence/The%20DFIR%20Report/20210329_Sodinokibi_(aka_REvil)_Ransomware.yaml author: Vadim Khrykov, Cyb3rEng date: 2021-08-23 modified: 2023-02-14 tags: - attack.stealth - attack.t1204.002 - attack.t1047 - attack.t1218.010 - attack.execution logsource: product: windows category: process_creation detection: selection_parent: ParentImage|endswith: - \WINWORD.EXE - \EXCEL.EXE - \POWERPNT.exe - \MSPUB.exe - \VISIO.exe - \MSACCESS.EXE - \EQNEDT32.EXE - \ONENOTE.EXE - \wordpad.exe - \wordview.exe selection_wmic_img: - Image|endswith: \wbem\WMIC.exe - OriginalFileName: wmic.exe selection_wmic_cli: CommandLine|contains|all: - process - create - call CommandLine|contains: - regsvr32 - rundll32 - msiexec - mshta - verclsid - wscript - cscript condition: all of selection_* falsepositives: - Unknown level: high
Near-miss passage: Sigma rule: Detects the creation or update of a scheduled task to run with "NT AUTHORITY\SYSTEM" privileges. Logsource: windows / process_creation. Rule: title: Schtasks Creation Or Modification With SYSTEM Privileges id: 89ca78fd-b37c-4310-b3d3-81a023f83936 status: test description: Detects the creation or update of a scheduled task to run with "NT AUTHORITY\SYSTEM" privileges references: - https://www.elastic.co/security-labs/exploring-the-qbot-attack-pattern - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks author: Nasreddine Bencherchali (Nextron Systems) date: 2022-07-28 modified: 2025-02-15 tags: - attack.privilege-escalation - attack.execution - attack.persistence - attack.t1053.005 logsource: product: windows category: process_creation detection: selection_root: Image|endswith: \schtasks.exe CommandLine|contains: - ' /change ' - ' /create ' selection_run: CommandLine|contains: '/ru ' selection_user: CommandLine|contains: - NT AUT - ' SYSTEM ' filter_optional_teamviewer: Image|endswith: \schtasks.exe CommandLine|contains|all: - /TN TVInstallRestore - \TeamViewer_.exe filter_optional_office: CommandLine|contains|all: - Subscription Heartbeat - \HeartbeatConfig.xml - \Microsoft Shared\OFFICE filter_optional_avira: CommandLine|contains: - '/Create /F /RU System /SC WEEKLY /TN AviraSystemSpeedupVerify /TR ' - :\Program Files (x86)\Avira\System Speedup\setup\avira_speedup_setup.exe - /VERIFY /VERYSILENT /NOSTART /NODOTNET /NORESTART" /RL HIGHEST condition: all of selection_* and not 1 of filter_optional_* falsepositives: - Unknown level: high