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.0 KB
Raw Blame
id: splunk-security-content-ed06725f-6da6-439f-9dcc-ab30e891297c
name: Windows PowerShell Export PfxCertificate
description: The following analytic detects the use of the PowerShell cmdlet `export-pfxcertificate`
  by leveraging Script Block Logging. This activity is significant as it may indicate
  an adversary attempting to exfiltrate certificates from the Windows Certificate
  Store. Monitoring this behavior is crucial for identifying potential certificate
  theft, which can lead to unauthorized access and impersonation attacks. If confirmed
  malicious, this activity could allow attackers to compromise secure communications,
  authenticate as legitimate users, and escalate their privileges within the network.
severity: medium
enabled: false
tags:
  mitre:
  - T1552.004
  - T1649
  categories:
  - endpoint
references:
- https://dev.to/iamthecarisma/managing-windows-pfx-certificates-through-powershell-3pj
- https://learn.microsoft.com/en-us/powershell/module/pki/export-pfxcertificate?view=windowsserver2022-ps
logsource:
  product: splunk
detection:
  splunk_spl: "`powershell` EventCode=4104 ScriptBlockText IN (\"*export-pfxcertificate*\"\
    )\n  | fillnull\n  | stats count min(_time) as firstTime max(_time) as lastTime\n\
    \    BY dest signature signature_id\n       user_id vendor_product EventID\n \
    \      Guid Opcode Name\n       Path ProcessID ScriptBlockId\n       ScriptBlockText\n\
    \  | `security_content_ctime(firstTime)`\n  | `security_content_ctime(lastTime)`\n\
    \  | `windows_powershell_export_pfxcertificate_filter`"
provenance:
  source: splunk/security_content
  source_id: ed06725f-6da6-439f-9dcc-ab30e891297c
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/endpoint/windows_powershell_export_pfxcertificate.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema