Question Analysis

Identify the PowerShell cmdlet used on Windows to format and display the raw volume bytes after an attacker read the boot sector via a DOS device path.

88f6327e-51ec-4bbf-b2e8-3fea534eab8b
Question ID
6/16
Models Correct
1
Valid Answer
38%
Success Rate
Reference Answer

Human-validated correct answer for this question

Format-Hex
Model Performance Comparison

See how different AI models performed on this question

ModelAnswerKQL QueryStatusAttemptsTimeCost
gemini-2.5-flash-preview-04-17
No answer provided
No query generated
Incorrect
5
0.00s
0.0347
gpt-35-turbo
No answer provided
No query generated
Incorrect
5
0.00s
0.0112
gpt-4-turbo-2024-04-09
No answer provided
No query generated
Incorrect
5
0.00s
0.2333
gpt-4.1
Format-Hex
DeviceProcessEvents | where FileName =~ "powershell.exe" | where ProcessCommandLine has "\\.\\" and (ProcessCommandLine has "PhysicalDrive" or ProcessCommandLine has ":") | where ProcessCommandLine has_any ("format-hex", "[byte]", "get-content", "-encoding byte", "convertto-hex") | project TimeGenerated, DeviceName, AccountName, ProcessCommandLine, InitiatingProcessCommandLine
Correct
1
7.20s
0.0118
gpt-4.1-finetuned
No answer provided
No query generated
Incorrect
5
0.00s
0.0499
gpt-4.1-mini
No answer provided
No query generated
Incorrect
5
0.00s
0.0087
gpt-4.1-nano
No answer provided
No query generated
Incorrect
5
0.00s
0.0021
gpt-4o
No answer provided
No query generated
Incorrect
5
0.00s
0.0602
grok-3-beta
Format-Hex
DeviceProcessEvents | where InitiatingProcessFileName =~ 'powershell.exe' | where ProcessCommandLine has_any ('Format-Hex', '\\.\\', 'Read', 'Boot', 'Sector', 'Volume', 'Raw', 'Bytes') | project Timestamp, DeviceName, AccountName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine | order by Timestamp desc
Correct
1
13.20s
0.0384
grok-3-mini-beta
Format-Hex
DeviceProcessEvents | where FileName == 'powershell.exe' | where ProcessCommandLine contains 'PhysicalDrive' or ProcessCommandLine contains '\\.\\' or ProcessCommandLine contains 'boot sector' | project TimeGenerated, DeviceName, AccountName, ProcessCommandLine | order by TimeGenerated desc | limit 100
Correct
3
39.67s
0.0043
o1-high
No answer provided
No query generated
Incorrect
5
0.00s
0.7840
o1-low
Format-Hex
DeviceProcessEvents | where ActionType == "ProcessCreated" | where FileName endswith "powershell.exe" | where ProcessCommandLine has "Format-Hex" | where ProcessCommandLine has_any("\\.\\PhysicalDrive", "\\.\\C:") | project TimeGenerated, DeviceName, AccountName, ProcessCommandLine
Correct
1
27.24s
0.2012
o3-mini-high
Format-Hex
DeviceProcessEvents | where FileName =~ "powershell.exe" | where tolower(ProcessCommandLine) contains "format-hex" | where tolower(ProcessCommandLine) contains "\\.\\" | project TimeGenerated, DeviceName, FileName, ProcessId, ProcessCommandLine | order by TimeGenerated desc
Correct
4
43.60s
0.0358
o3-mini-low
No answer provided
No query generated
Incorrect
5
0.00s
0.0464
o4-mini-high
No answer provided
No query generated
Incorrect
5
0.00s
0.0424
o4-mini-low
Format-Hex
DeviceProcessEvents | where FileName in~ ("powershell.exe", "pwsh.exe") | where ProcessCommandLine has "Format-Hex" // Optionally narrow to DOS device paths | where ProcessCommandLine has "\\.\\" | project TimeGenerated, DeviceName, InitiatingProcessAccountName, ProcessCommandLine
Correct
1
30.62s
0.0103