Detections

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

19 detections

Detects PowerShell running Profile.ps1 decrypting the payload into RuntimeBroker_update.exe. This rule specifically looks for the execution of 'powershell.exe' with 'Profile.ps1' in its command line, followed by the creation of 'RuntimeBroker_update.exe' by that PowerShell process.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
008
Detects the extraction process where specific files (empty.vbs, Profile.ps1, 1.dat, Com.dat) associated with the Dragon Weave campaign are simultaneously unzipped into a 'data' folder. This rule looks for the creation of at least three of these four files within a one-minute window by the same initiating process.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
115
This rule detects PowerShell execution that includes specific command-line arguments consistent with decoding XOR-encoded payloads. It looks for 'powershell.exe' processes where the command line contains '-bxor' and references to files like 'Profile.ps1', '1.dat', or 'Com.dat', which are associated with the Dragon Weave campaign's decoding activities.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
4 months ago
002
Detects malicious code written to PowerShell profile scripts
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
4 months ago
002
This rule detects the delivery of a malicious PowerShell profile script named 'profile.ps1' via HTTP. The rule specifically looks for the string 'IEX' (Invoke-Expression) within the file data, indicating an attempt to execute arbitrary commands. This technique is often used for persistence, where an attacker modifies a PowerShell profile to execute malicious code every time PowerShell is launched.
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
5 months ago
008
Detects malicious code written to PowerShell profile scripts
avatar
Darshan Thummar@Mighty
avatar
Detections.ai Community
4 months ago
001
Detects suspicious modification of AI assistant configuration files potentially related to MCP server injection.
avatar
nomit vyas@xoxo
avatar
Detections.ai Community
8 months ago
3075
Detects the creation of PowerShell module files (e.g., .psm1, .psd1, .dll, .ps1) within standard PowerShell module directories by processes that are not recognized as legitimate PowerShell executables or installers. This can indicate an attempt to establish persistence or execute malicious code by injecting or creating malicious PowerShell modules.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0022
Detects the creation or modification of a vscode related powershell profile which could indicate suspicious activity as the profile can be used as a mean of persistence
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
0016
Detects the creation or modification of a powershell profile which could indicate suspicious activity as the profile can be used as a mean of persistence
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
0010
Detects calls to "Add-Content" cmdlet in order to modify the content of the user profile and potentially adding suspicious commands for persistence
Yamato Security Hayabusa@YamatoSecurityHayabusa
avatar
Yamato Security Hayabusa Rules
1 year ago
009
This rule detects the creation of specific files that indicate interactive PowerShell usage within the SYSTEM user context. The rule looks for the creation of 'ConsoleHost_history.txt' or 'StartupProfileData-Interactive' files in the 'C:\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\' or 'C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\' directories respectively. The presence of these files in the SYSTEM profile suggests that PowerShell was used interactively by the SYSTEM account, which is highly unusual and could indicate privilege escalation or malicious activity.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0025
This rule detects the creation or modification of a PowerShell profile specifically for Visual Studio Code (VSCode). Adversaries may modify these profiles to establish persistence or escalate privileges by injecting malicious commands or scripts that execute every time a user opens a VSCode PowerShell session. This technique can be used to run arbitrary code without direct user interaction after the initial compromise.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0021
Detects the creation of new PowerShell module files (e.g., .psm1, .psd1, .dll, .ps1) within standard PowerShell module directories. This activity can indicate an adversary attempting to establish persistence or load malicious modules.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0020
Detects the creation or modification of PowerShell profile scripts (profile.ps1) in various common locations. Adversaries may modify these profiles to include arbitrary commands, functions, or modules to gain persistence or elevate privileges, as the profile script runs automatically when PowerShell starts.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0020
Detects attempts to modify a PowerShell user profile using the `Add-Content` cmdlet to inject suspicious commands. This technique can be used for persistence, as the injected commands will execute every time a PowerShell session starts for that user.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
0018
Detects the creation or modification of a powershell profile which could indicate suspicious activity as the profile can be used as a mean of persistence
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
000
Detects the creation or modification of a vscode related powershell profile which could indicate suspicious activity as the profile can be used as a mean of persistence
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
000
Detects calls to "Add-Content" cmdlet in order to modify the content of the user profile and potentially adding suspicious commands for persistence
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
2 years ago
000