sliver icon indicating copy to clipboard operation
sliver copied to clipboard

[Windows] Armory fails to install extensions ("empty file" error)

Open UNKNW0NA opened this issue 3 months ago • 8 comments

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.

UNKNW0NA avatar Sep 11 '25 08:09 UNKNW0NA

What can I do to resolve this problem?

UNKNW0NA avatar Sep 11 '25 08:09 UNKNW0NA

Is anti-virus nuking the files?

moloch-- avatar Sep 15 '25 23:09 moloch--

This problem exists for a long time. I never get the armory to work in windows. nothing to do with anti-virus.

ghost avatar Sep 21 '25 06:09 ghost

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

Image

rusty1e avatar Sep 25 '25 15:09 rusty1e

Ah okay, I've just never used the client on Windows lmao

moloch-- avatar Oct 05 '25 17:10 moloch--

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.

kennystrawnmusic avatar Nov 30 '25 05:11 kennystrawnmusic

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 >

kennystrawnmusic avatar Dec 01 '25 06:12 kennystrawnmusic

Hi, thanks a lot for the detailed explanation and workaround. I’ll try this myself when I get home. Really appreciate your help

UNKNW0NA avatar Dec 01 '25 06:12 UNKNW0NA