Prebuilt rule referenceedit

This section lists all available prebuilt rules.

To run machine learning prebuilt rules, you must have the appropriate license or use a Cloud deployment. All machine learning prebuilt rules are tagged with ML, and their rule type is machine_learning.

Rule Description Tags Added Version

AWS Access Secret in Secrets Manager

An adversary may attempt to access the secrets in secrets manager to steal certificates, credentials, or other sensitive material

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Data Protection]

7.9.0

5 Version history

AWS CloudTrail Log Created

Identifies the creation of an AWS log trail that specifies the settings for delivery of log data.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

5 Version history

AWS CloudTrail Log Deleted

Identifies the deletion of an AWS log trail. An adversary may delete trails in an attempt to evade defenses.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS CloudTrail Log Suspended

Identifies suspending the recording of AWS API calls and log file delivery for the specified trail. An adversary may suspend trails in an attempt to evade defenses.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS CloudTrail Log Updated

Identifies an update to an AWS log trail setting that specifies the delivery of log files.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS CloudWatch Alarm Deletion

Identifies the deletion of an AWS CloudWatch alarm. An adversary may delete alarms in an attempt to evade defenses.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

AWS CloudWatch Log Group Deletion

Identifies the deletion of a specified AWS CloudWatch log group. When a log group is deleted, all the archived log events associated with the log group are also permanently deleted.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS CloudWatch Log Stream Deletion

Identifies the deletion of an AWS CloudWatch log stream, which permanently deletes all associated archived log events with the stream.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS Config Service Tampering

Identifies attempts to delete an AWS Config Service resource. An adversary may tamper with Config services in order to reduce visibility into the security posture of an account and / or its workload instances.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

AWS Configuration Recorder Stopped

Identifies an AWS configuration change to stop recording a designated set of resources.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

AWS EC2 Encryption Disabled

Identifies disabling of Amazon Elastic Block Store (EBS) encryption by default in the current region. Disabling encryption by default does not change the encryption status of your existing volumes.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Data Protection]

7.9.0

6 Version history

AWS EC2 Flow Log Deletion

Identifies the deletion of one or more flow logs in AWS Elastic Compute Cloud (EC2). An adversary may delete flow logs in an attempt to evade defenses.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS EC2 Full Network Packet Capture Detected

Identifies potential Traffic Mirroring in an Amazon Elastic Compute Cloud (EC2) instance. Traffic Mirroring is an Amazon VPC feature that you can use to copy network traffic from an elastic network interface. This feature can potentially be abused to exfiltrate sensitive data from unencrypted internal traffic.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Network Security]

7.14.0

1

AWS EC2 Network Access Control List Creation

Identifies the creation of an AWS Elastic Compute Cloud (EC2) network access control list (ACL) or an entry in a network ACL with a specified rule number.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Network Security]

7.9.0

6 Version history

AWS EC2 Network Access Control List Deletion

Identifies the deletion of an Amazon Elastic Compute Cloud (EC2) network access control list (ACL) or one of its ingress/egress entries.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Network Security]

7.9.0

6 Version history

AWS EC2 Snapshot Activity

An attempt was made to modify AWS EC2 snapshot attributes. Snapshots are sometimes shared by threat actors in order to exfiltrate bulk data from an EC2 fleet. If the permissions were modified, verify the snapshot was not shared with an unauthorized or unexpected AWS account.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.9.0

5 Version history

AWS EC2 VM Export Failure

Identifies an attempt to export an AWS EC2 instance. A virtual machine (VM) export may indicate an attempt to extract or exfiltrate information.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.14.0

2

AWS Execution via System Manager

Identifies the execution of commands and scripts via System Manager. Execution methods such as RunShellScript, RunPowerShellScript, and alike can be abused by an authenticated attacker to install a backdoor or to interact with a compromised instance via reverse-shell using system only commands.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Log Auditing]

7.9.0

6 Version history

AWS GuardDuty Detector Deletion

Identifies the deletion of an Amazon GuardDuty detector. Upon deletion, GuardDuty stops monitoring the environment and all existing findings are lost.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

AWS IAM Assume Role Policy Update

Identifies attempts to modify an AWS IAM Assume Role Policy. An adversary may attempt to modify the AssumeRolePolicy of a misconfigured role in order to gain the privileges of that role.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

5 Version history

AWS IAM Brute Force of Assume Role Policy

Identifies a high number of failed attempts to assume an AWS Identity and Access Management (IAM) role. IAM roles are used to delegate access to users or services. An adversary may attempt to enumerate IAM roles in order to determine if a role exists before attempting to assume or hijack the discovered role.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

5 Version history

AWS IAM Deactivation of MFA Device

Identifies the deactivation of a specified multi-factor authentication (MFA) device and removes it from association with the user name for which it was originally enabled. In AWS Identity and Access Management (IAM), a device must be deactivated before it can be deleted.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

5 Version history

AWS IAM Group Creation

Identifies the creation of a group in AWS Identity and Access Management (IAM). Groups specify permissions for multiple users. Any user in a group automatically has the permissions that are assigned to the group.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

AWS IAM Group Deletion

Identifies the deletion of a specified AWS Identity and Access Management (IAM) resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

5 Version history

AWS IAM Password Recovery Requested

Identifies AWS IAM password recovery requests. An adversary may attempt to gain unauthorized AWS access by abusing password recovery mechanisms.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

5 Version history

AWS IAM User Addition to Group

Identifies the addition of a user to a specified group in AWS Identity and Access Management (IAM).

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

AWS Management Console Brute Force of Root User Identity

Identifies a high number of failed authentication attempts to the AWS management console for the Root user identity. An adversary may attempt to brute force the password for the Root user identity, as it has complete access to all services and resources for the AWS account.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

3 Version history

AWS Management Console Root Login

Identifies a successful login to the AWS Management Console by the Root user.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

5 Version history

AWS RDS Cluster Creation

Identifies the creation of a new Amazon Relational Database Service (RDS) Aurora DB cluster or global database spread across multiple regions.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.9.0

6 Version history

AWS RDS Cluster Deletion

Identifies the deletion of an Amazon Relational Database Service (RDS) Aurora database cluster or global database cluster.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.9.0

5 Version history

AWS RDS Instance Creation

Identifies the creation of an Amazon Relational Database Service (RDS) Aurora database instance.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.14.0

1

AWS RDS Instance/Cluster Stoppage

Identifies that an Amazon Relational Database Service (RDS) cluster or instance has been stopped.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.9.0

5 Version history

AWS RDS Security Group Creation

Identifies the creation of an Amazon Relational Database Service (RDS) Security Group.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.14.0

1

AWS RDS Security Group Deletion

Identifies the deletion of an Amazon Relational Database Service (RDS) Security Group.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Monitoring]

7.14.0

1

AWS RDS Snapshot Export

Identifies the export of an Amazon Relational Database Service (RDS) Aurora database snapshot.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.14.0

1

AWS Root Login Without MFA

Identifies attempts to login to AWS as the root user without using multi-factor authentication (MFA). Amazon AWS best practices indicate that the root user should be protected by MFA.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

5 Version history

AWS Route 53 Domain Transfer Lock Disabled

Identifies when a transfer lock was removed from a Route 53 domain. It is recommended to refrain from performing this action unless intending to transfer the domain to a different registrar.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.14.0

1

AWS Route 53 Domain Transferred to Another Account

Identifies when a request has been made to transfer a Route 53 domain to another AWS account.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.14.0

1

AWS S3 Bucket Configuration Deletion

Identifies the deletion of various Amazon Simple Storage Service (S3) bucket configuration components.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.9.0

5 Version history

AWS WAF Access Control List Deletion

Identifies the deletion of a specified AWS Web Application Firewall (WAF) access control list.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Network Security]

7.9.0

6 Version history

AWS WAF Rule or Rule Group Deletion

Identifies the deletion of a specified AWS Web Application Firewall (WAF) rule or rule group.

[Elastic] [Cloud] [AWS] [Continuous Monitoring] [SecOps] [Network Security]

7.9.0

6 Version history

Abnormally Large DNS Response

Specially crafted DNS requests can manipulate a known overflow vulnerability in some Windows DNS servers which result in Remote Code Execution (RCE) or a Denial of Service (DoS) from crashing the service.

[Elastic] [Network] [Threat Detection] [Lateral Movement]

7.10.0

4 Version history

Access of Stored Browser Credentials

Identifies the execution of a process with arguments pointing to known browser files that store passwords and cookies. Adversaries may acquire credentials from web browsers by reading files specific to the target browser.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.12.0

1

Access to Keychain Credentials Directories

Adversaries may collect the keychain storage data from a system to acquire credentials. Keychains are the built-in way for macOS to keep track of users' passwords and credentials for many services and features such as WiFi passwords, websites, secure notes and certificates.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.10.0

5 Version history

AdFind Command Activity

This rule detects the Active Directory query tool, AdFind.exe. AdFind has legitimate purposes, but it is frequently leveraged by threat actors to perform post-exploitation Active Directory reconnaissance. The AdFind tool has been observed in Trickbot, Ryuk, Maze, and FIN6 campaigns. For Winlogbeat, this rule requires Sysmon.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

4 Version history

Adding Hidden File Attribute via Attrib

Adversaries can add the hidden attribute to files to hide them from the user in an attempt to evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

Administrator Privileges Assigned to an Okta Group

Detects when an administrator role is assigned to an Okta group. An adversary may attempt to assign administrator privileges to an Okta group in order to assign additional permissions to compromised user accounts and maintain access to their target organization.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Administrator Role Assigned to an Okta User

Identifies when an administrator role is assigned to an Okta user. An adversary may attempt to assign an administrator role to an Okta user in order to assign additional permissions to a user account and maintain access to their target’s environment.

[Elastic] [Okta] [SecOps] [Monitoring] [Continuous Monitoring]

7.11.0

4 Version history

Adobe Hijack Persistence

Detects writing executable files that will be automatically launched by Adobe on launch.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.6.0

9 Version history

Adversary Behavior - Detected - Elastic Endgame

Elastic Endgame detected an Adversary Behavior. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Agent Spoofing - Mismatched Agent ID

Detects events which have a mismatch on the expected event agent ID. The status "agent_id_mismatch" occurs when the expected agent ID associated with the API key does not match the actual agent ID in an event. This could indicate attempts to spoof events in order to masquerade actual activity to evade detection.

[Elastic] [Threat Detection] [Defense Evasion]

7.14.0

1

Agent Spoofing - Multiple Hosts Using Same Agent

Detects when multiple hosts are using the same agent ID. This could occur in the event of an agent being taken over and used to inject illegitimate documents into an instance as an attempt to spoof events in order to masquerade actual activity to evade detection.

[Elastic] [Threat Detection] [Defense Evasion]

7.14.0

1

Anomalous Kernel Module Activity

Looks for unusual kernel module activity. Kernel modules are sometimes used by malware and persistence mechanisms for stealth.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

3 Version history

Anomalous Linux Compiler Activity

Looks for compiler activity by a user context which does not normally run compilers. This can be the result of ad-hoc software changes or unauthorized software deployment. This can also be due to local privilege elevation via locally run exploits or malware activity.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Anomalous Process For a Linux Population

Searches for rare processes running on multiple Linux hosts in an entire fleet or network. This reduces the detection of false positives since automated maintenance processes usually only run occasionally on a single machine but are common to all or many hosts in a fleet.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

6 Version history

Anomalous Process For a Windows Population

Searches for rare processes running on multiple hosts in an entire fleet or network. This reduces the detection of false positives since automated maintenance processes usually only run occasionally on a single machine but are common to all or many hosts in a fleet.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

6 Version history

Anomalous Windows Process Creation

Identifies unusual parent-child process relationships that can indicate malware execution or persistence mechanisms. Malicious scripts often call on other applications and processes as part of their exploit payload. For example, when a malicious Office document runs scripts as part of an exploit payload, Excel or Word may start a script interpreter process, which, in turn, runs a script that downloads and executes malware. Another common scenario is Outlook running an unusual process when malware is downloaded in an email. Monitoring and identifying anomalous process relationships is a method of detecting new and emerging malware that is not yet recognized by anti-virus scanners.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

5 Version history

Apple Script Execution followed by Network Connection

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.

[Elastic] [Host] [macOS] [Threat Detection] [Command and Control] [Execution]

7.11.0

3 Version history

Apple Scripting Execution with Administrator Privileges

Identifies execution of the Apple script interpreter (osascript) without a password prompt and with administrator privileges.

[Elastic] [Host] [macOS] [Threat Detection] [Execution] [Privilege Escalation]

7.12.0

1

Application Added to Google Workspace Domain

Detects when a Google marketplace application is added to the Google Workspace domain. An adversary may add a malicious application to an organization’s Google Workspace domain in order to maintain a presence in their target’s organization and steal data.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Attempt to Create Okta API Token

Detects attempts to create an Okta API token. An adversary may create an Okta API token to maintain access to an organization’s network while they work to achieve their objectives. An attacker may abuse an API token to execute techniques such as creating user accounts or disabling security rules or policies.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Attempt to Deactivate MFA for an Okta User Account

Detects attempts to deactivate multi-factor authentication (MFA) for an Okta user. An adversary may deactivate MFA for an Okta user account in order to weaken the authentication requirements for the account.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

Attempt to Deactivate an Okta Application

Detects attempts to deactivate an Okta application. An adversary may attempt to modify, deactivate, or delete an Okta application in order to weaken an organization’s security controls or disrupt their business operations.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.11.0

4 Version history

Attempt to Deactivate an Okta Network Zone

Detects attempts to deactivate an Okta network zone. Okta network zones can be configured to limit or restrict access to a network based on IP addresses or geolocations. An adversary may attempt to modify, delete, or deactivate an Okta network zone in order to remove or weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Network Security]

7.11.0

4 Version history

Attempt to Deactivate an Okta Policy

Detects attempts to deactivate an Okta policy. An adversary may attempt to deactivate an Okta policy in order to weaken an organization’s security controls. For example, an adversary may attempt to deactivate an Okta multi-factor authentication (MFA) policy in order to weaken the authentication requirements for user accounts.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Attempt to Deactivate an Okta Policy Rule

Detects attempts to deactivate a rule within an Okta policy. An adversary may attempt to deactivate a rule within an Okta policy in order to remove or weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

Attempt to Delete an Okta Application

Detects attempts to delete an Okta application. An adversary may attempt to modify, deactivate, or delete an Okta application in order to weaken an organization’s security controls or disrupt their business operations.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.11.0

4 Version history

Attempt to Delete an Okta Network Zone

Detects attempts to delete an Okta network zone. Okta network zones can be configured to limit or restrict access to a network based on IP addresses or geolocations. An adversary may attempt to modify, delete, or deactivate an Okta network zone in order to remove or weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Network Security]

7.11.0

4 Version history

Attempt to Delete an Okta Policy

Detects attempts to delete an Okta policy. An adversary may attempt to delete an Okta policy in order to weaken an organization’s security controls. For example, an adversary may attempt to delete an Okta multi-factor authentication (MFA) policy in order to weaken the authentication requirements for user accounts.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Attempt to Delete an Okta Policy Rule

Detects attempts to delete a rule within an Okta policy. An adversary may attempt to delete an Okta policy rule in order to weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.11.0

4 Version history

Attempt to Disable Gatekeeper

Detects attempts to disable Gatekeeper on macOS. Gatekeeper is a security feature that’s designed to ensure that only trusted software is run. Adversaries may attempt to disable Gatekeeper before executing malicious code.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Attempt to Disable IPTables or Firewall

Adversaries may attempt to disable the iptables or firewall service in an attempt to affect how a host is allowed to receive or send network traffic.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

7 Version history

Attempt to Disable Syslog Service

Adversaries may attempt to disable the syslog service in an attempt to an attempt to disrupt event logging and evade detection by security controls.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

7 Version history

Attempt to Enable the Root Account

Identifies attempts to enable the root account using the dsenableroot command. This command may be abused by adversaries for persistence, as the root account is disabled by default.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Attempt to Install Root Certificate

Adversaries may install a root certificate on a compromised system to avoid warnings when connecting to their command and control servers. Root certificates are used in public key cryptography to identify a root certificate authority (CA). When a root certificate is installed, the system or application will trust certificates in the root’s chain of trust that have been signed by the root certificate.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Attempt to Modify an Okta Application

Detects attempts to modify an Okta application. An adversary may attempt to modify, deactivate, or delete an Okta application in order to weaken an organization’s security controls or disrupt their business operations.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.11.0

4 Version history

Attempt to Modify an Okta Network Zone

Detects attempts to modify an Okta network zone. Okta network zones can be configured to limit or restrict access to a network based on IP addresses or geolocations. An adversary may attempt to modify, delete, or deactivate an Okta network zone in order to remove or weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Network Security]

7.9.0

6 Version history

Attempt to Modify an Okta Policy

Detects attempts to modify an Okta policy. An adversary may attempt to modify an Okta policy in order to weaken an organization’s security controls. For example, an adversary may attempt to modify an Okta multi-factor authentication (MFA) policy in order to weaken the authentication requirements for user accounts.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Attempt to Modify an Okta Policy Rule

Detects attempts to modify a rule within an Okta policy. An adversary may attempt to modify an Okta policy rule in order to weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

Attempt to Mount SMB Share via Command Line

