LazyOwn RedTeam/APT 框架是第一个具有人工智能驱动的 CC 的 RedTeam 框架

article/2025/6/28 19:26:00

一、软件介绍

文末提供程序和源码下载
        LazyOwn RedTeam/APT 框架是第一个具有人工智能驱动的 C&C 的 RedTeam 框架,具有隐藏活动的 rootkit、与 Windows/Linux/Mac OSX 兼容的不可检测的可塑植入物,以及自配置后门。凭借其 Web 界面和强大的控制台客户端,它是您的 RedTeam/APT 活动的最佳组合。

二、LazyOwn:Cyber Redteam 界面管理环境网络 (CRIMEN)

在网络安全的阴暗领域,数字堡垒被无情的对手围攻,LazyOwn: CRIMEN 成为战略实力和技术掌握的灯塔。这个先进而全面的工具包是为专业红队、渗透测试人员和安全研究人员精心打造的,提供了超过 333 种精心设计的攻击,专为 Linux/*nix/bsd/osx 和 Windows 环境量身定制。此外,LazyOwn: CRIMEN 还集成了 Atomic RedTeam 框架的广泛攻击库,使其攻击能力呈指数级增长。

三、Core Architecture 核心架构

LazyOwn 是围绕模块化、命令驱动的架构构建的,该架构为安全测试工作流程提供了灵活性和可扩展性。

LazyOwn:CRIMEN 不仅仅是一个工具;它是网络战艺术的空灵表现,无缝集成了无数功能,以简化和提高安全评估的效率。这种交互式环境结合了多种工具和脚本,使网络安全专业人员能够以无与伦比的精度在安全评估生命周期的复杂迷宫中导航。

LazyOwn: CRIMEN 的核心是由 cmd2 提供支持的直观命令行界面 (CLI),并辅以在 Flask 中开发的基于 Web 的复杂图形用户界面 (GUI)。这种双界面允许用户配置特定参数、执行自定义脚本并获得实时结果,所有这些都来自一个统一的平台。该框架的高级对手模拟功能支持为红队作生成会话,并在 payload.json 文件中定义的范围内精心执行。这不仅扩展了其应用范围,还通过多个界面增强了可用性和可访问性。

LazyOwn: CRIMEN 的突出特点之一是它能够使用 cron 命令安排任务,从而促进持续和自动化的威胁模拟。此功能将 LazyOwn: CRIMEN 转变为强大的高级持续威胁 (APT) 框架,能够模仿复杂网络对手的无情和有条不紊的攻击。

四、Why CRIMEN? 为什么选择 CRIMEN?

CRIMEN 代表 Cyber Redteam Interface Management Environment Network,概括了这个强大框架的精髓。首字母缩略词中的每个字母都代表其功能的关键组成部分:

  • Cyber: Emphasizes the digital battleground where LazyOwn: CRIMEN operates, encompassing all aspects of cybersecurity.
    Cyber: 强调 LazyOwn: CRIMEN 运营的数字战场,涵盖网络安全的各个方面。
  • Redteam: Highlights the framework's primary function as a tool for red team operations, simulating real-world cyber attacks to test and strengthen defenses.
    Redteam:强调框架作为 Red Team作工具的主要功能,模拟真实世界的网络攻击以测试和加强防御。
  • Interface: Refers to the intuitive and user-friendly interfaces, both CLI and GUI, that facilitate seamless interaction and control.
    界面:指直观且用户友好的界面,包括 CLI 和 GUI,可促进无缝交互和控制。
  • Management: Underscores the framework's ability to manage and orchestrate complex security assessments and adversary simulations.
    Management:强调框架管理和编排复杂安全评估和对手模拟的能力。
  • Environment: Denotes the comprehensive and immersive environment provided by LazyOwn: CRIMEN, integrating various tools and scripts for a holistic security assessment experience.
    环境:表示 LazyOwn: CRIMEN 提供的全面沉浸式环境,集成了各种工具和脚本,可提供全面的安全评估体验。
  • Network: Emphasizes the framework's network-centric approach, enabling persistent and automated threat simulations across diverse network environments.
    网络:强调框架以网络为中心的方法,支持跨不同网络环境进行持续和自动化的威胁模拟。

五、Key Features of LazyOwn: CRIMENLazyOwn: CRIMEN 的主要特点

  1. Comprehensive Attack Library: Over 333 crafted attacks for various environments, each a testament to the framework's depth and versatility, augmented by the extensive attack library of the Atomic RedTeam Framework.
    全面的攻击库:超过 333 种针对各种环境精心设计的攻击,每一种都证明了框架的深度和多功能性,并通过 Atomic RedTeam 框架的广泛攻击库进行了增强。
  2. Interactive CLI: Based on cmd2, offering an intuitive and efficient command-line experience.
    交互式 CLI:基于 cmd2,提供直观高效的命令行体验。
  3. Web GUI: Developed in Flask, providing a user-friendly interface for seamless interaction.
    Web GUI:在 Flask 中开发,提供用户友好的界面以实现无缝交互。
  4. Adversary Simulation: Advanced capabilities for generating red team operation sessions, ensuring meticulous and effective simulations.
    对手模拟:生成红队作会话的高级功能,确保细致有效的模拟。
  5. Task Scheduling: Utilize the cron command to schedule and automate tasks, enabling persistent threat simulations.
    任务调度:利用该 cron 命令安排和自动执行任务,从而实现持续的威胁模拟。
  6. Real-Time Results: Obtain immediate feedback and results from security assessments, ensuring timely and accurate insights.
    实时结果:从安全评估中获得即时反馈和结果,确保及时准确的见解。
  7. RAT and Botnet Capabilities: Includes features for remote access and control, allowing for the management of botnets and persistent threats.
    RAT 和僵尸网络功能:包括远程访问和控制功能,允许管理僵尸网络和持续威胁。
  8. C2 Framework: Acts as a command and control (C2) framework, enabling covert communication and control over compromised systems.
    C2 框架:充当命令和控制 (C2) 框架,支持对受感染的系统进行隐蔽通信和控制。

六、Command Capabilities

LazyOwn: CRIMEN offers a rich set of commands that can be executed from both the CLI and the web interface, each designed to empower users with unparalleled control and flexibility:

  • list: Enumerates all available LazyOwn Modules within the framework, providing a comprehensive overview of the toolkit's capabilities.
    list:列举框架中所有可用的 LazyOwn 模块,提供工具包功能的全面概述。
  • **assign **: Configures specific parameters for the operation, such as assign rhost 192.168.1.1 to define the target IP address, ensuring precise and tailored attacks.
    assign :为作配置特定参数,例如 assign rhost 192.168.1.1 定义目标 IP 地址,确保攻击精准定制。
  • show: Displays the current values of all configured parameters, offering a clear and concise view of the operational setup.
    show:显示所有已配置参数的当前值,提供清晰简洁的作设置视图。
  • **run : Executes specific scripts available in the framework, such as run lazysniff to initiate packet sniffing, enabling dynamic and responsive security assessments.
    **run:执行框架中可用的特定脚本,例如 run lazysniff 启动数据包嗅探,从而实现动态和响应式安全评估。
  • cron: Schedules tasks to run at specified intervals, ensuring persistent and automated threat simulations that mimic the relentless nature of advanced cyber adversaries.
    cron:安排任务以指定的时间间隔运行,确保持续和自动化的威胁模拟,以模拟高级网络对手的无情本质。
  • exit: Gracefully exits the CLI, concluding the session with elegance and finality.
    exit:优雅地退出 CLI,以优雅和最终的方式结束会话。

Originally designed to automate the search and analysis of binaries with special permissions on Linux and Windows systems, LazyOwn has evolved to encompass a broader range of functionalities. The project includes scripts that extract information from GTFOBins, analyze binaries on the system, and generate options based on the collected data.
LazyOwn 最初旨在在 Linux 和 Windows 系统上自动搜索和分析具有特殊权限的二进制文件,现在已经发展到包含更广泛的功能。该项目包括从 go awayBins 中提取信息、分析系统上的二进制文件并根据收集的数据生成选项的脚本。

Extending LazyOwnShell with Lua Plugins
使用 Lua 插件扩展 LazyOwnShell

This document explains how to use Lua scripting to extend the functionality of the LazyOwnShell application, which is built on top of the cmd2 framework in Python. Lua allows you to write custom plugins that can add new commands, modify existing behavior, or access application data.
本文档介绍了如何使用 Lua 脚本来扩展 LazyOwnShell 应用程序的功能,该应用程序构建在 Python cmd2 框架之上。Lua 允许您编写自定义插件,这些插件可以添加新命令、修改现有行为或访问应用程序数据。

1. Introduction 1. 引言

The LazyOwnShell application supports Lua scripting to allow users to extend its functionality without modifying the core Python code. Lua scripts (plugins) are stored in the plugins/ directory and are automatically loaded when the application starts.
该应用程序 LazyOwnShell 支持 Lua 脚本,允许用户在不修改核心 Python 代码的情况下扩展其功能。Lua 脚本(插件)存储在 plugins/ 目录中,并在应用程序启动时自动加载。

Lua plugins can: Lua 插件可以:

  • Add new commands to the shell.
    向 shell 添加新命令。
  • Modify existing commands or behaviors.
    修改现有命令或行为。
  • Access and manipulate application data exposed by Python.
    访问和作 Python 公开的应用程序数据。

2. Setting Up Lua Plugins
2. 设置 Lua 插件

To use Lua plugins, ensure the following:
要使用 Lua 插件,请确保满足以下条件:

  1. Install the lupa library in your Python environment:
    在 Python 环境中安装 lupa 库:

    pip install lupa
    plugins/init_plugins.luahello.luagoodbye.lua

    When the application starts, it will execute init_plugins.lua, which loads all other .lua files in the plugins/ directory.
    当应用程序启动时,它将执行 init_plugins.lua,这将加载 plugins/ 目录中的所有其他 .lua 文件。

  2. Writing Lua Plugins A Lua plugin is a script file with the .lua extension placed in the plugins/ directory. Each plugin can define functions and register them as commands in the shell.

Structure of a Lua Plugin

 -- Define a function for the new commandfunction my_command(arg)-- Your logic hereprint("This is a new command: " .. (arg or "default"))end-- Register the function as a commandregister_command("my_command", my_command)

Key Functions 主要功能

  • register_command(command_name, lua_function):
    register_command(command_name, lua_function):
  • Registers a new command in the shell.
    在 shell 中注册新命令。
  • command_name: The name of the command (e.g., hello).
    command_name:命令的名称(例如,hello)。
  • lua_function: The Lua function to execute when the command is called.
    lua_function:调用命令时要执行的 Lua 函数。
  1. Registering New Commands
    注册新命令

    To add a new command to the shell, follow these steps:
    要向 shell 添加新命令,请执行以下步骤:

  • Define a Lua function that implements the command logic.
    定义一个实现命令逻辑的 Lua 函数。

  • Use register_command to register the function as a command.
    使用 register_command 将函数注册为命令。

  • Example: Adding a hello Command
    示例:添加 hello 命令

  • Create a file plugins/hello.lua with the following content:
    创建一个文件 plugins/hello.lua,其中包含以下内容:

     function hello(arg)local name = arg or "world"print("Hello, " .. name .. "!")endregister_command("hello", hello)

Now, you can run the hello command in the shell: bash hello Lua Hello, Lua!  4. Best Practices
现在,您可以在 shell 中运行 hello 命令: bash hello Lua Hello, Lua!  4. 最佳实践

  • Keep Plugins Modular : Each plugin should focus on a single feature or functionality.
    保持插件模块化 :每个插件都应专注于单个特性或功能。
  • Document Your Plugins : Provide clear documentation for each plugin, including usage examples.
    记录您的插件 :为每个插件提供清晰的文档,包括使用示例。
  • Test Thoroughly : Test your plugins in isolation before integrating them into the main application.
    彻底测试 :在将插件集成到主应用程序之前,请单独测试这些插件。
  • Handle Errors Gracefully : Use pcall to handle errors in Lua plugins and prevent crashes.
    Handle Errors Gracefully :使用 pcall 处理 Lua 插件中的错误并防止崩溃。

By leveraging Lua scripting, you can extend the functionality of LazyOwnShell without modifying the core Python code. This allows for greater flexibility and customization, enabling users to write their own plugins to meet specific needs. Happy coding!
通过利用 Lua 脚本,您可以在不修改核心 Python 代码的情况下扩展 LazyOwnShell 的功能。这允许更大的灵活性和自定义,使用户能够编写自己的插件来满足特定需求。祝您编码愉快!

LazyAddons YAML System LazyAddons YAML 系统

Extending the LazyOwn RedTeam Framework's capabilities has never been so easy, even for non-programmers, thanks to the LazyAddons system that allows for extending functionalities using YAML files.
扩展 LazyOwn RedTeam Framework 的功能从未如此简单,即使对于非程序员也是如此,这要归功于允许使用 YAML 文件扩展功能的 LazyAddons 系统。

Declarative command creation through YAML configuration files.
通过 YAML 配置文件创建声明性命令。

📂 File Structure 📂 文件结构

lazyaddons/ ├── addon1.yaml ├── addon2.yaml └── example.yaml

🛠️ Addon Definition 🛠️ 插件定义

Minimal Example 最小示例

name: "shortname"  # CLI command (do_shortname)
enabled: true
description: "Tool description for help system"tool:name: "Full Tool Name"repo_url: "https://github.com/user/repo"install_path: "tools/toolname"execute_command: "python tool.py -u {url}"

Advanced Configuration 高级配置

params:- name: "url"required: truedescription: "Target URL"default: "http://localhost"- name: "threads"required: falsedefault: 4

✨ Features Auto-Installation Tools clone from Git when missing:
✨ 功能自动安装工具:缺少时从 Git 克隆:

git clone <repo_url> <install_path>

Parameter Substitution Replaces {param} in commands with values from:
参数替换 将命令中的 {param} 替换为以下值:

  • Command arguments 命令参数

  • Default values 默认值

  • self.params self.params 文件

  • Help Integration 帮助集成

help displays the YAML description.
help 显示 YAML 描述。

🧩 Template 🧩 模板

name: ""
enabled: true
description: ""tool:name: ""repo_url: ""install_path: ""install_command: ""  # Optionalexecute_command: ""params:- name: ""required: true/falsedefault: ""description: ""

▶️ Usage Place YAML files in lazyaddons/
▶️ 用法 将 YAML 文件放在 lazyaddons/ 中

Start your CLI application
启动 CLI 应用程序

Execute registered commands:
执行已注册的命令:

(Cmd) help your_command
(Cmd) your_command -args

🚨 Troubleshooting Missing parameters: Verify required fields in YAML
🚨 缺少参数的故障排除:验证 YAML 中的必填字段

Install failures: Check network/git access
安装失败:检查网络/git 访问权限

Command errors: Validate execute_command syntax
命令错误:验证 execute_command 语法

Key features: 主要特点:

  • Clean GitHub-flavored markdown
    清理 GitHub 风格的 markdown
  • Focused only on YAML addons
    仅专注于 YAML 插件
  • Includes ready-to-use templates
    包括即用型模板
  • Documents the parameter substitution system
    记录参数替换系统
  • Provides troubleshooting tips
    提供故障排除提示

Would you like me to add any specific examples or usage scenarios?
是否希望我添加任何具体示例或使用场景?

软件下载

迅雷云盘

本文信息来源于GitHub作者地址:GitHub - grisuno/LazyOwn: LazyOwn RedTeam/APT Framework is the first RedTeam Framework with an AI-powered C&C, featuring rootkits to conceal campaigns, undetectable malleable implants compatible with Windows/Linux/Mac OSX, and self-configuring backdoors. With its Web interface and powerful Console Client, it is the best combination for your RedTeam/APT campaigns.


http://www.hkcw.cn/article/hMThqhbrRI.shtml

相关文章

Java学习——day2(Servlet 基础编程)

文章目录 1. 什么是 Servlet&#xff1f;2. Servlet 的生命周期2.1 init()2.2 service()2.3 destroy() 3. 创建 Servlet 类4. Servlet 配置方式4.1 创建步骤4.2 重新构建并启动项目4.3 启动Tomcat 5. 总结 1. 什么是 Servlet&#xff1f; Servlet 是 Java Web 中用于处理客户端…

Aop + 注解实现数据字典类型转换 EasyExcel导出

Aop 注解 实现数据字典类型转换 文章目录 Aop 注解 实现数据字典类型转换一、基础方式✅字典转换简介&#x1f449;实现步骤✅ 1. 定义自定义注解Dict ✅ 2. 定义查询字典项的两个方法✅ 3. 定义Aop拦截我们查询的方法✅ 4. VO映射类✅ 5. Controller层✅ 6. serviceImpl✅ 7. …

力扣热题100之对称二叉树

题目 给你一个二叉树的根节点 root &#xff0c; 检查它是否轴对称。 代码 方法一&#xff1a;递归 # Definition for a binary tree node. # class TreeNode: # def __init__(self, val0, leftNone, rightNone): # self.val val # self.left left …

链式前向星图解

e[idx] b; 边之终点 ne[idx] h[a]; 谓之头插之边 h[a] idx ; 谓之指针更新 注意&#xff1a;上述以a为开头的一条链上的结点&#xff0c;在物理上都是a的邻接点&#xff0c;相邻的边用idx来标明序号&#xff0c;相邻的边之间有映射。 链式前向星的遍历 假设顶点 u 的邻接表…

MybatisPlus(含自定义SQL、@RequiredArgsConstructor、静态工具类Db)

大家在日常开发中应该能发现&#xff0c;单表的CRUD功能代码重复度很高&#xff0c;也没有什么难度。而这部分代码量往往比较大&#xff0c;开发起来比较费时。 因此&#xff0c;目前企业中都会使用一些组件来简化或省略单表的CRUD开发工作。目前在国内使用较多的一个组件就是…

R语言基础| 创建数据集

在R语言中&#xff0c;有多种数据类型&#xff0c;用以存储和处理数据。每种数据类型都有其特定的用途和操作函数&#xff0c;使得R语言在处理各种数据分析任务时非常灵活和强大&#xff1a; 向量&#xff08;Vector&#xff09;: 向量是R语言中最基本的数据类型&#xff0c;它…

UE特效Niagara性能分析

开启Niagara调试器 开启显示概览 界面显示 &#x1f7e9; 上方绿色面板&#xff1a;Niagara DebugHud 这是 HUD&#xff08;调试视图&#xff09; 模式下的性能统计显示&#xff0c;内容如下&#xff1a; 项目含义SystemFilter: ShockWave_01当前选中的 Niagara 粒子系统名称…

MySQL——事务

目录 问题 什么是事务 为什么会有事务 事务版本支持 事务提交方式 事务常见操作 事务隔离级别 查看与设置隔离性 事务四种隔离级别 读未提交 读提交 不可重复读 串行化 一致性 理解隔离性 4个隐藏字段 undo日志 MVCC Read View RR 与 RC 本质区别 问题…

Vue-3-前端框架Vue基础入门之VSCode开发环境配置和Tomcat部署Vue项目

文章目录 1 安装配置VSCode1.1 安装中文语言插件1.2 主题颜色1.3 禁用自动更新1.4 开启代码提示设置1.5 安装open in browser插件2 安装配置nodejs2.1 配置环境变量2.2 npm与maven的区别2.3 使用npm避坑3 创建Vue项目3.1 两种创建方式3.2 package.json3.3 安装新的依赖3.4 运行…

Webpack依赖

Webpack到底怎么对我们的项目进行打包捏&#xff1f; 在webpack处理应用程序时&#xff0c;会根据命令或者配置文件找到入口文件 从入口开始&#xff0c;会生成一个依赖关系图&#xff0c;这个依赖关系图会包含应用程序中所需的所有模块&#xff08;.js、css文件、图片、字体…

关于找不到符号,符号变量log的问题的解决方案

创建时间&#xff1a;06月02日 1、问题描述 最近在学习鱼皮的AI超级智能体项目过程中&#xff0c;遇到如下错误&#xff1a; java: 找不到符号符号: 变量 log位置: 类 com.liucc.aiagent.app.LoveApp2、排查思路 网上的常见解决思路主要是检查lombok插件是否安装、Enable…

mysql离线安装教程

1.下载地址: https://downloads.mysql.com/archives/community/ 2.上传安装包到系统目录,并解压 tar -xvf mysql-8.0.34-1.el7.x86_64.rpm-bundle.tar3.检查系统中是否存在mariadb的rpm包 rpm -qa|grep mariadb存在则删除 rpm -e xxx4.解压完后执行如下命令安装 sudo rpm -iv…

【git-首次初始化本地项目、关联远程仓库】

使用场景&#xff1a; windows系统本地首次创建的项目本地已存在但未关联为git项目 操作步骤 创建远程仓库 在gitee或github创建新仓库即可本地安装git 搜索“git安装教程”&#xff0c;按照步骤安装即可打开git中端&#xff0c;进入项目文件夹 cd E:\xxx备注&#xff1a;这…

AI驱动的文本转Mermaid图表工具Smart Mermaid

简介 什么是 Smart Mermaid &#xff1f; Smart Mermaid 是一款基于 AI 技术的 Web 应用程序&#xff0c;能够将文本内容智能转换为 Mermaid 格式的代码&#xff0c;并将其渲染成可视化图表。用户只需输入文本描述&#xff0c;AI 即可生成相应的图表&#xff0c;支持多种图表类…

调用蓝耘API打造AI 智能客服系统实践教程

声明&#xff1a;文章是实验教程&#xff0c;不是广告 1.前言 在用户与人工客服的沟通中&#xff0c;等待时间长、需求难满足等问题频发&#xff0c;企业面临用户流失风险&#xff0c;用户渴望快速精准的答案&#xff0c;企业需要“开源节流”、“降本增效”。对此&#xff0c…

VM图像处理之图像二值化

什么是灰度&#xff1f; 灰度&#xff08;Grayscale&#xff09;是指将彩色图像转换为仅包含亮度信息&#xff08;黑白过渡&#xff09;的单通道图像的过程或结果。灰度图像中每个像素的数值代表该点的明暗程度&#xff0c;而不包含颜色信息。 亮度代替颜色&#xff1a; 灰度…

通信革新与网络安全探索与创新:开启未来之门

在科技飞速发展的当下&#xff0c;各领域的前沿探索正不断刷新着人类的认知与能力边界。脑机接口领域取得重大突破&#xff0c;上海阶梯医疗科技有限公司成功完成国内首例侵入式脑机接口系统前瞻性临床试验&#xff0c;受试者通过植入大脑的设备实现用意念玩游戏&#xff0c;为…

sigmastar实现SD卡升级

参考文章:http://wx.comake.online/doc/DD22dk2f3zx-SSD21X-SSD22X/customer/development/software/Px/zh/sys/P3/usb%20&%20sd%20update.html#21-sd 1、构建SD卡升级包 在project下make image完成后使用make_sd_upgrade_sigmastar.sh脚本打包SD卡升级包。 ./make_sd_up…

hook组件-useEffect、useRef

hook组件-useEffect、useRef useEffect 用法及执行机制 WillMount -> render -> DidMount ShouldUpdate -> WillUpdate -> render -> DidUpdate WillUnmount(只有这个安全) WillReceiveProps useEffect(callback) 默认所有依赖都更新useEffect(callback, [])&am…

Spring 5 响应式编程:构建高性能全栈应用的关键

本文已收录在Github&#xff0c;关注我&#xff0c;紧跟本系列专栏文章&#xff0c;咱们下篇再续&#xff01; &#x1f680; 魔都架构师 | 全网30W技术追随者&#x1f527; 大厂分布式系统/数据中台实战专家&#x1f3c6; 主导交易系统百万级流量调优 & 车联网平台架构&a…