37 lines
810 B
YAML
37 lines
810 B
YAML
title: 'Suspicious History File Operations'
|
|
id: eae8ce9f-bde9-47a6-8e79-f20d18419910
|
|
status: test
|
|
description: 'Detects commandline operations on shell history files'
|
|
author: 'Mikhail Larin, oscd.community'
|
|
references:
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1552.003/T1552.003.md
|
|
date: 2020/10/17
|
|
modified: 2021/11/27
|
|
logsource:
|
|
product: linux
|
|
service: auditd
|
|
detection:
|
|
execve:
|
|
type: EXECVE
|
|
history:
|
|
- '.bash_history'
|
|
- '.zsh_history'
|
|
- '.zhistory'
|
|
- '.history'
|
|
- '.sh_history'
|
|
- 'fish_history'
|
|
condition: execve and history
|
|
fields:
|
|
- a0
|
|
- a1
|
|
- a2
|
|
- a3
|
|
- key
|
|
falsepositives:
|
|
- Legitimate administrative activity
|
|
- Ligitimate software, cleaning hist file
|
|
level: medium
|
|
tags:
|
|
- attack.credential_access
|
|
- attack.t1552.003
|