Skip to content

alexandruhera/persistence-sniper-soar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

This PowerShell-based workflow accelerates the collection and triage of Windows persistence mechanisms using PersistenceSniper as its backend engine. It wraps raw output in structured logic, enhancing investigative efficiency by reducing noise and surfacing anomalous entries. Core Functionalities

  • Signature Extraction and Validation Each autostart entry is parsed for Authenticode signature metadata. The workflow extracts Common Name (CN) and signature status, applying conditional trust logic.
  • Trusted Publisher Filtering Entries signed by vendors in a configurable $trustedSigners list are excluded only if the signature is cryptographically valid. No blind exclusions — if a signature is missing or malformed, the entry is retained regardless of the signer name.
  • Scheduled Task Path Exclusion (Conditional) Entries with paths matching known benign patterns (e.g., \Microsoft\Windows\UpdateOrchestrator) are excluded only when the signer is trusted and the signature is valid. This prevents evasion via path mimicry or unsigned implants placed in common folders.
  • Technique-Specific Scan Control Toggles per method (RunAndRunOnce, ScheduledTasks, StartupPrograms) allow focused collection depending on analyst objectives.
  • Robust Output Serialization Results are exported in a JSON structure containing:
  • results: raw entries with Path, Value, Status, Signer
  • findings: formatted string for visual inspection
  • findings_exceeded: Boolean indicator for content size overflow
  • OutputMonitor: summary of volume and truncation flags across techniques
  • String Normalization and Trimming Ensures consistent formatting of .Value fields, eliminates padding artifacts from poorly registered launch commands.
  • Extensibility-Oriented Architecture

E.g. Output sent to Slack detailing the three persistence scans. pss image

pss3x pss3xc pcx4c

Use it and improve it as you fit! :)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors