Files
splunk-security_content/detections/endpoint/linux_system_network_discovery.yml
2023-09-15 10:58:38 -07:00

73 lines
3.1 KiB
YAML

name: Linux System Network Discovery
id: 535cb214-8b47-11ec-a2c7-acde48001122
version: 1
date: '2023-04-14'
author: Teoderick Contreras, Splunk
status: production
type: Anomaly
description: This analytic is to look for possible enumeration of local network configuration.
This technique is commonly used as part of recon of adversaries or threat actor
to know some network information for its next or further attack. This anomaly detections
may capture normal event made by administrator during auditing or testing network
connection of specific host or network to network.
data_source:
- Sysmon Event ID 1
search: '| tstats `security_content_summariesonly` count values(Processes.process_name)
as process_name_list values(Processes.process) as process_list values(Processes.process_id)
as process_id_list values(Processes.parent_process_id) as parent_process_id_list
values(Processes.process_guid) as process_guid_list dc(Processes.process_name) as
process_name_count from datamodel=Endpoint.Processes where Processes.process_name
IN ("arp", "ifconfig", "ip", "netstat", "firewall-cmd", "ufw", "iptables", "ss",
"route") by _time span=30m Processes.dest Processes.user | where process_name_count
>=4 | `drop_dm_object_name(Processes)`| `linux_system_network_discovery_filter`'
how_to_implement: The detection is based on data that originates from Endpoint Detection
and Response (EDR) agents. These agents are designed to provide security-related
telemetry from the endpoints where the agent is installed. To implement this search,
you must ingest logs that contain the process GUID, process name, and parent process.
Additionally, you must ingest complete command-line executions. These logs must
be processed using the appropriate Splunk Technology Add-ons that are specific to
the EDR product. The logs must also be mapped to the `Processes` node of the `Endpoint`
data model. Use the Splunk Common Information Model (CIM) to normalize the field
names and speed up the data modeling process.
known_false_positives: Administrator or network operator can execute this command.
Please update the filter macros to remove false positives.
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1016/T1016.md
tags:
analytic_story:
- Data Destruction
- Network Discovery
- Industroyer2
asset_type: endpoint
confidence: 30
impact: 30
message: A commandline $process$ executed on $dest$
mitre_attack_id:
- T1016
observable:
- name: dest
type: Hostname
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- Processes.dest
- Processes.user
- Processes.parent_process_name
- Processes.process_name
- Processes.process
- Processes.process_id
- Processes.parent_process_id
risk_score: 9
security_domain: endpoint
tests:
- name: True Positive Test
attack_data:
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1016/atomic_red_team/linux_net_discovery/sysmon_linux.log
source: Syslog:Linux-Sysmon/Operational
sourcetype: sysmon_linux