2020-01-30 16:26:09 +00:00
|
|
|
title: Hiding Files with Attrib.exe
|
2019-11-12 22:12:27 +00:00
|
|
|
id: 4281cb20-2994-4580-aa63-c8b86d019934
|
2019-01-16 22:36:31 +00:00
|
|
|
status: experimental
|
|
|
|
description: Detects usage of attrib.exe to hide files from users.
|
|
|
|
author: Sami Ruohonen
|
2020-01-30 15:07:37 +00:00
|
|
|
date: 2019/01/16
|
2020-08-29 04:39:30 +00:00
|
|
|
modified: 2020/08/27
|
2019-01-16 22:36:31 +00:00
|
|
|
logsource:
|
2019-03-01 23:14:20 +00:00
|
|
|
category: process_creation
|
|
|
|
product: windows
|
2019-01-16 22:36:31 +00:00
|
|
|
detection:
|
2019-03-01 23:14:20 +00:00
|
|
|
selection:
|
|
|
|
Image: '*\attrib.exe'
|
|
|
|
CommandLine: '* +h *'
|
|
|
|
ini:
|
|
|
|
CommandLine: '*\desktop.ini *'
|
|
|
|
intel:
|
|
|
|
ParentImage: '*\cmd.exe'
|
|
|
|
CommandLine: +R +H +S +A \\*.cui
|
|
|
|
ParentCommandLine: C:\WINDOWS\system32\\*.bat
|
|
|
|
condition: selection and not (ini or intel)
|
2019-01-16 22:36:31 +00:00
|
|
|
fields:
|
2019-03-01 23:14:20 +00:00
|
|
|
- CommandLine
|
|
|
|
- ParentCommandLine
|
|
|
|
- User
|
2019-01-16 22:36:31 +00:00
|
|
|
tags:
|
2019-03-01 23:14:20 +00:00
|
|
|
- attack.defense_evasion
|
2020-06-16 20:46:08 +00:00
|
|
|
- attack.t1564.001
|
2020-08-29 04:39:30 +00:00
|
|
|
- attack.t1158 # an old one
|
2019-01-16 22:36:31 +00:00
|
|
|
falsepositives:
|
2019-03-01 23:14:20 +00:00
|
|
|
- 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
|
2019-01-16 22:36:31 +00:00
|
|
|
level: low
|