Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
factual-rules-generator — 从运行的操作系统上已安装的软件生成YARA规则,以建立已知软件的基线,并在数字取证证据中查找相似的安装。 | Kitploit
工具/GitHubGitHub/circl/factual-rules-generator
漏洞分析取证分析信息收集数字取证
GitHubcircl/factual-rules-generator

factual-rules-generator

从运行的操作系统上已安装的软件生成YARA规则,以建立已知软件的基线,并在数字取证证据中查找相似的安装。

查看仓库网站
7564年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

factual-rules-generator

factual-rules-generator 是一个开源项目,旨在根据运行中的操作系统生成关于已安装软件的 YARA 规则。

该软件的目标是能够使用一组规则对收集或获取的数字取证证据进行检测,并及时发现已安装的软件。

该软件可用于对 Windows 系统上已知的软件进行基线化,并创建一组规则,以便在其他系统上查找类似的安装。

依赖项

  • pefile

  • psutil

  • ndjson

  • python-tlsh

  • PyInstaller(用于将 client.py 转换为 client.exe)

  • ssdeep

    • 在 Ubuntu 上:
      • sudo apt-get install build-essential libffi-dev python3 python3-dev python3-pip libfuzzy-dev
      • pip install ssdeep

工具要求

宿主机上需要一些工具,其中一些是 Unix 标准工具,另一些是额外的:

  • xxd
  • curl

对于 Windows 虚拟机,需要安装以下软件:

  • SDelete
  • AsA (AttackSurfaceAnalyzer)

安装

  • 安装 requirements.txt 中定义的所有 Python 依赖项
  • 创建一个共享文件夹以便与虚拟机通信
  • 安装 Windows 虚拟机
    • 在 Windows 虚拟机上安装 chocolatey
    • 填写 bin/OnWindows/Varclient.py
    • 使用 PyInstaller 将 bin/OnWindows/client.py 转换为可执行文件,并将其放入启动文件夹
  • 更新 etc/allVariables.py 以匹配您的配置

在 test/ 目录中提供了 一些示例 要安装的软件,需要遵循以下特定格式:

  • 首先,在 : 之前选择要使用 chocolatey 安装的软件包名称,或者如果是 msi 或 exe 文件,则选择文件名。
  • 其次,在 : 之后是要提取并运行的 exe 名称(不带扩展名)。
  • , 之后的第二部分遵循相同的规则,首先使用单词 installer,然后在 : 之后指定安装程序类型:
    • choco
    • msiexec
    • exe
  • 最后,第三部分 uninstaller 后跟 : 和卸载程序类型,如 choco、msiexec 或 exe

运行并生成规则

  • bin/Generator.py 是唯一需要运行的脚本,请不要忘记更新 etc/allVariables.py(关键步骤)。

公共 YARA 规则仓库

  • factual-rules – 从一些非常常见的软件生成的示例规则。

事实规则生成器概述

事实规则生成器 - 工作流程

许可证

root@kitploit:~
    Factual-rules-generator is an open source project which aims to generate YARA rules about installed software from a machine. 

    Copyright (C) 2021-2022 David Cruciani
    Copyright (C) 2021-2022 CIRCL - Computer Incident Response Center Luxembourg

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
下载工具