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: chronicle-detection-rules-file-deletion-via-cmd-via-cmdline
name: file_deletion_via_cmd_via_cmdline
description: file_deletion_via_cmd_via_cmdline
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "rule file_deletion_via_cmd_via_cmdline {\n meta:\n    author =\
    \ \"Ariel Millahuel\"\n    description = \"Detects \\\"cmd\\\" utilization to\
    \ self-delete files in some critical Windows destinations.  License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.\"\
    \n    reference = \"https://tdm.socprime.com/tdm/info/qCfuC2GC1Se7\"\n    version\
    \ = \"0.01\"\n    created = \"2019/11/20\"\n    category = \"process_creation\"\
    \n    product = \"windows\"\n    mitre = \"defense_evasion, t1070, t1070.004\"\
    \n\n  events:\n(re.regex($selection.target.process.command_line, `.*cmd.*`) and\
    \ ($selection.metadata.product_event_type = \"4688\" or $selection.metadata.product_event_type\
    \ = \"1\") and (re.regex($selection.target.process.command_line, `.*/c.*`) or\
    \ re.regex($selection.target.process.command_line, `.*ping 127\\.0\\.0\\.1.*`)\
    \ or re.regex($selection.target.process.command_line, `.*&.*`) or re.regex($selection.target.process.command_line,\
    \ `.*del.*`) or re.regex($selection.target.process.command_line, `.*/f.*`) or\
    \ re.regex($selection.target.process.command_line, `.*/q.*`)) and (re.regex($selection.target.process.command_line,\
    \ `.*\\\\Windows\\\\Temp.*`) or re.regex($selection.target.process.command_line,\
    \ `.*\\\\AppData\\\\Roaming\\\\Microsoft.*`)))\n\n  condition:\n    $selection\n\
    }"
  chronicle_rule_name: file_deletion_via_cmd_via_cmdline
provenance:
  source: chronicle/detection-rules
  source_id: file_deletion_via_cmd_via_cmdline
  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/process_creation/file_deletion_via_cmd__via_cmdline.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema