gpt-4o

KQL Benchmark Performance Analysis

Performance Overview

Success Rate

37.8%

(71 / 188 successful)

Average Attempts

3.46

per question

Avg. Execution Time

7.15s

Total Cost

$8.1453

Detailed Test Results

Showing 1 to 50 of 188 results
Page 1 of 4
Detailed breakdown of each test case (Page 1 of 4).
#Prompt (Question)MITRE ATT&CKCorrect AnswerLLM AnswerCorrectKQL Query from LLM
1
On a Windows host, an attacker leveraged COMSVCS.DLL via rundll32.exe to dump the memory of svchost.exe into a file under the Temp directory. Review the file creation logs to determine the exact name of the dump file that was generated.
svchost-exe.dmp
svchost-exe.dmp
DeviceFileEvents | where FolderPath contains "Temp" and InitiatingProcessFileName == "rundll32.exe" and InitiatingProcessCommandLine contains "COMSVCS.DLL" | project TimeGenerated, FileName, FolderPath, InitiatingProcessCommandLine
2
Using Windows process event logs, investigate PowerShell activity around lsass.exe memory capture. What was the name of the script file invoked to perform the dump?
Out-Minidump.ps1
Out-Minidump.ps1
DeviceProcessEvents | where InitiatingProcessFileName == "powershell.exe" | where ProcessCommandLine has "lsass" | extend ScriptFileName = FileName
3
On a Linux host, a ping command was executed to test internet connectivity. Determine which IP address was used as the ping target.
8.8.8.8
8.8.8.8
DeviceProcessEvents | where ProcessCommandLine contains "ping" | project InitiatingProcessCommandLine, DeviceId, DeviceName, TenantId, TimeGenerated
4
On a Linux system, review process creation logs to spot any dd commands reading from /proc/*/mem. What was the name of the file where the dumped memory was written?
T1003.007.bin
/tmp/T1003.007.bin
DeviceProcessEvents | where ProcessCommandLine contains "dd" and ProcessCommandLine contains "/proc/" and ProcessCommandLine contains "/mem" | project InitiatingProcessCommandLine, FileName
5
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.
Format-Hex
N/A
6
In a Linux environment, an elevated process was used to execute a command that read /etc/shadow and redirected its output to a file. Identify what file name was employed to store these results.
T1003.008.txt
N/A
7
An analyst notices a PowerShell process on a Windows host that appears to be checking SMB connectivity. Which PowerShell cmdlet was executed to perform this outbound port 445 test?
Test-NetConnection
Invoke-AtomicTest
DeviceProcessEvents | where InitiatingProcessFileName =~ "powershell.exe" and ProcessCommandLine has "445" | project TimeGenerated, DeviceName, AccountName, InitiatingProcessCommandLine, InitiatingProcessVersionInfoFileDescription
8
On a Windows endpoint, review process creation logs to uncover when a built-in utility was used to reveal ARP entries. What exact command was used to list the ARP cache?
arp -a
arp -a
DeviceProcessEvents | where ProcessCommandLine contains 'arp' and ProcessCommandLine contains ' -a' | project TimeGenerated, DeviceName, ProcessCommandLine, InitiatingProcessAccountName
9
An analyst suspects a user or script ran a service enumeration command on a Linux system. Review process events to find the service-listing invocation and specify the full command that was executed.
systemctl --type=service
N/A
10
On Windows devices, identify the full command used when the built-in credential manager utility was invoked to list stored credentials. What was the exact command?
cmdkey /list
cmdkey.exe /list
DeviceProcessEvents | where ProcessCommandLine contains "cmdkey.exe" and ProcessCommandLine has "list" | project DeviceId, DeviceName, ProcessCommandLine
11
A Windows host executed an ICMP-based network reconnaissance using a looping instruction in cmd.exe. Identify the exact command line that was used to perform the ping sweep.
for /l %i in (1,1,254) do ping -n 1 -w 100 192.168.1.%i
"cmd.exe" /c for /l %i in (1,1,254) do ping -n 1 -w 100 192.168.1.%i
DeviceProcessEvents | where InitiatingProcessFileName == "cmd.exe" | where InitiatingProcessCommandLine has_all ("ping", "-n", "&&") or InitiatingProcessCommandLine has_any ("for", "loop", "%%") | project TimeGenerated, DeviceName, InitiatingProcessCommandLine, InitiatingProcessAccountDomain, InitiatingProcessAccountName
12
On a Windows host, someone appears to have run a built-in network shell utility to list saved wireless network profiles and their passwords in clear text. Review the process creation logs to discover the exact command that was executed.
netsh wlan show profile * key=clear
N/A
13
A Linux host’s Syslog shows a shell-based network discovery script ran multiple commands. One of them listed current TCP connections. Which utility was invoked?
netstat
N/A
14
Review Linux process execution records for any commands that list TCP metric cache entries and filter out loopback interfaces. Which utility was used?
ip
N/A
15
On a Linux system, spotting a file‐size change by exactly one byte can indicate hash tampering via padding. Review process execution logs for invocations that increased a file’s size by one byte. Which utility was invoked to perform this padding?
truncate
N/A
16
A Windows host shows a process launch with an extremely obfuscated command line that dynamically builds and invokes code at runtime. Which process name was used to execute this payload?
powershell
N/A
17
On Windows hosts, look through recent PowerShell execution records to find any elevated session where remote management was turned on. What exact command was run to enable PSRemoting?
Enable-PSRemoting -Force
Enable-PSRemoting -Force
DeviceProcessEvents | where FileName endswith "powershell.exe" and ProcessTokenElevation != "" and ProcessTokenElevation !in ("Default") and (isnotempty(IsInitiatingProcessRemoteSession) or isnotempty(IsProcessRemoteSession)) | where ProcessCommandLine contains "Enable-PSRemoting" or ProcessCommandLine contains "winrm quickconfig" or ProcessCommandLine contains "Set-WSManQuickConfig" | project DeviceName, InitiatingProcessAccountName, ProcessCommandLine, TimeGenerated
18
On a Windows endpoint, look for evidence of a base64-encoded PowerShell payload execution. Which executable launched the encoded command?
powershell.exe
N/A
19
On a Linux system, identify the script that was generated by decoding a base64 data file and then executed. What was the filename of that script?
art.sh
N/A
20
Analyze Windows process events for any schtasks.exe commands that created a new task invoking PowerShell. What is the name of the .ps1 script specified to run?
T1036.004_NonExistingScript.ps1
T1036.004_NonExistingScript.ps1
DeviceProcessEvents | where FileName == "schtasks.exe" and ProcessCommandLine contains "powershell" | extend PSFileName = extract(@"([\w\/\:\-]+\.ps1)", 1, ProcessCommandLine) | where isnotempty(PSFileName) | project DeviceId, DeviceName, ProcessCommandLine, PSFileName, TimeGenerated
21
In a Linux environment, you observe a process labeled like the cron daemon but running from an unexpected path. Investigate creation events to uncover the actual filename used by this fake cron process.
crond
N/A
22
A process is running under a familiar Windows host name but originates from a user's AppData folder rather than the System32 directory. Identify the filename used to masquerade the PowerShell binary on this Windows device.
taskhostw.exe
N/A
23
On a Windows system, someone ran PowerShell to copy a file from a remote machine’s C$ share to the local TEMP folder. Using process event logs, what full PowerShell command was executed to perform this action?
copy-item -Path "\\127.0.0.1\C$\Windows\temp\Easter_Bunny.password" -Destination "$Env:TEMP\Easter_egg.password"
powershell.exe & {copy-item -Path \\\\127.0.0.1\\C$\\Windows\\temp\\Easter_Bunny.password -Destination \$Env:TEMP\\Easter_egg.password}
DeviceProcessEvents | where FileName contains "powershell" and ProcessCommandLine contains "copy" and ProcessCommandLine contains "C$" and ProcessCommandLine contains "TEMP" | project ProcessCommandLine
24
A Linux host briefly hosted an HTTP service under /tmp. Examine process creation logs to determine the exact python3 command that was used to start the server on port 9090.
python3 -m http.server 9090
python3 -m http.server 9090
DeviceProcessEvents | where InitiatingProcessCommandLine has "python3" and InitiatingProcessCommandLine has "-m http.server" and InitiatingProcessCommandLine has "9090" and InitiatingProcessCommandLine has "/tmp" | project TimeGenerated, DeviceName, InitiatingProcessCommandLine
25
A user launched a Windows command prompt and executed a built-in utility to enumerate all active network connections. Using process creation logs, identify the exact tool that produced the list of current connections.
netstat
netstat
DeviceProcessEvents | where ActionType == "ProcessCreated" | where InitiatingProcessCommandLine has_any ("netstat", "nbtstat") | extend ToolName = iff(InitiatingProcessCommandLine has "netstat", "netstat", iff(InitiatingProcessCommandLine has "nbtstat", "nbtstat", "")) | project TimeGenerated, InitiatingProcessAccountName, InitiatingProcessCommandLine, ToolName
26
A Windows host shows a core command-line utility being duplicated from its System32 location to a user-profile folder and subsequently run. Identify the name of the executable that was copied.
cmd.exe
N/A
27
Linux hosts may log events when new files are added to /var/spool/cron/crontabs. Query those logs for a creation or write action in that directory and determine the file name that was added.
persistevil
persistevil
DeviceFileEvents | where FolderPath contains '/var/spool/cron/crontabs' and ActionType in ('FileCreated', 'FileModified') | project TimeGenerated, FileName, FolderPath, ActionType
28
Windows process creation logs show a PowerShell-driven file transfer to an FTP service. Which executable was leveraged to perform this exfiltration?
rclone.exe
rclone.exe
let PowerShell_FTP_Events = DeviceProcessEvents | where InitiatingProcessFileName =~ 'powershell.exe' and InitiatingProcessCommandLine contains 'ftp' | project Timestamp, InitiatingProcessCommandLine, InitiatingProcessFileName, DeviceName, AccountName; PowerShell_FTP_Events
29
On a Windows endpoint you observe a PowerShell process that fetches a script from the internet and immediately executes an RPC service scan against the spooler. Which function name was invoked to perform that scan?
spoolvulnscan
N/A
30
You suspect malicious persistence via scheduled tasks on a Windows endpoint. Review the process execution logs to identify the built-in utility used to register tasks at logon or startup. What is the name of this utility?
schtasks
schtasks.exe
DeviceProcessEvents | where FileName in ('schtasks.exe', 'taskeng.exe') | where InitiatingProcessCommandLine contains 'create' or InitiatingProcessCommandLine contains 'logon' or InitiatingProcessCommandLine contains 'startup' | project DeviceName, AccountName, FileName, ProcessCommandLine, ProcessCreationTime
31
A threat actor on a Windows system crafted and registered a service named almost identically to the standard time service, but redirecting execution to a custom script. Review the logging data to determine which native command-line tool was used to perform this action. What utility was invoked?
sc
N/A
32
In a Windows log analytics workspace, search for PowerShell processes that were used to enumerate network connections. Determine which PowerShell cmdlet was executed to list active TCP connections.
Get-NetTCPConnection
N/A
33
On a Windows device, PowerShell was used to collect a snapshot of running processes. Identify the exact cmdlet that was executed.
Get-Process
Get-NetTCPConnection
DeviceProcessEvents | where InitiatingProcessCommandLine contains "powershell" and InitiatingProcessCommandLine contains "Get-Process" | project DeviceId, DeviceName, InitiatingProcessCommandLine, TimeGenerated
34
A reconnaissance tool was executed on a Windows system. Identify the specific function of the tool that was executed. The function has a name from something you can eat
fruit
N/A
35
A Windows endpoint recorded a command-line activity through cmd.exe that lists all running processes. Determine which built-in tool was executed to perform this action.
tasklist
tasklist.exe
DeviceProcessEvents | where InitiatingProcessFileName == "cmd.exe" and InitiatingProcessCommandLine contains "tasklist" | summarize ExecutedTool = any(FileName) by DeviceName, ProcessCreationTime
36
On Windows, review recent registry changes to detect when the MSC file association was hijacked by a reg add operation. What executable file was configured as the default command under HKCU\Software\Classes\mscfile\shell\open\command?
calc.exe
N/A
37
Examine the logs from the Linux system for events related to the systemd timer activation. Identify any records indicating that a new timer unit was started and enabled, and determine which timer name was used.
art-timer.timer
N/A
38
On a Windows host, investigate process events to find when Task Manager was launched via cmd with an unusual flag. What was the full command executed?
taskmgr.exe /7
N/A
39
On a Windows host, find any scheduled task that was registered using PowerShell native cmdlets instead of schtasks.exe. What was the name given to the new task?
AtomicTask
N/A
40
Review the process creation logs on a Windows host to uncover any tool execution indicative of a special APC injection for shellcode execution. What was the name of the executable used?
NtQueueApcThreadEx.exe
N/A
41
Investigate Windows process events for PowerShell activity that leverages WMI to register a scheduled task via XML import. What was the name of the XML file supplied to the RegisterByXml method?
T1053_005_WMI.xml
N/A
42
An analyst suspects that a restricted shell escape was executed using a common Perl package manager on Linux. Review the process execution records to determine which tool was invoked to spawn the shell.
cpan
dash
DeviceProcessEvents | where InitiatingProcessFileName =~ "perl" or InitiatingProcessFileName =~ "cpan" | where FileName has_any ("bash", "sh", "shell") or ProcessCommandLine has_any ("bash", "sh", "shell") | project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine
43
A malicious actor may attempt to list running processes on a Windows machine using a WMI-based command. Review the process creation events to find out which utility was invoked to perform this enumeration.
wmic.exe
N/A
44
While reviewing Windows process events, you spot a PowerShell process executing a WMI enumeration cmdlet. What WMI class name did the attacker query?
Win32_Process
N/A
45
On a Windows device, review the process execution logs to find instances where a built-in listing tool was piped into a string filter. Identify the process name that the attacker was searching for.
lsass
N/A
46
Which full interactive shell command, as recorded in the Linux process logs, repeatedly echoed a distinctive marker message to the terminal?
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
sh -c 'for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done'
DeviceProcessEvents | where ProcessCommandLine contains "echo" | extend EchoedMessage = extract(@"echo\s+(.*)", 1, ProcessCommandLine) | summarize Count = count() by ProcessCommandLine, EchoedMessage | where Count > 1
47
An attacker on a Linux host may try to enumerate installed shells by reading the system file that lists valid shells. Using process or syslog data, determine which command was executed to perform this enumeration.
cat /etc/shells
cat /etc/shells
let suspicious_file="/etc/shells"; DeviceProcessEvents | where ProcessCommandLine has suspicious_file or InitiatingProcessCommandLine has suspicious_file | project TimeGenerated, DeviceId, DeviceName, AccountName, InitiatingProcessCommandLine, InitiatingProcessCreationTime
48
On a Linux system, find any process creation record where awk is used with a BEGIN rule to launch a shell. What was the exact command invoked?
awk 'BEGIN {system("/bin/sh &")}’
awk 'BEGIN {system("/bin/sh &")}'
DeviceProcessEvents | where InitiatingProcessCommandLine has "awk" and InitiatingProcessCommandLine matches regex @"BEGIN.*sh" | project TimeGenerated, DeviceName, DeviceId, InitiatingProcessCommandLine
49
During a Linux investigation, you notice processes spawning curl and wget commands that pull a script from a remote GitHub raw URL and pipe it into bash. Identify the name of the script that was retrieved and executed.
echo-art-fish.sh
AutoSUID.sh
DeviceProcessEvents | where InitiatingProcessCommandLine contains "curl" or InitiatingProcessCommandLine contains "wget" | where InitiatingProcessCommandLine matches regex @"https:\/\/raw.githubusercontent.com\/.*\.sh" and InitiatingProcessCommandLine contains "bash" | extend ScriptName = extract(@"[\w-]+\.sh", 0, InitiatingProcessCommandLine) | project Timestamp, DeviceId, DeviceName, InitiatingProcessCommandLine, ScriptName
50
Review recent Windows process event logs for PowerShell activity that suggests local group enumeration through WMI. What exact command was executed?
Get-WMIObject Win32_Group
Get-WMIObject Win32_Group
DeviceProcessEvents | where FileName == "powershell.exe" and isnotempty(ProcessCommandLine) and (ProcessCommandLine has "Get-WmiObject" or ProcessCommandLine has "wmic") and (ProcessCommandLine has "localgroup" or ProcessCommandLine has "group") | project TimeGenerated, DeviceName, AccountName, ProcessCommandLine
Page 1 of 4