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