Linux Network Service Scanning Tools Execution

 Original Source: [Sigma source]
Title: Linux Network Service Scanning Tools Execution
Status: test
Description:Detects execution of network scanning and reconnaisance tools. These tools can be used for the enumeration of local or remote network services for example.
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1046/T1046.md
  -https://github.com/projectdiscovery/naabu
  -https://github.com/Tib3rius/AutoRecon
Author: Alejandro Ortuno, oscd.community, Georg Lauenstein (sure[secure])
Date: 2020-10-21
modified:2024-09-19
Tags:
  • -'attack.discovery'
  • -'attack.t1046'
Logsource:
  • category: process_creation
  • product: linux
Detection:
  selection_netcat:
    Image|endswith:
      -'/nc'
      -'/ncat'
      -'/netcat'
      -'/socat'

  selection_network_scanning_tools:
    Image|endswith:
      -'/autorecon'
      -'/hping'
      -'/hping2'
      -'/hping3'
      -'/naabu'
      -'/nmap'
      -'/nping'
      -'/telnet'
      -'/zenmap'

  filter_main_netcat_listen_flag:
    CommandLine|contains:
      -' --listen '
      -' -l '

  condition:(selection_netcat and not filter_main_netcat_listen_flag) or selection_network_scanning_tools
Falsepositives:
  -Legitimate administration activities
Level: low