Operation Tesla Coil

The accountants' server got hit by a storm of password guesses at 6 a.m. The lockout defence fired and saved one account. Then the attacker found a door nobody was guarding. Follow the Sub Status codes and find it.

At a glance

Type
Walkthrough (guided: every task says where to look)
Difficulty
Easy
Time
about 25 min
Tools
Event Viewer, Chainsaw
Skills
Windows Event Log Analysis, Brute Force and Password Spraying Detection
Exam prep
Security+, CySA+, BTL1
MITRE ATT&CK tactics
Credential Access, Initial Access, Discovery
Tasks
14

The scenario

CASE FILE 5178 · OPERATION TESLA COIL · PRIORITY HIGH

Tuesday, 07:50. Moerdijk & Vos, a small accounting firm, runs one terminal server, MV-TS01. Staff connect to it with Remote Desktop from the office. To let people work from home in the summer, port 3389 was opened to the internet.

HIGH 06:15 · Account locked out: e.vos

Eva Vos arrives at 07:45 and cannot log in: her account is locked. The server has an account lockout policy that fires after 10 bad passwords, like a Tesla coil that zaps anyone who touches it too often. Someone triggered it before sunrise.

Partner Rob Moerdijk unlocked Eva's account and exported the server's Security log for you. It covers a normal Monday and Tuesday morning. Who was guessing, did the coil stop them, and did they get in anywhere else?

What you will investigate

  1. Open the evidence bag
  2. Find the storm
  3. Roll call
  4. Ghost names
  5. A real name
  6. The coil fires
  7. When it fired
  8. Who touched the coil
  9. Knocking on a locked door
  10. Plan B
  11. The baseline
  12. First look around
  13. Did the coil work?
  14. File your report

Terms you will meet

Brute force
Trying many passwords against an account until one works.
Account lockout
A policy that blocks an account for a while after too many bad passwords.
4740
A user account was locked out. Caller Computer Name says where the bad passwords came from.
0xC0000064
Sub Status: the user name does not exist.
0xC000006A
Sub Status: the user name exists, the password is wrong.
0xC0000234
Status: the account is locked out.
Enumeration
Finding out which user names exist before guessing passwords.

Key takeaways

  • Sub Status 0xC0000064 in bulk from one IP means someone is enumerating user names.
  • Event 4740 is your lockout alarm. Several from outside in a short time is an attack, not forgetful staff.
  • Lockout protects the account being guessed, not the whole server. Attackers move to the next account.
  • Service and device accounts (copiers, backup jobs) need long random passwords and no RDP rights.
  • Never expose Remote Desktop straight to the internet.

How to talk about this case in an interview

I investigated an RDP brute force on a terminal server. The 4625 Sub Status codes showed the attacker first guessing user names (0xC0000064), then hammering a real account until the lockout policy fired (4740). They switched to a forgotten service account with a weak password and got in. I showed the lockout slowed them down but did not stop them, and recommended closing RDP to the internet.

Back to all cases

ColdCase Labs: Learn cyber security by reopening cold cases.