Detection & Analysis Using Windows Event Logs
This is a fully isolated, controlled lab environment. No real systems were targeted. All simulations performed on personal VMs for educational purposes only.
Lab 02 builds on the network reconnaissance performed in Lab 01 by simulating a real-world brute force attack against a Windows 10 target. Using Metasploit's smb_login module from Kali Linux, the attack attempts multiple passwords against the Administrator account via SMB port 445 — the same port discovered in Lab 01. The Windows 10 VM generates failed login events (Event ID 4625) which are then analyzed as a SOC analyst would.
| Component | Details |
|---|---|
| Hypervisor | VMware Workstation Pro 25H2 |
| Attacker Machine | Kali Linux 2025.4 (amd64) |
| Defender / Target | Windows 10 x64 |
| Network Type | VMware LAN Segment — Isolated (testpractice) |
| Attacker IP | 192.168.20.11 (Static) |
| Target IP | 192.168.20.10 (Static) |
| Attack Tool | Metasploit Framework v6.4 — smb_login |
| Target Port | 445/TCP — SMB |
| Detection Method | Windows Event Viewer — Event ID 4625 |
A custom password wordlist was created on the Kali Desktop containing 8 commonly used passwords:
cd ~/Desktop
nano passwords.txt
Passwords included in the wordlist:
• password
• 123456
• admin
• welcome
• Password123
• letmein
• qwerty
• administrator
Metasploit was launched from the Kali terminal:
msfconsole
Metasploit Framework v6.4.99-dev loaded with 2,572 exploits and 1,317 auxiliary modules.
The smb_login auxiliary module was selected and configured to target the Windows 10 VM:
use auxiliary/scanner/smb/smb_login
set RHOSTS 192.168.20.10
set SMBUser administrator
set PASS_FILE /home/kali/Desktop/passwords.txt
run
Metasploit attempted all 8 passwords from the wordlist against the Administrator account via SMB port 445:
| Attempt # | Password Tried | Result | Event Generated |
|---|---|---|---|
| 1 | password | Failed — Incorrect password | Event ID 4625 |
| 2 | 123456 | Failed — Incorrect password | Event ID 4625 |
| 3 | admin | Failed — Incorrect password | Event ID 4625 |
| 4 | welcome | Failed — Incorrect password | Event ID 4625 |
| 5 | Password123 | Failed — Incorrect password | Event ID 4625 |
| 6 | letmein | Failed — Incorrect password | Event ID 4625 |
| 7 | qwerty | Failed — Incorrect password | Event ID 4625 |
| 8 | administrator | Failed — Incorrect password | Event ID 4625 |
Filtered Windows Security logs for Event ID 4625 (Failed Logon).
Result: 10 failed login attempts detected.
| Event ID | Event Name | Meaning | SOC Significance |
|---|---|---|---|
| 4625 | Failed Logon | Someone attempted to login and failed | CRITICAL — brute force indicator |
| 4624 | Successful Logon | Someone logged in successfully | Check if follows multiple 4625s |
| 4648 | Logon with explicit creds | Credentials used explicitly | Lateral movement indicator |
| 4720 | User account created | New account created on system | Possible backdoor creation |
| 4732 | Added to admin group | User added to Administrators group | Privilege escalation alert |
After filtering Windows Security logs for Event ID 4625, the following was observed:
| Field | Value | What It Tells Us |
|---|---|---|
| Total Failed Logins | 10 events | High frequency = brute force pattern |
| Account Targeted | Administrator | High-value account — attacker knew target |
| Source IP Address | 192.168.20.11 | Kali Linux attacker machine |
| Source Port | 445/TCP (SMB) | Attack via file sharing protocol |
| Failure Reason | Unknown username or bad password | Password guessing confirmed |
| Logon Type | 3 (Network Logon) | Remote authentication attempt |
| Time Window | Within 2 minutes | Automated tool — not manual typing |
| Workstation Name | KALI | Attacker hostname visible in logs |
In a real SOC environment, a SIEM rule would automatically detect this pattern:
SIEM Alert Rule: IF (Event ID 4625 count > 5 from same Source IP within 60 seconds) THEN trigger BRUTE FORCE ALERT → assign to Tier 1 analyst for investigation
Splunk query to detect this attack:
index=wineventlog EventCode=4625| stats count by src_ip, user| where count > 5| sort -count
| IOC Type | Value | Significance |
|---|---|---|
| Source IP | 192.168.20.11 | Kali Linux — Attacker |
| Target IP | 192.168.20.10 | Windows 10 — Victim |
| Target Account | Administrator | High privilege account |
| Attack Protocol | SMB Port 445/TCP | File sharing protocol |
| Attack Tool | Metasploit smb_login | Automated brute force |
| Event ID | 4625 — Failed Logon | 10 events in 2 minutes |
| Date/Time | 2026-03-15 19:14 | Attack timestamp |
| Failure Count | 10 failed attempts | Exceeds normal threshold of 3-5 |
This is the SAME port discovered open in Lab 01 Nmap scan. An attacker's workflow is: 1) Reconnaissance (Nmap — Lab 01) → 2) Attack (Brute Force via SMB — Lab 02). This demonstrates exactly how the Cyber Kill Chain works in real attacks.
The attacker immediately targeted 'Administrator' because it is the default Windows admin account. In production environments this account should be renamed or disabled and replaced with a named admin account. This is a basic security hardening step.
The attack was able to attempt all 8 passwords without the account being locked. In a hardened system, Account Lockout Policy should be set to lock the account after 3-5 failed attempts. This would have stopped the attack at attempt 4.
Multi-Factor Authentication would have completely prevented this attack even if the correct password was guessed. Modern enterprise environments enforce MFA for all remote authentication.
The positive finding here is that Windows Event Logging captured every single failed attempt with full details including source IP, timestamp, account name, and logon type. A SIEM monitoring these logs would have triggered an alert within seconds.
• How brute force attacks work in practice — automated password guessing via Metasploit
• How to use Metasploit's smb_login module for credential attacks
• How Windows generates Event ID 4625 for every failed login attempt
• How to filter Event Viewer by specific Event IDs to find security events
• How to identify brute force patterns from log analysis — frequency + source IP
• The importance of Account Lockout Policy in preventing brute force attacks
• How Lab 01 (Nmap) and Lab 02 (Brute Force) connect — recon leads to targeted attack
• How SOC analysts use SIEM queries to detect brute force patterns automatically
• The Cyber Kill Chain in action across two labs — Reconnaissance → Exploitation
Saravanan — transitioning from Food Technology into Cybersecurity with a focus on SOC Analysis and Blue Team operations. This lab is part of my Mini SOC Home Lab series documenting hands-on learning.
- LinkedIn: linkedin.com/in/saravanan-cyber
- Email: career.entrydesk@gmail.com
- Location: Thiruvallur, Tamil Nadu, India
"Every attack leaves a trace. A good SOC analyst finds it." ■ If this lab helped you, give it a star!