Network Service Discovery T1046

Tactic: Discovery

Adversaries may attempt to get a listing of services running on remote hosts and local network infrastructure devices, including those that may be vulnerable to remote software exploitation. Common methods to acquire this information include port, vulnerability, and/or wordlist scans using tools that are brought onto a system.

Events covered

18 catalog events are tagged with this technique by at least one rule.

Authoring guide

These 101 rules share fields, values, and exclusions.

Fields filtered most (103 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType17in 9, eq 8exec, ProcessRollup2, exec_event, connection_attempted, flow_started
CommandLine15contains 10, regex_match 5, ends_with 1(?i)\sportable/s.+\slng, (?i)ping\s+-n\s1\s-w\s1\s(10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-..., /lng, /portable, --listen
src_ip15eq 5, in 5, is_not_null 4, cidr_match 1, regex_match 110.0.0.0/8, , %vulnerability_scanners%, 127.0.0.1, 172.16.0.0/12
EventID13eq 134688, 1, 4103, 4104, 5152
event.type10eq 10start
process_basename10in 8, eq 2, wildcard 1bash, busybox, csh, hping, hping2
DestinationPort9is_not_null 5, in 2, lt 1, regex_match 1, 110, 111, 135, 139
Image9ends_with 6, contains 3.exe, /autorecon, /hping, /hping2, /nc
process_name8regex_match 8(?i)\x5cnetscan(32|64)?\.exe, (?i)\x5cnetscan_portable, (?i)advanced_ip_scanner, (?i)advanced_port_scanner\.exe, (?i)masscan\.exe
OriginalFileName6contains 2, eq 2, in 2PsGetSid.exe, Psinfo.exe, Tcpvcon.exe, advanced_ip_scanner, advanced_ip_scanner.exe
logtype5eq 55001, 5002, 5003, 5004, 5005
Action4eq 4Deny, Allowed, Blocked, Matched
OperationName4eq 3, in 1AzureFirewallApplicationRuleLog, AzureFirewallNetworkRuleLog
Description3contains 2, eq 1Advanced IP Scanner, Advanced Port Scanner, Application for scanning networks
DeviceEventClassID3in 2, eq 1733100, 733101, 733102, 733103, file

Top indicator values (953 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
91036
DestinationPortis_not_null
55
EventIDeq
1
5226
EventIDeq
4688
5284
src_ipin
10.0.0.0/8
515
src_ipin
172.16.0.0/12
515
src_ipin
192.168.0.0/16
515
EventTypein
ProcessRollup2
4119
EventTypein
exec
4180
EventTypein
exec_event
4135
EventTypein
start
4157
EventTypein
executed
385
EventTypein
process_started
377
src_ipeq
%vulnerability_scanners%
4
src_ipeq
127.0.0.1
46
src_ipeq
::1
36
src_ipis_not_null
470
EventTypeeq
exec
3547
LogonTypeeq
3
330
OperationNameeq
AzureFirewallApplicationRuleLog
34
OperationNameeq
AzureFirewallNetworkRuleLog
33
Actioneq
Deny
22
CommandLinecontains
/lng
22
CommandLinecontains
/portable
22
CommandLineregex_match
(?i)\sportable/s.+\slng
22
CommandLineregex_match
(?i)ping\s+-n\s1\s-w\s1\s(10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}|172\.(1[6-9]...
22
DestinationPortin
139
25
DestinationPortin
21
22
DestinationPortin
22
23
DestinationPortin
23
22

Exclusions (117 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
src_ipeq
%vulnerability_scanners%
4
src_ipeq
127.0.0.1
4
src_ipeq
::1
3
DestinationPortin
443
3
DestinationPortin
80
3
DestinationPortin
0
2
DestinationPortin
389
2
DestinationPortin
53
2
DestinationPortin
8080
2
DestinationPortin
880
2
DestinationPortin
8888
2
Reasoncontains
aged-out
2
Reasoncontains
tcp-fin
2
process.argswildcard
-*z*
2
process.argswildcard
127.0.0.1
2

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 24 rules

Elastic 20 rules

Splunk 25 rules

Kusto 26 rules

Panther 6 rules