2020-11-06 09:25:59 +00:00
|
|
|
action: global
|
2020-07-12 22:32:24 +00:00
|
|
|
title: Disabling Security Tools
|
2020-09-14 04:03:04 +00:00
|
|
|
status: experimental
|
2020-07-12 22:32:24 +00:00
|
|
|
description: Detects disabling security tools
|
2020-11-06 19:56:08 +00:00
|
|
|
author: Ömer Günal, Alejandro Ortuno, oscd.community
|
2020-09-14 04:03:04 +00:00
|
|
|
date: 2020/06/17
|
2020-07-12 22:32:24 +00:00
|
|
|
references:
|
2020-10-22 08:22:00 +00:00
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1562.004/T1562.004.md
|
2020-11-06 09:25:59 +00:00
|
|
|
falsepositives:
|
|
|
|
- Legitimate administration activities
|
|
|
|
level: medium
|
|
|
|
tags:
|
|
|
|
- attack.defense_evasion
|
|
|
|
- attack.t1562.004
|
2021-08-22 11:57:56 +00:00
|
|
|
- attack.t1089 # an old one
|
2020-11-06 09:25:59 +00:00
|
|
|
---
|
2021-09-02 18:07:03 +00:00
|
|
|
id: e3a8a052-111f-4606-9aee-f28ebeb76776
|
2020-07-12 22:32:24 +00:00
|
|
|
logsource:
|
2020-10-28 08:56:01 +00:00
|
|
|
category: process_creation
|
2020-07-12 22:32:24 +00:00
|
|
|
product: linux
|
|
|
|
detection:
|
2020-10-29 08:34:47 +00:00
|
|
|
iptables_1:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/service'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'iptables'
|
|
|
|
- 'stop'
|
|
|
|
iptables_2:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/service'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'ip6tables'
|
|
|
|
- 'stop'
|
|
|
|
iptables_3:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/chkconfig'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'iptables'
|
|
|
|
- 'stop'
|
|
|
|
iptables_4:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/chkconfig'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'ip6tables'
|
|
|
|
- 'stop'
|
|
|
|
firewall_1:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/systemctl'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'firewalld'
|
|
|
|
- 'stop'
|
|
|
|
firewall_2:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/systemctl'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'firewalld'
|
|
|
|
- 'disable'
|
|
|
|
carbonblack_1:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/service'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'cbdaemon'
|
|
|
|
- 'stop'
|
|
|
|
carbonblack_2:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/chkconfig'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'cbdaemon'
|
|
|
|
- 'off'
|
|
|
|
carbonblack_3:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/systemctl'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'cbdaemon'
|
|
|
|
- 'stop'
|
|
|
|
carbonblack_4:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/systemctl'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'cbdaemon'
|
|
|
|
- 'disable'
|
|
|
|
selinux:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/setenforce'
|
2020-11-06 19:56:08 +00:00
|
|
|
CommandLine|contains: '0'
|
2020-10-29 08:34:47 +00:00
|
|
|
crowdstrike_1:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/systemctl'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'stop'
|
2020-11-06 19:56:08 +00:00
|
|
|
- 'falcon-sensor'
|
2020-10-29 08:34:47 +00:00
|
|
|
crowdstrike_2:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith: '/systemctl'
|
2020-10-29 08:34:47 +00:00
|
|
|
CommandLine|contains|all:
|
|
|
|
- 'disable'
|
2020-11-06 19:56:08 +00:00
|
|
|
- 'falcon-sensor'
|
2020-10-29 08:34:47 +00:00
|
|
|
condition: 1 of them
|
2020-11-06 09:25:59 +00:00
|
|
|
---
|
2021-09-02 18:07:03 +00:00
|
|
|
id: 49f5dfc1-f92e-4d34-96fa-feba3f6acf36
|
2020-11-06 09:25:59 +00:00
|
|
|
logsource:
|
|
|
|
product: linux
|
|
|
|
service: syslog
|
2020-11-20 08:29:09 +00:00
|
|
|
detection:
|
2020-11-06 09:25:59 +00:00
|
|
|
keywords:
|
|
|
|
- '*stopping iptables*'
|
|
|
|
- '*stopping ip6tables*'
|
|
|
|
- '*stopping firewalld*'
|
|
|
|
- '*stopping cbdaemon*'
|
|
|
|
- '*stopping falcon-sensor*'
|
|
|
|
condition: keywords
|