Detection rules › Sigma
VsCode Powershell Profile Modification
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
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1546.013 Event Triggered Execution: PowerShell Profile |
| Privilege Escalation | T1546.013 Event Triggered Execution: PowerShell Profile |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 11 | FileCreate |
Stages and Predicates
Stage 1: selection
TargetFilename|endswith: '\Microsoft.VSCode_profile.ps1'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
TargetFilename | ends_with |
|