Files
blue-team-tools/rules/linux/lnx_dd_delete_file.yml
T

27 lines
721 B
YAML
Raw Normal View History

2020-02-20 23:00:16 +01:00
title: Overwriting the File with Dev Zero or Null
2019-12-19 23:56:36 +01:00
id: 37222991-11e9-4b6d-8bdf-60fbe48f753e
2020-09-13 22:03:04 -06:00
status: stable
2019-10-23 11:22:33 -07:00
description: Detects overwriting (effectively wiping/deleting) the file
author: Jakob Weinzettl, oscd.community
2020-09-13 22:03:04 -06:00
date: 2019/10/23
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1485/T1485.yaml
2019-10-23 11:22:33 -07:00
logsource:
product: linux
2019-11-29 09:32:05 +01:00
service: auditd
2019-10-23 11:22:33 -07:00
detection:
2019-11-29 09:32:05 +01:00
selection:
type: 'EXECVE'
2019-12-02 02:54:48 +01:00
a0|contains: 'dd'
a1|contains:
2019-11-29 09:32:05 +01:00
- 'if=/dev/null'
- 'if=/dev/zero'
condition: selection
2019-10-23 11:22:33 -07:00
falsepositives:
2020-01-19 22:34:16 +01:00
- Appending null bytes to files
- Legitimate overwrite of files
2019-10-23 11:22:33 -07:00
level: low
2020-09-13 22:03:04 -06:00
tags:
- attack.impact
- attack.t1485