Identifies the execution of macOS built-in commands to mount a Server Message Block (SMB) network share. Adversaries may use valid accounts to interact with a remote network share using SMB.

[Elastic] [Host] [macOS] [Threat Detection] [Lateral Movement]

7.12.0

1

Attempt to Remove File Quarantine Attribute

Identifies a potential Gatekeeper bypass. In macOS, when applications or programs are downloaded from the internet, there is a quarantine flag set on the file. This attribute is read by Apple’s Gatekeeper defense program at execution time. An adversary may disable this attribute to evade defenses.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Attempt to Reset MFA Factors for an Okta User Account

Detects attempts to reset an Okta user’s enrolled multi-factor authentication (MFA) factors. An adversary may attempt to reset the MFA factors for an Okta user’s account in order to register new MFA factors and abuse the account to blend in with normal activity in the victim’s environment.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

Attempt to Revoke Okta API Token

Identifies attempts to revoke an Okta API token. An adversary may attempt to revoke or delete an Okta API token to disrupt an organization’s business operations.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Attempt to Unload Elastic Endpoint Security Kernel Extension

Identifies attempts to unload the Elastic Endpoint Security kernel extension via the kextunload command.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Attempted Bypass of Okta MFA

Detects attempts to bypass Okta multi-factor authentication (MFA). An adversary may attempt to bypass the Okta MFA policies configured for an organization in order to obtain unauthorized access to an application.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

Attempts to Brute Force a Microsoft 365 User Account

Identifies attempts to brute force a Microsoft 365 user account. An adversary may attempt a brute force attack to obtain unauthorized access to user accounts.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

5 Version history

Attempts to Brute Force an Okta User Account

Identifies when an Okta user account is locked out 3 times within a 3 hour window. An adversary may attempt a brute force or password spraying attack to obtain unauthorized access to user accounts. The default Okta authentication policy ensures that a user account is locked out after 10 failed authentication attempts.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Auditd Login Attempt at Forbidden Time

Identifies that a login attempt occurred at a forbidden time.

[Elastic] [Host] [Linux] [Threat Detection] [Initial Access]

7.12.0

1

Auditd Login from Forbidden Location

Identifies that a login attempt has happened from a forbidden location.

[Elastic] [Host] [Linux] [Threat Detection] [Initial Access]

7.12.0

1

Auditd Max Failed Login Attempts

Identifies that the maximum number of failed login attempts has been reached for a user.

[Elastic] [Host] [Linux] [Threat Detection] [Initial Access]

7.12.0

1

Auditd Max Login Sessions

Identifies that the maximum number login sessions has been reached for a user.

[Elastic] [Host] [Linux] [Threat Detection] [Initial Access]

7.12.0

1

Authorization Plugin Modification

Authorization plugins are used to extend the authorization services API and implement mechanisms that are not natively supported by the OS, such as multi-factor authentication with third party software. Adversaries may abuse this feature to persist and/or collect clear text credentials as they traverse the registered plugins during user logon.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Azure Active Directory High Risk Sign-in

Identifies high risk Azure Active Directory (AD) sign-ins by leveraging Microsoft’s Identity Protection machine learning and heuristics. Identity Protection categorizes risk into three tiers: low, medium, and high. While Microsoft does not provide specific details about how risk is calculated, each level brings higher confidence that the user or sign-in is compromised.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.12.0

2 Version history

Azure Active Directory PowerShell Sign-in

Identifies a sign-in using the Azure Active Directory PowerShell module. PowerShell for Azure Active Directory allows for managing settings from the command line, which is intended for users who are members of an admin role.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Azure Application Credential Modification

Identifies when a new credential is added to an application in Azure. An application may use a certificate or secret string to prove its identity when requesting a token. Multiple certificates and secrets can be added for an application and an adversary may abuse this by creating an additional authentication method to evade defenses or persist in an environment.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Azure Automation Account Created

Identifies when an Azure Automation account is created. Azure Automation accounts can be used to automate management tasks and orchestrate actions across systems. An adversary may create an Automation account in order to maintain persistence in their target’s environment.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Azure Automation Runbook Created or Modified

Identifies when an Azure Automation runbook is created or modified. An adversary may create or modify an Azure Automation runbook to execute malicious code and maintain persistence in their target’s environment.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

Azure Automation Runbook Deleted

Identifies when an Azure Automation runbook is deleted. An adversary may delete an Azure Automation runbook in order to disrupt their target’s automated business operations or to remove a malicious runbook that was used for persistence.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

Azure Automation Webhook Created

Identifies when an Azure Automation webhook is created. Azure Automation runbooks can be configured to execute via a webhook. A webhook uses a custom URL passed to Azure Automation along with a data payload specific to the runbook. An adversary may create a webhook in order to trigger a runbook that contains malicious code.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

Azure Blob Container Access Level Modification

Identifies changes to container access levels in Azure. Anonymous public read access to containers and blobs in Azure is a way to share data broadly, but can present a security risk if access to sensitive data is not managed judiciously.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Asset Visibility]

7.10.0

5 Version history

Azure Command Execution on Virtual Machine

Identifies command execution on a virtual machine (VM) in Azure. A Virtual Machine Contributor role lets you manage virtual machines, but not access them, nor access the virtual network or storage account they’re connected to. However, commands can be run via PowerShell on the VM, which execute as System. Other roles, such as certain Administrator roles may be able to execute commands on a VM as well.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

Azure Conditional Access Policy Modified

Identifies when an Azure Conditional Access policy is modified. Azure Conditional Access policies control access to resources via if-then statements. For example, if a user wants to access a resource, then they must complete an action such as using multi-factor authentication to access it. An adversary may modify a Conditional Access policy in order to weaken their target’s security controls.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

Azure Diagnostic Settings Deletion

Identifies the deletion of diagnostic settings in Azure, which send platform logs and metrics to different destinations. An adversary may delete diagnostic settings in an attempt to evade defenses.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Monitoring]

7.10.0

5 Version history

Azure Event Hub Authorization Rule Created or Updated

Identifies when an Event Hub Authorization Rule is created or updated in Azure. An authorization rule is associated with specific rights, and carries a pair of cryptographic keys. When you create an Event Hubs namespace, a policy rule named RootManageSharedAccessKey is created for the namespace. This has manage permissions for the entire namespace and it’s recommended that you treat this rule like an administrative root account and don’t use it in your application.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

Azure Event Hub Deletion

Identifies an Event Hub deletion in Azure. An Event Hub is an event processing service that ingests and processes large volumes of events and data. An adversary may delete an Event Hub in an attempt to evade detection.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

Azure External Guest User Invitation

Identifies an invitation to an external user in Azure Active Directory (AD). Azure AD is extended to include collaboration, allowing you to invite people from outside your organization to be guest users in your cloud account. Unless there is a business need to provision guest access, it is best practice avoid creating guest users. Guest users could potentially be overlooked indefinitely leading to a potential vulnerability.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Azure Firewall Policy Deletion

Identifies the deletion of a firewall policy in Azure. An adversary may delete a firewall policy in an attempt to evade defenses and/or to eliminate barriers in carrying out their initiative.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Network Security]

7.10.0

5 Version history

Azure Global Administrator Role Addition to PIM User

Identifies an Azure Active Directory (AD) Global Administrator role addition to a Privileged Identity Management (PIM) user account. PIM is a service that enables you to manage, control, and monitor access to important resources in an organization. Users who are assigned to the Global administrator role can read and modify any administrative setting in your Azure AD organization.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Azure Key Vault Modified

Identifies modifications to a Key Vault in Azure. The Key Vault is a service that safeguards encryption keys and secrets like certificates, connection strings, and passwords. Because this data is sensitive and business critical, access to key vaults should be secured to allow only authorized applications and users.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Data Protection]

7.10.0

5 Version history

Azure Network Watcher Deletion

Identifies the deletion of a Network Watcher in Azure. Network Watchers are used to monitor, diagnose, view metrics, and enable or disable logs for resources in an Azure virtual network. An adversary may delete a Network Watcher in an attempt to evade defenses.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Network Security]

7.10.0

5 Version history

Azure Privilege Identity Management Role Modified

Azure Active Directory (AD) Privileged Identity Management (PIM) is a service that enables you to manage, control, and monitor access to important resources in an organization. PIM can be used to manage the built-in Azure resource roles such as Global Administrator and Application Administrator. An adversary may add a user to a PIM role in order to maintain persistence in their target’s environment or modify a PIM role to weaken their target’s security controls.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Azure Resource Group Deletion

Identifies the deletion of a resource group in Azure, which includes all resources within the group. Deletion is permanent and irreversible. An adversary may delete a resource group in an attempt to evade defenses or intentionally destroy data.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

Azure Service Principal Addition

Identifies when a new service principal is added in Azure. An application, hosted service, or automated tool that accesses or modifies resources needs an identity created. This identity is known as a service principal. For security reasons, it’s always recommended to use service principals with automated tools rather than allowing them to log in with a user identity.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Azure Service Principal Credentials Added

Identifies when new Service Principal credentials have been added in Azure. In most organizations, credentials will be added to service principals infrequently. Hijacking an application (by adding a rogue secret or certificate) with granted permissions will allow the attacker to access data that is normally protected by MFA requirements.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.14.0

1

Azure Storage Account Key Regenerated

Identifies a rotation to storage account access keys in Azure. Regenerating access keys can affect any applications or Azure services that are dependent on the storage account key. Adversaries may regenerate a key as a means of acquiring credentials to access systems and resources.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Base16 or Base32 Encoding/Decoding Activity

Adversaries may encode/decode data in an attempt to evade detection by host- or network-based security controls.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

7 Version history

Bash Shell Profile Modification

Both ~/.bash_profile and ~/.bashrc are files containing shell commands that are run when Bash is invoked. These files are executed in a user’s context, either interactively or non-interactively, when a user logs in so that their environment is set correctly. Adversaries may abuse this to establish persistence by executing malicious content triggered by a user’s shell.

[Elastic] [Host] [macOS] [Linux] [Threat Detection] [Persistence]

7.12.0

1

Bypass UAC via Event Viewer

Identifies User Account Control (UAC) bypass via eventvwr.exe. Attackers bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.7.0

8 Version history

Clearing Windows Event Logs

Identifies attempts to clear or disable Windows event log stores using Windows wevetutil command. This is often done by attackers in an attempt to evade detection or destroy forensic evidence on a system.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

Cobalt Strike Command and Control Beacon

Cobalt Strike is a threat emulation platform commonly modified and used by adversaries to conduct network attack and exploitation campaigns. This rule detects a network activity algorithm leveraged by Cobalt Strike implant beacons for command and control.

[Elastic] [Network] [Threat Detection] [Command and Control] [Host]

7.10.0

6 Version history

Command Execution via SolarWinds Process

A suspicious SolarWinds child process (Cmd.exe or Powershell.exe) was detected.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

3 Version history

Command Prompt Network Connection

Identifies cmd.exe making a network connection. Adversaries could abuse cmd.exe to download or execute malware from a remote URL.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.6.0

7 Version history

Command Shell Activity Started via RunDLL32

Identifies command shell activity started via RunDLL32, which is commonly abused by attackers to host malicious code.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

4 Version history

Component Object Model Hijacking

Identifies Component Object Model (COM) hijacking via registry modification. Adversaries may establish persistence by executing malicious content triggered by hijacked references to COM objects.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

4 Version history

Conhost Spawned By Suspicious Parent Process

Detects when the Console Window Host (conhost.exe) process is spawned by a suspicious parent process, which could be indicative of code injection.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.10.0

4 Version history

Connection to Commonly Abused Free SSL Certificate Providers

Identifies unusual processes connecting to domains using known free SSL certificates. Adversaries may employ a known encryption algorithm to conceal command and control traffic.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

3 Version history

Connection to Commonly Abused Web Services

Adversaries may implement command and control communications that use common web services in order to hide their activity. This attack technique is typically targeted to an organization and uses web services common to the victim network which allows the adversary to blend into legitimate traffic. activity. These popular services are typically targeted since they have most likely been used before a compromise and allow adversaries to blend in the network.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

4 Version history

Connection to External Network via Telnet

Telnet provides a command line interface for communication with a remote device or server. This rule identifies Telnet network connections to publicly routable IP addresses.

[Elastic] [Host] [Linux] [Threat Detection] [Lateral Movement]

7.8.0

6 Version history

Connection to Internal Network via Telnet

Telnet provides a command line interface for communication with a remote device or server. This rule identifies Telnet network connections to non-publicly routable IP addresses.

[Elastic] [Host] [Linux] [Threat Detection] [Lateral Movement]

7.8.0

6 Version history

Creation of Hidden Files and Directories

Users can mark specific files as hidden simply by putting a "." as the first character in the file or folder name. Adversaries can use this to their advantage to hide files and folders on the system for persistence and defense evasion. This rule looks for hidden files or folders in common writable directories.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.9.0

7 Version history

Creation of Hidden Launch Agent or Daemon

Identifies the creation of a hidden launch agent or daemon. An adversary may establish persistence by installing a new launch agent or daemon which executes at login.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence] [Defense Evasion]

7.12.0

1

Creation of Hidden Login Item via Apple Script

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.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence] [Execution]

7.12.0

1

Creation of a Hidden Local User Account

Identifies the creation of a hidden local user account by appending the dollar sign to the account name. This is sometimes done by attackers to increase access to a system and avoid appearing in the results of accounts listing using the net users command.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.12.0

1

Creation or Modification of Domain Backup DPAPI private key

Identifies the creation or modification of Domain Backup private keys. Adversaries may extract the Data Protection API (DPAPI) domain backup key from a Domain Controller (DC) to be able to decrypt any domain user master key file.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.10.0

5 Version history

Creation or Modification of Root Certificate

Identifies the creation or modification of a local trusted root certificate in Windows. The install of a malicious root certificate would allow an attacker the ability to masquerade malicious files as valid signed components from any entity (e.g. Microsoft). It could also allow an attacker to decrypt SSL traffic.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.12.0

1

Creation or Modification of a new GPO Scheduled Task or Service

Detects the creation or modification of a new Group Policy based scheduled task or service. These methods are used for legitimate system administration, but can also be abused by an attacker with domain admin permissions to execute a malicious payload remotely on all or a subset of the domain joined machines.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.10.0

5 Version history

Credential Acquisition via Registry Hive Dumping

Identifies attempts to export a registry hive which may contain credentials using the Windows reg.exe tool.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.11.0

3 Version history

Credential Dumping - Detected - Elastic Endgame

Elastic Endgame detected Credential Dumping. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Credential Dumping - Prevented - Elastic Endgame

Elastic Endgame prevented Credential Dumping. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Credential Manipulation - Detected - Elastic Endgame

Elastic Endgame detected Credential Manipulation. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Credential Manipulation - Prevented - Elastic Endgame

Elastic Endgame prevented Credential Manipulation. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

CyberArk Privileged Access Security Error

Identifies the occurrence of a CyberArk Privileged Access Security (PAS) error level audit event. The event.code correlates to the CyberArk Vault Audit Action Code.

[Elastic] [cyberarkpas] [SecOps] [Log Auditing] [Threat Detection] [Privilege Escalation]

7.14.0

1

CyberArk Privileged Access Security Recommended Monitor

Identifies the occurrence of a CyberArk Privileged Access Security (PAS) non-error level audit event which is recommended for monitoring by the vendor. The event.code correlates to the CyberArk Vault Audit Action Code.

[Elastic] [cyberarkpas] [SecOps] [Log Auditing] [Threat Detection] [Privilege Escalation]

7.14.0

1

DNS Activity to the Internet

This rule detects when an internal network client sends DNS traffic directly to the Internet. This is atypical behavior for a managed network, and can be indicative of malware, exfiltration, command and control, or, simply, misconfiguration. This DNS activity also impacts your organization’s ability to provide enterprise monitoring and logging of DNS, and opens your network to a variety of abuses and malicious communications.

[Elastic] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

10 Version history

DNS Tunneling

A machine learning job detected unusually large numbers of DNS queries for a single top-level DNS domain, which is often used for DNS tunneling. DNS tunneling can be used for command-and-control, persistence, or data exfiltration activity. For example, dnscat tends to generate many DNS questions for a top-level domain as it uses the DNS protocol to tunnel data.

[Elastic] [Network] [Threat Detection] [ML]

7.7.0

4 Version history

Default Cobalt Strike Team Server Certificate

This rule detects the use of the default Cobalt Strike Team Server TLS certificate. Cobalt Strike is software for Adversary Simulations and Red Team Operations which are security assessments that replicate the tactics and techniques of an advanced adversary in a network. Modifications to the Packetbeat configuration can be made to include MD5 and SHA256 hashing algorithms (the default is SHA1) - see the Reference section for additional information on module configuration.

[Command and Control] [Post-Execution] [Threat Detection] [Elastic] [Network] [Host]

7.11.0

5 Version history

Delete Volume USN Journal with Fsutil

Identifies use of the fsutil.exe to delete the volume USNJRNL. This technique is used by attackers to eliminate evidence of files created during post-exploitation activities.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

Deleting Backup Catalogs with Wbadmin

Identifies use of the wbadmin.exe to delete the backup catalog. Ransomware and other malware may do this to prevent system recovery.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

Direct Outbound SMB Connection

