gpt-4-turbo-2024-04-09

KQL Benchmark Performance Analysis

Performance Overview

Success Rate

39.4%

(74 / 188 successful)

Average Attempts

3.52

per question

Avg. Execution Time

7.79s

Total Cost

$32.6579

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 InitiatingProcessFileName == 'rundll32.exe' and InitiatingProcessCommandLine contains 'COMSVCS.DLL' and FolderPath contains 'Temp' | project FileName
2
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 FileName == "ping" | project DeviceName, ProcessCommandLine, TimeGenerated
3
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 FileName in ('cmd.exe', 'powershell.exe') | where ProcessCommandLine has 'cmdkey' | project DeviceName, InitiatingProcessCommandLine, ProcessCommandLine, TimeGenerated
4
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
netsh wlan show profile * key=clear
DeviceProcessEvents | where ProcessCommandLine has 'netsh' and ProcessCommandLine has 'wlan' and (ProcessCommandLine has 'show' and ProcessCommandLine has 'profile') | project DeviceName, AccountName, InitiatingProcessCommandLine, ProcessCommandLine, TimeGenerated, InitiatingProcessCreationTime
5
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
netstat
DeviceProcessEvents | where InitiatingProcessCommandLine has_any ('netstat', 'ss -t', 'ss -a', 'ss -r') | project DeviceName, InitiatingProcessCommandLine, ProcessCreationTime
6
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 FileName == 'cmd.exe' and ProcessCommandLine has 'for' and ProcessCommandLine has 'ping' | project DeviceName, ProcessCommandLine, TimeGenerated | distinct ProcessCommandLine
7
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 InitiatingProcessCommandLine has 'arp' and InitiatingProcessCommandLine has '-a' | project DeviceName, InitiatingProcessCommandLine, ProcessCreationTime
8
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
T1003.007.bin
DeviceProcessEvents | where ProcessCommandLine has 'dd' and ProcessCommandLine has '/proc/' and ProcessCommandLine has '/mem' | parse ProcessCommandLine with * 'of=' FileName ' ' * | project TimeGenerated, DeviceName, InitiatingProcessFileName, ProcessCommandLine, ProcessId, FileName
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
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
11
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
N/A
12
On a Windows endpoint, look for evidence of a base64-encoded PowerShell payload execution. Which executable launched the encoded command?
powershell.exe
powershell.exe
DeviceProcessEvents | where ProcessCommandLine has_any ('-EncodedCommand', 'eN') and InitiatingProcessFileName =~ 'powershell.exe' | project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessParentFileName, InitiatingProcessParentId, InitiatingProcessId | distinct TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, InitiatingProcessParentFileName, InitiatingProcessParentId, InitiatingProcessId
13
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
14
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
N/A
15
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
N/A
16
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
17
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
crond
DeviceProcessEvents | where FileName contains 'cron' and not(FolderPath startswith '/usr/sbin/') | project DeviceName, FileName, FolderPath, ProcessCommandLine, ProcessCreationTime, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath | order by ProcessCreationTime desc
18
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
sc
DeviceProcessEvents | where FileName has_any ('sc.exe', 'svchost.exe') | where ProcessCommandLine contains 'create' or ProcessCommandLine contains 'config' or ProcessCommandLine contains 'delete' | summarize Count=count() by ProcessCommandLine, InitiatingProcessFileName | order by Count desc
19
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
20
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
21
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
22
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 InitiatingProcessFileName == 'powershell.exe' | where ProcessCommandLine has 'copy' or ProcessCommandLine has 'cp' | where ProcessCommandLine has '\\c$' and ProcessCommandLine has 'TEMP' | project TimeGenerated, DeviceName, InitiatingProcessFileName, ProcessCommandLine | sort by TimeGenerated desc
23
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 InitiatingProcessFileName == 'cmd.exe' and ProcessCommandLine has 'netstat' | project DeviceId, DeviceName, AccountName, ProcessCommandLine, TimeGenerated | distinct DeviceId, DeviceName, AccountName, ProcessCommandLine, TimeGenerated
24
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
DeviceProcessEvents | where InitiatingProcessFileName == 'powershell.exe' and ProcessCommandLine has 'ftp' | project DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine, TimeGenerated
25
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
26
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
Get-NetTCPConnection
DeviceProcessEvents | where FileName == 'powershell.exe' | where ProcessCommandLine contains 'Get-NetTCPConnection' or ProcessCommandLine contains 'netstat' | project TimeGenerated, DeviceName, InitiatingProcessCommandLine, ProcessCommandLine
27
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
N/A
28
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
N/A
29
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
30
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
31
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
N/A
32
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
33
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
34
On a Windows device, PowerShell was used to collect a snapshot of running processes. Identify the exact cmdlet that was executed.
Get-Process
Get-Process
DeviceProcessEvents | where FileName == 'powershell.exe' and (ProcessCommandLine contains 'Get-Process' or ProcessCommandLine contains 'ps') | project DeviceId, DeviceName, ProcessCommandLine, TimeGenerated | limit 50
35
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
36
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
"cmd.exe" /c taskmgr.exe /7
DeviceProcessEvents | where FileName == 'Taskmgr.exe' and InitiatingProcessFileName == 'cmd.exe' | where ProcessCommandLine !contains '/s' | project TimeGenerated, DeviceName, AccountName, InitiatingProcessCommandLine, ProcessCommandLine
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, 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
39
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
DeviceProcessEvents | where FileName == 'schtasks.exe' and (ProcessCommandLine contains 'create' or ProcessCommandLine contains '/CREATE' or ProcessCommandLine contains '/create') | project DeviceName, AccountName, AccountDomain, InitiatingProcessParentFileName, ProcessCommandLine, Timestamp | distinct DeviceName, AccountName, AccountDomain, InitiatingProcessParentFileName, ProcessCommandLine, Timestamp
40
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
DeviceProcessEvents | where FileName =~ 'cmd.exe' and ProcessCommandLine has 'tasklist' | project DeviceName, ProcessCommandLine, TimeGenerated
41
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
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
cpan
DeviceProcessEvents | where (InitiatingProcessFileName has_any ('cpan','cpanm') or InitiatingProcessCommandLine contains 'cpan' or InitiatingProcessCommandLine contains 'cpanm') | where ProcessCommandLine has_any ('sh', 'bash', 'zsh') | project DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, ProcessCommandLine, TimeGenerated
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
driverquery
DeviceProcessEvents | where (InitiatingProcessCommandLine has_any('wmic', 'Get-WmiObject', 'gwmi', 'select', 'from', 'Win32_Process') or InitiatingProcessFileName =~ 'powershell.exe') | where InitiatingProcessCommandLine has 'list' or InitiatingProcessCommandLine contains 'Select *' | project DeviceName, InitiatingProcessCommandLine, ProcessCreationTime
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
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
LinEnum.sh
DeviceProcessEvents | where ProcessCommandLine has_any('curl', 'wget') and ProcessCommandLine contains 'bash' | extend ScriptUrl = tostring(split(ProcessCommandLine, '|')[0]) | extend ScriptName = tostring(split(ScriptUrl, '/')[array_length(split(ScriptUrl, '/')) - 1]) | project DeviceName, FileName, ProcessCommandLine, ScriptUrl, ScriptName
46
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
N/A
47
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
N/A
48
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
cmd.exe
DeviceProcessEvents | where ActionType == 'ProcessCreated' and (InitiatingProcessCommandLine has 'dir' and InitiatingProcessCommandLine has 'findstr') | extend SearchedProcess = extract('findstr ["](.+?)["]', 1, InitiatingProcessCommandLine) | project DeviceName, InitiatingProcessCommandLine, SearchedProcess
49
On a Windows endpoint, wscript.exe was used to run a JScript. Identify the exact script path passed to wscript.
PathToAtomicsFolder\T1059.007\src\sys_info.js
C:\AtomicRedTeam\atomics\T1059.007\src\sys_info.js
DeviceProcessEvents | where FileName == 'wscript.exe' and ProcessCommandLine has ".js" | project DeviceName, ProcessCommandLine, TimeGenerated | distinct DeviceName, ProcessCommandLine, TimeGenerated
50
On a Linux system, review process execution records for any shell process that set an environment variable containing executable code and then piped it into another shell instance. Determine which environment variable name was used to store the script content.
ART
ENCODED
DeviceProcessEvents | where FileName in ('bash', 'sh', 'zsh', 'csh', 'ksh', 'dash', 'tcsh') | where ProcessCommandLine contains '=' and ProcessCommandLine contains '|' | extend EnvVar = extract_all('(\\w+)=', ProcessCommandLine) | mv-expand EnvVar to typeof(string) | summarize Count = count() by tostring(EnvVar) | order by Count desc
Page 1 of 4