Detectionlowtest

Automated Collection Bookmarks Using Get-ChildItem PowerShell

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.

Open in Detection LabConvert ruleBuild Package
François HubautCreated 2021-12-13Updated 2022-12-25e0565f5d-d420-4e02-8a68-ac00d864f9cfwindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic1 selector
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'Get-ChildItem'
            - ' -Recurse '
            - ' -Path '
            - ' -Filter Bookmarks'
            - ' -ErrorAction SilentlyContinue'
            - ' -Force'
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
e0565f5d-d420-4e02-8a68-ac00d864f9cf
Status
test
Level
low
Type
Detection
Created
2021-12-13
Modified
2022-12-25
Path
rules/windows/powershell/powershell_script/posh_ps_get_childitem_bookmarks.yml
Raw Tags
attack.discoveryattack.t1217
View on GitHub