Detection rules › Sigma

Automated Collection Bookmarks Using Get-ChildItem PowerShell

Severity
low
Author
frack113
Source
upstream

Adversaries may enumerate browser bookmarks to learn more about compromised hosts. Browser bookmarks may reveal personal information about users (ex: banking sites, interests, social media, etc.) as well as details about internal network resources such as servers, tools/dashboards, or other related infrastructure.

MITRE ATT&CK coverage

TacticTechniques
DiscoveryT1217 Browser Information Discovery

Event coverage

ProviderEvent IDTitle
PowerShell4104Creating Scriptblock text (MessageNumber of MessageTotal).

Stages and Predicates

Stage 1: selection

ScriptBlockText|contains: ' -ErrorAction SilentlyContinue'
ScriptBlockText|contains: ' -Filter Bookmarks'
ScriptBlockText|contains: ' -Force'
ScriptBlockText|contains: ' -Path '
ScriptBlockText|contains: ' -Recurse '
ScriptBlockText|contains: Get-ChildItem

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.

FieldKindValues
ScriptBlockTextmatch
  • -ErrorAction SilentlyContinue
  • -Filter Bookmarks
  • -Force
  • -Path
  • -Recurse corpus 2 (sigma 2)
  • Get-ChildItem corpus 3 (sigma 3)

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.