Skip to content
CyberSimStart training
Illustration for the case: Certutil and PowerShell bypass on many machines at night

Endpoint case

Certutil and PowerShell bypass on many machines at night

certutil, wmic and PowerShell with a bypass flag, on many machines, at night. L1 escalated it as an attack.

Open this case

Free. Read the briefing as a guest; investigating needs a free account.

The alert

Living-off-the-land binaries chained by PowerShell

certutil, wmic and powershell -ExecutionPolicy Bypass on RID-WS-0517 at night, and the same on lots of other machines. LOLBins everywhere = attacker?? Escalating.

From one version of the case: the company, the people and the details change with every attempt.

About this kind of alert

Living off the land: certutil, WMIC and PowerShell are built into Windows, and attackers and administrators use them alike. Context decides.

What you do

  1. Read the escalation from an L1 colleague and the events they attached.
  2. Hunt the logs in KQL (Microsoft Sentinel) or SPL (Splunk) and pin the evidence.
  3. Find the root cause and scope the incident: which accounts and hosts are affected.
  4. Map what you found to MITRE ATT&CK, set the severity and choose the response.
  5. Get a debrief: what happened, the evidence you missed, and what the attacker does next if you were wrong.

Logs you will query

Microsoft SentinelSplunk
AuditLogsindex=azure sourcetype=azure:monitor:aad
SecurityEventindex=wineventlog sourcetype=XmlWinEventLog
Sysmonindex=sysmon sourcetype=XmlWinEventLog

Part of

More endpoint cases