πŸ““ Overview

This challenge is about analyzing the Windows Event Logs to investigate Remote Desktop Protocol (RDP) bruteforce attempts. It’s includes analyzing a large volume log of Audit failures to identify specific Indicator of Compromises (IoCs).

Tools used

  • Windows Events Log Viewer to extract information about the bruteforce event.
  • TimelineExplorer.exe (Zimmerman-Tools) for analyzing attempted events on the host.

πŸ’» Initial analysis

In this challenge, we are provided with 3 evidence files:

  1. BTLO_Bruteforce_Challenge.txt: A raw text export of the Windows Security Event logs.
  2. BTLO_Bruteforce_Challenge.csv: The log data structured in a tabular format. Each column has a specific log field (e.g., Event ID, Account Name, IP Address).
  3. BTLO_Bruteforce_Challenge.evtx: A native binary file format for Windows Events Log Viewer.

πŸ‘¨β€πŸ’» Q&A

T-1. How many Audit Failure events are there? (Format: Count of Events)?

Opening the file BTLO_Bruteforce_Challenge.csv in TimelineExplorer.exe, we can count the number of failed login attempts by Event ID: 4625 (failed logon attempt):

This event is generated by Microsoft Windows Security Auditing provider. Whenever the authentication fails, it captures the details of target account, src IP, logon type along with specific failure reasons.

If the Audit Logon policy weren’t enabled on the host, we wouldn’t be able to see these attempts in the security logs.

T-2. What is the username of the local account that is being targeted? (Format: Username)

Looking BTLO_Bruteforce_Challenge.evtx in Windows Event Logs Viewer, we can find the username administrator was targeted for logon attempts:

Looking up the FailureReason %%2313, it means that username is unknown or password is incorrect, indicating β€œUnknown username or bad password” as failure reason.

T-4. What is the Windows Event ID associated with these logon failures? (Format: ID)

The event ID 4625 is associated with these logon failures.

T-5. What is the source IP conducting this attack? (Format: X.X.X.X)

Looking at Windows Events Viewer again, the src IP address 113.161.192.227 is captured as the one who tried to logon:

T-6. What country is this IP address associated with? (Format: Country)

Looking up the IP address, we can see that public IP is from ISP: Vietnam Posts and Telecommunications Group, located in Vietnam:

T-7. What is the range of source ports that were used by the attacker to make these login requests? (LowestPort-HighestPort - Ex: 100-541)

βš” MITRE tactics mapping

πŸ›‘ Detection rules

πŸ’­ Lessons learned