From ae824a2ac94fffba31208b00af4d8133f5db87f4 Mon Sep 17 00:00:00 2001 From: nasbench <8741929+nasbench@users.noreply.github.com> Date: Fri, 7 Aug 2026 20:04:26 +0200 Subject: [PATCH] more overlord fixes --- data_sources/sysmon_for_linux_eventid_3.yml | 108 ++++++++++++++++++ .../linux_netcat_outbound_connection.yml | 2 +- ...le_privilege_escalation_via_pythonpath.yml | 9 +- 3 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 data_sources/sysmon_for_linux_eventid_3.yml diff --git a/data_sources/sysmon_for_linux_eventid_3.yml b/data_sources/sysmon_for_linux_eventid_3.yml new file mode 100644 index 0000000000..ffaa13a39f --- /dev/null +++ b/data_sources/sysmon_for_linux_eventid_3.yml @@ -0,0 +1,108 @@ +name: Sysmon for Linux EventID 3 +id: c56ce9d3-a37e-43a5-a0e6-b3b7d03600a4 +version: 1 +creation_date: '2026-08-07' +modification_date: '2026-08-07' +author: Nasreddine Bencherchali, Splunk +description: Logs network connection creation events on Linux systems, including details about the source and destination IPs, ports, protocols, and the associated process metadata. +mitre_components: + - Network Connection Creation + - Network Traffic Flow + - Process Metadata + - Application Log Content + - OS API Execution +source: Syslog:Linux-Sysmon/Operational +sourcetype: sysmon:linux +separator: EventID +separator_value: '3' +supported_TA: + - name: Splunk Add-on for Sysmon for Linux + url: https://splunkbase.splunk.com/app/6652 + version: 1.0.0 +fields: + - _time + - action + - app + - Computer + - creation_time + - date_hour + - date_mday + - date_minute + - date_month + - date_second + - date_wday + - date_year + - date_zone + - dest + - dest_ip + - dest_port + - DestinationHostname + - DestinationIp + - DestinationIsIpv6 + - DestinationPort + - DestinationPortName + - direction + - dvc + - dvc_ip + - EventDescription + - EventID + - eventtype + - Guid + - host + - Image + - index + - Initiated + - Interesting Fields + - Keywords + - linecount + - Name + - process_exec + - process_guid + - process_id + - process_name + - ProcessGuid + - ProcessId + - ProcessID + - protocol + - Protocol + - protocol_version + - punct + - RuleName + - signature + - signature_id + - source + - SourceHostname + - SourceIp + - SourceIsIpv6 + - SourcePort + - SourcePortName + - sourcetype + - splunk_server + - src + - src_ip + - src_port + - state + - SystemTime + - tag + - tag::eventtype + - ThreadID + - timeendpos + - timestartpos + - transport + - transport_dest_port + - user + - user_id + - UserId + - UtcTime + - vendor_product + - xmlns +output_fields: + - src + - dest + - dest_port + - transport + - process_name + - app + - user + - process_id +example_log: 354300x80000000000000001068124Linux-Sysmon/Operationalip-10-0-76-137-2022-08-31 18:16:47.184{ec21f57b-a58f-630f-05a2-4983a0550000}7658/usr/bin/ncatroottcptruefalse10.0.76.137-53976-false10.0.76.44-4444- diff --git a/detections/endpoint/linux_netcat_outbound_connection.yml b/detections/endpoint/linux_netcat_outbound_connection.yml index 30ddef8070..272fd23a1e 100644 --- a/detections/endpoint/linux_netcat_outbound_connection.yml +++ b/detections/endpoint/linux_netcat_outbound_connection.yml @@ -12,7 +12,7 @@ description: |- This activity is significant because outbound connections from these binaries often indicate an active compromise, where an attacker may be maintaining command-and-control communication or tunneling malicious traffic. If confirmed malicious, this could lead to unauthorized data exfiltration, lateral movement, or persistent remote access to the compromised system. data_source: - - Sysmon EventID 3 + - Sysmon for Linux EventID 3 search: |- | tstats `security_content_summariesonly` count min(_time) as firstTime diff --git a/detections/endpoint/linux_possible_privilege_escalation_via_pythonpath.yml b/detections/endpoint/linux_possible_privilege_escalation_via_pythonpath.yml index 44dfa16e20..2a29b41720 100644 --- a/detections/endpoint/linux_possible_privilege_escalation_via_pythonpath.yml +++ b/detections/endpoint/linux_possible_privilege_escalation_via_pythonpath.yml @@ -20,7 +20,14 @@ search: |- from datamodel=Endpoint.Filesystem where Filesystem.file_path="*/importlib/__init__.so*" - NOT Filesystem.file_path="*/lib/*" + NOT Filesystem.file_path IN ( + "/lib/*", + "/lib64/*", + "/usr/lib/*", + "/usr/lib64/*", + "/usr/local/lib/*", + "/usr/local/lib64/*" + ) by Filesystem.file_path Filesystem.file_name Filesystem.user Filesystem.dest Filesystem.process_guid Filesystem.process_id