Living Off the Land -
#AppInstaller Abuse on
#Windows
A lesser-known LOLBAS technique involving AppInstaller.exe, a legitimate tool designed to install .appx and .msix application packages on Windows 10 and 11. AppInstaller can be misused to silently download and execute payloads from remote sources using specially crafted .appinstaller manifests.
---
⚙️
#Exploitation Mechanism
By leveraging the ms-appinstaller URI scheme, adversaries can invoke ms-appinstaller. This triggers a download of the associated .msix file into the user's INetCache and prompts installation, executing embedded binaries like calc.exe under user-level privileges.
This misuse aligns with
#MITRE ATT&CK T1105: Ingress Tool Transfer, providing a stealthy method for tool delivery that often bypasses traditional download detections.
---
🧪 Proof of Concept -
#PoC
A full working PoC has been scripted using:
> makeappx.exe and signtool.exe from the Windows ADK.
> A self-signed certificate for sideloading.
> A Python-hosted web server serving both the .msix and .appinstaller.
This chain leads to the execution of a trojanized package impersonating legitimate software. The exploit requires no elevated privileges and operates under a standard user context, significantly lowering the barrier for exploitation in real-world scenarios.
-
github.com/Logisek/CalcOrItD…
---
🔍
#Detection &
#Mitigation
You should focus on:
> DNS queries from AppInstaller.exe.
> Suspicious use of the ms-appinstaller protocol.
> Files dropped in INetCache with .appinstaller and .msix extensions.
> Completely blocking of ms-appinstaller protocol if not needed.
-
logisek.com
#CyberSecurity #LOLBAS #OffensiveSecurity #RedTeam #PenetrationTesting #BlueTeam #InfoSec #Offsec #Logisek