Upload SSH Logs
Uploaded the JSON SSH dataset into Splunk Enterprise using the Add Data workflow.
Local Splunk Enterprise Lab — SSH Authentication Analysis
A local SOC lab focused on analyzing SSH authentication activity in Splunk to detect failed login patterns, repeated authentication failures, successful access, and connections without authentication.
This case study documents a hands-on SSH authentication investigation using Splunk Enterprise. The lab focused on ingesting a JSON SSH dataset, validating extracted fields, and using SPL searches to identify suspicious login behavior.
The investigation covered successful logins, failed logins, multiple failed authentication attempts, and connections that reached SSH without completing authentication.
Uploaded the JSON SSH dataset into Splunk Enterprise using the Add Data workflow.
Confirmed key fields such as event_type, auth_success, auth_attempts, id.orig_h, and id.resp_h were parsed.
Used SPL to summarize SSH activity across successful logins, failed logins, repeated failures, and unauthenticated connections.
Grouped failed login attempts by source IP to identify repeated authentication failures.
Compared source and destination pairs for multiple failed authentication attempts.
Defined a high-risk alert condition for repeated failures within a short window.
The validation search returned 1,200 total SSH events across four categories.
Successful SSH Login
Failed SSH Login
Multiple Failed Authentication Attempts
Connection Without Authentication
index=ssh_logs source="ssh_logs.json" | stats count by event_type
index=ssh_logs source="ssh_logs.json" event_type="Failed SSH Login" | stats count by id.orig_h | head 10
index=ssh_logs source="ssh_logs.json" event_type="Multiple Failed Authentication Attempts" | stats count by id.orig_h id.resp_h
index=ssh_logs source="ssh_logs.json" event_type="Successful SSH Login" | stats count by id.orig_h id.resp_h
index=ssh_logs event_type="Connection Without Authentication" | stats count by id.orig_h
The brute-force detection logic focused on source and destination pairs with repeated failed authentication activity.
index=ssh_logs event_type="Multiple Failed Authentication Attempts" | stats count by id.orig_h id.resp_h | where count > 5
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
Practiced during the SSH log analysis workflow.
This lab reinforced that effective Splunk analysis starts with a clear security question. The most useful workflow was to identify the behavior, choose the fields, build the SPL search, review the evidence, and explain the security meaning.
The project also showed how visualizations and alert logic can help turn raw authentication logs into an analyst-friendly SOC workflow.
This case study uses lab-provided SSH log data for educational purposes. The activity patterns are part of a controlled training environment and do not represent production systems.