2020-10-21 07:41:40 +00:00
|
|
|
title: Linux Network Service Scanning
|
2021-09-14 17:27:28 +00:00
|
|
|
id: 3e102cd9-a70d-4a7a-9508-403963092f31
|
2020-10-21 07:41:40 +00:00
|
|
|
status: experimental
|
|
|
|
description: Detects enumeration of local or remote network services.
|
|
|
|
author: Alejandro Ortuno, oscd.community
|
|
|
|
date: 2020/10/21
|
2021-09-14 17:27:28 +00:00
|
|
|
modified: 2021/09/14
|
2020-10-21 07:41:40 +00:00
|
|
|
references:
|
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1046/T1046.md
|
2020-11-06 08:56:49 +00:00
|
|
|
tags:
|
|
|
|
- attack.discovery
|
|
|
|
- attack.t1046
|
2020-10-21 07:41:40 +00:00
|
|
|
logsource:
|
|
|
|
category: process_creation
|
2020-10-21 08:13:28 +00:00
|
|
|
product: linux
|
2020-11-09 09:32:56 +00:00
|
|
|
definition: 'Detect netcat and filter our listening mode'
|
2020-10-21 07:41:40 +00:00
|
|
|
detection:
|
2020-11-16 00:00:09 +00:00
|
|
|
netcat:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith:
|
2020-10-21 07:41:40 +00:00
|
|
|
- '/nc'
|
2020-11-06 08:56:49 +00:00
|
|
|
- '/netcat'
|
2020-11-16 00:00:09 +00:00
|
|
|
network_scanning_tools:
|
2021-02-24 22:57:26 +00:00
|
|
|
Image|endswith:
|
2020-11-16 00:00:09 +00:00
|
|
|
- '/telnet' # could be wget, curl, ssh, many things. basically everything that is able to do network connection. consider fine tuning
|
|
|
|
- '/nmap'
|
|
|
|
netcat_listen_flag:
|
2020-11-09 09:32:56 +00:00
|
|
|
CommandLine|contains: 'l'
|
2020-11-16 00:00:09 +00:00
|
|
|
condition: (netcat and not netcat_listen_flag) or network_scanning_tools
|
2021-09-14 17:27:28 +00:00
|
|
|
falsepositives:
|
|
|
|
- Legitimate administration activities
|
|
|
|
level: low
|