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

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

Authoring guide

Patterns shared across the 96 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (132 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
process_name18in 8, match 6, eq 2, regex_match 2, wildcard 1(?i)\x5cnetscan(32|64)?\.exe, (?i)\x5cnetscan_portable, (?i)advanced_ip_scanner, (?i)advanced_port_scanner\.exe, (?i)masscan\.exe
EventType17in 9, eq 8exec, ProcessRollup2, exec_event, connection_attempted, flow_started
CommandLine15contains 10, match 4, ends_with 1, regex_match 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_ip15is_not_null 6, eq 5, in 3, cidr_match 1, match 1%vulnerability_scanners%, 10.0.0.0/8, 127.0.0.1, 172.16.0.0/12, 192.168.0.0/16
EventID13eq 134688, 1, 4103, 4104, 5152
event.type10eq 10start
host.os.type10eq 10
Image9ends_with 6, contains 3.exe, /autorecon, /hping, /hping2, /nc
DestinationPort8is_not_null 5, in 1, lt 1, match 1139, 21, 22, 32768, ^(21|22|23|25|80|8080|139|389|443|8443|445|3306|3389)$
Type7eq 7AwsEc2SecurityGroup
OriginalFileName6contains 2, eq 2, in 2advanced_ip_scanner, advanced_ip_scanner.exe, advanced_ip_scanner_console.exe, advanced_port_scanner, advanced_port_scanner.exe
logtype5eq 55001, 5002, 5003, 5004, 5005
Action4eq 4Deny, Allowed, Blocked, Matched
OperationName4eq 3, in 1AzureFirewallApplicationRuleLog, AzureFirewallNetworkRuleLog
Description3contains 2, eq 1Application for scanning networks, advanced ip scanner, advanced port scanner

Top indicator values (1018 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
10606
EventIDeq
4688
6313
EventIDeq
1
5237
EventTypein
ProcessRollup2
5117
EventTypein
exec
5171
EventTypein
exec_event
5139
EventTypein
start
5134
EventTypein
executed
488
EventTypein
process_started
474
EventTypein
flow_started
33
EventTypein
network_flow
33
src_ipeq
%vulnerability_scanners%
4
src_ipeq
127.0.0.1
45
src_ipeq
::1
36
EventTypeeq
exec
3171
LogonTypeeq
Network
340
OperationNameeq
AzureFirewallApplicationRuleLog
34
OperationNameeq
AzureFirewallNetworkRuleLog
33
process_namein
nc
314
process_namein
ncat
315
process_namein
netcat
314
process_namein
socat
313
src_ipin
10.0.0.0/8
39
src_ipin
172.16.0.0/12
39
src_ipin
192.168.0.0/16
39
"All_Traffic.src_ip"in
10.0.0.0/8
22
"All_Traffic.src_ip"in
100.64.0.0/10
22
"All_Traffic.src_ip"in
127.0.0.0/8
22
"All_Traffic.src_ip"in
169.254.0.0/16
22
"All_Traffic.src_ip"in
172.16.0.0/12
22

Exclusions (144 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

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
TotalEventsgt
25
2
process.argswildcard
-*z*
2

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 24 rules

Elastic 19 rules

Splunk 23 rules

Kusto 24 rules

Panther 6 rules