Code Monkey home page Code Monkey logo

secstarbot / hephaestus-terminal-management Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 2367765883/hephaestus-terminal-management

0.0 0.0 0.0 10.75 MB

### A security tool for enterprise terminal management that named Hephaestus

Shell 0.02% JavaScript 0.05% C++ 2.39% Python 0.09% C 32.70% Assembly 0.01% Makefile 0.11% HTML 0.02% Inno Setup 0.05% Batchfile 0.07% Yacc 1.15% Lex 0.49% Vue 0.05% M4 0.15% Roff 0.06% SCSS 0.02% YARA 62.23% Starlark 0.35%

hephaestus-terminal-management's Introduction

Hephaestus-terminal-management 🖥️

👿 A security tool for enterprise terminal management that named Hephaestus

GitHub License

🤤 你的贡献

✴️ 特性

  • 基于Windows内核框架实现核心功能

😋 兼容状态

支持Windows10 1909以上Windows 10 系统,但是需要注意,禁用调试功能由于使用硬编码(Windows 10 21H2)需要自行修改兼容

🗡️ 功能

  • 文件授权管理

    文件冻结
  • 调试授权管理

    禁用调试功能
  • 操作授权

    禁用终端用户操作
  • 远程进程管理

    进程列表
    进程保护
    强杀进程
  • 远程文件管理

    文件列表
    文件强删
  • 基于Yara的病毒查杀拦截

  • PE防火墙

  • 网络防火墙

  • 便携式设备拷贝数据保护

🗂️ 目录结构

├─ControlClient           通信控制端
├─FilterMessager        minifilter通信进程
├─HFTSRESETPWD      修改密码web服务
  ├─.hbuilderx     
  ├─node_modules
    └─crypto-js
        └─docs
  ├─pages
    └─index
  ├─static
  ├─uniCloud-aliyun
    └─cloudfunctions
        └─resetpwd
            └─node_modules
                ├─bignumber.js
                  └─doc
                ├─core-util-is
                  └─lib
                ├─inherits
                ├─isarray
                ├─jsencrypt
                  ├─bin
                  └─lib
                      └─lib
                          ├─asn1js
                          ├─jsbn
                          └─jsrsasign
                ├─mysql
                  └─lib
                      └─protocol
                          ├─constants
                          ├─packets
                          └─sequences
                ├─process-nextick-args
                ├─readable-stream
                  ├─doc
                    └─wg-meetings
                  └─lib
                      └─internal
                          └─streams
                ├─safe-buffer
                ├─sqlstring
                  └─lib
                ├─string_decoder
                  └─lib
                └─util-deprecate
  └─unpackage
      └─dist
          └─build
              ├─.automator
                └─h5
              └─h5
                  └─static
                      ├─img
                      └─js
├─jsoncppinclude       json库
  └─json
