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: chronicle-detection-rules-hostdomain-enumeration-with-wmic
name: hostdomain_enumeration_with_wmic
description: hostdomain_enumeration_with_wmic
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "rule hostdomain_enumeration_with_wmic {\n meta:\n    author =\
    \ \"Osman Demir\"\n    description = \"Detects the Host/Domain Enumeration Attempts.\
    \  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.\"\
    \n    reference = \"https://tdm.socprime.com/tdm/info/tZIBjTZedRxS\"\n    version\
    \ = \"0.01\"\n    created = \"2021-03-09\"\n    product = \"windows\"\n    service\
    \ = \"sysmon\"\n    mitre = \"discovery, T1082, T1083, T1087\"\n\n  events:\n\
    (($selection.target.process.file.full_path = \"cmd.exe\" or $selection.target.process.file.full_path\
    \ = \"powershell.exe\") and ($selection.target.process.command_line = \"wmic os\
    \ LIST Full\" or $selection.target.process.command_line = \"wmic computersystem\
    \ LIST full\" or $selection.target.process.command_line = \"wmic /namespace:\\\
    \\\\\\root\\\\securitycenter2 path antivirusproduct\" or $selection.target.process.command_line\
    \ = \"wmic path Win32_PnPdevice\" or $selection.target.process.command_line =\
    \ \"wmic qfe list brief\" or re.regex($selection.target.process.command_line,\
    \ `wmic DATAFILE where \\\"path='\\\\\\\\Users\\\\\\\\test\\\\\\\\Documents\\\\\
    \\\\'\\\" GET .*`) or re.regex($selection.target.process.command_line, `wmic DATAFILE\
    \ where \\\"drive='C:' AND Name like '%password%'\\\" GET .*`) or re.regex($selection.target.process.command_line,\
    \ `wmic USERACCOUNT Get .*`) or $selection.target.process.command_line = \"wmic\
    \ NTDOMAIN GET DomainControllerAddress,DomainName,Roles /VALUE\" or re.regex($selection.target.process.command_line,\
    \ `wmic /NAMESPACE:\\\\\\\\root\\\\directory\\\\ldap PATH ds_user where .*`) or\
    \ $selection.target.process.command_line = \"wmic /NAMESPACE:\\\\\\\\root\\\\\
    directory\\\\ldap PATH ds_user GET ds_samaccountname\" or $selection.target.process.command_line\
    \ = \"wmic /NAMESPACE:\\\\\\\\root\\\\directory\\\\ldap PATH ds_group GET ds_samaccountname\"\
    \ or $selection.target.process.command_line = \"wmic /NAMESPACE:\\\\\\\\root\\\
    \\directory\\\\ldap PATH ds_group where \\\"ds_samaccountname='Domain Admins'\\\
    \" Get     ds_member /Value\" or re.regex($selection.target.process.command_line,\
    \ `wmic path win32_groupuser where \\(groupcomponent=\\\"win32_group\\.name=\\\
    \"domain admins\\\",domain .*\\\"\\)`) or $selection.target.process.command_line\
    \ = \"wmic /NAMESPACE:\\\\\\\\root\\\\directory\\\\ldap PATH ds_computer GET ds_samaccountname\"\
    \ or $selection.target.process.command_line = \"wmic /NAMESPACE:\\\\\\\\root\\\
    \\directory\\\\ldap PATH ds_computer GET ds_dnshostname\"))\n\n  condition:\n\
    \    $selection\n}"
  chronicle_rule_name: hostdomain_enumeration_with_wmic
provenance:
  source: chronicle/detection-rules
  source_id: hostdomain_enumeration_with_wmic
  source_commit: 74dd490
  license: Apache-2.0
  license_url: https://github.com/chronicle/detection-rules/blob/main/LICENSE
  imported_at: '2026-05-04'
  imported_by: chronicle_importer
  upstream_path: rules/_deprecated/soc_prime_rules/threat_hunting/sysmon/host_domain_enumeration_with_wmic.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema