Skip to content

Another snapattack windows batch - #4192

Open
RavenTait wants to merge 2 commits into
developfrom
snap_convert_3
Open

Another snapattack windows batch#4192
RavenTait wants to merge 2 commits into
developfrom
snap_convert_3

Conversation

@RavenTait

Copy link
Copy Markdown
Contributor

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 [4]

Multiple analytics (a total of 4) have been added in this PR covering several techniques.

  • Windows Dir Piped to Findstr Activity
  • Windows Network Sniffing Tools
  • Windows Powershell Commands from DNS TXT
  • Windows Suspicious Child of Consent.exe

Updated Lookups [1]

Netscan added to attacker_tools lookup

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds new Windows endpoint detections converted from Snap Attack and expands the attacker tooling lookup to improve coverage for common discovery and execution behaviors.

Changes:

  • Added 4 new endpoint detection analytics for Windows process and PowerShell behaviors.
  • Updated the attacker_tools lookup to include netscan.exe.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
lookups/csv/attacker_tools.csv Adds netscan.exe to the attacker tools lookup to improve enrichment/triage.
detections/endpoint/windows_suspicious_child_of_consent_exe.yml New analytic for unexpected child processes spawned by consent.exe (UAC bypass signal).
detections/endpoint/windows_powershell_commands_from_dns_txt.yml New analytic for PowerShell script-block patterns indicative of DNS TXT–based command retrieval/execution.
detections/endpoint/windows_network_sniffing_tools.yml New analytic for executions of common Windows packet capture/sniffing utilities.
detections/endpoint/windows_dir_piped_to_findstr_activity.yml New analytic for dir piped to findstr reconnaissance activity.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

description: The following analytic detects the execution of common network sniffing tools on Windows systems, including Wireshark, WinPcap, tcpdump, and similar utilities. This activity is significant because attackers use packet capture tools to intercept and analyze network traffic, enabling credential theft, sensitive data harvesting, and reconnaissance of internal network communications. While these tools have legitimate administrative uses, their presence in unexpected environments may indicate an adversary conducting man-in-the-middle attacks or exfiltrating sensitive information traversing the network. If confirmed malicious, this could lead to the exposure of credentials, session tokens, and confidential data, facilitating lateral movement and further compromise of the environment.
data_source:
- Sysmon EventID 1
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes where Processes.process_name IN ("wireshark.exe", "winpcap.exe", "tcpdump", "windump.exe", "netmon.exe", "netcap.exe", "dumpcap.exe", "tshark") by Processes.process Processes.vendor_product Processes.user_id Processes.process_hash Processes.parent_process_name Processes.parent_process_exec Processes.action Processes.dest Processes.process_current_directory Processes.process_path Processes.process_integrity_level Processes.original_file_name Processes.parent_process Processes.parent_process_path Processes.parent_process_guid Processes.parent_process_id Processes.process_guid Processes.process_id Processes.user Processes.process_name | `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)`| `security_content_ctime(lastTime)`| `windows_network_sniffing_tools_filter`'
Comment on lines +10 to +11
data_source:
- Sysmon EventID 1
Comment on lines +10 to +15
The following analytic detects execution of powershell commands retrieved from
a remote DNS TXT query response. The use of the DNS TXT record for C2 is an uncommon
method for malware that is resilient due to the need for DNS in normal networking
activities. This can ensure that their c2 is not blocked by any firewalls. False
positives are highly unlikely due to the very uncommon chaining of powershell
and DNS TXT queries.
@nasbench nasbench added this to the v6.4.0 milestone Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants