Snapattack Linux Conversions - #4173
Open
RavenTait wants to merge 3 commits into
Open
Conversation
RavenTait
requested review from
ljstella,
nasbench and
patel-bhavin
as code owners
July 20, 2026 18:55
There was a problem hiding this comment.
Pull request overview
Adds a new set of Linux endpoint detections converted from Snap Attack to expand coverage across privilege escalation, persistence, and post-exploitation behaviors in the Splunk Security Content detections catalog.
Changes:
- Introduces 24 new Linux endpoint detection YAMLs (primarily Sysmon for Linux EventID 1/11 and Network_Traffic DM).
- Adds drilldowns, findings/intermediate findings, ATT&CK mappings, and references for each analytic.
- Includes unit-test pointers to corresponding attack_data datasets for each new detection.
Reviewed changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| detections/endpoint/linux_usermod_root_uid_set.yml | Detects usermod attempts to set UID 0. |
| detections/endpoint/linux_udev_rule_created.yml | Detects creation of udev rule files in standard udev rule directories. |
| detections/endpoint/linux_suspicious_xdg_autostart.yml | Detects .desktop file creation in XDG autostart locations. |
| detections/endpoint/linux_suspicious_sudo_parameter.yml | Detects suspicious sudo flags associated with privesc techniques. |
| detections/endpoint/linux_suspicious_staging_of_alternate_system_files.yml | Detects staging of sensitive system files outside canonical paths (chwoot-style). |
| detections/endpoint/linux_suspicious_redis_activity.yml | Detects Redis spawning suspicious child processes indicative of exploitation. |
| detections/endpoint/linux_suspicious_privileged_container.yml | Detects Docker runs with elevated options (privileged/host PID). |
| detections/endpoint/linux_suspicious_gcc_invocation_building_init_shared_object.yml | Detects gcc usage consistent with init-hook shared object build patterns. |
| detections/endpoint/linux_suspicious_docker_build.yml | Detects Docker builds executed from or targeting /tmp. |
| detections/endpoint/linux_suspicious_child_process_of_postgresql.yml | Detects PostgreSQL spawning shell/interpreter/network utilities. |
| detections/endpoint/linux_root_execution_of_id.yml | Detects root executing id as a post-exploitation validation behavior. |
| detections/endpoint/linux_possible_system_binary_backdoor.yml | Detects overwrites of common Linux system binaries. |
| detections/endpoint/linux_possible_privilege_escalation_via_pythonpath.yml | Detects suspicious creation of importlib/__init__.so outside expected lib paths. |
| detections/endpoint/linux_possible_nimbuspwn_privilege_escalation.yml | Detects potential Nimbuspwn directory traversal patterns. |
| detections/endpoint/linux_possible_gsm_privilege_escalation.yml | Detects command patterns associated with GSM multiplexor race-condition exploitation. |
| detections/endpoint/linux_possible_bootloader_modifications.yml | Detects process activity interacting with EFI boot paths. |
| detections/endpoint/linux_persistence_via_system_generator.yml | Detects file creation in systemd generator directories. |
| detections/endpoint/linux_netcat_outbound_connection.yml | Detects outbound connections originating from netcat-like tools. |
| detections/endpoint/linux_motd_script_added.yml | Detects file creation in /etc/update-motd.d for persistence. |
| detections/endpoint/linux_ghostscript_exploitation.yml | Detects Ghostscript spawning sh -c indicative of exploitation. |
| detections/endpoint/linux_efi_bootloader_file_deletion.yml | Detects deletion of EFI bootloader files. |
| detections/endpoint/linux_binary_executed_from_shared_memory_directory.yml | Detects execution from /dev/shm or /run/shm (tmpfs/shared memory). |
| detections/endpoint/linux_bash_pseudo_device_reverse_shell.yml | Detects bash /dev/tcp and /dev/udp reverse shell patterns. |
| detections/endpoint/linux_bash_history_access.yml | Detects reads of bash history files via common file viewing tools. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+15
to
+19
| Processes.process="*docker run*" | ||
| AND | ||
| Processes.process="*--privileged*" | ||
| AND | ||
| Processes.process="*--pid=host*" |
| | tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) | ||
| as lastTime from datamodel=Endpoint.Processes where Processes.process="*docker build*" | ||
| AND | ||
| (Processes.process="-f /tmp" OR Processes.process_current_directory="/tmp") |
Comment on lines
+15
to
+18
| All_Traffic.app IN ("*ncat*", "*netcat*") | ||
| OR | ||
| All_Traffic.process_name IN ("*nc", "*ncat", "*netcat") | ||
| All_Traffic.direction=outbound |
Contributor
There was a problem hiding this comment.
This is true but the typo is that All_Traffic.process_name is not a correct field in [All_Traffic] (https://help.splunk.com/en/splunk-cloud-platform/common-information-model/8.6/data-models/network-traffic) DM
RavenTait
requested review from
P4T12ICK,
pyth0n1c,
rosplk and
tccontre
as code owners
July 29, 2026 18:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
This PR adds multiple new detections converted from Snap Attack. Below is a detailed summary of the changes introduced by the review.
New Analytics [24]
Multiple analytics (a total of 24) have been added in this PR covering a bunch of techniques.