Skip to content

Latest commit

Β 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ Incident Detection & Threat Hunting using Splunk SIEM

A hands-on Security Operations Center (SOC) lab built using Splunk Enterprise to simulate cyberattacks, collect logs, detect threats, and perform incident triage.

Splunk Windows Ubuntu SIEM SOC


πŸ“Œ Overview

This project demonstrates the implementation of a Security Information and Event Management (SIEM) solution using Splunk Enterprise in a simulated SOC environment.

A multi-machine lab was configured to generate real-world attack scenarios, collect security logs, create custom detection rules, and investigate alerts.

The objective was to gain practical experience in:

  • SIEM Deployment
  • Log Collection
  • Threat Detection
  • Incident Triage
  • IOC Analysis
  • Security Monitoring

πŸ—οΈ Lab Architecture

                +--------------------+
                | Ubuntu Attacker VM |
                +---------+----------+
                          |
                Simulated Cyber Attacks
                          |
                          β–Ό
                +--------------------+
                | Windows Web Server |
                | IIS + Event Logs   |
                +---------+----------+
                          |
               Universal Forwarder
                          |
                          β–Ό
                +--------------------+
                | Splunk Enterprise  |
                | Analyst Machine    |
                +--------------------+

πŸ–₯️ Environment

Component Description
SIEM Splunk Enterprise
Log Forwarder Splunk Universal Forwarder
Attacker Machine Ubuntu Linux
Victim Machine Windows Server
Web Server IIS
Analyst Machine Windows
Log Sources Windows Security Logs, IIS Logs

🎯 Objectives

  • Configure Splunk Enterprise
  • Forward Windows Event Logs
  • Monitor IIS Logs
  • Create SPL detection rules
  • Generate security alerts
  • Investigate Indicators of Compromise (IoCs)
  • Perform incident triage

πŸ” Attack Scenarios

The following attack simulations were performed.

1. Brute Force Attack

Detection

  • Windows Event IDs
    • 4624 (Successful Login)
    • 4625 (Failed Login)

Detection Logic

  • Multiple failed logins
  • Successful login after repeated failures
  • Alert generation

2. Ransomware Detection

Detection

  • Suspicious Process Execution
  • Privilege Escalation Events

Windows Event IDs

  • 4674
  • 4688
  • 4689

Indicators

  • Unexpected executable launch
  • Encryption process
  • Suspicious process creation

3. SQL Injection Detection

Detection

Monitoring IIS logs for SQL Injection payloads.

Examples:

' OR 1=1--
%27
#
--

4. Cross Site Scripting (XSS)

Detection of malicious JavaScript payloads inside IIS logs.

Examples:

<script>alert("You are hacked")</script>

Detection keywords:

  • %3CSCRIPT
  • Javascript
  • Alert

5. Broken Access Control

Detection of unauthorized access to admin pages.

Example:

/Admin/AdminOrders.aspx

Checks whether a non-admin user attempts to access restricted resources.


6. Remote Code Execution (RCE)

Detection of suspicious application crashes and malicious process execution.

Indicators include:

  • Application crash
  • mqsvc.exe
  • Event ID 1000
  • Event ID 1001

πŸ“Š Splunk Features Used

  • Search Processing Language (SPL)
  • Alert Creation
  • Triggered Alerts
  • Event Correlation
  • Time Window Analysis
  • Windows Event Monitoring
  • IIS Log Analysis
  • Incident Investigation

🧠 Skills Demonstrated

  • Security Operations Center (SOC)
  • SIEM Operations
  • Splunk Enterprise
  • SPL Queries
  • Threat Detection
  • Threat Hunting
  • Log Analysis
  • IOC Analysis
  • Incident Triage
  • Security Monitoring
  • Alert Engineering
  • Windows Event Logs
  • IIS Log Monitoring

βš™οΈ Technologies

  • Splunk Enterprise
  • Splunk Universal Forwarder
  • Windows Server
  • Ubuntu Linux
  • IIS
  • Windows Event Viewer
  • SSH
  • FTP
  • SPL

πŸ“ˆ Learning Outcomes

Through this project I gained practical experience in:

  • Deploying Splunk Enterprise
  • Configuring Universal Forwarders
  • Collecting Windows Security Logs
  • Monitoring IIS Logs
  • Building custom SPL queries
  • Detecting multiple cyber attacks
  • Investigating security events
  • Classifying incidents based on severity
  • Understanding SOC workflows

🚨 Sample Detection Workflow

Attack Simulation
        β”‚
        β–Ό
Windows Event Logs / IIS Logs
        β”‚
        β–Ό
Universal Forwarder
        β”‚
        β–Ό
Splunk Enterprise
        β”‚
        β–Ό
SPL Detection Query
        β”‚
        β–Ό
Alert Triggered
        β”‚
        β–Ό
SOC Investigation
        β”‚
        β–Ό
Incident Triage

πŸ“Έ Screenshots

Add screenshots for:

  • Lab Architecture
  • Splunk Dashboard
  • Triggered Alerts
  • SPL Queries
  • Brute Force Detection
  • SQL Injection Detection
  • XSS Detection
  • Ransomware Detection

πŸ“š Key Concepts

  • SIEM
  • SOC
  • Windows Event Logs
  • SPL
  • Universal Forwarder
  • IOC
  • Threat Detection
  • Incident Response
  • Security Monitoring
  • Threat Hunting

πŸ‘¨β€πŸ’» Author

Khubaib PP

Aspiring SOC Analyst | Cybersecurity Enthusiast


About

A hands-on SOC lab using Splunk Enterprise to centralize Windows and IIS logs, simulate cyberattacks, and perform real-time threat detection, incident triage, and IOC analysis with custom SPL queries

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors