2018-01-27 10:57:30 +01:00
|
|
|
title: Detects Suspicious Commands on Linux systems
|
2019-11-12 23:12:27 +01:00
|
|
|
id: 1543ae20-cbdf-4ec1-8d12-7664d667a825
|
2018-01-23 11:15:02 +01:00
|
|
|
status: experimental
|
2018-01-23 11:12:39 +01:00
|
|
|
description: Detects relevant commands often related to malware or hacking activity
|
2018-01-28 02:24:16 +03:00
|
|
|
references:
|
2019-11-12 23:12:27 +01:00
|
|
|
- Internal Research - mostly derived from exploit code including code in MSF
|
2018-01-23 11:12:39 +01:00
|
|
|
date: 2017/12/12
|
|
|
|
|
author: Florian Roth
|
|
|
|
|
logsource:
|
|
|
|
|
product: linux
|
|
|
|
|
service: auditd
|
|
|
|
|
detection:
|
2019-07-02 15:22:26 +02:00
|
|
|
cmd1:
|
|
|
|
|
type: 'EXECVE'
|
|
|
|
|
a0: 'chmod'
|
|
|
|
|
a1: '777'
|
|
|
|
|
cmd2:
|
|
|
|
|
type: 'EXECVE'
|
|
|
|
|
a0: 'chmod'
|
|
|
|
|
a1: 'u+s'
|
|
|
|
|
cmd3:
|
|
|
|
|
type: 'EXECVE'
|
|
|
|
|
a0: 'cp'
|
|
|
|
|
a1: '/bin/ksh'
|
|
|
|
|
cmd4:
|
|
|
|
|
type: 'EXECVE'
|
|
|
|
|
a0: 'cp'
|
|
|
|
|
a1: '/bin/sh'
|
|
|
|
|
condition: 1 of them
|
2018-01-23 11:12:39 +01:00
|
|
|
falsepositives:
|
|
|
|
|
- Admin activity
|
|
|
|
|
level: medium
|