一款功能强大的Shellcode加载器-laZzzy

admin 2023年1月7日14:32:08评论60 views字数 2152阅读7分10秒阅读模式

关于laZzzy

laZzzy是一款功能强大的Shellcode加载器,该工具使用了各种不同的开源代码库实现其功能,能够给广大研究人员更好地演示恶意软件所使用的常见的不同代码执行技术。

功能及特性

  • 1、直接系统调用和本地函数(Nt*)调用(支持绝大多数本地函数);
  • 2、IAT(导入地址表)绕过;
  • 3、Payload加密(AES、异或):随机生成密钥、自动填充Payload(x90)、在内存中逐字节解密Payload;
  • 4、字符串异或加密;
  • 5、PPID欺骗;
  • 6、屏蔽非微软签名的DLL;
  • 7、(可选)克隆PE图标和属性;
  • 8、(可选)使用伪造的证书进行 代码签名;

安装

带有Visual Studio和以下组件的Windows机器,可以从Visual Studio Installer>单个组件安装:C++ Clang Compiler for WindowsC++ Clang-cl for build tools

一款功能强大的Shellcode加载器-laZzzy安装ClickOnce Publishing

一款功能强大的Shellcode加载器-laZzzy下载及安装模块:

git clone https://github.com/capt-meelo/laZzzy.git
python3 -m pip install -r requirements.txt

运行执行builder.py即可。

(venv) PS C:逍遥子大表哥laZzzy> python3 .builder.py -h

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⠀⢀⣼⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣿⣿⠀⠀⠀⠀⢀⣀⣀⡀⠀⠀⠀⢀⣀⣀⣀⣀⣀⡀⠀⢀⣼⡿⠁⠀⠛⠛⠒⠒⢀⣀⡀⠀⠀⠀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣿⣿⠀⠀⣰⣾⠟⠋⠙⢻⣿⠀⠀⠛⠛⢛⣿⣿⠏⠀⣠⣿⣯⣤⣤⠄⠀⠀⠀⠀⠈⢿⣷⡀⠀⣰⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣿⣿⠀⠀⣿⣯⠀⠀⠀⢸⣿⠀⠀⠀⣠⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣧⣰⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⣿⣿⠀⠀⠙⠿⣷⣦⣴⢿⣿⠄⢀⣾⣿⣿⣶⣶⣶⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⡿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀by: CaptMeelo⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠁⠀⠀⠀

usage: builder.py [-h] -s  -p  -m  [-tp] [-sp] [-pp] [-b] [-d]

options:
  -h, --help  show this help message and exit
  -s          path to raw shellcode
  -p          password
  -m          shellcode execution method (e.g. 1)
  -tp         process to inject (e.g. svchost.exe)
  -sp         process to spawn (e.g. C:WindowsSystem32RuntimeBroker.exe)
  -pp         parent process to spoof (e.g. explorer.exe)
  -b          binary to spoof metadata (e.g. C:WindowsSystem32RuntimeBroker.exe)
  -d          domain to spoof (e.g. www.microsoft.com)

shellcode execution method:
   1          Early-bird APC Queue (requires sacrificial proces)
   2          Thread Hijacking (requires sacrificial proces)
   3          KernelCallbackTable (requires sacrificial process that has GUI)
   4          Section View Mapping
   5          Thread Suspension
   6          LineDDA Callback
   7          EnumSystemGeoID Callback
   8          FLS Callback
   9          SetTimer
   10         Clipboard

支持的Shellcode执行技术

  • 1、Early-bird APC队列注入
  • 2、线程劫持
  • 3、KernelCallbackTable
  • 4、线程挂起
  • 5、LineDDA回调
  • 6、EnumSystemGeoID回调
  • 7、FLS回调
  • 8、SetTimer
  • 9、剪贴板
更多精彩文章 欢迎关注我们

原文始发于微信公众号(kali黑客笔记):一款功能强大的Shellcode加载器-laZzzy

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年1月7日14:32:08
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   一款功能强大的Shellcode加载器-laZzzyhttps://cn-sec.com/archives/1505132.html

发表评论

匿名网友 填写信息