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

news2025/7/28 1:33:30

一、软件介绍

文末提供程序和源码下载
        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.lua
         hello.lua
         goodbye.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 command
 function my_command(arg)
     -- Your logic here
     print("This is a new command: " .. (arg or "default"))
 end

 -- Register the function as a command
 register_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 .. "!")
     end
    
     register_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: true
    description: "Target URL"
    default: "http://localhost"
  
  - name: "threads"
    required: false
    default: 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: ""  # Optional
  execute_command: ""

params:
  - name: ""
    required: true/false
    default: ""
    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.coloradmin.cn/o/2403367.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

电脑的ip地址会自动变怎么办?原因解析和解决方法

在当今互联网时代&#xff0c;IP地址是每台联网设备的"身份证"&#xff0c;但很多用户都遇到过IP地址自动变化的情况。这种现象既可能发生在内网&#xff08;局域网&#xff09;环境中&#xff0c;也可能出现在外网&#xff08;公网&#xff09;连接中。要理解IP地址…

PDF 转 HTML5 —— HTML5 填充图形不支持 Even-Odd 奇偶规则?(第一部分)

在填充 PDF 中的图形时&#xff08;以及许多其他技术中&#xff09;&#xff0c;你可以选择使用 Even-Odd&#xff08;奇偶&#xff09; 或 Non-Zero&#xff08;非零&#xff09; 填充规则。 对于那些已经在想“你在说啥&#xff1f;”的朋友&#xff0c;别担心&#xff0c;我…

【八股消消乐】MySQL参数优化大汇总

&#x1f60a;你好&#xff0c;我是小航&#xff0c;一个正在变秃、变强的文艺倾年。 &#x1f514;本专栏《八股消消乐》旨在记录个人所背的八股文&#xff0c;包括Java/Go开发、Vue开发、系统架构、大模型开发、具身智能、机器学习、深度学习、力扣算法等相关知识点&#xff…

CSS 平铺+自动换行效果

先上效果图 样式 <template><div class"activity-questions"><h1>活动题库</h1><div v-if"loading" class"loading">加载中...</div><div v-else><div v-if"questions.length 0" clas…

微服务网关SpringCloudGateway+SaToken鉴权

目录 概念 前置知识回顾 拿到UserInfo 用于自定义权限和角色的获取逻辑 最后进行要进行 satoken 过滤器全局配置 概念 做权限认证的时候 我们首先要明确两点 我们需要的角色有几种 我们需要的权限有几种 角色 分两种 ADMIN 管理员 &#xff1a;可管理商品 CUSTIOMER 普通…

永磁同步电机控制算法--模糊PI转速控制器

一、原理介绍 在常规的PID控制系统的基础上提出了一种模糊PID以及矢量变换方法相结合的控制系统&#xff0c;经过仿真分析对比证明&#xff1a; 模糊PID控制系统能够有效的提高永磁同步电机的转速响应速度&#xff0c;降低转矩脉动&#xff0c;增强了整体控制系统的抗干扰能力…

Elasticsearch集群最大分片数设置详解:从问题到解决方案

目录 前言 1 问题背景&#xff1a;重启后设置失效 2 核心概念解析 2.1 什么是分片(Shard)&#xff1f; 2.2 cluster.max_shards_per_node的作用 2.3 默认值是多少&#xff1f; 3 参数设置的两种方式 3.2 持久性设置(persistent) 3.2 临时设置(transient) 4 问题解决方…

DVWA全靶场

目录 暴破 Low - 万能密码 Medium - 转义 High - Token Impossible 命令注入 CSRF跨站请求伪造 - 抓包 Low Medium - 域名限制 High - 域名限制xss 文件包含 - 页面点点点 Low Medium - 过滤http:// High - file Impossible - 写死 文件上传 Low Medium - 文件…

【反无人机检测】C2FDrone:基于视觉Transformer网络的无人机间由粗到细检测

C2FDrone&#xff1a;基于视觉Transformer网络的无人机间由粗到细检测 C2FDrone: Coarse-to-Fine Drone-to-Drone Detection using Vision Transformer Networks 论文链接 摘要 摘要——基于视觉的无人机间检测系统在碰撞规避、反制敌对无人机和搜救行动等应用中至关重要。然…

Android 本地存储路径说明

一、背景 作为一个开发者,我们经常需要通过缓存一些文件到SD卡中,常见的方式就是,通过: File sdCard Environment.getExternalStorageDirectory(); 获取SD卡根目录,然后自定义文件/文件名进行文件存储.这样做法的结果就是,当手机安装了大量的app时&#xff0c;SD卡根目录会…

