
UAC-Bypassing automático para payloads personalizados durante pruebas de escalada de privilegios
/$$$$$$ /$$ /$$$$$$$$ /$$ /$$ /$$$$$$$$
/$$__ $$ | $$ | $$_____/| $$ / $$| $$_____/
| $$ \__/ /$$$$$$$ /$$$$$$ /$$$$$$ | $$ /$$ /$$ /$$| $$ | $$/ $$/| $$
| $$$$$$ | $$__ $$ /$$__ $$ |____ $$| $$ /$$/| $$ | $$| $$$$$ \ $$$$/ | $$$$$
\____ $$| $$ \ $$| $$$$$$$$ /$$$$$$$| $$$$$$/ | $$ | $$| $$__/ >$$ $$ | $$__/
/$$ \ $$| $$ | $$| $$_____/ /$$__ $$| $$_ $$ | $$ | $$| $$ /$$/\ $$| $$
| $$$$$$/| $$ | $$| $$$$$$$| $$$$$$$| $$ \ $$| $$$$$$$| $$$$$$$$| $$ \ $$| $$$$$$$$
\______/ |__/ |__/ \_______/ \_______/|__/ \__/ \____ $$|________/|__/ |__/|________/
/$$ | $$
| $$$$$$/
\______/
Una herramienta que te ayuda a incrustar una función de omisión de UAC en tus payloads Win32 personalizados (arquitectura x86_64 específicamente)
Linux :
Esta herramienta requiere un módulo de Python llamado
termcolor. Cuando ejecutes el script, lo instalará automáticamente si no lo tienes, pero si quieres que la herramienta funcione más rápido, te sugiero que lo hagas manualmente antes de continuar.
$ pip3 install termcolor #installing termcolor
$ #Temporary usage only, installation below
$ git clone https://github.com/Zenix-Blurryface/SneakyEXE.git
$ cd SneakyEXE/Linux
$ chmod +x sneakyexe.py
$ ./sneakyexe <option>=<path to payload/code> out=<where you wanna save>
[ Windows ]:
- NOTE -
The payload can only be successfully executed by the user with Administrator privilege. Users with limited token wouldn't succeed.
$ git clone https://github.com/Zenix-Blurryface/SneakyEXE.git $ cd SneakyEXE $ chmod +x install.sh $ sudo ./install.sh
[ Windows ]:
* `UNAVAILABLE`
* (Pronto lo haré si mucha gente lo pide)
### Compilación:
---
- Construido en Opensuse Leap 15.0
- Desarrollado usando `Python 3.6.5`
- Desarrollado con `gcc (MinGW.org GCC-8.2.0-3) 8.2.0` para la compilación del payload
###### [ Inserción de Payload ]
- Para construir el elevator desde el código fuente, necesitarás `gcc gcc 8.2.0` ( `c11` ) y una máquina AMD64 con Windows 10 (7/8) de 64 bits instalado.
```sh
# Windows 10/7/8 (AMD64)
# Open cmd.exe / powershell.exe
>> gcc -mwindows -o <output>.exe /source/main.c
Python 3.5.6 (o superior) con módulos como Pyinstaller, Pillow y una máquina AMD64 con Windows 7 de 64 bits instalado.# Assume we already had Python preinstalled
# Open cmd.exe / powershell.exe
>> pip install pillow # Installing Pillow
>> pip install pyinstaller # Installing Pyinstaller
>> mkdir compile # Optional directory name
>> cd compile
>> pyinstaller --windowed --onefile --icon=Icon.ico /source/Win32/GUI.py # For sysematic version ( /sys ), remove --onefile
>> cd dist
>> GUI.exe # The compiled executable :}
abusa de esta herramienta para cualquier actividad de black-hat.no reclames la propiedad.Esta herramienta incorpora UACme que fue originalmente codificado por hfiref0x, pero el resto fue prácticamente todo codificado por mí (Zenix Blurryface)
Copyright © 2019 de Zenix Blurryface
| Linux | Windows |
|---|
| Arquitectura | Opcional | x86_64 |
| Python 3.x > | SÍ | NO |
| Módulo | termcolor | NO |
| Distros | Cualquiera | Windows |
| Versión | Cualquiera | Windows 7,8,10 |