.. /winget.exe
Star

Execute
Download

Windows Package Manager tool

Paths:

Resources:

Acknowledgements:

Detections:

Execute

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

    winget.exe install --manifest manifest.yml
    Use case
    Download and execute an arbitrary file from the internet
    Privileges required
    Local Administrator - required to enable local manifest setting
    Operating systems
    Windows 10, Windows 11
    ATT&CK® technique
    T1105

Download

  1. 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.

    winget.exe install --accept-package-agreements -s msstore [name or ID]
    Use case
    Download and install software from Microsoft Store, even if Microsoft Store App is blocked
    Privileges required
    User
    Operating systems
    Windows 10, Windows 11
    ATT&CK® technique
    T1105