-
Apple Script Execution followed by Network Connection
Sep 19, 2026 · Domain: Endpoint OS: macOS Use Case: Threat Detection Tactic: Command and Control Tactic: Execution Data Source: Elastic Defend Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: macOS ·Detects execution via the Apple script interpreter (osascript) followed by a network connection from the same process within a short time period. Adversaries may use malicious scripts for execution and command and control.
Read More -
Apple Scripting Execution with Administrator Privileges
Sep 19, 2026 · Domain: Endpoint OS: macOS Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Data Source: Elastic Defend Resources: Investigation Guide Noise: Low Performance: Normal Profile: Recommended Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: macOS ·Identifies execution of the Apple script interpreter (osascript) without a password prompt and with administrator privileges.
Read More -
Creation of Hidden Login Item via Apple Script
Sep 19, 2026 · Domain: Endpoint OS: macOS Use Case: Threat Detection Tactic: Persistence Tactic: Execution Data Source: Elastic Defend Resources: Investigation Guide Noise: Low Performance: Normal Profile: Recommended Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: macOS ·Identifies the execution of osascript to create a hidden login item. This may indicate an attempt to persist a malicious program while concealing its presence.
Read More -
Execution of a Downloaded Windows Script
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Execution Data Source: Elastic Defend Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Living off the Land Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows ·Identifies the creation of a Windows script downloaded from the internet followed by the execution of a scripting utility. Adversaries may use Windows script files for initial access and execution.
Read More -
Long Base64 Encoded Command via Scripting Interpreter
Sep 19, 2026 · Domain: Endpoint OS: Windows OS: macOS OS: Linux Use Case: Threat Detection Tactic: Defense Evasion Tactic: Execution Data Source: Elastic Defend Resources: Investigation Guide Noise: Unknown Performance: Normal Profile: Recommended Threat: Encoding-Based Obfuscation Threat: Script-Based Execution Rule Type: ES|QL Platform: Windows Platform: Linux Platform: macOS ·Identifies oversized command lines used by Python, PowerShell, Node.js, or Deno that contain base64 decoding or encoded-command patterns. Adversaries may embed long inline encoded payloads in scripting interpreters to evade inspection and execute malicious content across Windows, macOS, and Linux systems.
Read More -
Node.js Pre or Post-Install Script Execution
Sep 19, 2026 · Domain: Endpoint OS: Linux OS: macOS Use Case: Threat Detection Tactic: Persistence Tactic: Execution Tactic: Defense Evasion Data Source: Elastic Defend Resources: Investigation Guide Data Source: Crowdstrike Data Source: SentinelOne Noise: Medium Performance: Normal Profile: Recommended Threat: Supply Chain Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Linux Platform: macOS ·This rule detects the execution of Node.js pre or post-install scripts. These scripts are executed by the Node.js package manager (npm) during the installation of packages. Adversaries may abuse this technique to execute arbitrary commands on the system and establish persistence. This activity was observed in the wild as part of the Shai-Hulud worm.
Read More -
Identifies PowerShell script blocks linked to multiple distinct PowerShell detections via the same ScriptBlock ID, indicating compound suspicious behavior. Attackers often chain obfuscation, decoding, and execution within a single script block.
Read More -
Identifies PowerShell script block content containing known offensive-tool author handles or attribution strings (for example, public tool author names). Attackers often run public PowerShell tooling with minimal changes, leaving author artifacts in comments or headers.
Read More -
Potential PowerShell HackTool Script by Function Names
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Execution Data Source: PowerShell Logs Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Ransomware Threat: Script-Based Execution Rule Type: Custom Query (KQL) Platform: Windows ·Detects PowerShell scripts containing function names and helpers from common offensive frameworks and tools used for discovery, credential access, injection, persistence, and exfiltration. Attackers often reuse these public functions with minimal changes, leaving recognizable function-name artifacts.
Read More -
Identifies PowerShell script blocks with high entropy and non-uniform character distributions. Attackers may obfuscate PowerShell scripts using encoding, encryption, or compression techniques to evade signature-based detections and hinder manual analysis by security analysts.
Read More -
Detects PowerShell scripts that use backtick-escaped characters inside
${}variable expansion (multiple backticks between word characters) to reconstruct strings at runtime. Attackers use variable-expansion obfuscation to split keywords, hide commands, and evade static analysis and AMSI.
Read More -
Detects PowerShell scripts that reconstructs strings from char[] arrays, index lookups, or repeated ([char]NN)+ concatenation/join logic. Attackers use character-array reconstruction to hide commands, URLs, or payloads and evade static analysis and AMSI.
Read More -
Detects PowerShell scripts that builds commands from concatenated string literals inside dynamic invocation constructs like &() or .(). Attackers use concatenated dynamic invocation to obscure execution intent, bypass keyword-based detections, and evade AMSI.
Read More -
Detects long PowerShell script block content with unusually high numeric character density (high digit-to-length ratio), often produced by byte arrays, character-code reconstruction, or embedded encoded blobs. Attackers use numeric-heavy obfuscation to conceal payloads and rebuild them at runtime to avoid static inspection.
Read More -
Detects PowerShell scripts with repeated invalid backtick escapes between word characters (letters, digits, underscore, or dash), splitting tokens while preserving execution. Attackers use this obfuscation to fragment keywords and evade pattern-based detection and AMSI.
Read More -
Detects PowerShell scripts containing reversed keyword strings associated with execution or network activity (for example, ekovni, noisserpxe, daolnwod, tcejbo-wen, tcejboimw, etc.). Attackers reverse keywords and reconstruct them at runtime to hide intent and evade static detection and AMSI.
Read More -
Detects PowerShell scripts dominated by whitespace and special characters with low symbol diversity, a profile often produced by formatting or encoding obfuscation. Attackers use symbol-heavy encoding or formatting (for example, SecureString-style blobs or character-level transforms) to hide payloads and evade static analysis and AMSI.
Read More -
Detects PowerShell scripts that repeatedly concatenate multiple quoted string literals with + to assemble commands or tokens at runtime. Attackers use string concatenation to fragment keywords or URLs and evade static analysis and AMSI.
Read More -
Detects PowerShell scripts that uses format placeholders like "{0}{1}" with the -f operator or ::Format to reorder strings at runtime. Attackers use format-based reconstruction to hide commands or payload strings and evade static analysis and AMSI.
Read More -
Potential PowerShell Pass-the-Hash/Relay Script
Detects PowerShell scripts associated with NTLM relay or pass-the-hash tooling and SMB/NTLM negotiation artifacts. Attackers use relay and PtH techniques to authenticate without passwords and pivot to other systems.
Read More -
Detects PowerShell scripts that uses negative index ranges (for example, $var[-1..0]) to reverse strings or arrays and rebuild content at runtime. Attackers use index reversal to reconstruct hidden commands or payloads and evade static analysis and AMSI.
Read More -
PowerShell Suspicious Discovery Related Windows API Functions
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Discovery Tactic: Collection Tactic: Execution Resources: Investigation Guide Data Source: PowerShell Logs Noise: High Performance: Normal Profile: Aggressive Threat: Script-Based Execution Rule Type: Custom Query (KQL) Platform: Windows ·Detects PowerShell scripts that references native Windows API functions commonly used for discovery of users, groups, shares, sessions, domain trusts, and service security. Attackers use these APIs for situational awareness and targeting prior to lateral movement or collection.
Read More -
PowerShell Suspicious Payload Encoded and Compressed
Identifies PowerShell script block content that combines Base64 decoding with .NET decompression (Deflate/GZip). Attackers use this pattern to deobfuscate and reconstruct payloads in memory to evade defenses.
Read More -
Detects PowerShell script block content that invokes microphone capture routines or WinMM audio APIs. Adversaries may use audio recording to surveil users or capture sensitive conversations for theft or extortion.
Read More -
Detects PowerShell script block content that retrieves clipboard data using Get-Clipboard or Windows clipboard APIs. Adversaries can collect copied credentials, tokens, or other sensitive data from the clipboard.
Read More -
Detects PowerShell script block content that uses CopyFromScreen with .NET bitmap classes to capture screenshots. Attackers use screen capture to collect on-screen information and credentials.
Read More -
Identifies the use of osascript to execute scripts via standard input that may prompt a user with a rogue dialog for credentials.
Read More -
Remote File Download via PowerShell
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Command and Control Resources: Investigation Guide Data Source: Elastic Defend Noise: Medium Performance: Normal Profile: Recommended Threat: Download Tool Abuse Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows Resources: Osquery ·Identifies PowerShell being used to download an executable file from an untrusted remote destination.
Read More -
Remote File Download via Script Interpreter
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Command and Control Tactic: Execution Resources: Investigation Guide Data Source: Elastic Defend Data Source: Sysmon Noise: Medium Performance: Normal Profile: Recommended Threat: Download Tool Abuse Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows Resources: Osquery ·Identifies built-in Windows script interpreters (cscript.exe or wscript.exe) being used to download an executable file from a remote destination.
Read More -
Roshal Archive (RAR) or PowerShell File Downloaded from the Internet
Sep 19, 2026 · Use Case: Threat Detection Tactic: Command and Control Domain: Endpoint Data Source: Fortinet Data Source: PAN-OS Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Script-Based Execution Rule Type: Custom Query (KQL) Domain: Network Data Source: Network Packet Capture ·Detects a Roshal Archive (RAR) file or PowerShell script downloaded from the internet by an internal host. Gaining initial access to a system and then downloading encoded or encrypted tools to move laterally is a common practice for adversaries as a way to protect their more valuable tools and tactics, techniques, and procedures (TTPs). This may be atypical behavior for a managed network and can be indicative of malware, exfiltration, or command and control.
Read More -
ROT Encoded Python Script Execution
Sep 19, 2026 · Domain: Endpoint OS: Windows OS: macOS Use Case: Threat Detection Tactic: Defense Evasion Data Source: Elastic Defend Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Encoding-Based Obfuscation Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows Platform: macOS ·Identifies the execution of a Python script that uses the ROT cipher for letters substitution. Adversaries may use this method to encode and obfuscate part of their malicious code in legit python packages.
Read More -
Identifies the execution of the shell process (sh) via scripting (JXA or AppleScript). Adversaries may use the doShellScript functionality in JXA or do shell script in AppleScript to execute system commands.
Read More -
Suspicious .NET Reflection via PowerShell
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Defense Evasion Tactic: Execution Resources: Investigation Guide Data Source: PowerShell Logs Noise: High Performance: Normal Profile: Aggressive Threat: Script-Based Execution Rule Type: Custom Query (KQL) Platform: Windows ·Detects PowerShell scripts that invoke Reflection.Assembly or Assembly.Load to load .NET assemblies. Attackers use this method to load executables and DLLs without writing to the disk, bypassing security solutions.
Read More -
Detects when a script interpreter (osascript, Node.js, Python) with minimal arguments makes an outbound connection to AWS S3 or CloudFront domains. Threat actors have used S3 buckets for both command and control and data exfiltration. Script interpreters connecting to cloud storage should be investigated for potential malicious activity.
Read More -
Suspicious Execution with NodeJS
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Execution Resources: Investigation Guide Data Source: Elastic Endgame Data Source: Elastic Defend Data Source: Windows Security Event Logs Data Source: Microsoft Defender XDR Data Source: Sysmon Data Source: SentinelOne Data Source: Crowdstrike Noise: High Performance: Normal Profile: Aggressive Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows ·Identifies suspicious Node.js execution patterns, including PowerShell-launched module preloads and inline eval, decode, or child-process usage.
Read More -
Detects when an installer package executes a pre or post install script that immediately copies a file to suspicious locations on the filesystem. This activity is not common and usually indicates a malicious package attempting to install persistence or establish a working directory for malware.
Read More -
Suspicious JavaScript Execution via Deno
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Execution Resources: Investigation Guide Data Source: Elastic Defend Data Source: Sysmon Data Source: SentinelOne Data Source: Microsoft Defender XDR Data Source: Crowdstrike Data Source: Elastic Endgame Data Source: Windows Security Event Logs Noise: Low Performance: Normal Profile: Recommended Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows ·Detects execution of JavaScript via Deno with suspicious command-line patterns (base64, eval, http, or import in a javascript context). Adversaries may abuse Deno to run malicious JavaScript for execution or staging.
Read More -
Suspicious Portable Executable Encoded in Powershell Script
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Execution Tactic: Defense Evasion Resources: Investigation Guide Data Source: PowerShell Logs Noise: Medium Performance: Normal Profile: Recommended Threat: Script-Based Execution Rule Type: Custom Query (KQL) Platform: Windows ·Detects PowerShell scripts that includes a base64-encoded portable executable (PE) header, indicating an embedded binary payload. Attackers embed PEs in scripts to load payloads in memory and avoid writing executables to disk.
Read More -
Identifies the PowerShell engine being invoked by unexpected processes. Rather than executing PowerShell functionality with powershell.exe, some attackers do this to operate more stealthily.
Read More -
Detects the execution of suspicious shell commands via the Python interpreter. Attackers may use Python to execute shell commands to gain access to the system or to perform other malicious activities, such as credential access, data exfiltration, or lateral movement.
Read More -
Suspicious Script Object Execution
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Defense Evasion Data Source: Elastic Defend Data Source: Elastic Endgame Data Source: Sysmon Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Living off the Land Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows ·Identifies scrobj.dll loaded into unusual Microsoft processes. This usually means a malicious scriptlet is being executed in the target process.
Read More -
Suspicious Windows Powershell Arguments
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Execution Data Source: Windows Security Event Logs Data Source: Elastic Defend Data Source: Sysmon Data Source: SentinelOne Data Source: Microsoft Defender XDR Data Source: Crowdstrike Data Source: Elastic Endgame Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows ·Identifies the execution of PowerShell with suspicious argument values. This behavior is often observed during malware installation leveraging PowerShell.
Read More -
Suspicious WMIC XSL Script Execution
Sep 19, 2026 · Domain: Endpoint OS: Windows Use Case: Threat Detection Tactic: Defense Evasion Tactic: Execution Data Source: Elastic Defend Data Source: Sysmon Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Threat: Living off the Land Threat: Script-Based Execution Rule Type: Event Correlation (EQL) Platform: Windows ·Identifies WMIC allowlist bypass techniques by alerting on suspicious execution of scripts. When WMIC loads scripting libraries it may be indicative of an allowlist bypass.
Read More