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.9 KB
Raw Blame
id: splunk-security-content-b6391b15-e913-4c2c-8949-9eecc06efacc
name: Detect Password Spray Attack Behavior From Source
description: The following analytic identifies one source failing to authenticate
  with 10 or more unique users. This behavior could represent an adversary performing
  a Password Spraying attack to obtain initial access or elevate privileges. This
  logic can be used for real time security monitoring as well as threat hunting exercises
  and works well against any number of data sources ingested into the CIM datamodel.
  Environments can be very different depending on the organization. Test and customize
  this detections thresholds if needed.
severity: medium
enabled: false
tags:
  mitre:
  - T1110.003
  categories:
  - endpoint
references:
- https://attack.mitre.org/techniques/T1110/003/
- https://www.microsoft.com/en-us/security/blog/2020/04/23/protecting-organization-password-spray-attacks/
- https://github.com/MarkoH17/Spray365
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly` max(_time) as lastTime, min(_time)\
    \ as firstTime, values(Authentication.user_category) as user_category values(Authentication.src_category)\
    \ as src_category values(Authentication.app) as app count FROM datamodel=Authentication.Authentication\n\
    \  BY Authentication.action Authentication.app Authentication.authentication_method\n\
    \     Authentication.dest Authentication.signature Authentication.signature_id\n\
    \     Authentication.src Authentication.user\n| `drop_dm_object_name(\"Authentication\"\
    )`\n| eval user=case((match(upper(user),\"[a-zA-Z0-9]{3}\")),upper(user),true(),null),\
    \ src=upper(src), success=if(action=\"success\",count,0),success_user=if(action=\"\
    success\",user,null),failure=if(action=\"failure\",count,0), failed_user=if(action=\"\
    failure\",user,null)\n| stats count min(firstTime) as firstTime max(lastTime)\
    \ as lastTime values(app) as app values(src_category) as src_category values(success_user)\
    \ as user values(failed_user) as failed_user dc(success_user) as success_dc dc(failed_user)\
    \ as failed_dc dc(user) as user_dc ,sum(failure) as failure,sum(success) as success\n\
    \  BY src\n| fields - _time\n| where user_dc >= 10 AND .25 > (success/failure)\
    \ AND failed_dc > success_dc\n| `security_content_ctime(firstTime)`\n| `security_content_ctime(lastTime)`\n\
    | `detect_password_spray_attack_behavior_from_source_filter`"
provenance:
  source: splunk/security_content
  source_id: b6391b15-e913-4c2c-8949-9eecc06efacc
  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/endpoint/detect_password_spray_attack_behavior_from_source.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema