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.1 KB
Raw Blame
id: splunk-security-content-6d663014-fe92-11eb-ab07-acde48001122
name: GSuite Email Suspicious Attachment
description: The following analytic detects suspicious attachment file extensions
  in GSuite emails, potentially indicating a spear-phishing attack. It leverages GSuite
  Gmail logs to identify emails with attachments having file extensions commonly associated
  with malware, such as .exe, .bat, and .js. This activity is significant as these
  file types are often used to deliver malicious payloads, posing a risk of compromising
  targeted machines. If confirmed malicious, this could lead to unauthorized code
  execution, data breaches, or further network infiltration.
severity: medium
enabled: false
tags:
  mitre:
  - T1566.001
  categories:
  - cloud
references:
- https://www.redhat.com/en/topics/devops/what-is-devsecops
logsource:
  product: splunk
detection:
  splunk_spl: "`gsuite_gmail` \"attachment{}.file_extension_type\" IN (\"pl\", \"\
    py\", \"rb\", \"sh\", \"bat\", \"exe\", \"dll\", \"cpl\", \"com\", \"js\", \"\
    vbs\", \"ps1\", \"reg\",\"swf\", \"cmd\", \"go\")\n  | eval phase=\"plan\"\n \
    \ | eval severity=\"medium\"\n  | stats count min(_time) as firstTime max(_time)\
    \ as lastTime values(attachment{}.file_extension_type) as email_attachments, values(attachment{}.sha256)\
    \ as attachment_sha256, values(payload_size) as payload_size\n    BY destination{}.service\
    \ num_message_attachments subject\n       destination{}.address source.address\
    \ phase\n       severity\n  | `security_content_ctime(firstTime)`\n  | `security_content_ctime(lastTime)`\n\
    \  | `gsuite_email_suspicious_attachment_filter`"
provenance:
  source: splunk/security_content
  source_id: 6d663014-fe92-11eb-ab07-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/cloud/gsuite_email_suspicious_attachment.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema