SOC Console
A practice SIEM with a Splunk-style search language. It holds a week of logs from Larkspur Logistics, a fictional freight company with about 60 staff: Windows and Sysmon events, firewall, DNS, VPN, web proxy, web server, Linux and email logs. Several attacks are hidden in the everyday noise. Search, pivot on fields, chart the results and build your own reports, alerts and dashboards. Everything runs in this page; nothing you type leaves your browser.
How to use the console
- Search: type a search and press Enter (Shift+Enter adds a line). Start with an index, for example
index=wineventlog, addfield=valuepairs to narrow it down, then pipe the events into commands:| stats count by user. Choose the time range beside the search box. - Events: the timeline shows when matching events happened; select a bar to zoom in. Expand an event to see its fields. Select any value to add it to your search, or exclude it.
- Fields: the sidebar lists the fields in your results. Select a field for its top values and quick reports.
- Statistics and Visualization: transforming commands (
stats,top,timechart,chart,table) fill these tabs. Sort a column by selecting its heading. - Save as: keep a search as a report, turn it into a scheduled alert, or add it to a dashboard as a panel. Alerts replay their schedule over the week, so you can see every time they would have fired.
- Your reports, alerts, dashboards and search history are saved in this browser only.
Loading the SOC Console…
Hunt ideas
Each question has an answer in the data. Write down the search that proves it, the time it happened and the hosts and accounts involved, the way you would in a ticket.
- Someone hammered the web server’s SSH service. From which address? Did any attempt succeed, and what did that account do next?
- Dozens of accounts failed to sign in to the VPN within minutes of each other. Where did the attempts come from, and did any account fall?
- Finance received an invoice email with a macro-enabled attachment. Who received it, who opened it, and what ran on that computer afterwards?
- One workstation contacts the same outside domain about every five minutes. Which one? Try timechart, or transaction with maxpause.
- A service account logged on to the file server from a workstation, which it never normally does. When, from where, and what was installed?
- A new account appeared and joined a privileged group. Which account created it, and when?
- Look for unusually large uploads leaving the network. How much data left, to where, and from which machine?
- The tracking website returned server errors to one client for several minutes. What were they trying, and did one request succeed?
- Was any log cleared this week? On which host, and by whom?
Larkspur Logistics
A regional freight and warehousing firm: one office, a public shipment-tracking website and about 60 staff in Finance, Operations, Dispatch, Sales, HR, IT, Executive and Warehouse teams. Usernames look like m.okafor; the Active Directory domain is larkspur.local (NetBIOS LARKSPUR). Staff usually work 7 AM to 5 PM; Dispatch and Warehouse start earlier and some work weekends. A nightly backup runs on FS01 at 1 AM as svc_backup. The company, its people, domains and addresses are invented.
| Host | Address | Role |
|---|---|---|
DC01, DC02 | 10.10.0.10, 10.10.0.11 | Domain controllers and DNS for larkspur.local |
FS01 | 10.10.0.20 | File server with the Finance, Operations and HR shares |
SQL01 | 10.10.0.30 | Dispatch database |
PROXY01 | 10.10.1.8 | Web proxy for all office browsing |
MX01 | 10.10.1.25 | Email security gateway |
VPN01 | 10.10.1.5 (public 192.0.2.11) | Remote-access VPN; remote users get 10.30.0.0/24 addresses |
FW01 | 10.10.1.1 | Perimeter firewall |
web01 | 172.16.10.20 (public 192.0.2.10) | Public tracking website in the DMZ, Ubuntu |
WS-<dept>-<nn> | 10.20.<dept>.<11+> | About 60 Windows workstations. Departments: FIN 1, OPS 2, DSP 3, SLS 4, HR 5, IT 6, EXE 7, WHS 8 |
Log sources
| Index | Sourcetype | What it holds | Useful fields |
|---|---|---|---|
wineventlog | WinEventLog | Windows Security and System logs from the domain controllers, the file server and every workstation: logons (4624, 4625, 4634), Kerberos (4768, 4769), process creation (4688), account and group changes (4720, 4722, 4728, 4740), explicit credentials (4648), special privileges (4672), service installs (7045) and log clearing (1102). | EventCode, user, src_ip, Logon_Type, Workstation_Name, src_user, Process_Command_Line |
sysmon | XmlWinEventLog | Sysmon on workstations and servers: process creation (1), network connections (3), file creation (11), registry changes (13) and DNS queries (22). | EventCode, Image, process_name, CommandLine, ParentImage, parent_process_name, DestinationIp, QueryName, TargetFilename |
network | fw:traffic | The perimeter firewall: allowed and blocked connections between the internet, the DMZ and the office. | action, src_ip, dest_ip, dest_port, bytes_in, bytes_out, rule, app |
network | dns | DNS queries answered by the domain controllers. | src_ip, query, record_type, reply_code, answer |
network | vpn | Remote-access VPN logins and sessions. | user, src_ip, assigned_ip, action, reason |
proxy | proxy:web | Every web request from the office, through the web proxy. | user, src_ip, dest, url, http_method, status, bytes_in, bytes_out, category, http_user_agent |
web | access_combined | The public shipment-tracking website (nginx). | clientip, method, uri_path, uri_query, status, bytes, useragent |
linux | linux_secure | Authentication log on the web server: SSH logins, sudo and cron. | process, user, src_ip, action, COMMAND |
email | email:gateway | The email security gateway: inbound, outbound and internal mail. | sender, recipient, subject, attachment, file_hash, action, spam_score |
Search language
The search
field=value, field!=value, < > <= >=, wildcards (user=svc_*), quoted phrases, bare keywords that match the raw event, AND, OR, NOT, parentheses, field IN (a, b), and earliest=-24h latest=now time modifiers (-7d@d, @w0). Values are not case-sensitive; field names are.
Commands
where, eval, stats, eventstats, table, fields, rename, sort, head, tail, reverse, dedup, top, rare, timechart, chart, bin, rex, regex, fillnull, transaction, mvexpand, makeresults, addtotals, bucket
Statistics functions
count, dc, sum, avg, min, max, median, perc95 (any percentile), range, stdev, mode, values, list, earliest, latest, with as to rename and by to split.
eval and where functions
if, case, coalesce, isnull, isnotnull, isnum, len, lower, upper, substr, replace, split, trim, urldecode, match, like, cidrmatch, in, mvcount, mvindex, mvjoin, mvappend, round, floor, ceil, abs, pow, log, tonumber, tostring, now, strftime, strptime, relative_time, printf. Operators: + - * / %, . to join text, comparisons, AND OR NOT, LIKE.
Limits
This is a teaching simulator with its own engine, not Splunk. Subsearches, lookups, join, macros, data models and real-time searches are not available; commands outside the console say so instead of failing silently. Splunk is a trademark of its owner; this console is not affiliated with or endorsed by it.