
Автоматический обход UAC для пользовательских нагрузок во время тестирования повышения привилегий
/$$$$$$ /$$ /$$$$$$$$ /$$ /$$ /$$$$$$$$
/$$__ $$ | $$ | $$_____/| $$ / $$| $$_____/
| $$ \__/ /$$$$$$$ /$$$$$$ /$$$$$$ | $$ /$$ /$$ /$$| $$ | $$/ $$/| $$
| $$$$$$ | $$__ $$ /$$__ $$ |____ $$| $$ /$$/| $$ | $$| $$$$$ \ $$$$/ | $$$$$
\____ $$| $$ \ $$| $$$$$$$$ /$$$$$$$| $$$$$$/ | $$ | $$| $$__/ >$$ $$ | $$__/
/$$ \ $$| $$ | $$| $$_____/ /$$__ $$| $$_ $$ | $$ | $$| $$ /$$/\ $$| $$
| $$$$$$/| $$ | $$| $$$$$$$| $$$$$$$| $$ \ $$| $$$$$$$| $$$$$$$$| $$ \ $$| $$$$$$$$
\______/ |__/ |__/ \_______/ \_______/|__/ \__/ \____ $$|________/|__/ |__/|________/
/$$ | $$
| $$$$$$/
\______/
Инструмент, который помогает встроить функцию обхода UAC (UAC-Bypass) в ваши собственные Win32-загрузчики (для архитектуры x86_64).
Linux :
Этот инструмент требует модуль Python с именем
termcolor. При запуске скрипт установит его автоматически, если он ещё не установлен, но для более быстрой работы я рекомендую установить его вручную перед началом.
$ 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`
* (Скоро появится, если будет много желающих)
### Сборка:
---
- Собрано на Opensuse Leap 15.0
- Разработано с использованием `Python 3.6.5`
- Разработано с помощью `gcc (MinGW.org GCC-8.2.0-3) 8.2.0` для компиляции полезной нагрузки
###### [ Встраивание загрузчика ]
- Для сборки elevator из исходников вам понадобится `gcc gcc 8.2.0` ( `c11` ) и машина на архитектуре AMD64 с установленной Windows 10 (7/8) 64-битной версии.
```sh
# Windows 10/7/8 (AMD64)
# Open cmd.exe / powershell.exe
>> gcc -mwindows -o <output>.exe /source/main.c
Python 3.5.6 (или новее) с модулями Pyinstaller, Pillow и машина на архитектуре AMD64 с установленной Windows 7 64-битной версии.# 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 :}
Этот инструмент включает UACme, изначально написанный hfiref0x, но всё остальное в основном написано мной (Zenix Blurryface)
Copyright © 2019 by Zenix Blurryface
| Linux | Windows |
|---|
| Архитектура | Опционально | x86_64 |
| Python 3.x > | Да | NO |
| Модуль | termcolor | NO |
| Дистрибутивы | Любой | Windows |
| Версия | Любая | Windows 7,8,10 |