TLDR
I've uploaded 2 tarballs to https://code.google.com/p/passing-the-hash/downloads/list
One is 32-bit and the other is 64-bit. Everything works from my original talk on both with the exception of wmis, the WMI command execution tool. Extract the tarball into /opt/pth and set your PATH variable to point to /opt/pth/bin and you should be good to go.
For whatever reason the 64-bit version of wmis didn't work while the 32-bit version works like a champ. If you need that functionality, use the 32-bit binary (also uploaded).
In order to use 32-bit binaries on 64-bit Kali, you need to add the 32-bit libraries. Follow these steps:
- dpkg --add-architecture i386
- apt-get update
- apt-get install ia32-libs
Slightly Longer Version
I'm starting out by distributing 2 binary tarballs, 32-bit and 64-bit. After having spent a fair amount of time working on the packaging of winexe, only to discover that the latest version didn't work on 32-bit operating systems, I decided it was time to take the distribution in stages.
So, I tweaked my build scripts (found here on my google code site), updated stuff wherever needed and compiled.
I had planned on only releasing one tarball.... then I discovered that 64-bit Kali didn't have any 32-bit libraries installed. So it became an issue of whether or not to force everybody to install all the required libraries for 32-bit operation. When I looked at it, it was something like another 300mb of libs for everything to work. So I figured that I'd give it a shot to have 64-bit compiled version as well.
Testing revealed that the 64-bit version of the 'wmis' tool didn't work. It gives some sort of RPC error and given the "barely working as it is" nature of things, if folks on 64-bit Kali need to run it then you can install a subset of the 32-bit libraries and it will work just fine for you. I uploaded the 32-bit WMIS to the google code download page so it can be downloaded separately.
The Tools
Samba 4 / Openchange - Tools/libraries for interacting with Windows / Active Directory / Exchange
FreeTDS /SQSH - library / utility for interacting with MSSSQL databases
Winexe - PSExec clone
Firefox - ESR 17 release 5
Firefox - ESR 17 release 5
Curl - Command line web browser (upcoming blog post)
Wmic - Simple WMI query tool (upcoming blog post)
Wmis - WMI tool that uses "create process" from WMI to execute single commands (upcoming blog post)
Installation
I've uploaded 2 tarballs to https://code.google.com/p/passing-the-hash/downloads/list
Download the tarball that's appropriate for your distribution and untar/gzip it to /opt/pth.
Set your path to include '/opt/pth/bin' and you should be good to go. No need to screw with library paths as all that jazz is compiled into the binaries to look for their libraries in /opt/pth/lib.
In order to use 32-bit binaries on 64-bit Kali, you need to add the 32-bit libraries. Follow these steps:
Download the tarball that's appropriate for your distribution and untar/gzip it to /opt/pth.
Set your path to include '/opt/pth/bin' and you should be good to go. No need to screw with library paths as all that jazz is compiled into the binaries to look for their libraries in /opt/pth/lib.
In order to use 32-bit binaries on 64-bit Kali, you need to add the 32-bit libraries. Follow these steps:
- dpkg --add-architecture i386
- apt-get update
- apt-get install ia32-libs
More To Follow...
No comments:
Post a Comment