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.6 KB
Raw Blame
id: chronicle-detection-rules-detect-cmdexe-obfuscation
name: detect_cmdexe_obfuscation
description: detect_cmdexe_obfuscation
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "rule detect_cmdexe_obfuscation {\n meta:\n    author = \"Joseph\
    \ Kamau\"\n    description = \"This rule detects when cmd.exe has been obfuscated\
    \ this could indicate possible malicious activity, tools like cobalt strike and\
    \ metasploit also use the environment variable COMSPEC.  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.\"\
    \n    reference = \"https://tdm.socprime.com/tdm/info/tJrqTgxJlPrb\"\n    version\
    \ = \"0.01\"\n    created = \"2021-03-09\"\n    product = \"Windows\"\n    mitre\
    \ = \"defense_evasion, t1027\"\n\n  events:\n((re.regex($selection_commandline.target.process.command_line,\
    \ `%COMSPEC:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%comspec:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `.* %comspec:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%COMSPEC%.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ ` .*%COMSPEC%.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%COMSPEC%.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%COMSPEC:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%comspec:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%Co^m^S^p^Ec^%.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `.* %Co^m^S^p^Ec^%.*`)) or (re.regex($selection_commandline.target.process.command_line,\
    \ `%Co^m^S^p^Ec^%.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%COMSPEC:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%comspec:.*`) or re.regex($selection_commandline.target.process.command_line,\
    \ `%COMSPEC%.*`)))\n\n  condition:\n    $selection_commandline\n}"
  chronicle_rule_name: detect_cmdexe_obfuscation
provenance:
  source: chronicle/detection-rules
  source_id: detect_cmdexe_obfuscation
  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/windows/detect_cmd_exe_obfuscation.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema