Files
hayabusa/rules/sigma/process_creation/win_attrib_hiding_files.yml
T
itiB 83d891b2fa Feature/rm submodule (#312)
* rm: submodule

* Add: rules

* Fix: hayabusa-rules to c9c10a
2021-12-20 21:14:32 +09:00

43 lines
1.1 KiB
YAML

title: Hiding Files with Attrib.exe
ruletype: Sigma
author: Sami Ruohonen
date: 2019/01/16
description: Detects usage of attrib.exe to hide files from users.
detection:
SELECTION_1:
EventID: 1
SELECTION_2:
Image: '*\attrib.exe'
SELECTION_3:
CommandLine: '* +h *'
SELECTION_4:
CommandLine: '*\desktop.ini *'
SELECTION_5:
ParentImage: '*\cmd.exe'
SELECTION_6:
CommandLine: +R +H +S +A \\*.cui
SELECTION_7:
ParentCommandLine: C:\WINDOWS\system32\\*.bat
condition: (SELECTION_1 and (SELECTION_2 and SELECTION_3) and not ((SELECTION_4
or (SELECTION_5 and SELECTION_6 and SELECTION_7))))
falsepositives:
- igfxCUIService.exe hiding *.cui files via .bat script (attrib.exe a child of cmd.exe
and igfxCUIService.exe is the parent of the cmd.exe)
- msiexec.exe hiding desktop.ini
fields:
- CommandLine
- ParentCommandLine
- User
id: 4281cb20-2994-4580-aa63-c8b86d019934
level: low
logsource:
category: process_creation
product: windows
modified: 2021/11/27
status: test
tags:
- attack.defense_evasion
- attack.t1564.001
- attack.t1158