Answers for the TryHackMe Splunk: Exploring SPL Room

The TryHackMe Splunk: Exploring SPL is a free room from TryHackMe that goes through the basics of what Splunk is and how to write Splunk queries. The room is available at: https://tryhackme.com/room/splunkexploringspl?vccr=1

1.1 Submit your first query for All Time: index=windowslogs.
How many total events do you see?

Answer: 12256

1.2 After you submit your first query, look in the Fields sidebar.
Which SourceIP has recorded the most amount of events?

Answer: 172.90.12.11

1.3 How many events appear on 04/15/2022 from 08:05 AM to 08:06 AM?

Answer: 134

2.1 How many events in the windowslogs index have an EventID field value equal to 4624?

Answer: 26

2.2 How many events are observed with the DestinationIp = 172.18.39.6 and DestinationPort = 135?

Answer: 4

2.3 Use the query index=windowslogs Hostname=Salena.Adam DestinationIp=172.18.38.5
Which SourceIp returns the highest count?

Answer: 172.90.12.11

2.4 How many events are returned when you search the term cyber*?

Answer: 12256

2.5 Which operator is given the lowest priority in Splunk searches?

Answer: AND

3.1 Use the fields command to highlight Domain, SourceProcessId, and TargetProcessId.
Which SourceProcessId has the highest value?

Answer: 9496

3.2 Try out this query index=windowslogs | regex TargetObject="Manager$".
Which TargetObject field value contains the highest number of results?

Answer: HKLM\SOFTWARE\Microsoft\SecurityManager

4.1 Build a table that highlights the EventID, AccountName, and AccountType fields.
Which AccountName appears first in your results?

Answer: SYSTEM

4.2 Append the above query to include the reverse command.
Which EventID appears first?

Answer: 800

4.3 Use the query below to build a timeline of events.
What password was given to the user A1berto?

index=windowslogs EventID=1
| table _time ParentProcessId ProcessId ParentCommandLine CommandLine
| reverse

Answer: paw0rd1

5.1 Use the top command to query the Image field.
Which Image field value has the most occurrences?

Answer: C:\windows\system32\svchost.exe

5.2 Try out the iplocation command with the SourceIp field.
Which Region do the IP addresses in your events originate from?

Answer: California

5.3 Try out this lookup query. Which Image field value has the highest RiskScore?

index=windowslogs
| lookup image_riskscore Image OUTPUT RiskScore
| stats count by Image RiskScore
| sort - RiskScore

Answer: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

6.1 Run the first anomaly detection query (index=vpnlogs).
Which other user is marked as an outlier?

Answer: jsmith

6.2 Which country is anomalous for the user from Q1?
Answer Example: CN

Answer: JP

6.3 Run the second anomaly detection query (index=vpnlogs).
Which user suspiciously logged in at 3 AM?

Answer: njackson

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.