├─jsoncpplib               json静态库
├─Minifiltertest           文件过滤驱动
├─MouseFlt                 鼠标过滤驱动
├─NetFlt                       网络过滤驱动
├─ProjectExe               已废弃
├─ProtecExeForE        服务端
├─RegFltMessager      注册表保护通信进程
├─RegistryFilter 	 注册表保护驱动 
├─WpdFlt                     便携式设备过滤
├─yara			 YARA扫描引擎
  ├─bazel
  ├─cli
  ├─dist
  ├─docs
    └─modules
  ├─extra
    └─codemirror
  ├─libyara
    ├─include
      ├─authenticode-parser
      ├─tlshc
      └─yara
    ├─modules
      ├─console
      ├─cuckoo
      ├─demo
      ├─dex
      ├─dotnet
      ├─elf
      ├─hash
      ├─macho
      ├─magic
      ├─math
      ├─pb_tests
      ├─pe
        └─authenticode-parser
      ├─string
      ├─tests
      └─time
    ├─pb
    ├─proc
    └─tlshc
  ├─m4
  ├─sandbox
  ├─tests
    ├─data
      └─include
    └─oss-fuzz
        ├─dex_fuzzer_corpus
        ├─dotnet_fuzzer_corpus
        ├─elf_fuzzer_corpus
        ├─macho_fuzzer_corpus
        ├─pe_fuzzer_corpus
        └─rules_fuzzer_corpus
  └─windows
      ├─libyara
        ├─modules
          ├─console
          ├─cuckoo
          ├─dex
          ├─dotnet
          ├─elf
          ├─hash
          ├─macho
          ├─math
          ├─pe
            └─authenticode-parser
          ├─string
          ├─tests
          └─time
        ├─proc
        └─tlshc
      ├─vs2015
        ├─libyara
        ├─test-alignment
          └─x64
              └─Release
                  └─test-alignment.tlog
        ├─yara
        └─yarac
      ├─vs2017
        ├─libyara
        ├─yara
        └─yarac
      └─vs2019
          ├─libyara
            ├─Debug
              └─libyara.tlog
            └─Release
                └─libyara.tlog
          ├─packages
            ├─YARA.Jansson.x64.1.1.0
              ├─include
              └─lib
            ├─YARA.Jansson.x86.1.1.0
              ├─include
              └─lib
            ├─YARA.OpenSSL.x64.1.1.1
              ├─include
                └─openssl
              └─lib
            └─YARA.OpenSSL.x86.1.1.1
                ├─include
                  └─openssl
                └─lib
          ├─Release
          ├─yara
            ├─Debug
              └─yara.tlog
            └─Release
                └─yara.tlog
          └─yarac
              └─Release
                  └─yarac.tlog
└─yararules                         		 	 YARA扫描规则
    ├─antidebug_antivm
    ├─capabilities
    ├─crypto
    ├─cve_rules
    ├─deprecated
      ├─Android
      └─Malware
    ├─email
      └─eml
    ├─exploit_kits
    ├─maldocs
    ├─malware
      └─Operation_Blockbuster
    ├─mobile_malware
    ├─packers
    ├─utils
      └─yara-forensics
    └─webshells

📢 构建方法

Windows 11

  1. 下载Visual Studio 2022开发工具(Visual Studio 2022 IDE - 适用于软件开发人员的编程工具 (microsoft.com)),勾选所有适用于C/C++的桌面开发开始下载

  2. 使用Visual Studio 2022打开ControlClient.sln

Windows 10

  1. 使用Visual Studio 2019打开ControlClient.sln

通用

  • 使用HBuilder X导入HFTSRESETPWD,关联阿里云开发环境

  • 使用易语言开发工具导入ProtecExeForE

  • 数据库CREATE DATABASE IF NOT EXISTS userdata;

  • 数据库

    CREATE TABLE IF NOT EXISTS userdata.users (
        uname VARCHAR(128) NOT NULL,
        password VARCHAR(128) NOT NULL,
        email VARCHAR(128) NOT NULL,
        checkcode VARCHAR(128) NOT NULL,
        PRIMARY KEY (uname)
    );
    

🛴 使用

  1. ControlClient.sln生成文件全部放同一目录,管理员运行HPTSCore.exe

  2. 运行服务端

🤔 讨论

点击链接加入QQ频道【Hephaestus】:https://pd.qq.com/s/dvii76n34

🛡️ 安全性

  • 服务端存在SQL漏洞,原因是在服务端中写定了sql连接和查询过程,攻击者可以利用hook等技术替换查询语句实现攻击

🔔 许可证

所有文件均为 GPL-3.0-or-later

🤝 鸣谢

YARA(VirusTotal/yara: The pattern matching swiss knife (github.com)):YARA is a tool aimed at (but not limited to) helping malware researchers to identify and classify malware samples.

InfinityHookPro-main([DearXiaoGui/InfinityHookPro-main (github.com)):此项目基于 https://github.com/FiYHer/InfinityHookPro 原作者只支持虚拟机 在原作者的基础上新增了支持物理机 目前支持Win7-Win11 支持win11 任何版本

hephaestus-terminal-management's People

Contributors

2367765883 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.