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.

4.5 KB
Raw Blame
id: chronicle-detection-rules-detect-possible-discovery-and-collection-of-files
name: detect_possible_discovery_and_collection_of_files
description: detect_possible_discovery_and_collection_of_files
severity: medium
enabled: false
tags:
  mitre: []
  categories:
  - endpoint
references: []
logsource:
  product: chronicle
detection:
  chronicle_yaral: "rule detect_possible_discovery_and_collection_of_files {\n meta:\n\
    \    author = \"Joseph Kamau\"\n    description = \"This rule detects the commands\
    \ executed to discover certain file types(other file types can be added depending\
    \ on document formats prevalent in an organization) using powershell and findstr\
    \ command which could be indicative of discovery and collection stage of data\
    \ exfiltration   License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.\"\
    \n    reference = \"https://tdm.socprime.com/tdm/info/K5Q1Smrozv8f\"\n    version\
    \ = \"0.01\"\n    created = \"2021-03-09\"\n    product = \"windows\"\n    category\
    \ = \"process_creation\"\n    mitre = \"discovery, t1083, collection, t1119\"\n\
    \n  events:\n(((re.regex($selection.target.process.file.full_path, `.*\\\\powershell\\\
    .exe`) and (re.regex($selection.target.process.command_line, `Get-ChildItem -Recurse\
    \ -Include .*\\.ppt`) or re.regex($selection.target.process.command_line, `Get-ChildItem\
    \ -Recurse -Include .*\\.doc`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.xls`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.pptx`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.docx`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.xlsx`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.pdf`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.csv`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.mdb`) or re.regex($selection.target.process.command_line,\
    \ `Get-ChildItem -Recurse -Include .*\\.pps`)) and ($selection.metadata.product_event_type\
    \ = \"4688\" or $selection.metadata.product_event_type = \"1\")) or ((re.regex($selection.target.process.command_line,\
    \ `.* findstr .*`) or re.regex($selection.target.process.command_line, `.* findtsr\\\
    .exe`)) and (re.regex($selection.target.process.command_line, `.*\\.doc`) or re.regex($selection.target.process.command_line,\
    \ `.*\\.docx`) or re.regex($selection.target.process.command_line, `.*\\.pdf`)\
    \ or re.regex($selection.target.process.command_line, `.*\\.xls`) or re.regex($selection.target.process.command_line,\
    \ `.*\\.xlsx`) or re.regex($selection.target.process.command_line, `.*\\.csv`)\
    \ or re.regex($selection.target.process.command_line, `.*\\.mdb`) or re.regex($selection.target.process.command_line,\
    \ `.*\\.pps`) or re.regex($selection.target.process.command_line, `.*\\.pptx`)\
    \ or re.regex($selection.target.process.command_line, `.*\\.ppt`)))) or (re.regex($selection.target.process.file.full_path,\
    \ `.*\\\\findstr\\.exe`) and (re.regex($selection.target.process.command_line,\
    \ `.*\\.doc`) or re.regex($selection.target.process.command_line, `.*\\.docx`)\
    \ or re.regex($selection.target.process.command_line, `.*\\.xls`) or re.regex($selection.target.process.command_line,\
    \ `.*\\.xlsx`) or re.regex($selection.target.process.command_line, `.*\\.ppt`)\
    \ or re.regex($selection.target.process.command_line, `.*\\.pptx`) or re.regex($selection.target.process.command_line,\
    \ `.*\\.pps`) or re.regex($selection.target.process.command_line, `.*\\.mdb`)\
    \ or re.regex($selection.target.process.command_line, `.*\\.pdf`) or re.regex($selection.target.process.command_line,\
    \ `.*\\.csv`))))\n\n  condition:\n    $selection\n}"
  chronicle_rule_name: detect_possible_discovery_and_collection_of_files
provenance:
  source: chronicle/detection-rules
  source_id: detect_possible_discovery_and_collection_of_files
  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/detect_possible_discovery_and_collection_of_files.yaral
notes:
  chronicle_meta: {}
  quarantine_reason: raw YARA-L — needs translation to AiSOC schema