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.

3.5 KB
Raw Blame
id: splunk-security-content-c148a894-dd93-11eb-bf2a-acde48001122
name: Powershell Disable Security Monitoring
description: 'The following analytic identifies attempts to disable Windows Defender

  real-time behavior monitoring via PowerShell commands. It detects the use of specific

  `Set-MpPreference` parameters that disable various security features. This activity

  is significant as it is commonly used by malware such as RATs, bots, or Trojans

  to evade detection by disabling antivirus protections. If confirmed malicious, this

  action could allow an attacker to operate undetected, leading to potential data

  exfiltration, further system compromise, or persistent access within the environment.'
severity: medium
enabled: false
tags:
  mitre:
  - T1562.001
  categories:
  - endpoint
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1562.001/T1562.001.md#atomic-test-15---tamper-with-windows-defender-atp-powershell
- https://docs.microsoft.com/en-us/powershell/module/defender/set-mppreference?view=windowsserver2022-ps
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly`\n  count min(_time) as firstTime\n\
    \        max(_time) as lastTime\nfrom datamodel=Endpoint.Processes where\n`process_powershell`\n\
    Processes.process=\"*Set-MpPreference*\"\n(\n  Processes.process IN (\n    \"\
    *DisableArchiveScanning*\",\n    \"*DisableBehaviorMonitoring*\",\n    \"*DisableBlockAtFirstSeen*\"\
    ,\n    \"*DisableCatchupFullScan*\",\n    \"*DisableCatchupQuickScan*\",\n   \
    \ \"*DisableIOAVProtection*\",\n    \"*DisableRealtimeMonitoring*\",\n    \"*DisableRemovableDriveScanning*\"\
    ,\n    \"*DisableRestorePoint*\",\n    \"*DisableScanningMappedNetworkDrivesForFullScan*\"\
    ,\n    \"*DisableScanningNetworkFiles*\",\n    \"*DisableScriptScanning*\",\n\
    \    \"*drdsc*\",\n    \"*dsnf *\",\n    \"*drtm *\",\n    \"*dioavp *\",\n  \
    \  \"*dscrptsc *\",\n    \"*dbaf *\",\n    \"*darchsc *\",\n    \"*dcfsc *\",\n\
    \    \"*dbm *\"\n  )\n  Processes.process IN (\n    \"* $true*\",\n    \"* 1*\"\
    \n  )\n)\nOR\n(\n  Processes.process = \"*PUAProtection*\"\n  Processes.process\
    \ = \"*disable*\"\n)\nOR\n(\n  Processes.process = \"*CloudBlockLevel*\"\n  Processes.process\
    \ IN (\n    \"* $false*\",\n    \"* 0*\"\n  )\n)\nby Processes.action Processes.dest\
    \ Processes.original_file_name Processes.parent_process\n   Processes.parent_process_exec\
    \ Processes.parent_process_guid Processes.parent_process_id\n   Processes.parent_process_name\
    \ Processes.parent_process_path Processes.process Processes.process_exec\n   Processes.process_guid\
    \ Processes.process_hash Processes.process_id Processes.process_integrity_level\n\
    \   Processes.process_name Processes.process_path Processes.user Processes.user_id\
    \ Processes.vendor_product\n\n| `drop_dm_object_name(Processes)`\n| `security_content_ctime(firstTime)`\n\
    | `security_content_ctime(lastTime)`\n| `powershell_disable_security_monitoring_filter`"
provenance:
  source: splunk/security_content
  source_id: c148a894-dd93-11eb-bf2a-acde48001122
  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/powershell_disable_security_monitoring.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema