Check the event ID

Módulo 1: Triage with AI, and check every query

Conteúdo do curso

Esta aula ainda não está no seu idioma, então aqui está em inglês.

Encontre os erros

Guess first, no penalty. You asked for "accounts with more than 20 failed sign-ins from one IP in the last hour". The AI's KQL query runs. Tap the line that makes it count the wrong thing.

The query, line by line

0 de 1 encontrados

An event ID is the number Windows gives each kind of security event. Microsoft's reference pages name them exactly. Event 4625 is "An account failed to log on", and the page says it "is logged for any logon failure". Event 4624 is "An account was successfully logged on".

One digit sends a query after normal activity instead of an attack. It still runs, and it still returns results: the accounts that sign in a lot. That looks like an answer, which makes it worse than an error.

The same page lists status codes that tell you why a logon failed. 0xC000006A means a bad password. 0xC0000064 means a misspelled or bad username, and Microsoft notes that several in a row "can be a sign of a user enumeration attack" (someone guessing which accounts exist).

So check every event ID and value an AI uses against the vendor's reference page, before you trust a single result.

A worked example

Fixed query:
SecurityEvent
| where TimeGenerated > ago(1h)
| where EventID == 4625
| summarize Attempts = count() by Account, IpAddress
| where Attempts > 20

Check note: 4625 = "An account failed to log on" (Microsoft event reference).

Preencha as lacunas

Fill the gaps.

Check note

Failed logons are event , per . A run of status 0xC0000064 can mean someone is .

Try it

Seus passos, cerca de 2 minutos

0 de 1
  1. 1.Pick one query you use and look up every event ID in it on Microsoft's reference pages. Add "check every event ID against the vendor reference" to your checklist.2 min

Exercícios

Pergunta 1 de 2

An AI query for failed sign-ins filters on EventID == 4624. What's wrong?

Tutor de IA

Tire dúvidas sobre esta aula e tenha ajuda na tarefa do “Experimente”. O tutor faz parte do Learn Pro.

Ver o Learn Pro