Browse Rules

Search and filter across all detection sources

494 rules

elastic unknown kql

Egress Network Connections with Total Bytes Greater than Threshold

Using aggregation and the ES|QL `SUM` function, this hunt identifies processes that performed egress connections with total bytes greater or equal to a defined maximum threshold. This may indicate exfiltration or long term command and control activity.

elastic unknown kql

Unique Windows Services Creation by Service File Name

This hunt aggregates created Windows services by service file name and distribution limited to unique hosts. Using the ES|QL `Replace` command we can also further remove random patterns to reduce results to interesting events. More investigation can be conducted on instance that looks suspicious based on service file path, names and LOLBins.

elastic unknown kql

Low Occurrence of Suspicious Launch Agent or Launch Daemon

This hunt looks for persistence via Launch agent or daemon where the distribution is limited to one unique host.

elastic unknown kql

AWS Bedrock LLM Sensitive Content Refusals

This analytic flags multiple instances of LLM refusals to respond to sensitive prompts, helping to maintain ethical guidelines and compliance standards.

elastic unknown kql

Suspicious Base64 Encoded Powershell Command

This hunt identifies base64 encoded powershell commands in process start events and filters ones with suspicious keywords like downloaders and evasion related commands.

elastic unknown kql

AWS Bedrock LLM Latency Anomalies

This analytic helps identify delays in LLM responses that are outside expected performance parameters, possibly due to malicious disruptions like DDoS attacks or from operational inefficiencies.

elastic unknown kql

Low Occurrence Rate of CreateRemoteThread by Source Process

This hunt attempts to identify remote process injection by aggregating Sysmon `CreateRemoteThread` events by source process and returns the ones that we observed in only one unique host.

elastic unknown kql

Executable File Creation by an Unusual Microsoft Binary

This hunt identifies executable file creation by an unusual Microsoft native binary. This could be the result of code injection or some other form of exploitation for defense evasion.

elastic unknown kql

SSM SendCommand API Used by EC2 Instance

An attacker with compromised EC2 instance credentials, may use those credentials to attempt remote code execution against the EC2 instance from which the credentials were compromised via SSM SendCommand API.

elastic low kql

Unusual File Creation by Web Server

This rule detects unusual file creations from a web server parent process. Adversaries may attempt to create files from a web server parent process to establish persistence, execute malicious scripts, or exfiltrate data. ES|QL rules have limited fields available in its alert documents. Make sure to review the original documents to aid in the investigation of this alert.

elastic unknown kql

Rundll32 Execution Aggregated by Command Line

This hunt aggregate Rundll32 execution by normalized `process.command_line` and returns instances that are unique by frequency. Rundll32 is one of the most abused binaries to proxy execution of malicious commands and modules.

elastic unknown kql

SNS Topic Created by Rare User

This hunting query gathers evidence of an SNS topic created by a user who does not typically perform this action. Adversaries may create SNS topics to stage capabilities for data exfiltration or other malicious activities.

elastic unknown kql

Suspicious DNS TXT Record Lookups by Process

Leveraging aggregation by process executable entities, this hunt identifies identifies a high number of DNS TXT record queries from same process. Adversaries may leverage DNS TXT queries to stage malicious content or exfiltrate data.

elastic unknown kql

Windows Logon Activity by Source IP

This hunt returns a summary of network logon activity by `source.ip` using Windows event IDs 4624 and 4625. The higher the number of failures, low success and multiple accounts the more suspicious the behavior is.

elastic unknown kql

Suspicious Network Connections by Unsigned Mach-O

This hunt aggregates by process ID and destination IP by the number of connections per hour over a period of time greater than a defined threshold. This may indicate suspicious network connections by unsigned Mach-O binaries.

elastic unknown kql

AWS Bedrock LLM Denial-of-Service or Resource Exhaustion

This hunting query identifies unusual spikes in token usage that may indicate malicious attempts to disrupt services. High token usage can strain system resources and degrade performance, aligning with tactics observed in DoS attacks.

elastic unknown kql

Password Spraying from Repeat Source

This hunting query identifies password spraying attacks in Okta where the same source IP attempts to authenticate to multiple accounts with invalid credentials. Adversaries may attempt to use a single source IP to avoid detection and bypass account lockout policies.

elastic unknown kql

Unusual File Downloads from Source Addresses

This hunt identifies unusual file download activities on Linux systems. It detects instances where commonly used download utilities such as curl and wget are executed with command lines that contain IP addresses, which can indicate potentially suspicious file downloads.

elastic unknown kql

Persistence via Cron

This hunt identifies potential persistence mechanisms via cron on Linux systems. It monitors for file creation or modification events related to cron configurations and processes spawned by cron, fcron, or atd. These activities can indicate attempts to establish persistence through scheduled tasks.

elastic unknown kql

Persistence via Systemd (Timers)

This hunt identifies potential persistence mechanisms via systemd (timers) on Linux systems. It monitors for file creation or modification events related to systemd service and timer configurations, as well as generators, which can indicate attempts to establish persistence through scheduled tasks.

elastic unknown kql

SNS Direct-to-Phone Messaging Spike

This hunting query gathers evidence of potential abuse of the SNS service to send direct-to-phone text messages. Adversaries may use this technique to send smishing messages or deliver other types of malicious content directly to users' phones.

elastic unknown kql

SNS Topic Message Published by Rare User

This hunting query gathers evidence of an SNS topic message published by a user who does not typically perform this action. Adversaries may publish messages to SNS topics to stage capabilities for data exfiltration or other malicious activities.

elastic high kql

High Confidence Malicious GenAI Assistant Response

Detects a GenAI assistant response that a security_ai classifier scores as high-confidence malicious content. The rule requires a high prediction from one of four models: refusal, encoding, word obfuscation, or hash string. ES|QL COMPLETION then reviews the response and drops likely false positives before an alert is created.

elastic medium kql

LLM-Based Curl Activity Triage via Auditd

Detects non-allowlisted curl activity on Linux hosts via Auditd Manager or Auditbeat and uses an LLM to assess whether the activity is malicious, benign, or requires investigation. The rule parses and normalizes the destination, redacts sensitive command-line values, and aggregates activity by host and destination before invoking the ES|QL COMPLETION command. Only true positive or suspicious verdicts with confidence above 0.7 generate alerts.

elastic medium kql

LLM-Based Wget Activity Triage via Auditd

Detects non-allowlisted wget activity on Linux hosts via Auditd Manager or Auditbeat and uses an LLM to assess whether the activity is malicious, benign, or requires investigation. The rule parses and normalizes the destination, redacts sensitive command-line values, and aggregates activity by host and destination before invoking the ES|QL COMPLETION command. Only true positive or suspicious verdicts with confidence above 0.7 generate alerts.