Identifies unexpected processes making network connections over port 445. Windows File Sharing is typically implemented over Server Message Block (SMB), which communicates between hosts using port 445. When legitimate, these network connections are established by the kernel. Processes making 445/tcp connections may be port scanners, exploits, or suspicious user-level processes moving laterally.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.6.0

6 Version history

Disable Windows Event and Security Logs Using Built-in Tools

Identifies attempts to disable EventLog via the logman Windows utility, PowerShell, or auditpol. This is often done by attackers in an attempt to evade detection on a system.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Disable Windows Firewall Rules via Netsh

Identifies use of the netsh.exe to disable or weaken the local firewall. Attackers will use this command line tool to disable the firewall during troubleshooting or to enable network mobility.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

Disabling User Account Control via Registry Modification

User Account Control (UAC) can help mitigate the impact of malware on Windows hosts. With UAC, apps and tasks always run in the security context of a non-administrator account, unless an administrator specifically authorizes administrator-level access to the system. This rule identifies registry value changes to bypass User Access Control (UAC) protection.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.12.0

1

Disabling Windows Defender Security Settings via PowerShell

Identifies use of the Set-MpPreference PowerShell command to disable or weaken certain Windows Defender settings.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Domain Added to Google Workspace Trusted Domains

Detects when a domain is added to the list of trusted Google Workspace domains. An adversary may add a trusted domain in order to collect and exfiltrate data from their target’s organization with less restrictive security controls.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Dumping Account Hashes via Built-In Commands

Identifies the execution of macOS built-in commands used to dump user account hashes. Adversaries may attempt to dump credentials to obtain account login information in the form of a hash. These hashes can be cracked or leveraged for lateral movement.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.12.0

1

Dumping of Keychain Content via Security Command

Adversaries may dump the content of the keychain storage data from a system to acquire credentials. Keychains are the built-in way for macOS to keep track of users' passwords and credentials for many services and features, including Wi-Fi and website passwords, secure notes, certificates, and Kerberos.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.12.0

1

EggShell Backdoor Execution

Identifies the execution of and EggShell Backdoor. EggShell is a known post exploitation tool for macOS and Linux.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Execution]

7.12.0

1

Emond Rules Creation or Modification

Identifies the creation or modification of the Event Monitor Daemon (emond) rules. Adversaries may abuse this service by writing a rule to execute commands when a defined event occurs, such as system start up or user authentication.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Enable Host Network Discovery via Netsh

Identifies use of the netsh.exe program to enable host discovery via the network. Attackers can use this command-line tool to weaken the host firewall settings.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Encoded Executable Stored in the Registry

Identifies registry write modifications to hide an encoded portable executable. This could be indicative of adversary defense evasion by avoiding the storing of malicious content directly on disk.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Encrypting Files with WinRar or 7z

Identifies use of WinRar or 7z to create an encrypted files. Adversaries will often compress and encrypt data in preparation for exfiltration.

[Elastic] [Host] [Windows] [Threat Detection] [Collection]

7.11.0

3 Version history

Endpoint Security

Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.

[Elastic] [Endpoint Security]

7.9.0

3 Version history

Enumeration Command Spawned via WMIPrvSE

Identifies native Windows host and network enumeration commands spawned by the Windows Management Instrumentation Provider Service (WMIPrvSE).

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.12.0

1

Enumeration of Administrator Accounts

Identifies instances of lower privilege accounts enumerating Administrator accounts or groups using built-in Windows tools.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

3 Version history

Enumeration of Kernel Modules

Loadable Kernel Modules (or LKMs) are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system. This identifies attempts to enumerate information about a kernel module.

[Elastic] [Host] [Linux] [Threat Detection] [Discovery]

7.8.0

6 Version history

Enumeration of Users or Groups via Built-in Commands

Identifies the execution of macOS built-in commands related to account or group enumeration.

[Elastic] [Host] [macOS] [Threat Detection] [Discovery]

7.12.0

2 Version history

Executable File Creation with Multiple Extensions

Masquerading can allow an adversary to evade defenses and better blend in with the environment. One way it occurs is when the name or location of a file is manipulated as a means of tricking a user into executing what they think is a benign file type but is actually executable code.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.12.0

2 Version history

Execution from Unusual Directory - Command Line

Identifies process execution from suspicious default Windows directories. This may be abused by adversaries to hide malware in trusted paths.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

4 Version history

Execution of COM object via Xwizard

Windows Component Object Model (COM) is an inter-process communication (IPC) component of the native Windows application programming interface (API) that enables interaction between software objects or executable code. Xwizard can be used to run a COM object created in registry to evade defensive counter measures.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.12.0

1

Execution of File Written or Modified by Microsoft Office

Identifies an executable created by a Microsoft Office application and subsequently executed. These processes are often launched via scripts inside documents or during exploitation of MS Office applications.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.10.0

4 Version history

Execution of File Written or Modified by PDF Reader

Identifies a suspicious file that was written by a PDF reader application and subsequently executed. These processes are often launched via exploitation of PDF applications.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.10.0

4 Version history

Execution of Persistent Suspicious Program

Identifies execution of suspicious persistent programs (scripts, rundll32, etc.) by looking at process lineage and command line usage.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

2 Version history

Execution via Electron Child Process Node.js Module

Identifies attempts to execute a child process from within the context of an Electron application using the child_process Node.js module. Adversaries may abuse this technique to inherit permissions from parent processes.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion] [Execution]

7.12.0

1

Execution via MSSQL xp_cmdshell Stored Procedure

Identifies execution via MSSQL xp_cmdshell stored procedure. Malicious users may attempt to elevate their privileges by using xp_cmdshell, which is disabled by default, thus, it’s important to review the context of it’s use.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.10.0

4 Version history

Execution via TSClient Mountpoint

Identifies execution from the Remote Desktop Protocol (RDP) shared mountpoint tsclient on the target host. This may indicate a lateral movement attempt.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

Execution via local SxS Shared Module

Identifies the creation, change, or deletion of a DLL module within a Windows SxS local folder. Adversaries may abuse shared modules to execute malicious payloads by instructing the Windows module loader to load DLLs from arbitrary local paths.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

4 Version history

Execution with Explicit Credentials via Scripting

Identifies execution of the security_authtrampoline process via a scripting interpreter. This occurs when programs use AuthorizationExecute-WithPrivileges from the Security.framework to run another program with root privileges. It should not be run by itself, as this is a sign of execution with explicit logon credentials.

[Elastic] [Host] [macOS] [Threat Detection] [Execution] [Privilege Escalation]

7.11.0

2 Version history

Exploit - Detected - Elastic Endgame

Elastic Endgame detected an Exploit. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Exploit - Prevented - Elastic Endgame

Elastic Endgame prevented an Exploit. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Exporting Exchange Mailbox via PowerShell

Identifies the use of the Exchange PowerShell cmdlet, New-MailBoxExportRequest, to export the contents of a primary mailbox or archive to a .pst file. Adversaries may target user email to collect sensitive information.

[Elastic] [Host] [Windows] [Threat Detection] [Collection]

7.11.0

3 Version history

External Alerts

Generates a detection alert for each external alert written to the configured indices. Enabling this rule allows you to immediately begin investigating external alerts in the app.

[Elastic] [Network] [Windows] [APM] [macOS] [Linux]

7.9.0

4 Version history

External IP Lookup fron Non-Browser Process

Identifies domains commonly used by adversaries for post-exploitation IP lookups. It is common for adversaries to test for Internet access and acquire their external IP address after they have gained access to a system. Among others, this has been observed in campaigns leveraging the information stealer, Trickbot.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.10.0

5 Version history

File Deletion via Shred

Malware or other files dropped or created on a system by an adversary may leave traces behind as to what was done within a network and how. Adversaries may remove these files over the course of an intrusion to keep their footprint low or remove them at the end as part of the post-intrusion cleanup process.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

7 Version history

File Permission Modification in Writable Directory

Identifies file permission modifications in common writable directories by a non-root user. Adversaries often drop files or payloads into a writable directory and change permissions prior to execution.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

6 Version history

File and Directory Discovery

Enumeration of files and directories using built-in tools. Adversaries may use the information discovered to plan follow-on activity.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

3 Version history

Finder Sync Plugin Registered and Enabled

Finder Sync plugins enable users to extend Finder’s functionality by modifying the user interface. Adversaries may abuse this feature by adding a rogue Finder Plugin to repeatedly execute malicious payloads for persistence.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

GCP Firewall Rule Creation

Identifies when a firewall rule is created in Google Cloud Platform (GCP). Virtual Private Cloud (VPC) firewall rules can be configured to allow or deny connections to or from virtual machine (VM) instances. An adversary may create a new firewall rule in order to weaken their target’s security controls and allow more permissive ingress or egress traffic flows for their benefit.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

GCP Firewall Rule Deletion

Identifies when a firewall rule is deleted in Google Cloud Platform (GCP). Virtual Private Cloud (VPC) firewall rules can be configured to allow or deny connections to or from virtual machine (VM) instances. An adversary may delete a firewall rule in order to weaken their target’s security controls.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

GCP Firewall Rule Modification

Identifies when a firewall rule is modified in Google Cloud Platform (GCP). Virtual Private Cloud (VPC) firewall rules can be configured to allow or deny connections to or from virtual machine (VM) instances. An adversary may modify a firewall rule in order to weaken their target’s security controls.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

GCP IAM Custom Role Creation

Identifies an Identity and Access Management (IAM) custom role creation in Google Cloud Platform (GCP). Custom roles are user-defined, and allow for the bundling of one or more supported permissions to meet specific needs. Custom roles will not be updated automatically and could lead to privilege creep if not carefully scrutinized.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP IAM Role Deletion

Identifies an Identity and Access Management (IAM) role deletion in Google Cloud Platform (GCP). A role contains a set of permissions that allows you to perform specific actions on Google Cloud resources. An adversary may delete an IAM role to inhibit access to accounts utilized by legitimate users.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP IAM Service Account Key Deletion

Identifies the deletion of an Identity and Access Management (IAM) service account key in Google Cloud Platform (GCP). Each service account is associated with two sets of public/private RSA key pairs that are used to authenticate. If a key is deleted, the application will no longer be able to access Google Cloud resources using that key. A security best practice is to rotate your service account keys regularly.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Logging Bucket Deletion

Identifies a Logging bucket deletion in Google Cloud Platform (GCP). Log buckets are containers that store and organize log data. A deleted bucket stays in a pending state for 7 days, and Logging continues to route logs to the bucket during that time. To stop routing logs to a deleted bucket, the log sinks can be deleted that have the bucket as a destination, or the filter for the sinks can be modified to stop routing logs to the deleted bucket. An adversary may delete a log bucket to evade detection.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Logging Sink Deletion

Identifies a Logging sink deletion in Google Cloud Platform (GCP). Every time a log entry arrives, Logging compares the log entry to the sinks in that resource. Each sink whose filter matches the log entry writes a copy of the log entry to the sink’s export destination. An adversary may delete a Logging sink to evade detection.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Logging Sink Modification

Identifies a modification to a Logging sink in Google Cloud Platform (GCP). Logging compares the log entry to the sinks in that resource. Each sink whose filter matches the log entry writes a copy of the log entry to the sink’s export destination. An adversary may update a Logging sink to exfiltrate logs to a different export destination.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Pub/Sub Subscription Creation

Identifies the creation of a subscription in Google Cloud Platform (GCP). In GCP, the publisher-subscriber relationship (Pub/Sub) is an asynchronous messaging service that decouples event-producing and event-processing services. A subscription is a named resource representing the stream of messages to be delivered to the subscribing application.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Pub/Sub Subscription Deletion

Identifies the deletion of a subscription in Google Cloud Platform (GCP). In GCP, the publisher-subscriber relationship (Pub/Sub) is an asynchronous messaging service that decouples event-producing and event-processing services. A subscription is a named resource representing the stream of messages to be delivered to the subscribing application.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Pub/Sub Topic Creation

Identifies the creation of a topic in Google Cloud Platform (GCP). In GCP, the publisher-subscriber relationship (Pub/Sub) is an asynchronous messaging service that decouples event-producing and event-processing services. A topic is used to forward messages from publishers to subscribers.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Pub/Sub Topic Deletion

Identifies the deletion of a topic in Google Cloud Platform (GCP). In GCP, the publisher-subscriber relationship (Pub/Sub) is an asynchronous messaging service that decouples event-producing and event-processing services. A publisher application creates and sends messages to a topic. Deleting a topic can interrupt message flow in the Pub/Sub pipeline.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Log Auditing]

7.10.0

5 Version history

GCP Service Account Creation

Identifies when a new service account is created in Google Cloud Platform (GCP). A service account is a special type of account used by an application or a virtual machine (VM) instance, not a person. Applications use service accounts to make authorized API calls, authorized as either the service account itself, or as G Suite or Cloud Identity users through domain-wide delegation. If service accounts are not tracked and managed properly, they can present a security risk. An adversary may create a new service account to use during their operations in order to avoid using a standard user account and attempt to evade detection.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Service Account Deletion

Identifies when a service account is deleted in Google Cloud Platform (GCP). A service account is a special type of account used by an application or a virtual machine (VM) instance, not a person. Applications use service accounts to make authorized API calls, authorized as either the service account itself, or as G Suite or Cloud Identity users through domain-wide delegation. An adversary may delete a service account in order to disrupt their target’s business operations.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Service Account Disabled

Identifies when a service account is disabled in Google Cloud Platform (GCP). A service account is a special type of account used by an application or a virtual machine (VM) instance, not a person. Applications use service accounts to make authorized API calls, authorized as either the service account itself, or as G Suite or Cloud Identity users through domain-wide delegation. An adversary may disable a service account in order to disrupt to disrupt their target’s business operations.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Service Account Key Creation

Identifies when a new key is created for a service account in Google Cloud Platform (GCP). A service account is a special type of account used by an application or a virtual machine (VM) instance, not a person. Applications use service accounts to make authorized API calls, authorized as either the service account itself, or as G Suite or Cloud Identity users through domain-wide delegation. If private keys are not tracked and managed properly, they can present a security risk. An adversary may create a new key for a service account in order to attempt to abuse the permissions assigned to that account and evade detection.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Storage Bucket Configuration Modification

Identifies when the configuration is modified for a storage bucket in Google Cloud Platform (GCP). An adversary may modify the configuration of a storage bucket in order to weaken the security controls of their target’s environment.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Storage Bucket Deletion

Identifies when a Google Cloud Platform (GCP) storage bucket is deleted. An adversary may delete a storage bucket in order to disrupt their target’s business operations.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Monitoring]

7.10.0

5 Version history

GCP Storage Bucket Permissions Modification

Identifies when the Identity and Access Management (IAM) permissions are modified for a Google Cloud Platform (GCP) storage bucket. An adversary may modify the permissions on a storage bucket to weaken their target’s security controls or an administrator may inadvertently modify the permissions, which could lead to data exposure or loss.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

GCP Virtual Private Cloud Network Deletion

Identifies when a Virtual Private Cloud (VPC) network is deleted in Google Cloud Platform (GCP). A VPC network is a virtual version of a physical network within a GCP project. Each VPC network has its own subnets, routes, and firewall, as well as other elements. An adversary may delete a VPC network in order to disrupt their target’s network and business operations.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

GCP Virtual Private Cloud Route Creation

Identifies when a Virtual Private Cloud (VPC) route is created in Google Cloud Platform (GCP). Google Cloud routes define the paths that network traffic takes from a virtual machine (VM) instance to other destinations. These destinations can be inside a Google VPC network or outside it. An adversary may create a route in order to impact the flow of network traffic in their target’s cloud environment.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

GCP Virtual Private Cloud Route Deletion

Identifies when a Virtual Private Cloud (VPC) route is deleted in Google Cloud Platform (GCP). Google Cloud routes define the paths that network traffic takes from a virtual machine (VM) instance to other destinations. These destinations can be inside a Google VPC network or outside it. An adversary may delete a route in order to impact the flow of network traffic in their target’s cloud environment.

[Elastic] [Cloud] [GCP] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

Google Workspace API Access Granted via Domain-Wide Delegation of Authority

Detects when a domain-wide delegation of authority is granted to a service account. Domain-wide delegation can be configured to grant third-party and internal applications to access the data of Google Workspace users. An adversary may configure domain-wide delegation to maintain access to their target’s data.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Google Workspace Admin Role Assigned to a User

Detects when an admin role is assigned to a Google Workspace user. An adversary may assign an admin role to a user in order to elevate the permissions of another user account and persist in their target’s environment.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Google Workspace Admin Role Deletion

Detects when a custom admin role is deleted. An adversary may delete a custom admin role in order to impact the permissions or capabilities of system administrators.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Google Workspace Custom Admin Role Created

Detects when a custom admin role is created in Google Workspace. An adversary may create a custom admin role in order to elevate the permissions of other user accounts and persist in their target’s environment.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Google Workspace MFA Enforcement Disabled

Detects when multi-factor authentication (MFA) enforcement is disabled for Google Workspace users. An adversary may disable MFA enforcement in order to weaken an organization’s security controls.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

5 Version history

Google Workspace Password Policy Modified

Detects when a Google Workspace password policy is modified. An adversary may attempt to modify a password policy in order to weaken an organization’s security controls.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

5 Version history

Google Workspace Role Modified

Detects when a custom admin role or its permissions are modified. An adversary may modify a custom admin role in order to elevate the permissions of other user accounts and persist in their target’s environment.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Halfbaked Command and Control Beacon

Halfbaked is a malware family used to establish persistence in a contested network. This rule detects a network activity algorithm leveraged by Halfbaked implant beacons for command and control.

[Elastic] [Network] [Threat Detection] [Command and Control] [Host]

7.10.0

6 Version history

High Number of Okta User Password Reset or Unlock Attempts

Identifies a high number of Okta user password reset or account unlock attempts. An adversary may attempt to obtain unauthorized access to Okta user accounts using these methods and attempt to blend in with normal activity in their target’s environment and evade detection.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

High Number of Process and/or Service Terminations

This rule identifies a high number (10) of process terminations (stop, delete, or suspend) from the same host within a short time period. This may indicate a defense evasion attempt.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

2 Version history

Hosts File Modified

The hosts file on endpoints is used to control manual IP address to hostname resolutions. The hosts file is the first point of lookup for DNS hostname resolution so if adversaries can modify the endpoint hosts file, they can route traffic to malicious infrastructure. This rule detects modifications to the hosts file on Microsoft Windows, Linux (Ubuntu or RHEL) and macOS systems.

[Elastic] [Host] [Linux] [Windows] [macOS] [Threat Detection] [Impact]

7.10.0

5 Version history

Hping Process Activity

Hping ran on a Linux host. Hping is a FOSS command-line packet analyzer and has the ability to construct network packets for a wide variety of network security testing applications, including scanning and firewall auditing.

[Elastic] [Host] [Linux] [Threat Detection]

7.6.0

7 Version history

IIS HTTP Logging Disabled

Identifies when Internet Information Services (IIS) HTTP Logging is disabled on a server. An attacker with IIS server access via a webshell or other mechanism can disable HTTP Logging as an effective anti-forensics measure.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

5 Version history

IPSEC NAT Traversal Port Activity

This rule detects events that could be describing IPSEC NAT Traversal traffic. IPSEC is a VPN technology that allows one system to talk to another using encrypted tunnels. NAT Traversal enables these tunnels to communicate over the Internet where one of the sides is behind a NAT router gateway. This may be common on your network, but this technique is also used by threat actors to avoid detection.

[Elastic] [Host] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

8 Version history

Image File Execution Options Injection

The Debugger and SilentProcessExit registry keys can allow an adversary to intercept the execution of files, causing a different process to be executed. This functionality can be abused by an adversary to establish persistence.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

4 Version history

ImageLoad via Windows Update Auto Update Client

Identifies abuse of the Windows Update Auto Update Client (wuauclt.exe) to load an arbitrary DLL. This behavior is used as a defense evasion technique to blend-in malicious activity with legitimate Windows software.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Inbound Connection to an Unsecure Elasticsearch Node

Identifies Elasticsearch nodes that do not have Transport Layer Security (TLS), and/or lack authentication, and are accepting inbound network connections over the default Elasticsearch port.

[Elastic] [Network] [Threat Detection] [Initial Access] [Host]

7.10.0

5 Version history

Incoming DCOM Lateral Movement via MSHTA

Identifies the use of Distributed Component Object Model (DCOM) to execute commands from a remote host, which are launched via the HTA Application COM Object. This behavior may indicate an attacker abusing a DCOM application to move laterally while attempting to evading detection.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Incoming DCOM Lateral Movement with MMC

Identifies the use of Distributed Component Object Model (DCOM) to run commands from a remote host, which are launched via the MMC20 Application COM Object. This behavior may indicate an attacker abusing a DCOM application to move laterally.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Incoming DCOM Lateral Movement with ShellBrowserWindow or ShellWindows

Identifies use of Distributed Component Object Model (DCOM) to run commands from a remote host, which are launched via the ShellBrowserWindow or ShellWindows Application COM Object. This behavior may indicate an attacker abusing a DCOM application to stealthily move laterally.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Incoming Execution via PowerShell Remoting

Identifies remote execution via Windows PowerShell remoting. Windows PowerShell remoting allows for running any Windows PowerShell command on one or more remote computers. This could be an indication of lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Incoming Execution via WinRM Remote Shell

Identifies remote execution via Windows Remote Management (WinRM) remote shell on a target host. This could be an indication of lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

InstallUtil Process Making Network Connections

Identifies InstallUtil.exe making outbound network connections. This may indicate adversarial activity as InstallUtil is often leveraged by adversaries to execute code and evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

3 Version history

Installation of Custom Shim Databases

Identifies the installation of custom Application Compatibility Shim databases. This Windows functionality has been abused by attackers to stealthily gain persistence and arbitrary code execution in legitimate Windows processes.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.10.0

3 Version history

Installation of Security Support Provider

Identifies registry modifications related to the Windows Security Support Provider (SSP) configuration. Adversaries may abuse this to establish persistence in an environment.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Interactive Terminal Spawned via Perl

Identifies when a terminal (tty) is spawned via Perl. Attackers may upgrade a simple reverse shell to a fully interactive tty after obtaining initial access to a host.

[Elastic] [Host] [Linux] [Threat Detection] [Execution]

7.8.0

6 Version history

Interactive Terminal Spawned via Python

Identifies when a terminal (tty) is spawned via Python. Attackers may upgrade a simple reverse shell to a fully interactive tty after obtaining initial access to a host.

[Elastic] [Host] [Linux] [Threat Detection] [Execution]

7.8.0

6 Version history

Kerberos Cached Credentials Dumping

Identifies the use of the Kerberos credential cache (kcc) utility to dump locally cached Kerberos tickets.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.10.0

3 Version history

Kerberos Traffic from Unusual Process

Identifies network connections to the standard Kerberos port from an unusual process. On Windows, the only process that normally performs Kerberos traffic from a domain joined host is lsass.exe.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.11.0

3 Version history

Kernel Module Removal

Kernel modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system. This rule identifies attempts to remove a kernel module.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

7 Version history

Keychain Password Retrieval via Command Line

Adversaries may collect keychain storage data from a system to in order to acquire credentials. Keychains are the built-in way for macOS to keep track of users' passwords and credentials for many services and features, including Wi-Fi and website passwords, secure notes, certificates, and Kerberos.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.12.0

2 Version history

LSASS Memory Dump Creation

Identifies the creation of a Local Security Authority Subsystem Service (lsass.exe) default memory dump. This may indicate a credential access attempt via trusted system utilities such as Task Manager (taskmgr.exe) and SQL Dumper (sqldumper.exe) or known pentesting tools such as Dumpert and AndrewSpecial.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.11.0

4 Version history

Lateral Movement via Startup Folder

Identifies suspicious file creations in the startup folder of a remote system. An adversary could abuse this to move laterally by dropping a malicious script or executable that will be executed after a reboot or user logon.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

Lateral Tool Transfer

Identifies the creation or change of a Windows executable file over network shares. Adversaries may transfer tools or other files between systems in a compromised environment.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Launch Agent Creation or Modification and Immediate Loading

An adversary can establish persistence by installing a new launch agent that executes at login by using launchd or launchctl to load a plist into the appropriate directories.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.11.0

2 Version history

LaunchDaemon Creation or Modification and Immediate Loading

Adversaries may create or modify launch daemons to repeatedly execute malicious payloads as part of persistence.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.11.0

2 Version history

Local Scheduled Task Creation

A scheduled task can be used by an adversary to establish persistence, move laterally, and/or escalate privileges.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.6.0

8 Version history

MFA Disabled for Google Workspace Organization

Detects when multi-factor authentication (MFA) is disabled for a Google Workspace organization. An adversary may attempt to modify a password policy in order to weaken an organization’s security controls.

[Elastic] [Cloud] [Google Workspace] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

5 Version history

Malware - Detected - Elastic Endgame

Elastic Endgame detected Malware. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Malware - Prevented - Elastic Endgame

Elastic Endgame prevented Malware. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Microsoft 365 Exchange Anti-Phish Policy Deletion

Identifies the deletion of an anti-phishing policy in Microsoft 365. By default, Microsoft 365 includes built-in features that help protect users from phishing attacks. Anti-phishing polices increase this protection by refining settings to better detect and prevent attacks.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange Anti-Phish Rule Modification

Identifies the modification of an anti-phishing rule in Microsoft 365. By default, Microsoft 365 includes built-in features that help protect users from phishing attacks. Anti-phishing rules increase this protection by refining settings to better detect and prevent attacks.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange DKIM Signing Configuration Disabled

Identifies when a DomainKeys Identified Mail (DKIM) signing configuration is disabled in Microsoft 365. With DKIM in Microsoft 365, messages that are sent from Exchange Online will be cryptographically signed. This will allow the receiving email system to validate that the messages were generated by a server that the organization authorized and not being spoofed.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Data Protection]

7.11.0

4 Version history

Microsoft 365 Exchange DLP Policy Removed

Identifies when a Data Loss Prevention (DLP) policy is removed in Microsoft 365. An adversary may remove a DLP policy to evade existing DLP monitoring.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange Malware Filter Policy Deletion

Identifies when a malware filter policy has been deleted in Microsoft 365. A malware filter policy is used to alert administrators that an internal user sent a message that contained malware. This may indicate an account or machine compromise that would need to be investigated. Deletion of a malware filter policy may be done to evade detection.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange Malware Filter Rule Modification

Identifies when a malware filter rule has been deleted or disabled in Microsoft 365. An adversary or insider threat may want to modify a malware filter rule to evade detection.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange Management Group Role Assignment

Identifies when a new role is assigned to a management group in Microsoft 365. An adversary may attempt to add a role in order to maintain persistence in an environment.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Microsoft 365 Exchange Safe Attachment Rule Disabled

Identifies when a safe attachment rule is disabled in Microsoft 365. Safe attachment rules can extend malware protections to include routing all messages and attachments without a known malware signature to a special hypervisor environment. An adversary or insider threat may disable a safe attachment rule to exfiltrate data or evade defenses.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange Safe Link Policy Disabled

Identifies when a Safe Link policy is disabled in Microsoft 365. Safe Link policies for Office applications extend phishing protection to documents that contain hyperlinks, even after they have been delivered to a user.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Microsoft 365 Exchange Transport Rule Creation

Identifies a transport rule creation in Microsoft 365. Exchange Online mail transport rules should be set to not forward email to domains outside of your organization as a best practice. An adversary may create transport rules to exfiltrate data.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Exchange Transport Rule Modification

Identifies when a transport rule has been disabled or deleted in Microsoft 365. Mail flow rules (also known as transport rules) are used to identify and take action on messages that flow through your organization. An adversary or insider threat may modify a transport rule to exfiltrate data or evade defenses.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 New Inbox Rule Created

Identifies when a new Inbox rule is created in Microsoft 365. Inbox rules process messages in the Inbox based on conditions and take actions, such as moving a message to a specified folder or deleting a message. Adequate permissions are required on the mailbox to create an Inbox rule.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.13.0

1

Microsoft 365 Teams Custom Application Interaction Allowed

Identifies when custom applications are allowed in Microsoft Teams. If an organization requires applications other than those available in the Teams app store, custom applications can be developed as packages and uploaded. An adversary may abuse this behavior to establish persistence in an environment.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Teams External Access Enabled

Identifies when external access is enabled in Microsoft Teams. External access lets Teams and Skype for Business users communicate with other users that are outside their organization. An adversary may enable external access or add an allowed domain to exfiltrate data or maintain persistence in an environment.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft 365 Teams Guest Access Enabled

Identifies when guest access is enabled in Microsoft Teams. Guest access in Teams allows people outside the organization to access teams and channels. An adversary may enable guest access to maintain persistence in an environment.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.11.0

4 Version history

Microsoft Build Engine Loading Windows Credential Libraries

An instance of MSBuild, the Microsoft Build Engine, loaded DLLs (dynamically linked libraries) responsible for Windows credential management. This technique is sometimes used for credential dumping.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.7.0

8 Version history

Microsoft Build Engine Started an Unusual Process

An instance of MSBuild, the Microsoft Build Engine, started a PowerShell script or the Visual C# Command Line Compiler. This technique is sometimes used to deploy a malicious payload using the Build Engine.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

8 Version history

Microsoft Build Engine Started by a Script Process

An instance of MSBuild, the Microsoft Build Engine, was started by a script or the Windows command interpreter. This behavior is unusual and is sometimes used by malicious payloads.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

8 Version history

Microsoft Build Engine Started by a System Process

An instance of MSBuild, the Microsoft Build Engine, was started by Explorer or the WMI (Windows Management Instrumentation) subsystem. This behavior is unusual and is sometimes used by malicious payloads.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

8 Version history

Microsoft Build Engine Started by an Office Application

An instance of MSBuild, the Microsoft Build Engine, was started by Excel or Word. This is unusual behavior for the Build Engine and could have been caused by an Excel or Word document executing a malicious script payload.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

8 Version history

Microsoft Build Engine Using an Alternate Name

An instance of MSBuild, the Microsoft Build Engine, was started after being renamed. This is uncommon behavior and may indicate an attempt to run unnoticed or undetected.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

8 Version history

Microsoft Exchange Server UM Spawning Suspicious Processes

Identifies suspicious processes being spawned by the Microsoft Exchange Server Unified Messaging (UM) service. This activity has been observed exploiting CVE-2021-26857.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.12.0

1

Microsoft Exchange Server UM Writing Suspicious Files

Identifies suspicious files being written by the Microsoft Exchange Server Unified Messaging (UM) service. This activity has been observed exploiting CVE-2021-26858.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.12.0

2 Version history

Microsoft Exchange Worker Spawning Suspicious Processes

Identifies suspicious processes being spawned by the Microsoft Exchange Server worker process (w3wp). This activity may indicate exploitation activity or access to an existing web shell backdoor.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.12.0

1

Microsoft IIS Connection Strings Decryption

Identifies use of aspnet_regiis to decrypt Microsoft IIS connection strings. An attacker with Microsoft IIS web server access via a webshell or alike can decrypt and dump any hardcoded connection strings, such as the MSSQL service account password using aspnet_regiis command.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.10.0

4 Version history

Microsoft IIS Service Account Password Dumped

Identifies the Internet Information Services (IIS) command-line tool, AppCmd, being used to list passwords. An attacker with IIS web server access via a web shell can decrypt and dump the IIS AppPool service account password using AppCmd.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.10.0

4 Version history

Mimikatz Memssp Log File Detected

Identifies the password log file from the default Mimikatz memssp module.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.10.0

4 Version history

Modification of AmsiEnable Registry Key

Jscript tries to query the AmsiEnable registry key from the HKEY_USERS registry hive before initializing Antimalware Scan Interface (AMSI). If this key is set to 0, AMSI is not enabled for the Jscript process. An adversary can modify this key to disable AMSI protections.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Modification of Boot Configuration

Identifies use of bcdedit.exe to delete boot configuration data. This tactic is sometimes used as by malware or an attacker as a destructive technique.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

8 Version history

Modification of Dynamic Linker Preload Shared Object

Identifies modification of the dynamic linker preload shared object (ld.so.preload). Adversaries may execute malicious payloads by hijacking the dynamic linker used to load libraries.

[Elastic] [Host] [Linux] [Threat Detection] [Privilege Escalation]

7.12.0

1

Modification of Environment Variable via Launchctl

Identifies modifications to an environment variable using the built-in launchctl command. Adversaries may execute their own malicious payloads by hijacking certain environment variables to load arbitrary libraries or bypass certain restrictions.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

2 Version history

Modification of OpenSSH Binaries

Adversaries may modify SSH related binaries for persistence or credential access by patching sensitive functions to enable unauthorized access or by logging SSH credentials for exfiltration.

[Elastic] [Host] [Linux] [Threat Detection] [Credential Access] [Persistence]

7.12.0

1

Modification of Safari Settings via Defaults Command

Identifies changes to the Safari configuration using the built-in defaults command. Adversaries may attempt to enable or disable certain Safari settings, such as enabling JavaScript from Apple Events to ease in the hijacking of the users browser.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Modification of Standard Authentication Module or Configuration

Adversaries may modify the standard authentication module for persistence via patching the normal authorization process or modifying the login configuration to allow unauthorized access or elevate privileges.

[Elastic] [Host] [macOS] [Linux] [Threat Detection] [Credential Access] [Persistence]

7.12.0

2 Version history

Modification of WDigest Security Provider

Identifies attempts to modify the WDigest security provider in the registry to force the user’s password to be stored in clear text in memory. This behavior can be indicative of an adversary attempting to weaken the security configuration of an endpoint. Once the UseLogonCredential value is modified, the adversary may attempt to dump clear text passwords from memory.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.12.0

1

Modification or Removal of an Okta Application Sign-On Policy

Detects attempts to modify or delete a sign on policy for an Okta application. An adversary may attempt to modify or delete the sign on policy for an Okta application in order to remove or weaken an organization’s security controls.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

6 Version history

Mounting Hidden or WebDav Remote Shares

Identifies the use of net.exe to mount a WebDav or hidden remote share. This may indicate lateral movement or preparation for data exfiltration.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

MsBuild Making Network Connections

Identifies MsBuild.exe making outbound network connections. This may indicate adversarial activity as MsBuild is often leveraged by adversaries to execute code and evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

7 Version history

Mshta Making Network Connections

Identifies Mshta.exe making outbound network connections. This may indicate adversarial activity as Mshta is often leveraged by adversaries to execute malicious scripts and evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Multi-Factor Authentication Disabled for an Azure User

Identifies when multi-factor authentication (MFA) is disabled for an Azure user account. An adversary may disable MFA for a user account in order to weaken the authentication requirements for the account.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

NTDS or SAM Database File Copied

Identifies a copy operation of the Active Directory Domain Database (ntds.dit) or Security Account Manager (SAM) files. Those files contain sensitive information including hashed domain and/or local credentials.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.11.0

3 Version history

Net command via SYSTEM account

Identifies the SYSTEM account using an account discovery utility. This could be a sign of discovery activity after an adversary has achieved privilege escalation.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.7.0

7 Version history

Netcat Network Activity

A netcat process is engaging in network activity on a Linux host. Netcat is often used as a persistence mechanism by exporting a reverse shell or by serving a shell on a listening port. Netcat is also sometimes used for data exfiltration.

[Elastic] [Host] [Linux] [Threat Detection]

7.6.0

6 Version history

Network Connection via Certutil

Identifies certutil.exe making a network connection. Adversaries could abuse certutil.exe to download a certificate, or malware, from a remote URL.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.7.0

6 Version history

Network Connection via Compiled HTML File

Compiled HTML files (.chm) are commonly distributed as part of the Microsoft HTML Help system. Adversaries may conceal malicious code in a CHM file and deliver it to a victim for execution. CHM content is loaded by the HTML Help executable program (hh.exe).

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.6.0

8 Version history

Network Connection via MsXsl

Identifies msxsl.exe making a network connection. This may indicate adversarial activity as msxsl.exe is often leveraged by adversaries to execute malicious scripts and evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

7 Version history

Network Connection via Registration Utility

Identifies the native Windows tools regsvr32.exe, regsvr64.exe, RegSvcs.exe, or RegAsm.exe making a network connection. This may be indicative of an attacker bypassing allowlists or running arbitrary scripts via a signed Microsoft binary.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.6.0

9 Version history

Network Connection via Signed Binary

Binaries signed with trusted digital certificates can execute on Windows systems protected by digital signature validation. Adversaries may use these binaries to live off the land and execute malicious files that could bypass application allowlists and signature validation.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

8 Version history

Network Logon Provider Registry Modification

Adversaries may register a rogue network logon provider module for persistence and/or credential access via intercepting the authentication credentials in clear text during user logon.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence] [Credential Access]

7.13.0

1

Network Traffic to Rare Destination Country

A machine learning job detected a rare destination country name in the network logs. This can be due to initial access, persistence, command-and-control, or exfiltration activity. For example, when a user clicks on a link in a phishing email or opens a malicious document, a request may be sent to download and run a payload from a server in a country which does not normally appear in network traffic or business work-flows. Malware instances and persistence mechanisms may communicate with command-and-control (C2) infrastructure in their country of origin, which may be an unusual destination country for the source network.

[Elastic] [Network] [Threat Detection] [ML]

7.13.0

2 Version history

New ActiveSyncAllowedDeviceID Added via PowerShell

Identifies the use of the Exchange PowerShell cmdlet, Set-CASMailbox, to add a new ActiveSync allowed device. Adversaries may target user email to collect sensitive information.

[Elastic] [Host] [Windows] [Threat Detection] [Collection]

7.11.0

3 Version history

Nping Process Activity

Nping ran on a Linux host. Nping is part of the Nmap tool suite and has the ability to construct raw packets for a wide variety of security testing applications, including denial of service testing.

[Elastic] [Host] [Linux] [Threat Detection]

7.6.0

7 Version history

NullSessionPipe Registry Modification

Identifies NullSessionPipe registry modifications that specify which pipes can be accessed anonymously. This could be indicative of adversary lateral movement preparation by making the added pipe available to everyone.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.13.0

1

O365 Excessive Single Sign-On Logon Errors

Identifies accounts with a high number of single sign-on (SSO) logon errors. Excessive logon errors may indicate an attempt to brute force a password or single sign-on token.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Identity and Access]

7.14.0

1

Okta Brute Force or Password Spraying Attack

Identifies a high number of failed Okta user authentication attempts from a single IP address, which could be indicative of a brute force or password spraying attack. An adversary may attempt a brute force or password spraying attack to obtain unauthorized access to user accounts.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Identity and Access]

7.9.0

5 Version history

Outbound Scheduled Task Activity via PowerShell

Identifies the PowerShell process loading the Task Scheduler COM DLL followed by an outbound RPC network connection within a short time period. This may indicate lateral movement or remote discovery via scheduled tasks.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

2 Version history

Parent Process PID Spoofing

Identifies parent process spoofing used to thwart detection. Adversaries may spoof the parent process identifier (PPID) of a new process to evade process-monitoring defenses or to elevate privileges.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Peripheral Device Discovery

Identifies use of the Windows file system utility (fsutil.exe ) to gather information about attached peripheral devices and components connected to a computer system.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

3 Version history

Permission Theft - Detected - Elastic Endgame

Elastic Endgame detected Permission Theft. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Permission Theft - Prevented - Elastic Endgame

Elastic Endgame prevented Permission Theft. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Persistence via BITS Job Notify Cmdline

An adversary can use the Background Intelligent Transfer Service (BITS) SetNotifyCmdLine method to execute a program that runs after a job finishes transferring data or after a job enters a specified state in order to persist on a system.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.13.0

1

Persistence via DirectoryService Plugin Modification

Identifies the creation or modification of a DirectoryService PlugIns (dsplug) file. The DirectoryService daemonlaunches on each system boot and automatically reloads after crash. It scans and executes bundles that are located in the DirectoryServices PlugIns folder and can be abused by adversaries to maintain persistence.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Persistence via Docker Shortcut Modification

An adversary can establish persistence by modifying an existing macOS dock property list in order to execute a malicious application instead of the intended one when invoked.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Persistence via Folder Action Script

A Folder Action script is executed when the folder to which it is attached has items added or removed, or when its window is opened, closed, moved, or resized. Adversaries may abuse this feature to establish persistence by utilizing a malicious script.

[Elastic] [Host] [macOS] [Threat Detection] [Execution] [Persistence]

7.11.0

3 Version history

Persistence via Hidden Run Key Detected

Identifies a persistence mechanism that utilizes the NtSetValueKey native API to create a hidden (null terminated) registry key. An adversary may use this method to hide from system utilities such as the Registry Editor (regedit).

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Persistence via KDE AutoStart Script or Desktop File Modification

Identifies the creation or modification of a K Desktop Environment (KDE) AutoStart script or desktop file that will execute upon each user logon. Adversaries may abuse this method for persistence.

[Elastic] [Host] [Linux] [Threat Detection] [Persistence]

7.12.0

1

Persistence via Login or Logout Hook

Identifies use of the Defaults command to install a login or logoff hook in MacOS. An adversary may abuse this capability to establish persistence in an environment by inserting code to be executed at login or logout.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.11.0

4 Version history

Persistence via Microsoft Office AddIns

Detects attempts to establish persistence on an endpoint by abusing Microsoft Office add-ins.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Persistence via Microsoft Outlook VBA

Detects attempts to establish persistence on an endpoint by installing a rogue Microsoft Outlook VBA Template.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Persistence via Scheduled Job Creation

A job can be used to schedule programs or scripts to be executed at a specified date and time. Adversaries may abuse task scheduling functionality to facilitate initial or recurring execution of malicious code.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.13.0

1

Persistence via TelemetryController Scheduled Task Hijack

Detects the successful hijack of Microsoft Compatibility Appraiser scheduled task to establish persistence with an integrity level of system.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.10.0

5 Version history

Persistence via Update Orchestrator Service Hijack

Identifies potential hijacking of the Microsoft Update Orchestrator Service to establish persistence with an integrity level of SYSTEM.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.10.0

4 Version history

Persistence via WMI Event Subscription

An adversary can use Windows Management Instrumentation (WMI) to install event filters, providers, consumers, and bindings that execute code when a defined event occurs. Adversaries may use the capabilities of WMI to subscribe to an event and execute arbitrary code when that event occurs, providing persistence on a system.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Persistence via WMI Standard Registry Provider

Identifies use of the Windows Management Instrumentation StdRegProv (registry provider) to modify commonly abused registry locations for persistence.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.13.0

1

Persistent Scripts in the Startup Directory

Identifies script engines creating files in the startup folder, or the creation of script files in the startup folder.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Port Forwarding Rule Addition

Identifies the creation of a new port forwarding rule. An adversary may abuse this technique to bypass network segmentation restrictions.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Possible Consent Grant Attack via Azure-Registered Application

Detects when a user grants permissions to an Azure-registered application or when an administrator grants tenant-wide permissions to an application. An adversary may create an Azure-registered application that requests access to data such as contact information, email, or documents.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Identity and Access]

7.10.0

5 Version history

Possible FIN7 DGA Command and Control Behavior

This rule detects a known command and control pattern in network events. The FIN7 threat group is known to use this command and control technique, while maintaining persistence in their target’s network.

[Elastic] [Network] [Threat Detection] [Command and Control] [Host]

7.10.0

6 Version history

Possible Okta DoS Attack

Detects possible Denial of Service (DoS) attacks against an Okta organization. An adversary may attempt to disrupt an organization’s business operations by performing a DoS attack against its Okta service.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Potential Admin Group Account Addition

Identifies attempts to add an account to the admin group via the command line. This could be an indication of privilege escalation activity.

[Elastic] [Host] [macOS] [Threat Detection] [Privilege Escalation]

7.12.0

1

Potential Application Shimming via Sdbinst

The Application Shim was created to allow for backward compatibility of software as the operating system codebase changes over time. This Windows functionality has been abused by attackers to stealthily gain persistence and arbitrary code execution in legitimate Windows processes.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.6.0

8 Version history

Potential Command and Control via Internet Explorer

Identifies instances of Internet Explorer (iexplore.exe) being started via the Component Object Model (COM) making unusual network connections. Adversaries could abuse Internet Explorer via COM to avoid suspicious processes making network connections and bypass host-based firewall restrictions.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

3 Version history

Potential Cookies Theft via Browser Debugging

Identifies the execution of a Chromium based browser with the debugging process argument, which may indicate an attempt to steal authentication cookies. An adversary may steal web application or service session cookies and use them to gain access web applications or Internet services as an authenticated user without needing credentials.

[Elastic] [Host] [Linux] [Windows] [macOS] [Threat Detection] [Credential Access]

7.12.0

1

Potential Credential Access via Windows Utilities

Identifies the execution of known Windows utilities often abused to dump LSASS memory or the Active Directory database (NTDS.dit) in preparation for credential access.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.11.0

4 Version history

Potential DLL Side-Loading via Microsoft Antimalware Service Executable

Identifies a Windows trusted program that is known to be vulnerable to DLL Search Order Hijacking starting after being renamed or from a non-standard path. This is uncommon behavior and may indicate an attempt to evade defenses via side-loading a malicious DLL within the memory space of one of those processes.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Potential DLL SideLoading via Trusted Microsoft Programs

Identifies an instance of a Windows trusted program that is known to be vulnerable to DLL Search Order Hijacking starting after being renamed or from a non-standard path. This is uncommon behavior and may indicate an attempt to evade defenses via side loading a malicious DLL within the memory space of one of those processes.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

5 Version history

Potential DNS Tunneling via Iodine

Iodine is a tool for tunneling Internet protocol version 4 (IPV4) traffic over the DNS protocol to circumvent firewalls, network security groups, and network access lists while evading detection.

[Elastic] [Host] [Linux] [Threat Detection]

7.6.0

7 Version history

Potential DNS Tunneling via NsLookup

This rule identifies a large number (15) of nslookup.exe executions with an explicit query type from the same host. This may indicate command and control activity utilizing the DNS protocol.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

2 Version history

Potential Disabling of SELinux

Identifies potential attempts to disable Security-Enhanced Linux (SELinux), which is a Linux kernel security feature to support access control policies. Adversaries may disable security tools to avoid possible detection of their tools and activities.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.8.0

7 Version history

Potential Evasion via Filter Manager

The Filter Manager Control Program (fltMC.exe) binary may be abused by adversaries to unload a filter driver and evade defenses.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

7 Version history

Potential Hidden Local User Account Creation

Identifies attempts to create a local account that will be hidden from the macOS logon window. This may indicate an attempt to evade user attention while maintaining persistence using a separate local account.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Potential Kerberos Attack via Bifrost

Identifies use of Bifrost, a known macOS Kerberos pentesting tool, which can be used to dump cached Kerberos tickets or attempt unauthorized authentication techniques such as pass-the-ticket/hash and kerberoasting.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access] [Lateral Movement]

7.12.0

1

Potential LSA Authentication Package Abuse

Adversaries can use the autostart mechanism provided by the Local Security Authority (LSA) authentication packages for privilege escalation or persistence by placing a reference to a binary in the Windows registry. The binary will then be executed by SYSTEM when the authentication packages are loaded.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.12.0

1

Potential Microsoft Office Sandbox Evasion

Identifies the creation of a suspicious zip file prepended with special characters. Sandboxed Microsoft Office applications on macOS are allowed to write files that start with special characters, which can be combined with an AutoStart location to achieve sandbox evasion.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Potential Modification of Accessibility Binaries

Windows contains accessibility features that may be launched with a key combination before a user has logged in. An adversary can modify the way these programs are launched to get a command prompt or backdoor without logging in to the system.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.6.0

7 Version history

Potential OpenSSH Backdoor Logging Activity

Identifies a Secure Shell (SSH) client or server process creating or writing to a known SSH backdoor log file. Adversaries may modify SSH related binaries for persistence or credential access via patching sensitive functions to enable unauthorized access or to log SSH credentials for exfiltration.

[Elastic] [Host] [Linux] [Threat Detection] [Persistence] [Credential Access]

7.12.0

1

Potential Password Spraying of Microsoft 365 User Accounts

Identifies a high number (25) of failed Microsoft 365 user authentication attempts from a single IP address within 30 minutes, which could be indicative of a password spraying attack. An adversary may attempt a password spraying attack to obtain unauthorized access to user accounts.

[Elastic] [Cloud] [Microsoft 365] [Continuous Monitoring] [SecOps] [Identity and Access]

7.11.0

4 Version history

Potential Persistence via Atom Init Script Modification

Identifies modifications to the Atom desktop text editor Init File. Adversaries may add malicious JavaScript code to the init.coffee file that will be executed upon the Atom application opening.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Potential Persistence via Login Hook

Identifies the creation or modification of the login window property list (plist). Adversaries may modify plist files to run a program during system boot or user login for persistence.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

2 Version history

Potential Persistence via Periodic Tasks

Identifies the creation or modification of the default configuration for periodic tasks. Adversaries may abuse periodic tasks to execute malicious code or maintain persistence.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Potential Persistence via Time Provider Modification

Windows operating systems are utilizing the time provider architecture in order to obtain accurate time stamps from other network devices or clients in the network. Time providers are implemented in the form of a DLL file which resides in System32 folder. The service W32Time initiates during the startup of Windows and loads w32time.dll. Adversaries may abuse this architecture to establish persistence, specifically by registering and enabling a malicious DLL as a time provider.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.12.0

1

Potential Port Monitor or Print Processor Registration Abuse

Identifies port monitor and print processor registry modifications. Adversaries may abuse port monitor and print processors to run malicious DLLs during system boot that will be executed as SYSTEM for privilege escalation and/or persistence, if permissions allow writing a fully-qualified pathname for that DLL.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.12.0

1

Potential PrintNightmare Exploit Registry Modification

Detects attempts to exploit privilege escalation vulnerabilities related to the Print Spooler service. For more information refer to CVE-2021-34527 and verify that the impacted system is investigated.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.14.0

1

Potential PrintNightmare File Modification

Detects the creation or modification of a print driver with an unusual file name. This may indicate attempts to exploit privilege escalation vulnerabilities related to the Print Spooler service. For more information refer to CVE-2021-34527 and verify that the impacted system is investigated.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.14.0

1

Potential Privacy Control Bypass via Localhost Secure Copy

Identifies use of the Secure Copy Protocol (SCP) to copy files locally by abusing the auto addition of the Secure Shell Daemon (sshd) to the authorized application list for Full Disk Access. This may indicate attempts to bypass macOS privacy controls to access sensitive files.

[Elastic] [Host] [macOS] [Threat Detection] [Privilege Escalation] [Defense Evasion]

7.12.0

1

Potential Privacy Control Bypass via TCCDB Modification

Identifies the use of sqlite3 to directly modify the Transparency, Consent, and Control (TCC) SQLite database. This may indicate an attempt to bypass macOS privacy controls, including access to sensitive resources like the system camera, microphone, address book, and calendar.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Potential Privilege Escalation via Sudoers File Modification

A sudoers file specifies the commands users or groups can run and from which terminals. Adversaries can take advantage of these configurations to execute commands as other users or spawn processes with higher privileges.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Privilege Escalation]

7.12.0

1

Potential Process Herpaderping Attempt

Identifies process execution followed by a file overwrite of an executable by the same parent process. This may indicate an evasion attempt to execute malicious code in a stealthy way.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

2 Version history

Potential Protocol Tunneling via EarthWorm

Identifies the execution of the EarthWorm tunneler. Adversaries may tunnel network communications to and from a victim system within a separate protocol to avoid detection and network filtering, or to enable access to otherwise unreachable systems.

