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.3 KB
Raw Blame
id: splunk-security-content-086ab581-8877-42b3-9aee-4a7ecb0923af
name: Detect Password Spray Attempts
description: This analytic employs the 3-sigma approach to detect an unusual volume
  of failed authentication attempts from a single source. A password spray attack
  is a type of brute force attack where an attacker tries a few common passwords across
  many different accounts to avoid detection and account lockouts. By utilizing the
  Authentication Data Model, this detection is effective for all CIM-mapped authentication
  events, providing comprehensive coverage and enhancing security against these attacks.
severity: medium
enabled: false
tags:
  mitre:
  - T1110.003
  categories:
  - application
references:
- https://attack.mitre.org/techniques/T1110/003/
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly` values(Authentication.user)\
    \ AS unique_user_names dc(Authentication.user) AS unique_accounts values(Authentication.app)\
    \ as app count(Authentication.user) as total_failures from datamodel=Authentication.Authentication\
    \ where Authentication.action=\"failure\" NOT Authentication.src IN (\"-\",\"\
    unknown\") by Authentication.action Authentication.app Authentication.authentication_method\
    \ Authentication.dest \n  Authentication.signature Authentication.signature_id\
    \ Authentication.src sourcetype _time span=5m  \n| `drop_dm_object_name(\"Authentication\"\
    )`\n    ```fill out time buckets for 0-count events during entire search length```\n\
    | appendpipe [| timechart limit=0 span=5m count | table _time] | fillnull value=0\
    \ unique_accounts\n  ``` Create aggregation field & apply to all null events```\n\
    | eval counter=src+\"__\"+sourcetype+\"__\"+signature_id  | eventstats values(counter)\
    \ as fnscounter  | eval counter=coalesce(counter,fnscounter) \n  ``` stats version\
    \ of mvexpand ```\n| stats values(app) as app values(unique_user_names) as unique_user_names\
    \ values(total_failures) as total_failures values(src) as src values(signature_id)\
    \ as signature_id values(sourcetype) as sourcetype count by counter unique_accounts\
    \ _time\n    ``` remove duplicate time buckets for each unique source```\n| sort\
    \ - _time unique_accounts | dedup _time counter\n    ```Find the outliers```\n\
    | eventstats avg(unique_accounts) as comp_avg , stdev(unique_accounts) as comp_std\
    \ by counter | eval upperBound=(comp_avg+comp_std*3) | eval isOutlier=if(unique_accounts\
    \ > 30 and unique_accounts >= upperBound, 1, 0) | replace \"::ffff:*\" with *\
    \ in src  | where isOutlier=1  | foreach * \n    [ eval <<FIELD>> = if(<<FIELD>>=\"\
    null\",null(),<<FIELD>>)] \n| table _time, src, action, app, unique_accounts,\
    \ unique_user_names, total_failures, sourcetype, signature_id, counter | `detect_password_spray_attempts_filter`"
provenance:
  source: splunk/security_content
  source_id: 086ab581-8877-42b3-9aee-4a7ecb0923af
  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/application/detect_password_spray_attempts.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema