Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

1,418 detections

Detects calls to hidden files or files located in hidden directories in Linux systems. This rule specifically looks for file paths containing '/.' which is a common convention for hidden files and directories in Unix-like systems, while filtering out common legitimate hidden paths like '.cache' and '.config'.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
4144
This rule detects attempts to enable auditing of TTY input on Linux systems by monitoring modifications to PAM (Pluggable Authentication Modules) configuration files. Specifically, it looks for changes to '/etc/pam.d/system-auth' and '/etc/pam.d/password-auth' in conjunction with TTY-related audit events. This activity could indicate an adversary attempting to implement keylogging functionality using the pam_tty_audit module to capture user input.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
5041
Detects modifications to critical Unix shell configuration files. Adversaries may modify these files to establish persistence or elevate privileges by executing malicious commands when a new shell is opened or a user logs in.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
3039
Detects the execution of a shell command characteristic of APT36's use of malicious .desktop files on Linux. The command typically involves using 'curl' to download a hex-encoded payload and 'chmod' to make it executable, often within the a tmp directory.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
1 year ago
41121
Detects attempts to discover files with setuid/setgid capabilities using the 'getcap' command. This activity is often a precursor to privilege escalation on Linux systems, as adversaries search for binaries that can be abused to gain higher privileges.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0032
Detects the use of 'at' or 'atd' utilities, which are commonly abused by adversaries for persistence or to schedule the execution of malicious code. This rule specifically looks for the execution of '/at' or '/atd' binaries.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0031
Detects the start or reload of a service on Linux systems using 'systemctl' or 'service' commands. This can be indicative of persistence mechanisms or privilege escalation attempts where adversaries modify or create services to execute malicious payloads.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1030
Detects attempts to exploit the sudo vulnerability CVE-2019-14287, which allows a user to run commands as root by specifying a user ID of -1 or 4294967295 (NO_UID_T) with the '-u' option, bypassing the sudoers policy.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2029
Detects the use of the `mknod` syscall to create special files (e.g., character or block devices) on Linux systems. This syscall is rarely used by legitimate applications and can be abused by attackers or malware to create fake devices, interact with kernel interfaces, establish covert channels, bypass file system restrictions, or create backdoors.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
2028
The following analytic detects the use of default or publicly known named pipes associated with Cobalt Strike. It leverages Sysmon EventID 17 and 18 to identify specific named pipes commonly used by Cobalt Strike's Artifact Kit and Malleable C2 Profiles. This activity is significant because Cobalt Strike is a popular tool for adversaries to conduct post-exploitation tasks, and identifying its named pipes can reveal potential malicious activity. If confirmed malicious, this could indicate an active Cobalt Strike beacon, leading to unauthorized access, data exfiltration, or further lateral movement within the network.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
100247
This rule detects the creation of new systemd service unit files in standard systemd directories. Adversaries often create or modify systemd services to establish persistence or escalate privileges by executing malicious code at system startup or when specific events occur. The rule specifically looks for file creation events in '/usr/lib/systemd/system/', '/etc/systemd/system/', and user-specific '/.config/systemd/user/' directories, which are common locations for systemd unit files.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1026
Detects the execution of the 'doas' utility on Linux systems. 'doas' allows standard users to execute commands as another user, typically root, similar to 'sudo'. This can be used by adversaries for privilege escalation or defense evasion.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1026
Detects global permissions change activity.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
001
Detects unauthorized access attempts to a resource.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
001
Detects when a new member is added or invited to a github organization.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
001
Detects suspicious changes to file privileges using `chown` to set ownership to root and `chmod` to enable setuid (u+s) or setgid (g+s) bits. This activity can be indicative of privilege escalation or persistence mechanisms where an adversary attempts to run code with elevated privileges.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1024
This rule identifies modifications to the `/etc/ld.so.preload` file. This file is used by the Linux dynamic linker to specify shared libraries that should be loaded before any other libraries. Attackers can modify this file to inject malicious shared objects into processes, enabling privilege escalation, persistence, or defense evasion by loading arbitrary code.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
1022
Detects when full data export is attempted.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
000
Detects when full data export is attempted an unauthorized user.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
000
Detects user data export activity.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
000
Detects SSH user login access failures.
Please note that this rule can be noisy and is recommended to use with correlation based on "author.name" field.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
000
Page 54 of 68