[Elastic] [Host] [Linux] [Threat Detection] [Command and Control]

7.13.0

1

Potential Remote Desktop Shadowing Activity

Identifies the modification of the Remote Desktop Protocol (RDP) Shadow registry or the execution of processes indicative of an active RDP shadowing session. An adversary may abuse the RDP Shadowing feature to spy on or control other users active RDP sessions.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.13.0

1

Potential Remote Desktop Tunneling Detected

Identifies potential use of an SSH utility to establish RDP over a reverse SSH Tunnel. This could be indicative of adversary lateral movement to interactively access restricted networks.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

Potential Reverse Shell Activity via Terminal

Identifies the execution of a shell process with suspicious arguments which may be indicative of reverse shell activity.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Execution]

7.12.0

1

Potential SSH Brute Force Detected

Identifies a high number (20) of macOS SSH KeyGen process executions from the same host. An adversary may attempt a brute force attack to obtain unauthorized access to user accounts.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.11.0

2 Version history

Potential Secure File Deletion via SDelete Utility

Detects file name patterns generated by the use of Sysinternals SDelete utility to securely delete a file via multiple file overwrite and rename operations.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

5 Version history

Potential SharpRDP Behavior

Identifies potential behavior of SharpRDP, which is a tool that can be used to perform authenticated command execution against a remote target via Remote Desktop Protocol (RDP) for the purposes of lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Potential Shell via Web Server

Identifies suspicious commands executed via a web server, which may suggest a vulnerability and remote shell access.

[Elastic] [Host] [Linux] [Threat Detection] [Persistence]

7.6.0

9 Version history

Potential Windows Error Manager Masquerading

Identifies suspicious instances of the Windows Error Reporting process (WerFault.exe or Wermgr.exe) with matching command-line and process executable values performing outgoing network connections. This may be indicative of a masquerading attempt to evade suspicious child process behavior detections.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

3 Version history

Privilege Escalation via Named Pipe Impersonation

Identifies a privilege escalation attempt via named pipe impersonation. An adversary may abuse this technique by utilizing a framework such Metasploit’s meterpreter getsystem command.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

Privilege Escalation via Root Crontab File Modification

Identifies modifications to the root crontab file. Adversaries may overwrite this file to gain code execution with root privileges by exploiting privileged file write or move related vulnerabilities.

[Elastic] [Host] [macOS] [Threat Detection] [Privilege Escalation]

7.12.0

1

Privilege Escalation via Windir Environment Variable

Identifies a privilege escalation attempt via a rogue Windows directory (Windir) environment variable. This is a known primitive that is often combined with other vulnerabilities to elevate privileges.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

Process Activity via Compiled HTML File

Compiled HTML files (.chm) are commonly distributed as part of the Microsoft HTML Help system. Adversaries may conceal malicious code in a CHM file and deliver it to a victim for execution. CHM content is loaded by the HTML Help executable program (hh.exe).

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.6.0

8 Version history

Process Execution from an Unusual Directory

Identifies process execution from suspicious default Windows directories. This is sometimes done by adversaries to hide malware in trusted paths.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

3 Version history

Process Injection - Detected - Elastic Endgame

Elastic Endgame detected Process Injection. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Process Injection - Prevented - Elastic Endgame

Elastic Endgame prevented Process Injection. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Process Injection by the Microsoft Build Engine

An instance of MSBuild, the Microsoft Build Engine, created a thread in another process. This technique is sometimes used to evade detection or elevate privileges.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

5 Version history

Process Termination followed by Deletion

Identifies a process termination event quickly followed by the deletion of its executable file. Malware tools and other non-native files dropped or created on a system by an adversary may leave traces to indicate to what occurred. Removal of these files can occur during an intrusion, or as part of a post-intrusion process to minimize the adversary’s footprint.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

2 Version history

Program Files Directory Masquerading

Identifies execution from a directory masquerading as the Windows Program Files directories. These paths are trusted and usually host trusted third party programs. An adversary may leverage masquerading, along with low privileges to bypass detections whitelisting those folders.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

4 Version history

Prompt for Credentials with OSASCRIPT

Identifies the use of osascript to execute scripts via standard input that may prompt a user with a rogue dialog for credentials.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.11.0

3 Version history

PsExec Network Connection

Identifies use of the SysInternals tool PsExec.exe making a network connection. This could be an indication of lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.6.0

7 Version history

RDP (Remote Desktop Protocol) from the Internet

This rule detects network events that may indicate the use of RDP traffic from the Internet. RDP is commonly used by system administrators to remotely control a system for maintenance or to use shared resources. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector.

[Elastic] [Host] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

10 Version history

RDP Enabled via Registry

Identifies registry write modifications to enable Remote Desktop Protocol (RDP) access. This could be indicative of adversary lateral movement preparation.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

RPC (Remote Procedure Call) from the Internet

This rule detects network events that may indicate the use of RPC traffic from the Internet. RPC is commonly used by system administrators to remotely control a system for maintenance or to use shared resources. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector.

[Elastic] [Host] [Network] [Threat Detection] [Initial Access] [Host]

7.6.0

10 Version history

RPC (Remote Procedure Call) to the Internet

This rule detects network events that may indicate the use of RPC traffic to the Internet. RPC is commonly used by system administrators to remotely control a system for maintenance or to use shared resources. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector.

[Elastic] [Host] [Network] [Threat Detection] [Initial Access] [Host]

7.6.0

10 Version history

Ransomware - Detected - Elastic Endgame

Elastic Endgame detected Ransomware. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Ransomware - Prevented - Elastic Endgame

Elastic Endgame prevented Ransomware. Click the Elastic Endgame icon in the event.module column or the link in the rule.reference column for additional information.

[Elastic] [Elastic Endgame]

7.6.0

6 Version history

Rare AWS Error Code

A machine learning job detected an unusual error in a CloudTrail message. These can be byproducts of attempted or successful persistence, privilege escalation, defense evasion, discovery, lateral movement, or collection.

[Elastic] [Cloud] [AWS] [ML]

7.9.0

5 Version history

Rare User Logon

A machine learning job found an unusual user name in the authentication logs. An unusual user name is one way of detecting credentialed access by means of a new or dormant user account. A user account that is normally inactive, because the user has left the organization, which becomes active, may be due to credentialed access using a compromised account password. Threat actors will sometimes also create new users as a means of persisting in a compromised web application.

[Elastic] [Authentication] [Threat Detection] [ML]

7.14.0

1

Registry Persistence via AppCert DLL

Detects attempts to maintain persistence by creating registry keys using AppCert DLLs. AppCert DLLs are loaded by every process using the common API functions to create processes.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Registry Persistence via AppInit DLL

Attackers may maintain persistence by creating registry keys using AppInit DLLs. AppInit DLLs are loaded by every process using the common library, user32.dll.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Remote Desktop Enabled in Windows Firewall

Identifies use of the network shell utility (netsh.exe) to enable inbound Remote Desktop Protocol (RDP) connections in the Windows Firewall.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Remote Execution via File Shares

Identifies the execution of a file that was created by the virtual system process. This may indicate lateral movement via network file shares.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Remote File Copy to a Hidden Share

Identifies a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

Remote File Copy via TeamViewer

Identifies an executable or script file remotely downloaded via a TeamViewer transfer session.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.10.0

4 Version history

Remote File Download via Desktopimgdownldr Utility

Identifies the desktopimgdownldr utility being used to download a remote file. An adversary may use desktopimgdownldr to download arbitrary files as an alternative to certutil.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.10.0

5 Version history

Remote File Download via MpCmdRun

Identifies the Windows Defender configuration utility (MpCmdRun.exe) being used to download a remote file.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.10.0

5 Version history

Remote File Download via PowerShell

Identifies powershell.exe being used to download an executable file from an untrusted remote destination.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

2 Version history

Remote File Download via Script Interpreter

Identifies built-in Windows script interpreters (cscript.exe or wscript.exe) being used to download an executable file from a remote destination.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

2 Version history

Remote SSH Login Enabled via systemsetup Command

Detects use of the systemsetup command to enable remote SSH Login.

[Elastic] [Host] [macOS] [Threat Detection] [Lateral Movement]

7.10.0

3 Version history

Remote Scheduled Task Creation

Identifies remote scheduled task creations on a target host. This could be indicative of adversary lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

Remote System Discovery Commands

Discovery of remote system information using built-in commands, which may be used to mover laterally.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

3 Version history

Remotely Started Services via RPC

Identifies remote execution of Windows services over remote procedure call (RPC). This could be indicative of lateral movement, but will be noisy if commonly done by administrators."

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Renamed AutoIt Scripts Interpreter

Identifies a suspicious AutoIt process execution. Malware written as an AutoIt script tends to rename the AutoIt executable to avoid detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Roshal Archive (RAR) or PowerShell File Downloaded from the Internet

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 TTPs. This may be atypical behavior for a managed network and can be indicative of malware, exfiltration, or command and control.

[Elastic] [Network] [Threat Detection] [Command and Control] [Host]

7.10.0

6 Version history

SIP Provider Modification

Identifies modifications to the registered Subject Interface Package (SIP) providers. SIP providers are used by the Windows cryptographic system to validate file signatures on the system. This may be an attempt to bypass signature validation checks or inject code into critical processes.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.12.0

1

SMB (Windows File Sharing) Activity to the Internet

This rule detects network events that may indicate the use of Windows file sharing (also called SMB or CIFS) traffic to the Internet. SMB is commonly used within networks to share files, printers, and other system resources amongst trusted systems. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector or for data exfiltration.

[Elastic] [Host] [Network] [Threat Detection] [Initial Access] [Host]

7.6.0

10 Version history

SMTP on Port 26/TCP

This rule detects events that may indicate use of SMTP on TCP port 26. This port is commonly used by several popular mail transfer agents to deconflict with the default SMTP port 25. This port has also been used by a malware family called BadPatch for command and control of Windows systems.

[Elastic] [Host] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

8 Version history

SSH Authorized Keys File Modification

The Secure Shell (SSH) authorized_keys file specifies which users are allowed to log into a server using public key authentication. Adversaries may modify it to maintain persistence on a victim host by adding their own public key(s).

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Persistence]

7.12.0

1

SUNBURST Command and Control Activity

The malware known as SUNBURST targets the SolarWind’s Orion business software for command and control. This rule detects post-exploitation command and control activity of the SUNBURST backdoor.

[Elastic] [Host] [Windows] [Threat Detection] [Command and Control]

7.11.0

4 Version history

Scheduled Task Created by a Windows Script

A scheduled task was created by a Windows script via cscript.exe, wscript.exe or powershell.exe. This can be abused by an adversary to establish persistence.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Scheduled Tasks AT Command Enabled

Identifies attempts to enable the Windows scheduled tasks AT command via the registry. Attackers may use this method to move laterally or persist locally. The AT command has been deprecated since Windows 8 and Windows Server 2012, but still exists for backwards compatibility.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Searching for Saved Credentials via VaultCmd

Windows Credential Manager allows you to create, view, or delete saved credentials for signing into websites, connected applications, and networks. An adversary may abuse this to list or dump credentials stored in the Credential Manager for saved usernames and passwords. This may also be performed in preparation of lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Credential Access]

7.12.0

1

Security Software Discovery using WMIC

Identifies the use of Windows Management Instrumentation Command (WMIC) to discover certain System Security Settings such as AntiVirus or Host Firewall details.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

3 Version history

Security Software Discovery via Grep

Identifies the use of the grep command to discover known third-party macOS and Linux security tools, such as Antivirus or Host Firewall details.

[Elastic] [Host] [macOS] [Linux] [Threat Detection] [Discovery]

7.12.0

2 Version history

Sensitive Files Compression

Identifies the use of a compression utility to collect known files containing sensitive information, such as credentials and system configurations.

[Elastic] [Host] [Linux] [Threat Detection] [Collection] [Credential Access]

7.12.0

1

Service Command Lateral Movement

Identifies use of sc.exe to create, modify, or start services on remote hosts. This could be indicative of adversary lateral movement but will be noisy if commonly done by admins.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.10.0

3 Version history

Service Control Spawned via Script Interpreter

Identifies Service Control (sc.exe) spawning from script interpreter processes to create, modify, or start services. This could be indicative of adversary lateral movement but will be noisy if commonly done by admins.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.6.0

9 Version history

Setuid / Setgid Bit Set via chmod

An adversary may add the setuid or setgid bit to a file or directory in order to run a file with the privileges of the owning user or group. An adversary can take advantage of this to either do a shell escape or exploit a vulnerability in an application with the setuid or setgid bit to get code running in a different user’s context. Additionally, adversaries can use this mechanism on their own malware to make sure they’re able to execute in elevated contexts in the future.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Privilege Escalation]

7.8.0

8 Version history

Shell Execution via Apple Scripting

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.

[Elastic] [Host] [macOS] [Threat Detection] [Execution]

7.11.0

3 Version history

Shortcut File Written or Modified for Persistence

Identifies files written to or modified in the startup folder by commonly abused processes. Adversaries may use this technique to maintain persistence.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

SoftwareUpdate Preferences Modification

Identifies changes to the SoftwareUpdate preferences using the built-in defaults command. Adversaries may abuse this in an attempt to disable security updates.

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

SolarWinds Process Disabling Services via Registry

Identifies a SolarWinds binary modifying the start type of a service to be disabled. An adversary may abuse this technique to manipulate relevant security services.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Spike in AWS Error Messages

A machine learning job detected a significant spike in the rate of a particular error in the CloudTrail messages. Spikes in error messages may accompany attempts at privilege escalation, lateral movement, or discovery.

[Elastic] [Cloud] [AWS] [ML]

7.9.0

5 Version history

Spike in Failed Logon Events

A machine learning job found an unusually large spike in authentication failure events. This can be due to password spraying, user enumeration or brute force activity and may be a precursor to account takeover or credentialed access.

[Elastic] [Authentication] [Threat Detection] [ML]

7.14.0

1

Spike in Firewall Denies

A machine learning job detected an unusually large spike in network traffic that was denied by network access control lists (ACLs) or firewall rules. Such a burst of denied traffic is usually caused by either 1) a mis-configured application or firewall or 2) suspicious or malicious activity. Unsuccessful attempts at network transit, in order to connect to command-and-control (C2), or engage in data exfiltration, may produce a burst of failed connections. This could also be due to unusually large amounts of reconnaissance or enumeration traffic. Denial-of-service attacks or traffic floods may also produce such a surge in traffic.

[Elastic] [Network] [Threat Detection] [ML]

7.13.0

2 Version history

Spike in Logon Events

A machine learning job found an unusually large spike in successful authentication events. This can be due to password spraying, user enumeration or brute force activity.

[Elastic] [Authentication] [Threat Detection] [ML]

7.14.0

1

Spike in Logon Events from a Source IP

A machine learning job found an unusually large spike in successful authentication events events from a particular source IP address. This can be due to password spraying, user enumeration or brute force activity.

[Elastic] [Authentication] [Threat Detection] [ML]

7.14.0

1

Spike in Network Traffic

A machine learning job detected an unusually large spike in network traffic. Such a burst of traffic, if not caused by a surge in business activity, can be due to suspicious or malicious activity. Large-scale data exfiltration may produce a burst of network traffic; this could also be due to unusually large amounts of reconnaissance or enumeration traffic. Denial-of-service attacks or traffic floods may also produce such a surge in traffic.

[Elastic] [Network] [Threat Detection] [ML]

7.13.0

2 Version history

Spike in Network Traffic To a Country

A machine learning job detected an unusually large spike in network activity to one destination country in the network logs. This could be due to unusually large amounts of reconnaissance or enumeration traffic. Data exfiltration activity may also produce such a surge in traffic to a destination country which does not normally appear in network traffic or business work-flows. Malware instances and persistence mechanisms may communicate with command-and-control (C2) infrastructure in their country of origin, which may be an unusual destination country for the source network.

[Elastic] [Network] [Threat Detection] [ML]

7.13.0

2 Version history

Startup Folder Persistence via Unsigned Process

Identifies files written or modified in the startup folder by unsigned processes. Adversaries may abuse this technique to maintain persistence in an environment.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

2 Version history

Startup or Run Key Registry Modification

Identifies run key or startup key registry modifications. In order to survive reboots and other system interrupts, attackers will modify run keys within the registry or leverage startup folder items as a form of persistence.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

4 Version history

Strace Process Activity

Strace runs in a privileged context and can be used to escape restrictive environments by instantiating a shell in order to elevate privileges or move laterally.

[Elastic] [Host] [Linux] [Threat Detection]

7.6.0

7 Version history

Sublime Plugin or Application Script Modification

Adversaries may create or modify the Sublime application plugins or scripts to execute a malicious payload each time the Sublime application is started.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Sudo Heap-Based Buffer Overflow Attempt

Identifies the attempted use of a heap-based buffer overflow vulnerability for the Sudo binary in Unix-like systems (CVE-2021-3156). Successful exploitation allows an unprivileged user to escalate to the root user.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Privilege Escalation]

7.12.0

1

Sudoers File Modification

A sudoers file specifies the commands that users or groups can run and from which terminals. Adversaries can take advantage of these configurations to execute commands as other users or spawn processes with higher privileges.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Privilege Escalation]

7.8.0

7 Version history

Suspicious .NET Code Compilation

Identifies suspicious .NET code execution. connections.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious Activity Reported by Okta User

