Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2.2 KB
Raw Blame
id: sigmahq-sigma-8ff28fdd-e2fa-4dfa-aeda-ef3d61c62090
name: Suspicious PowerShell Invocations - Specific - PowerShell Module
description: Detects suspicious PowerShell invocation command parameters
severity: high
enabled: false
tags:
  mitre:
  - T1059.001
  categories:
  - endpoint
references:
- Internal Research
- https://github.com/HackTricks-wiki/hacktricks/blob/e4c7b21b8f36c97c35b7c622732b38a189ce18f7/src/windows-hardening/windows-local-privilege-escalation/privilege-escalation-with-autorun-binaries.md
logsource:
  product: windows
  category: ps_module
  definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
  selection_convert_b64:
    ContextInfo|contains|all:
    - -nop
    - ' -w '
    - hidden
    - ' -c '
    - '[Convert]::FromBase64String'
  selection_iex:
    ContextInfo|contains|all:
    - ' -w '
    - hidden
    - -noni
    - -nop
    - ' -c '
    - iex
    - New-Object
  selection_enc:
    ContextInfo|contains|all:
    - ' -w '
    - hidden
    - -ep
    - bypass
    - -Enc
  selection_reg:
    ContextInfo|contains|all:
    - powershell
    - reg
    - add
    ContextInfo|contains:
    - \software\microsoft\windows\currentversion\run
    - \software\wow6432node\microsoft\windows\currentversion\run
    - \software\microsoft\windows\currentversion\policies\explorer\run
  selection_webclient:
    ContextInfo|contains|all:
    - bypass
    - -noprofile
    - -windowstyle
    - hidden
    - new-object
    - system.net.webclient
    - .download
  selection_iex_webclient:
    ContextInfo|contains|all:
    - iex
    - New-Object
    - Net.WebClient
    - .Download
  filter_chocolatey:
    ContextInfo|contains:
    - (New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1
    - Write-ChocolateyWarning
  condition: 1 of selection_* and not 1 of filter_*
provenance:
  source: SigmaHQ/sigma
  source_id: 8ff28fdd-e2fa-4dfa-aeda-ef3d61c62090
  source_commit: df5c6a6
  license: DRL-1.1
  license_url: https://github.com/SigmaHQ/Detection-Rule-License
  imported_at: '2026-05-04'
  imported_by: sigma_importer
  upstream_path: rules/windows/powershell/powershell_module/posh_pm_susp_invocation_specific.yml
falsepositives:
- Unknown
notes:
  quarantine_reason: 'upstream status: test'