LightMe 是一个简单的 HTTP 服务器,用于在混淆后提供 PowerShell 脚本/载荷,并在后台持续运行混淆服务,以便在每次 HTTP 请求时提供几乎全新的混淆载荷。

后台混淆间隔)git clone --recurse-submodules https://github.com/WazeHell/LightMe
cd LightMe/
# 安装 PowerShell
sudo apt-get install powershell
python3 lightme.py --help
# 安装 supervisor
sudo apt-get install supervisor
sudo vim /etc/supervisor/conf.d/lightme.conf
# 编辑配置文件
[program:lightme_server]
directory=/lightme_path/
command=/usr/bin/python3 lightme.py -path /PowerSploitOrWhatever/
numprocs=1
user=yourusername
autostart=true
autorestart=true
stdout_logfile=/lightme_path/lightme_std.log
stderr_logfile=/lightme_path/lightme_stderr.log
redirect_stderr=true
priority=999
stdout_logfile_maxbytes=5MB
stderr_logfile_maxbytes=5MB
environment=LANG=en_US.UTF-8,LC_ALL=en_US.UTF-8
# 运行
sudo service supervisor restart
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl restart all