国产pcie switch 8748+飞腾/龙芯/昇腾高速存储方案设计

方案概述 本设计以国微PCIe Switch 8748为核心交换芯片&#xff0c;通过多端口PCIe 4.0/5.0通道连接飞腾ARM架构处理器、龙芯LoongArch处理器及昇腾AI加速卡&#xff0c;构建支持NVMe协议的高速存储集群&#xff0c;目标实现6.5GB/s以上的可持续带宽。 硬件架构 处理器选型 飞…

如何使用插件和子主题添加WordPress自定义CSS(附:常见错误)

您是否曾经想更改网站外观的某些方面&#xff0c;但不知道怎么做&#xff1f;有一个解决方案——您可以将自定义 CSS&#xff08;层叠样式表&#xff09;添加到您的WordPress网站&#xff01; 在本文中&#xff0c;我们将讨论您需要了解的有关CSS的所有知识以及如何使用它来修…

开始在本地部署自己的 Gitea 服务器

0.简介 在软件开发和团队协作中&#xff0c;代码管理是至关重要的环节。笔者一直使用gitblit管理自己的仓库。然鹅&#xff0c;这个软件已经很久没有更新了。经过多方考察&#xff0c;发现Gitea 是一款轻量级的开源代码托管平台&#xff0c;具有易于部署、资源占用少、功能丰富…

7.2.1_顺序查找

知识总览&#xff1a; 顺序查找&#xff1a; 算法思想&#xff1a; 从头到脚挨个找或者从脚到头挨个找适用于线性表(顺序存储和链式存储都适用)&#xff0c;又叫线性查找 实现&#xff1a; 1个数组elem指向数组的起始位置&#xff0c;索引从0开始遍历数组直到找到目标值返回…

智能制造数字孪生全要素交付一张网:智造中枢,孪生领航,共建智造生态共同体

在制造业转型升级的浪潮中&#xff0c;数字孪生技术正成为推动行业变革的核心引擎。从特斯拉通过数字孪生体实现车辆全生命周期优化&#xff0c;到海尔卡奥斯工业互联网平台赋能千行百业&#xff0c;数字孪生技术已从概念验证走向规模化落地。通过构建覆盖全国的交付网络&#…

stylus - 新生代CSS预处理框架

stylus是什么 Stylus 是一种 CSS 预处理器&#xff0c;它扩展了 CSS 的功能&#xff0c;使得编写样式变得更简洁和高效。Stylus 允许使用嵌套、变量、混入等编程功能&#xff0c;这些功能可以极大地提高开发效率和代码的可维护性。 stylus中文文档 https://stylus.uihtm.co…

BugKu Web渗透之网站被hei(仅仅是ctf题目名称)

启动场景&#xff0c;打开网页&#xff0c;显示如下&#xff1a; 目前没有看出任何异常。 步骤一&#xff1a; 右键查看源代码。源代码较多&#xff0c;也没发现异常。 步骤二&#xff1a; 用dirsearch扫描网站目录。 如图&#xff1a; 看起来shell.php很可疑。 步骤三&…

关于华为仓颉编程语言

文章目录 一、基本概况二、技术特点1. 多范式编程2. 原生智能化3. 高性能与安全4. 全场景兼容 三、编译器与开发工具四、语言相似性对比五、行业应用实例总结 最近经常看到这个东西&#xff0c;于是搜了一下&#xff0c;整理了一些内容&#xff0c;水一篇&#xff0c;以后慢慢研…

解决el-select选择框右侧下拉箭头遮挡文字问题

如图所示&#xff1a; el-select长度较短的时候&#xff0c;选择框右侧下拉箭头会遮挡选中的数据 选中数据被遮挡 解决办法&#xff1a; 组件如下&#xff1a; <td class"fmtd" :colspan"col.ptproCupNum" v-for"col in row" :key"…

20250603在荣品的PRO-RK3566开发板的Android13下的使用命令行来查看RK3566的温度【显示优化版本】

20250603在荣品的PRO-RK3566开发板的Android13下的使用命令行来查看RK3566的温度【显示优化版本】 2025/6/3 11:58 RK3566的cpu运行效率 top busybox top rk3566_t:/ # rk3566_t:/ # rk3566_t:/ # cd /sys/class/thermal/ rk3566_t:/sys/class/thermal # ls -l rk3566_t:/sys/c…