Detects when a user reports suspicious activity for their Okta account. These events should be investigated, as they can help security teams identify when an adversary is attempting to gain access to their network.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Suspicious Automator Workflows Execution

Identifies the execution of the Automator Workflows process followed by a network connection from it’s XPC service. Adversaries may drop a custom workflow template that hosts malicious JavaScript for Automation (JXA) code as an alternative to using osascript.

[Elastic] [Host] [macOS] [Threat Detection] [Execution]

7.12.0

1

Suspicious Browser Child Process

Identifies the execution of a suspicious browser child process. Adversaries may gain access to a system through a user visiting a website over the normal course of browsing. With this technique, the user’s web browser is typically targeted for exploitation.

[Elastic] [Host] [macOS] [Threat Detection] [Initial Access] [Execution]

7.12.0

1

Suspicious Calendar File Modification

Identifies suspicious modifications of the calendar file by an unusual process. Adversaries may create a custom calendar notification procedure to execute a malicious program at a recurring interval to establish persistence.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Suspicious CertUtil Commands

Identifies suspicious commands being used with certutil.exe. CertUtil is a native Windows component which is part of Certificate Services. CertUtil is often abused by attackers to live off the land for stealthier command and control or data exfiltration.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

Suspicious Child Process of Adobe Acrobat Reader Update Service

Detects attempts to exploit privilege escalation vulnerabilities related to the Adobe Acrobat Reader PrivilegedHelperTool responsible for installing updates. For more information, refer to CVE-2020-9615, CVE-2020-9614 and CVE-2020-9613 and verify that the impacted system is patched.

[Elastic] [Host] [macOS] [Threat Detection] [Privilege Escalation]

7.12.0

1

Suspicious Cmd Execution via WMI

Identifies suspicious command execution (cmd) via Windows Management Instrumentation (WMI) on a remote host. This could be indicative of adversary lateral movement.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

3 Version history

Suspicious DLL Loaded for Persistence or Privilege Escalation

Identifies the loading of a non Microsoft signed DLL that is missing on a default Windows install (phantom DLL) or one that can be loaded from a different location by a native Windows process. This may be abused to persist or elevate privileges via privileged file write vulnerabilities.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence] [Privilege Escalation]

7.12.0

2 Version history

Suspicious Emond Child Process

Identifies the execution of a suspicious child process of the Event Monitor Daemon (emond). Adversaries may abuse this service by writing a rule to execute commands when a defined event occurs, such as system start up or user authentication.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence]

7.12.0

1

Suspicious Endpoint Security Parent Process

A suspicious Endpoint Security parent process was detected. This may indicate a process hollowing or other form of code injection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious Execution - Short Program Name

Identifies process execution with a single character process name. This is often done by adversaries while staging or executing temporary utilities.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

3 Version history

Suspicious Execution from a Mounted Device

Identifies when a script interpreter or signed binary is launched via a non-standard working directory. An attacker may use this technique to evade defenses.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Suspicious Execution via Scheduled Task

Identifies execution of a suspicious program via scheduled tasks by looking at process lineage and command line usage.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Suspicious Explorer Child Process

Identifies a suspicious Windows explorer child process. Explorer.exe can be abused to launch malicious scripts or executables from a trusted parent process.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.11.0

4 Version history

Suspicious Hidden Child Process of Launchd

Identifies the execution of a launchd child process with a hidden file. An adversary can establish persistence by installing a new logon item, launch agent, or daemon that executes upon login.

[Elastic] [Host] [macOS] [Threat Detection] [Persistence] [Defense Evasion]

7.12.0

1

Suspicious Image Load (taskschd.dll) from MS Office

Identifies a suspicious image load (taskschd.dll) from Microsoft Office processes. This behavior may indicate adversarial activity where a scheduled task is configured via Windows Component Object Model (COM). This technique can be used to configure persistence and evade monitoring by avoiding the usage of the traditional Windows binary (schtasks.exe) used to manage scheduled tasks.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Suspicious ImagePath Service Creation

Identifies the creation of a suspicious ImagePath value. This could be an indication of an adversary attempting to stealthily persist or escalate privileges through abnormal service creation.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Suspicious JAR Child Process

Identifies suspicious child processes of a Java Archive (JAR) file. JAR files may be used to deliver malware in order to evade detection.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Execution]

7.12.0

1

Suspicious MS Office Child Process

Identifies suspicious child processes of frequently targeted Microsoft Office applications (Word, PowerPoint, Excel). These child processes are often launched during exploitation of Office applications or from documents with malicious macros.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.6.0

8 Version history

Suspicious MS Outlook Child Process

Identifies suspicious child processes of Microsoft Outlook. These child processes are often associated with spear phishing activity.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.6.0

9 Version history

Suspicious Managed Code Hosting Process

Identifies a suspicious managed code hosting process which could indicate code injection or other form of suspicious code execution.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious PDF Reader Child Process

Identifies suspicious child processes of PDF reader applications. These child processes are often launched via exploitation of PDF applications or social engineering.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.7.0

7 Version history

Suspicious PowerShell Engine ImageLoad

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.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

4 Version history

Suspicious Powershell Script

A machine learning job detected a PowerShell script with unusual data characteristics, such as obfuscation, that may be a characteristic of malicious PowerShell script text blocks.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

4 Version history

Suspicious Print Spooler File Deletion

Detects deletion of print driver files by an unusual process. This may indicate a clean up attempt post successful privilege escalation via Print Spooler service related vulnerabilities.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.14.0

1

Suspicious Print Spooler Point and Print DLL

Detects attempts to exploit a privilege escalation vulnerability (CVE-2020-1030) related to the print spooler service. Exploitation involves chaining multiple primitives to load an arbitrary DLL into the print spooler process running as SYSTEM.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

2 Version history

Suspicious PrintSpooler SPL File Created

Detects attempts to exploit privilege escalation vulnerabilities related to the Print Spooler service including CVE-2020-1048 and CVE-2020-1337. .

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.10.0

4 Version history

Suspicious PrintSpooler Service Executable File Creation

Detects attempts to exploit privilege escalation vulnerabilities related to the Print Spooler service. For more information refer to the following CVE’s - CVE-2020-1048, CVE-2020-1337 and CVE-2020-1300 and verify that the impacted system is patched.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.10.0

4 Version history

Suspicious Process Execution via Renamed PsExec Executable

Identifies suspicious psexec activity which is executing from the psexec service that has been renamed, possibly to evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.10.0

4 Version history

Suspicious Process from Conhost

Identifies a suspicious Conhost child process which may be an indication of code injection activity.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious RDP ActiveX Client Loaded

Identifies suspicious Image Loading of the Remote Desktop Services ActiveX Client (mstscax), this may indicate the presence of RDP lateral movement capability.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

3 Version history

Suspicious Script Object Execution

Identifies scrobj.dll loaded into unusual Microsoft processes. This usually means a malicious scriptlet is being executed in the target process.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious SolarWinds Child Process

A suspicious SolarWinds child process was detected, which may indicate an attempt to execute malicious programs.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

3 Version history

Suspicious Startup Shell Folder Modification

Identifies suspicious startup shell folder modifications to change the default Startup directory in order to bypass detections monitoring file creation in the Windows Startup folder.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.13.0

1

Suspicious WMI Image Load from MS Office

Identifies a suspicious image load (wmiutils.dll) from Microsoft Office processes. This behavior may indicate adversarial activity where child processes are spawned via Windows Management Instrumentation (WMI). This technique can be used to execute code and evade traditional parent/child processes spawned from MS Office products.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.11.0

3 Version history

Suspicious WMIC XSL Script Execution

Identifies WMIC whitelisting bypass techniques by alerting on suspicious execution of scripts. When WMIC loads scripting libraries it may be indicative of a whitelist bypass.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

2 Version history

Suspicious WerFault Child Process

A suspicious WerFault child process was detected, which may indicate an attempt to run unnoticed. Verify process details such as command line, network connections, file writes and parent process details as well.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious Zoom Child Process

A suspicious Zoom child process was detected, which may indicate an attempt to run unnoticed. Verify process details such as command line, network connections, file writes and associated file signature details as well.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Suspicious macOS MS Office Child Process

Identifies suspicious child processes of frequently targeted Microsoft Office applications (Word, PowerPoint, and Excel). These child processes are often launched during exploitation of Office applications or by documents with malicious macros.

[Elastic] [Host] [macOS] [Threat Detection] [Initial Access]

7.12.0

2 Version history

Svchost spawning Cmd

Identifies a suspicious parent child process relationship with cmd.exe descending from svchost.exe

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.6.0

8 Version history

System Log File Deletion

Identifies the deletion of sensitive Linux system logs. This may indicate an attempt to evade detection or destroy forensic evidence on a system.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

System Shells via Services

Windows services typically run as SYSTEM and can be used as a privilege escalation opportunity. Malware or penetration testers may run a shell as a service to gain SYSTEM permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.6.0

9 Version history

SystemKey Access via Command Line

Keychains are the built-in way for macOS to keep track of users' passwords and credentials for many services and features, including Wi-Fi and website passwords, secure notes, certificates, and Kerberos. Adversaries may collect the keychain storage data from a system to acquire credentials.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.12.0

1

TCC Bypass via Mounted APFS Snapshot Access

Identifies the use of the mount_apfs command to mount the entire file system through Apple File System (APFS) snapshots as read-only and with the noowners flag set. This action enables the adversary to access almost any file in the file system, including all user data and files protected by Apple’s privacy framework (TCC).

[Elastic] [Host] [macOS] [Threat Detection] [Defense Evasion]

7.12.0

1

Tampering of Bash Command-Line History

Adversaries may attempt to clear or disable the Bash command-line history in an attempt to evade detection or forensic investigations.

[Elastic] [Host] [Linux] [Threat Detection] [Defense Evasion]

7.9.0

6 Version history

Telnet Port Activity

This rule detects network events that may indicate the use of Telnet traffic. Telnet is commonly used by system administrators to remotely control older or embed ed systems using the command line shell. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector. As a plain-text protocol, it may also expose usernames and passwords to anyone capable of observing the traffic.

[Elastic] [Host] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

8 Version history

Threat Detected by Okta ThreatInsight

Detects when Okta ThreatInsight identifies a request from a malicious IP address. Investigating requests from IP addresses identified as malicious by Okta ThreatInsight can help security teams monitor for and respond to credential based attacks against their organization, such as brute force and password spraying attacks.

[Elastic] [Identity] [Okta] [Continuous Monitoring] [SecOps] [Monitoring]

7.9.0

6 Version history

Threat Intel Filebeat Module Indicator Match

This rule is triggered when indicators from the Threat Intel Filebeat module has a match against local file or network observations.

[Elastic] [Windows] [Elastic Endgame] [Network] [Continuous Monitoring] [SecOps] [Monitoring]

7.13.0

1

Timestomping using Touch Command

Timestomping is an anti-forensics technique which is used to modify the timestamps of a file, often to mimic files that are in the same folder.

[Elastic] [Host] [Linux] [macOS] [Threat Detection] [Defense Evasion]

7.11.0

4 Version history

UAC Bypass Attempt via Elevated COM Internet Explorer Add-On Installer

Identifies User Account Control (UAC) bypass attempts by abusing an elevated COM Interface to launch a malicious program. Attackers may attempt to bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

UAC Bypass Attempt via Privileged IFileOperation COM Interface

Identifies attempts to bypass User Account Control (UAC) via DLL side-loading. Attackers may attempt to bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

UAC Bypass Attempt via Windows Directory Masquerading

Identifies an attempt to bypass User Account Control (UAC) by masquerading as a Microsoft trusted Windows directory. Attackers may bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

UAC Bypass Attempt with IEditionUpgradeManager Elevated COM Interface

Identifies attempts to bypass User Account Control (UAC) by abusing an elevated COM Interface to launch a rogue Windows ClipUp program. Attackers may attempt to bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

UAC Bypass via DiskCleanup Scheduled Task Hijack

Identifies User Account Control (UAC) bypass via hijacking DiskCleanup Scheduled Task. Attackers bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.10.0

5 Version history

UAC Bypass via ICMLuaUtil Elevated COM Interface

Identifies User Account Control (UAC) bypass attempts via the ICMLuaUtil Elevated COM interface. Attackers may attempt to bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

UAC Bypass via Windows Firewall Snap-In Hijack

Identifies attempts to bypass User Account Control (UAC) by hijacking the Microsoft Management Console (MMC) Windows Firewall snap-in. Attackers bypass UAC to stealthily execute code with elevated permissions.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.11.0

3 Version history

Uncommon Registry Persistence Change

Detects changes to registry persistence keys that are uncommonly used or modified by legitimate programs. This could be an indication of an adversary’s attempt to persist in a stealthy manner.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

3 Version history

Unusual AWS Command for a User

A machine learning job detected an AWS API command that, while not inherently suspicious or abnormal, is being made by a user context that does not normally use the command. This can be the result of compromised credentials or keys as someone uses a valid account to persist, move laterally, or exfil data.

[Elastic] [Cloud] [AWS] [ML]

7.9.0

5 Version history

Unusual Child Process from a System Virtual Process

Identifies a suspicious child process of the Windows virtual system process, which could indicate code injection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Unusual Child Process of dns.exe

Identifies an unexpected process spawning from dns.exe, the process responsible for Windows DNS server services, which may indicate activity related to remote code execution or other forms of exploitation.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.10.0

5 Version history

Unusual Child Processes of RunDLL32

Identifies child processes of unusual instances of RunDLL32 where the command line parameters were suspicious. Misuse of RunDLL32 could indicate malicious activity.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Unusual City For an AWS Command

A machine learning job detected AWS command activity that, while not inherently suspicious or abnormal, is sourcing from a geolocation (city) that is unusual for the command. This can be the result of compromised credentials or keys being used by a threat actor in a different geography then the authorized user(s).

[Elastic] [Cloud] [AWS] [ML]

7.9.0

5 Version history

Unusual Country For an AWS Command

A machine learning job detected AWS command activity that, while not inherently suspicious or abnormal, is sourcing from a geolocation (country) that is unusual for the command. This can be the result of compromised credentials or keys being used by a threat actor in a different geography then the authorized user(s).

[Elastic] [Cloud] [AWS] [ML]

7.9.0

5 Version history

Unusual DNS Activity

A machine learning job detected a rare and unusual DNS query that indicate network activity with unusual DNS domains. This can be due to initial access, persistence, command-and-control, or exfiltration activity. For example, when a user clicks on a link in a phishing email or opens a malicious document, a request may be sent to download and run a payload from an uncommon domain. When malware is already running, it may send requests to an uncommon DNS domain the malware uses for command-and-control communication.

[Elastic] [Network] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Executable File Creation by a System Critical Process

Identifies an unexpected executable file being created or modified by a Windows system critical process, which may indicate activity related to remote code execution or other forms of exploitation.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

4 Version history

Unusual File Creation - Alternate Data Stream

Identifies suspicious creation of Alternate Data Streams on highly targeted files. This is uncommon for legitimate files and sometimes done by adversaries to hide malware.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.12.0

1

Unusual File Modification by dns.exe

Identifies an unexpected file being modified by dns.exe, the process responsible for Windows DNS Server services, which may indicate activity related to remote code execution or other forms of exploitation.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.10.0

5 Version history

Unusual Hour for a User to Logon

A machine learning job detected a user logging in at a time of day that is unusual for the user. This can be due to credentialed access via a compromised account when the user and the threat actor are in different time zones. In addition, unauthorized user activity often takes place during non-business hours.

[Elastic] [Authentication] [Threat Detection] [ML]

7.14.0

1

Unusual Linux Network Activity

Identifies Linux processes that do not usually use the network but have unexpected network activity, which can indicate command-and-control, lateral movement, persistence, or data exfiltration activity. A process with unusual network activity can denote process exploitation or injection, where the process is used to run persistence mechanisms that allow a malicious actor remote access or control of the host, data exfiltration, and execution of unauthorized network applications.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

5 Version history

Unusual Linux Network Connection Discovery

Looks for commands related to system network connection discovery from an unusual user context. This can be due to uncommon troubleshooting activity or due to a compromised account. A compromised account may be used by a threat actor to engage in system network connection discovery in order to increase their understanding of connected services and systems. This information may be used to shape follow-up behaviors such as lateral movement or additional discovery.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Unusual Linux Network Port Activity

Identifies unusual destination port activity that can indicate command-and-control, persistence mechanism, or data exfiltration activity. Rarely used destination port activity is generally unusual in Linux fleets, and can indicate unauthorized access or threat actor activity.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

5 Version history

Unusual Linux Network Service

Identifies unusual listening ports on Linux instances that can indicate execution of unauthorized services, backdoors, or persistence mechanisms.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Linux Process Calling the Metadata Service

Looks for anomalous access to the metadata service by an unusual process. The metadata service may be targeted in order to harvest credentials or user data scripts containing secrets.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

3 Version history

Unusual Linux Process Discovery Activity

Looks for commands related to system process discovery from an unusual user context. This can be due to uncommon troubleshooting activity or due to a compromised account. A compromised account may be used by a threat actor to engage in system process discovery in order to increase their understanding of software applications running on a target host or network. This may be a precursor to selection of a persistence mechanism or a method of privilege elevation.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Unusual Linux System Information Discovery Activity

Looks for commands related to system information discovery from an unusual user context. This can be due to uncommon troubleshooting activity or due to a compromised account. A compromised account may be used to engage in system information discovery in order to gather detailed information about system configuration and software versions. This may be a precursor to selection of a persistence mechanism or a method of privilege elevation.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Unusual Linux System Network Configuration Discovery

Looks for commands related to system network configuration discovery from an unusual user context. This can be due to uncommon troubleshooting activity or due to a compromised account. A compromised account may be used by a threat actor to engage in system network configuration discovery in order to increase their understanding of connected networks and hosts. This information may be used to shape follow-up behaviors such as lateral movement or additional discovery.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Unusual Linux System Owner or User Discovery Activity

Looks for commands related to system user or owner discovery from an unusual user context. This can be due to uncommon troubleshooting activity or due to a compromised account. A compromised account may be used to engage in system owner or user discovery in order to identify currently active or primary users of a system. This may be a precursor to additional discovery, credential dumping or privilege elevation activity.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Unusual Linux User Calling the Metadata Service

Looks for anomalous access to the cloud platform metadata service by an unusual user. The metadata service may be targeted in order to harvest credentials or user data scripts containing secrets.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

3 Version history

Unusual Linux Username

A machine learning job detected activity for a username that is not normally active, which can indicate unauthorized changes, activity by unauthorized users, lateral movement, or compromised credentials. In many organizations, new usernames are not often created apart from specific types of system activities, such as creating new accounts for new employees. These user accounts quickly become active and routine. Events from rarely used usernames can point to suspicious activity. Additionally, automated Linux fleets tend to see activity from rarely used usernames only when personnel log in to make authorized or unauthorized changes, or threat actors have acquired credentials and log in for malicious purposes. Unusual usernames can also indicate pivoting, where compromised credentials are used to try and move laterally from one host to another.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

6 Version history

Unusual Linux Web Activity

A machine learning job detected an unusual web URL request from a Linux host, which can indicate malware delivery and execution. Wget and cURL are commonly used by Linux programs to download code and data. Most of the time, their usage is entirely normal. Generally, because they use a list of URLs, they repeatedly download from the same locations. However, Wget and cURL are sometimes used to deliver Linux exploit payloads, and threat actors use these tools to download additional software and code. For these reasons, unusual URLs can indicate unauthorized downloads or threat activity.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Login Activity

Identifies an unusually high number of authentication attempts.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Network Activity from a Windows System Binary

Identifies network activity from unexpected system applications. This may indicate adversarial activity as these applications are often leveraged by adversaries to execute code and evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.10.0

2 Version history

Unusual Network Connection via DllHost

Identifies unusual instances of dllhost.exe making outbound network connections. This may indicate adversarial Command and Control activity.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Unusual Network Connection via RunDLL32

Identifies unusual instances of rundll32.exe making outbound network connections. This may indicate adversarial Command and Control activity.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

10 Version history

Unusual Network Destination Domain Name

A machine learning job detected an unusual network destination domain name. This can be due to initial access, persistence, command-and-control, or exfiltration activity. For example, when a user clicks on a link in a phishing email or opens a malicious document, a request may be sent to download and run a payload from an uncommon web server name. When malware is already running, it may send requests to an uncommon DNS domain the malware uses for command-and-control communication.

[Elastic] [Network] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Parent Process for cmd.exe

Identifies a suspicious parent child process relationship with cmd.exe descending from an unusual process.

[Elastic] [Host] [Windows] [Threat Detection] [Execution]

7.10.0

4 Version history

Unusual Parent-Child Relationship

Identifies Windows programs run from unexpected parent processes. This could indicate masquerading or other strange activity on a system.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.6.0

8 Version history

Unusual Persistence via Services Registry

Identifies processes modifying the services registry key directly, instead of through the expected Windows APIs. This could be an indication of an adversary attempting to stealthily persist through abnormal service creation or modification of an existing service.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.11.0

4 Version history

Unusual Print Spooler Child Process

Detects unusual Print Spooler service (spoolsv.exe) child processes. This may indicate an attempt to exploit privilege escalation vulnerabilities related to the Printing Service on Windows.

[Elastic] [Host] [Windows] [Threat Detection] [Privilege Escalation]

7.14.0

2

Unusual Process Execution - Temp

Identifies processes running in a temporary folder. This is sometimes done by adversaries to hide malware.

[Elastic] [Host] [Linux] [Threat Detection]

7.6.0

7 Version history

Unusual Process Execution Path - Alternate Data Stream

Identifies processes running from an Alternate Data Stream. This is uncommon for legitimate processes and sometimes done by adversaries to hide malware.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.11.0

4 Version history

Unusual Process For a Linux Host

Identifies rare processes that do not usually run on individual hosts, which can indicate execution of unauthorized services, malware, or persistence mechanisms. Processes are considered rare when they only run occasionally as compared with other processes running on the host.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.7.0

6 Version history

Unusual Process For a Windows Host

Identifies rare processes that do not usually run on individual hosts, which can indicate execution of unauthorized services, malware, or persistence mechanisms. Processes are considered rare when they only run occasionally as compared with other processes running on the host.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

6 Version history

Unusual Process Network Connection

Identifies network activity from unexpected system applications. This may indicate adversarial activity as these applications are often leveraged by adversaries to execute code and evade detection.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

7 Version history

Unusual Service Host Child Process - Childless Service

Identifies unusual child processes of Service Host (svchost.exe) that traditionally do not spawn any child processes. This may indicate a code injection or an equivalent form of exploitation.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion] [Privilege Escalation]

7.11.0

3 Version history

Unusual Source IP for a User to Logon from

A machine learning job detected a user logging in from an IP address that is unusual for the user. This can be due to credentialed access via a compromised account when the user and the threat actor are in different locations. An unusual source IP address for a username could also be due to lateral movement when a compromised account is used to pivot between hosts.

[Elastic] [Authentication] [Threat Detection] [ML]

7.14.0

1

Unusual Sudo Activity

Looks for sudo activity from an unusual user context. An unusual sudo user could be due to troubleshooting activity or it could be a sign of credentialed access via compromised accounts.

[Elastic] [Host] [Linux] [Threat Detection] [ML]

7.10.0

2 Version history

Unusual Web Request

A machine learning job detected a rare and unusual URL that indicates unusual web browsing activity. This can be due to initial access, persistence, command-and-control, or exfiltration activity. For example, in a strategic web compromise or watering hole attack, when a trusted website is compromised to target a particular sector or organization, targeted users may receive emails with uncommon URLs for trusted websites. These URLs can be used to download and run a payload. When malware is already running, it may send requests to uncommon URLs on trusted websites the malware uses for command-and-control communication. When rare URLs are observed being requested for a local web server by a remote source, these can be due to web scanning, enumeration or attack traffic, or they can be due to bots and web scrapers which are part of common Internet background traffic.

[Elastic] [Network] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Web User Agent

A machine learning job detected a rare and unusual user agent indicating web browsing activity by an unusual process other than a web browser. This can be due to persistence, command-and-control, or exfiltration activity. Uncommon user agents coming from remote sources to local destinations are often the result of scanners, bots, and web scrapers, which are part of common Internet background traffic. Much of this is noise, but more targeted attacks on websites using tools like Burp or SQLmap can sometimes be discovered by spotting uncommon user agents. Uncommon user agents in traffic from local sources to remote destinations can be any number of things, including harmless programs like weather monitoring or stock-trading programs. However, uncommon user agents from local sources can also be due to malware or scanning activity.

[Elastic] [Network] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Windows Network Activity

Identifies Windows processes that do not usually use the network but have unexpected network activity, which can indicate command-and-control, lateral movement, persistence, or data exfiltration activity. A process with unusual network activity can denote process exploitation or injection, where the process is used to run persistence mechanisms that allow a malicious actor remote access or control of the host, data exfiltration, and execution of unauthorized network applications.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

6 Version history

Unusual Windows Path Activity

Identifies processes started from atypical folders in the file system, which might indicate malware execution or persistence mechanisms. In corporate Windows environments, software installation is centrally managed and it is unusual for programs to be executed from user or temporary directories. Processes executed from these locations can denote that a user downloaded software directly from the Internet or a malicious script or macro executed malware.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

5 Version history

Unusual Windows Process Calling the Metadata Service

Looks for anomalous access to the metadata service by an unusual process. The metadata service may be targeted in order to harvest credentials or user data scripts containing secrets.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.10.0

3 Version history

Unusual Windows Remote User

A machine learning job detected an unusual remote desktop protocol (RDP) username, which can indicate account takeover or credentialed persistence using compromised accounts. RDP attacks, such as BlueKeep, also tend to use unusual usernames.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

5 Version history

Unusual Windows Service

A machine learning job detected an unusual Windows service, This can indicate execution of unauthorized services, malware, or persistence mechanisms. In corporate Windows environments, hosts do not generally run many rare or unique services. This job helps detect malware and persistence mechanisms that have been installed and run as a service.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Windows User Calling the Metadata Service

Looks for anomalous access to the cloud platform metadata service by an unusual user. The metadata service may be targeted in order to harvest credentials or user data scripts containing secrets.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.10.0

3 Version history

Unusual Windows User Privilege Elevation Activity

A machine learning job detected an unusual user context switch, using the runas command or similar techniques, which can indicate account takeover or privilege escalation using compromised accounts. Privilege elevation using tools like runas are more commonly used by domain and network administrators than by regular Windows users.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

4 Version history

Unusual Windows Username

A machine learning job detected activity for a username that is not normally active, which can indicate unauthorized changes, activity by unauthorized users, lateral movement, or compromised credentials. In many organizations, new usernames are not often created apart from specific types of system activities, such as creating new accounts for new employees. These user accounts quickly become active and routine. Events from rarely used usernames can point to suspicious activity. Additionally, automated Linux fleets tend to see activity from rarely used usernames only when personnel log in to make authorized or unauthorized changes, or threat actors have acquired credentials and log in for malicious purposes. Unusual usernames can also indicate pivoting, where compromised credentials are used to try and move laterally from one host to another.

[Elastic] [Host] [Windows] [Threat Detection] [ML]

7.7.0

6 Version history

User Account Creation

Identifies attempts to create new local users. This is sometimes done by attackers to increase access to a system or domain.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.6.0

8 Version history

User Added as Owner for Azure Application

Identifies when a user is added as an owner for an Azure application. An adversary may add a user account as an owner for an Azure application in order to grant additional permissions and modify the application’s configuration using another account.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

User Added as Owner for Azure Service Principal

Identifies when a user is added as an owner for an Azure service principal. The service principal object defines what the application can do in the specific tenant, who can access the application, and what resources the app can access. A service principal object is created when an application is given permission to access resources in a tenant. An adversary may add a user account as an owner for a service principal and use that account in order to define what an application can do in the Azure AD tenant.

[Elastic] [Cloud] [Azure] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

5 Version history

User Added to Privileged Group in Active Directory

Identifies a user being added to a privileged group in Active Directory. Privileged accounts and groups in Active Directory are those to which powerful rights, privileges, and permissions are granted that allow them to perform nearly any action in Active Directory and on domain-joined systems.

[Elastic] [Host] [Windows] [Threat Detection] [Persistence]

7.12.0

2 Version history

VNC (Virtual Network Computing) from the Internet

This rule detects network events that may indicate the use of VNC traffic from the Internet. VNC is commonly used by system administrators to remotely control a system for maintenance or to use shared resources. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector.

[Elastic] [Host] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

10 Version history

VNC (Virtual Network Computing) to the Internet

This rule detects network events that may indicate the use of VNC traffic to the Internet. VNC is commonly used by system administrators to remotely control a system for maintenance or to use shared resources. It should almost never be directly exposed to the Internet, as it is frequently targeted and exploited by threat actors as an initial access or back-door vector.

[Elastic] [Host] [Network] [Threat Detection] [Command and Control] [Host]

7.6.0

10 Version history

Virtual Machine Fingerprinting

An adversary may attempt to get detailed information about the operating system and hardware. This rule identifies common locations used to discover virtual machine hardware by a non-root user. This technique has been used by the Pupy RAT and other malware.

[Elastic] [Host] [Linux] [Threat Detection] [Discovery]

7.8.0

6 Version history

Virtual Private Network Connection Attempt

Identifies the execution of macOS built-in commands to connect to an existing Virtual Private Network (VPN).

[Elastic] [Host] [macOS] [Threat Detection] [Lateral Movement]

7.12.0

1

Volume Shadow Copy Deletion via VssAdmin

Identifies use of vssadmin.exe for shadow copy deletion on endpoints. This commonly occurs in tandem with ransomware or other destructive attacks.

[Elastic] [Host] [Windows] [Threat Detection] [Impact]

7.6.0

9 Version history

Volume Shadow Copy Deletion via WMIC

Identifies use of wmic.exe for shadow copy deletion on endpoints. This commonly occurs in tandem with ransomware or other destructive attacks.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.6.0

9 Version history

WMI Incoming Lateral Movement

Identifies processes executed via Windows Management Instrumentation (WMI) on a remote host. This could be indicative of adversary lateral movement, but could be noisy if administrators use WMI to remotely manage hosts.

[Elastic] [Host] [Windows] [Threat Detection] [Lateral Movement]

7.11.0

2 Version history

Web Application Suspicious Activity: No User Agent

A request to a web application server contained no identifying user agent string.

[Elastic] [APM]

7.6.0

7 Version history

Web Application Suspicious Activity: POST Request Declined

A POST request to web application returned a 403 response, which indicates the web application declined to process the request because the action requested was not allowed

[Elastic] [APM]

7.6.0

7 Version history

Web Application Suspicious Activity: Unauthorized Method

A request to web application returned a 405 response which indicates the web application declined to process the request because the HTTP method is not allowed for the resource

[Elastic] [APM]

7.6.0

7 Version history

Web Application Suspicious Activity: sqlmap User Agent

This is an example of how to detect an unwanted web client user agent. This search matches the user agent for sqlmap 1.3.11, which is a popular FOSS tool for testing web applications for SQL injection vulnerabilities.

[Elastic] [APM]

7.6.0

7 Version history

WebProxy Settings Modification

Identifies the use of the built-in networksetup command to configure webproxy settings. This may indicate an attempt to hijack web browser traffic for credential access via traffic sniffing or redirection.

[Elastic] [Host] [macOS] [Threat Detection] [Credential Access]

7.12.0

2 Version history

WebServer Access Logs Deleted

Identifies the deletion of WebServer access logs. This may indicate an attempt to evade detection or destroy forensic evidence on a system.

[Elastic] [Host] [Linux] [Windows] [macOS] [Threat Detection] [Defense Evasion]

7.11.0

3 Version history

Whoami Process Activity

Identifies use of whoami.exe which displays user, group, and privileges information for the user who is currently logged on to the local system.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.6.0

7 Version history

Windows CryptoAPI Spoofing Vulnerability (CVE-2020-0601 - CurveBall)

A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates. An attacker could exploit the vulnerability by using a spoofed code-signing certificate to sign a malicious executable, making it appear the file was from a trusted, legitimate source.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.7.0

6 Version history

Windows Defender Disabled via Registry Modification

Identifies modifications to the Windows Defender registry settings to disable the service or set the service to be started manually.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.12.0

2 Version history

Windows Defender Exclusions Added via PowerShell

Identifies modifications to the Windows Defender configuration settings using PowerShell to add exclusions at the folder directory or process level.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.14.0

1

Windows Event Logs Cleared

Identifies attempts to clear Windows event log stores. This is often done by attackers in an attempt to evade detection or destroy forensic evidence on a system.

[Elastic] [Host] [Windows] [Threat Detection] [Defense Evasion]

7.12.0

1

Windows Network Enumeration

Identifies attempts to enumerate hosts in a network using the built-in Windows net.exe tool.

[Elastic] [Host] [Windows] [Threat Detection] [Discovery]

7.11.0

3 Version history

Windows Script Executing PowerShell

Identifies a PowerShell process launched by either cscript.exe or wscript.exe. Observing Windows scripting processes executing a PowerShell script, may be indicative of malicious activity.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.6.0

9 Version history

Windows Script Interpreter Executing Process via WMI

Identifies use of the built-in Windows script interpreters (cscript.exe or wscript.exe) being used to execute a process via Windows Management Instrumentation (WMI). This may be indicative of malicious activity.

[Elastic] [Host] [Windows] [Threat Detection] [Initial Access]

7.11.0

2 Version history

Zoom Meeting with no Passcode

This rule identifies Zoom meetings that are created without a passcode. Meetings without a passcode are susceptible to Zoombombing. Zoombombing is carried out by taking advantage of Zoom sessions that are not protected with a passcode. Zoombombing refers to the unwanted, disruptive intrusion, generally by Internet trolls and hackers, into a video conference call. In a typical Zoombombing incident, a teleconferencing session is hijacked by the insertion of material that is lewd, obscene, racist, or antisemitic in nature, typically resulting of the shutdown of the session.

[Elastic] [Application] [Communication] [Zoom] [Continuous Monitoring] [SecOps] [Configuration Audit]

7.10.0

4 Version history

macOS Installer Spawns Network Event

Identifies when the built in macOS Installer program generates a network event after attempting to install a .pkg file. This activity has been observed being leveraged by malware.

[Elastic] [Host] [macOS] [Threat Detection] [Execution]

7.12.0

2 Version history