[Windows] Armory fails to install extensions ("empty file" error)
Description On Windows, the armory install command consistently fails to install extensions/aliases. Instead of downloading the actual binaries, it only creates empty files or folders. The same command works fine on Linux (e.g. Kali). Environment OS: Windows 11 Sliver version: v1.5.43 (client + server) Steps to Reproduce Start Sliver server and connect using sliver-client_windows.exe. Run the following command: sliver > armory install all Confirm installation. Expected Behavior All Armory extensions/aliases (e.g. SharpLAPS.exe, Certify.exe, SharpView.exe, SharPersist.exe) should be properly downloaded and installed from GitHub. Actual Behavior Installation fails with multiple "empty file" errors: [!] Failed to install file: empty file \SharpLAPS.exe [!] Failed to install file: empty file \Certify.exe [!] Failed to install file: empty file \SharpView.exe [!] Failed to install file: empty file \SharPersist.exe
On Kali, armory install all works as expected.
What can I do to resolve this problem?
Is anti-virus nuking the files?
This problem exists for a long time. I never get the armory to work in windows. nothing to do with anti-virus.
You can try to unpack the xxxx.tar.gz download by https://github.com/sliverarmory/armory/blob/master/armory.json .Then use extensions install [directory_name] to install an extension from a local directory.At last extensions load [extension_name] to load it.
I sucess install hashdump
Ah okay, I've just never used the client on Windows lmao
I was able to work around this by installing an additional Sliver instance inside a Kali WSL container, installing the whole Armory there, and doing this:
PS C:\Tools\sliver> cp -r -fo \\wsl$\kali-linux\home\htb-ac-1424625\.sliver-client\* ~\.sliver-client
PS C:\Tools\sliver>
Appears to be a bit of a character escaping issue, since Windows uses backslashes as path separators instead of forward-slashes. Might be worth investigating.
What also helps re the above is having a Windows server and WSL client:
PS C:\Tools> .\sliver-server
[*] Loaded 22 aliases from disk
[*] Loaded 151 extension(s) from disk
.------..------..------..------..------..------.
|S.--. ||L.--. ||I.--. ||V.--. ||E.--. ||R.--. |
| :/\: || :/\: || (\/) || :(): || (\/) || :(): |
| :\/: || (__) || :\/: || ()() || :\/: || ()() |
| '--'S|| '--'L|| '--'I|| '--'V|| '--'E|| '--'R|
`------'`------'`------'`------'`------'`------'
All hackers gain renown
[*] Server v1.5.42 - 85b0e870d05ec47184958dbcb871ddee2eb9e3df
[*] Welcome to the sliver shell, please type 'help' for options
[*] Check for updates with the 'update' command
[server] sliver > multiplayer
[*] Multiplayer mode enabled!
[*] htb-ac-1424625 has joined the game
[server] sliver >
┌──(htb-ac-1424625㉿KS-AEGISR2-DC01)-[~]
└─$ sliver-client
Connecting to 172.31.96.1:31337 ...
[*] Loaded 22 aliases from disk
[*] Loaded 151 extension(s) from disk
███████╗██╗ ██╗██╗ ██╗███████╗██████╗
██╔════╝██║ ██║██║ ██║██╔════╝██╔══██╗
███████╗██║ ██║██║ ██║█████╗ ██████╔╝
╚════██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██╗
███████║███████╗██║ ╚████╔╝ ███████╗██║ ██║
╚══════╝╚══════╝╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
All hackers gain evolve
[*] Server v1.5.42 - 85b0e870d05ec47184958dbcb871ddee2eb9e3df
[*] Client 1.5.42 - kali
[*] Welcome to the sliver shell, please type 'help' for options
[*] Check for updates with the 'update' command
sliver >
Hi, thanks a lot for the detailed explanation and workaround. I’ll try this myself when I get home. Really appreciate your help