Find sigma rule
Attack: Masquerading: Rename System Utilities
Adversaries may rename legitimate system utilities to try to evade security mechanisms concerning the usage of those utilities. Security monitoring and control mechanisms may be in place for system utilities adversaries are capable of abusing. (Citation: LOLBAS Main Site) It may be possible to bypass those security mechanisms by renaming the utility prior to utilization (ex: rename rundll32.exe
). (Citation: Elastic Masquerade Ball) An alternative case occurs when a legitimate utility is copied or moved to a different directory and renamed to avoid detections based on system utilities executing from non-standard paths. (Citation: F-Secure CozyDuke)
MITRE
Tactic
- defense-evasion
technique
- T1036.003
Test : Masquerading - powershell.exe running as taskhostw.exe
OS
- windows
Description:
Copies powershell.exe, renames it, and launches it to masquerade as an instance of taskhostw.exe.
Upon successful execution, powershell.exe is renamed as taskhostw.exe and executed from non-standard path.
Executor
command_prompt
Sigma Rule
-
proc_creation_win_susp_copy_system_dir.yml (id: fff9d2b7-e11c-4a69-93d3-40ef66189767)
-
proc_creation_win_renamed_binary_highly_relevant.yml (id: 0ba1da6d-b6ce-4366-828c-18826c9de23e)
-
proc_creation_win_renamed_binary_highly_relevant.yml (id: 0ba1da6d-b6ce-4366-828c-18826c9de23e)
-
proc_creation_win_renamed_binary.yml (id: 36480ae1-a1cb-4eaa-a0d6-29801d7e9142)
-
image_load_dll_system_management_automation_susp_load.yml (id: 092bc4b9-3d1d-43b4-a6b4-8c8acd83522f)
-
image_load_dll_system_management_automation_susp_load.yml (id: 092bc4b9-3d1d-43b4-a6b4-8c8acd83522f)
-
posh_pm_alternate_powershell_hosts.yml (id: 64e8e417-c19a-475a-8d19-98ea705394cc)