INTRODUCTION
This guide demonstrates a complete real-world SOC workflow using:
- Splunk (Detection & Investigation)
- Threat Intelligence tools
- Email Forensics tools
- Malware Analysis sandbox
The goal is to simulate a realistic attack and show exactly what steps to take using each tool.
π¨ SCENARIO
A suspicious PowerShell execution alert is triggered in Splunk.
We will investigate it step by step.
πΉ STEP 1 β DETECTION IN SPLUNK
What I did:
Opened Splunk β Search & Reporting
Used query:
index=botsv3 sourcetype=”WinEventLog:Security” EventCode=4688
| search powershell
What I observed:
- User:
finance.user - Host:
FIN-PC01 - Parent Process:
winword.exe - Child Process:
powershell.exe - Command Line: contains
-enc
Interpretation:
- Word launching PowerShell = suspicious
- Encoded command = high risk
πΉ STEP 2 β DEEP INVESTIGATION IN SPLUNK
What I did:
Searched for same user activity:
index=botsv3 EventCode=4688
| search Account_Name=”finance.user”
What I found:
- Multiple PowerShell executions
- Same time window
Interpretation:
- Not a one-time event
- Indicates scripted or automated activity
πΉ STEP 3 β EXTRACT INDICATORS
From the command line, I extracted:
- Domain: example-malicious.com
- IP: 185.x.x.x
πΉ STEP 4 β THREAT INTELLIGENCE CHECK
Tool 1: VirusTotal
What I did:
- Opened VirusTotal
- Searched domain
Result:
- Flagged as malicious
- Associated with malware
Tool 2: Talos Intelligence
What I did:
- Checked domain reputation
Result:
- Poor reputation
Tool 3: Shodan
What I did:
- Checked IP
Result:
- Known suspicious hosting
Interpretation:
π External infrastructure is malicious
πΉ STEP 5 β EMAIL FORENSICS
Goal:
Find how user got infected
Tool 1: MX Toolbox (Header Analyzer)
What I did:
- Pasted email header
What I found:
- SPF: Fail
- DKIM: Fail
- DMARC: Fail
Tool 2: EML Analyzer
What I did:
- Opened email file
What I found:
- Suspicious attachment
- External sender
Interpretation:
π Phishing email confirmed
πΉ STEP 6 β MALWARE ANALYSIS
Tool 1: Any.run
What I did:
- Uploaded suspicious file
What I observed:
- PowerShell execution
- Network connection
Tool 2: Hybrid Analysis
What I did:
- Submitted file
Result:
- Malicious score high
- Behavior confirmed
Interpretation:
π File is malicious
πΉ STEP 7 β FULL ATTACK CHAIN
What I reconstructed:
- User receives phishing email
- User opens attachment
- Word launches PowerShell
- PowerShell executes encoded command
- Connects to malicious domain
πΉ STEP 8 β MITRE MAPPING
Mapped techniques:
- T1566 β Phishing
- T1059.001 β PowerShell Execution
- T1204 β User Execution
πΉ STEP 9 β TICKET CREATION
What I wrote:
βSuspicious PowerShell execution detected on FIN-PC01.
Parent process: winword.exe
Encoded command observed
Malicious domain confirmed via threat intelligence
Email analysis indicates phishing origin
Escalating for further investigation.β
πΉ STEP 10 β DASHBOARD CREATION
What I did:
- Created panel in Splunk
- Added detection
Panel Title:
PowerShell Abuse β MITRE T1059.001
Purpose:
- Monitor similar attacks
- Track patterns
- Provide visibility
πΉ STEP 11 β FINAL LEARNING (VERY IMPORTANT)
What I learned:
- Splunk gives detection
- Threat intel confirms indicators
- Email shows entry point
- Malware confirms behavior
π§ FINAL FLOW SUMMARY
Splunk β Detect
Threat Intel β Validate
Email β Entry point
Malware β Confirm
Dashboard β Monitor
Ticket β Escalate

Comments are closed