Detections

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

98 detections

Detects the creation of the default output filename used by the wmiexec tool, which is part of the Impacket toolkit. This typically indicates lateral movement or execution of commands via WMI.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0027
Detects the creation of files with specific naming patterns, such as '\sessionresume_[a-zA-Z]{8}$', which are known to be used by the Impacket toolkit, particularly its secretsdump.py module. This activity often indicates an attempt to dump credentials from a compromised system.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0028
Detects the execution of RemoteKrbRelay, a tool used for Kerberos relaying attacks. The rule identifies the tool based on its executable name or original filename and various command-line arguments that indicate different Kerberos relaying attack techniques such as relaying to SMB, LDAP for RBCD (Resource-Based Constrained Delegation), changing user passwords, or adding users to groups.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
3047
The following analytic identifies suspicious command-line parameters associated with the use of Impacket's smbexec.py for lateral movement. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on specific command-line patterns indicative of Impacket tool usage. This activity is significant as both Red Teams and adversaries use Impacket for remote code execution and lateral movement. If confirmed malicious, this activity could allow attackers to execute commands on remote endpoints, potentially leading to unauthorized access, data exfiltration, or further compromise of the network.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
4076
This analytic identifies the use of suspicious command-line parameters associated with Impacket tools, such as `wmiexec.py`, `smbexec.py`, `dcomexec.py`, and `atexec.py`, which are used for lateral movement and remote code execution. It detects these activities by analyzing process execution logs, focusing on specific command-line patterns involving `cmd.exe` executing commands against `127.0.0.1` with output redirection. This activity is significant because Impacket tools are commonly used by adversaries and Red Teams to move laterally within a network. If confirmed malicious, this could allow attackers to execute commands remotely, potentially leading to further compromise and data exfiltration.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
2071
The following analytic detects the use of Impacket's `wmiexec.py` tool for lateral movement by identifying specific command-line parameters. It leverages data from Endpoint Detection and Response (EDR) agents, focusing on processes spawned by `wmiprvse.exe` with command-line patterns indicative of Impacket usage. This activity is significant as Impacket tools are commonly used by adversaries for remote code execution and lateral movement within a network. If confirmed malicious, this could allow attackers to execute arbitrary commands on remote systems, potentially leading to further compromise and data exfiltration.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
3053
This analytic identifies a local successful authentication event on a Windows endpoint using the Kerberos package. It specifically looks for EventCode 4624 with LogonType 3 and a source address of 127.0.0.1, indicating a login to the built-in local Administrator account. This activity is significant as it may suggest a Kerberos relay attack, a method attackers use to escalate privileges. If confirmed malicious, this could allow an attacker to gain unauthorized access to sensitive systems, execute arbitrary code, or create new accounts in Active Directory, leading to potential system compromise.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
2050
This rule detects highly relevant antivirus events in the Windows Application log by looking for specific keywords associated with known virus signatures, malware, and offensive security tools. It aims to identify instances where an antivirus product has detected or quarantined malicious software or activity.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0033
Detects highly relevant antivirus alerts indicating the presence of hack tools or other attack tools. This rule emphasizes that even if the antivirus blocks the malware, the event requires investigation to understand how the tool initially compromised the system.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0039
Detects the execution of Impacket's psexec.py by monitoring for specific file share access patterns on the IPC$ share. The rule looks for EventID 5145 (a detailed file share access event) where the ShareName is '\\*\IPC$' and the RelativeTargetName contains 'RemCom_stdin', 'RemCom_stdout', or 'RemCom_stderr'. These file names are characteristic of how Impacket's psexec.py communicates with the remote service.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
3088
Detects attempts to dump Active Directory credentials using Impacket's secretdump tool. This rule specifically looks for Event ID 5145 (A network share object was checked to see whether client can be granted desired access) on the ADMIN$ share, combined with access to a temporary file within the SYSTEM32 directory. This pattern is indicative of secretdump's remote activity to extract credential hashes.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0081
Detects lateral movement activity using various Impacket tools such as wmiexec, dcomexec, atexec, and smbexec. The rule identifies specific parent processes and command-line arguments indicative of these tools, which often involve `cmd.exe` executing commands with output redirection to a local loopback address.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
4052
Detects the installation of services that are characteristic of Metasploit's SMB PsExec module (exploit/windows/smb/psexec) and Impacket's psexec.py. The rule specifically looks for Windows Security Event ID 4697 (A service was installed in the system) where the ServiceFileName matches a pattern of '%systemroot%\<8_random_chars>.exe' and the ServiceName matches a pattern of 4, 8, or 16 alphabetic characters, while excluding the known legitimate 'PSEXESVC' service.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
1051
Detects remote credential dumping activity using Impacket's secretdump tool by monitoring SMB file access patterns. Specifically, it looks for access to the ADMIN$ share with paths containing 'SYSTEM32\' and ending with '.tmp', which is characteristic of secretdump creating temporary files during its operation.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
1049
Page 5 of 5