Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_netcat_execution.yml
T

37 lines
1.1 KiB
YAML
Raw Normal View History

2021-07-21 10:55:54 +02:00
title: Ncat Execution
id: e31033fc-33f0-4020-9a16-faf9b31cbf08
status: experimental
2022-02-23 15:18:52 +01:00
author: frack113, Florian Roth
2021-07-21 10:55:54 +02:00
date: 2021/07/21
2022-02-23 15:18:52 +01:00
modified: 2022/02/23
2021-07-21 10:55:54 +02:00
description: Adversaries may use a non-application layer protocol for communication between host and C2 server or among infected hosts within a network
references:
- https://nmap.org/ncat/
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1095/T1095.md
tags:
- attack.command_and_control
- attack.t1095
logsource:
category: process_creation
product: windows
detection:
selection:
# can not use OriginalFileName as is empty
Image|endswith:
- '\ncat.exe'
2022-02-23 15:18:52 +01:00
- '\netcat.exe'
selection_cmdline:
# Typical command lines
CommandLine|contains:
- ' -lvp '
2022-03-15 18:05:13 +01:00
- ' -lvnp'
2022-02-23 15:18:52 +01:00
- ' -l -v -p '
- ' -lv -p '
- ' -l --proxy-type http '
- ' --exec cmd.exe '
- ' -vnl --exec '
condition: selection or selection_cmdline
2021-07-21 10:55:54 +02:00
falsepositives:
- Legitimate ncat use
2021-07-23 09:51:00 +02:00
level: high