4320 matches found
Persistnux
Persistnux 一个全面的Linux持久化检测工具,用于数字取证和事件响应(DFIR)调查。 概述 Persistnux 是一个基于 Bash 的工具,旨在识别攻击者用于维护对受感染系统访问权限的已知 Linux 持久化机制。它对系统执行全面检查,并生成 CSV 和 JSONL 格式的详细报告,便于进一步分析。 特性 全面检测 :覆盖所有主要的 Linux 持久化机制 实时分析 :直接在运行中的系统上运行,依赖最小 详细输出 :生成 CSV 和 JSONL 报告,包含文件哈希、元数据和置信度评分 支持 Root 和非 Root :可在有或没有 root 权限的情况下运行(非 roo...
sidedoor
sidedoor sidedoor maintains an SSH connection or tunnel with a shell script daemon. The primary use case is maintaining a remote port forward to the local SSH server or another port. Thus, the local device can be accessed without using incoming connections that may be blocked by a NAT or firewall...
PoC
利用CVE-2018-19788在没有root shell的情况下转储受保护文件 CVE-2018-19788 是一个漏洞,任何UID超过INTMAX(即4000000000)的用户都可以在运行systemd的Linux系统(如Ubuntu)上执行任何systemctl命令。(已有获取root shell的详细文章:这里)。这篇分析与完整root shell文章的主要区别在于,此方法将以用户自身身份运行,而非root用户(老实说,基本上只是一个概念验证)。 在不执行root shell的情况下获取/etc/shadow 要获取root shell,只需运行 systemd-run -t...
DynastyPersist
DynastyPersist 1.5 DynastyPersist:一个简化 Linux 持久化操作的流线型工具。 支持 KoTH、Battlegrounds 和渗透测试操作 安装 • 文档 • 用法 文档 功能特性 功能特性| 描述 ---|--- SSH 密钥生成| 自动生成 SSH 密钥,用于隐秘访问。 计划任务持久化| 设置计划任务以实现定时持久化。 创建带 root 权限的自定义用户| 创建一个拥有 root 权限的自定义用户。 RCE 持久化| 通过远程代码执行实现持久化。 LKM/ Rootkit| 演示基于 Linux 内核模块 LKM 的 rootkit 持久化。...
writehat
WriteHat is a reporting tool which removes Microsoft Word and many hours of suffering from the reporting process. Markdown -- HTML -- PDF. Created by penetration testers, for penetration testers - but can be used to generate any kind of report. Written in Django Python 3. Features: Effortlessly...
needrestart
needrestart Acerca de needrestart comprueba qué demonios necesitan reiniciarse después de actualizaciones de bibliotecas. Está inspirado en checkrestart del paquete debian-goodies. Hay algunos scripts hook en el directorio ex/ para usar con apt y dpkg. Los scripts llamarán a needrestart después d...
shim-review
Este repositorio es para la revisión de solicitudes de firma de shim. Para crear una solicitud de revisión: clona este repositorio preferiblemente haz un fork edita la plantilla a continuación agrega el shim.efi que se va a firmar agrega los registros de compilación agrega cualquier...
shh
Endurecimiento automático de servicios systemd guiado por el perfilado con strace. SHH puede generar un conjunto óptimo de opciones de endurecimiento para cada uno de tus servicios, de modo que puedas aumentar el nivel de seguridad de tu sistema sin preocuparte por errores aleatorios en producció...
cs50-cybersecurity-final-project
Análisis Técnico del Backdoor en XZ Utils CVE-2024-3094 URL del video: https://www.youtube.com/watch?v=6hpVp7prlO8 Resumen Este repositorio contiene el proyecto final del curso CS50's Introduction to Cybersecurity. El proyecto ofrece un análisis técnico exhaustivo del ataque a la cadena de...
lxd_root
通过 LXD 实现 Linux 特权提升 概述 Linux 系统上本地 lxd 组的成员有多种途径将其权限提升至 root。本仓库包含全自动本地 root 利用示例。漏洞的详细解释及利用演练可在我的博客 此处 找到。 以下利用并非容器逃逸,而是 利用 容器并 针对 宿主操作系统的本地 root 利用。成功利用需要宿主环境的低权限访问。 我相信我在第二个版本中的策略是独特的,并且足够有趣(至少对我来说)以至于在以上链接的博客中写了详细解释。 lxdrootv1.sh 将宿主机的 / 文件系统挂载到容器中,在容器内宿主机的低权限用户具有 root 访问权限。此 root...
uptux
uptux Specialized privilege escalation checks for Linux systems. Implemented so far: Writable systemd paths, services, timers, and socket units Disassembles systemd unit files looking for: References to executables that are writable References to broken symlinks pointing to writeable directories...
uptux
uptux 针对 Linux 系统的专门权限提升检查工具。 目前已实现: 可写的 systemd 路径、服务、定时器和套接字单元 反汇编 systemd 单元文件以查找: 指向可执行文件的可写引用 指向可写目录的损坏符号链接 相对路径语句 可写的 Unix 套接字文件(隐蔽 API) 可写的 D-Bus 路径 过度宽松的 D-Bus 服务设置 以 root 身份运行并在文件绑定的 Unix 域套接字上响应的 HTTP API 这些检查基于我自身研究中遇到的情况,此工具肯定不涵盖所有你应该关注的内容。别忘了经典方法! 使用方法 所有功能都包含在一个文件中,因为在受限的 shell...
CVE-2025-6018-CVE-2025-6019-Privilege-Escalation-Exploit
CVE-2025-6018 + CVE-2025-6019 提权利用指南 📋 快速利用流程 步骤 1:准备 XFS 镜像(本地机器) 创建 300MB XFS 镜像 dd if=/dev/zero of=xfs.image bs=1M count=300 mkfs.xfs -f xfs.image 挂载并安装 SUID bash mkdir mnt sudo mount -t xfs xfs.image mnt sudo cp /bin/bash mnt/bash sudo chmod 4755 mnt/bash sudo umount mnt rmdir mnt 验证(应该显示 300...
Gitea-template-sync-Path-Traversal-Privilege-Escalation-CVE-2026-38526-
Nexus — PoC de Escalada de Privilegios Locales Path traversal en la sincronización de plantillas de Gitea mediante objetos Git falsificados → root Un exploit de prueba de concepto para la escalada de privilegios en la máquina de HackTheBox Nexus. Un servicio systemd propiedad de root sincroniza l...
tor-router
TOR Router TOR Router 允许你使用 TOR 作为透明代理,并将所有流量(包括 DNS 请求 )通过 TOR 传输,你只需要:一个使用 systemd 的系统(如果你想使用服务)和 tor。 与其他路由流量的工具不同,TOR Router 不会修改系统文件,原因在于:路由流量不需要移动文件,而且移动文件是个坏主意,因为脚本/工具中的故障可能导致系统网络连接中断,而你却不知道发生了什么。 注意: tor-router 不会路由 UDP 数据包,因为 TOR 不支持...
CVE-2021-3560-Authentication-Agent
PolicyKit CVE-2021-3560 漏洞利用(认证代理) 技术细节 关于此漏洞利用的博客文章: https://ricterz.me/posts/2022-04-28-a-new-exploit-method-for-cve-2021-3560-polkit-linux-privilege-escalation.txt http://noahblog.360.cn/a-new-exploit-method-for-cve-2021-3560-policykit-linux-privilege-escalation 构建与使用...
CVE-2024-3094-backdoor-env-container
CVE-2024-3094 SSH 后门容器环境 这是一个运行 CVE-2024-3094 sshd 后门实例的环境,配合此利用工具使用:https://github.com/amlweems/xzbot。 实验 在 Docker 中测试 它不是 Docker 容器。我曾尝试用 Docker 构建此漏洞环境,但失败了: 1. https://github.com/lockness-Ko/xz-vulnerable-honeypot: xzbot 在其内部无法工作。 2. 从零开始手动构建 Docker 镜像的文件系统,其依赖与在 Ubuntu VM 主机上成功利用 xzbot...
threat-intel-cve-2024-3094
威胁情报报告:CVE-2024-3094 – XZ Utils后门 该仓库包含一份威胁情报报告,分析了CVE-2024-3094 ——2024年在xz-utils压缩工具中发现的一个备受关注的后门漏洞。 CVE-2024-3094 是一个严重的供应链妥协事件,恶意后门被插入到xz压缩库中,影响了特定版本(5.6.0和5.6.1)。该后门通过systemd允许SSH认证中的远程代码执行,对Linux系统构成严重风险。 漏洞编号 : CVE-2024-3094 严重性 : 严重 CVSS: 10.0 受影响软件 : xz-utils 5.6.0 和 5.6.1 利用方法 :...
columbus-server
Columbus server This repository is deprecated! ‼️ The server component is moved to https://github.com/elmasy-com/columbus. Columbus Project is an API first subdomain discovery service, blazingly fast subdomain enumeration service with advanced features. Subdomain Lookup Columbus returned 638...
remediate_cesa_2019_2091
cesa20192091 本模块包含一个 Bolt Task,用于修复 CESA-2019:2091 中描述的 CVE,以及其他 Enterprise Linux 7(EL7)平台上的并行问题。 目录 1. 描述 2. 设置 - cesa20192091 入门基础 开始使用 cesa20192091 3. 用法 - 配置选项和附加功能 4. 限制 - 操作系统兼容性等 5. 开发 - 为模块贡献的指南 描述 此修复程序解决了以下 CVE: CVE-2018-15686 CVE-2018-16866 CVE-2018-16888 修复通过使用 yum 将关键 systemd...