RepositoryPHPFRFrance
JV

jvoisin/php-malware-finder

Detect potentially malicious PHP files

1.5kstars
274forks
9issues
2views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: yara

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: antivirus

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: webshell

#1 Repository Của Tháng

🔍 PHP Malware Finder — Trình quét webshell và mã PHP độc hại bằng YARA

Phát hiện mã PHP độc hại thông qua phân tích ngữ nghĩa, không chỉ dựa trên hash.

PHP Malware Finder (PMF) là một công cụ dòng lệnh giúp phát hiện các tệp PHP tiềm năng độc hại, bao gồm cả mã bị mã hóa, khử định danh hoặc sử dụng các hàm nguy hiểm thường gặp trong webshell. Dự án sử dụng bộ quy tắc YARA để quét và phân tích hành vi của mã nguồn.

✨ Điểm nổi bật

  • Phát hiện theo mẫu ngữ nghĩa: Không chỉ dựa vào hash, mà phân tích hành vi như giải mã $_GET, giải nén, rồi truyền vào hàm nguy hiểm như system.
  • Hỗ trợ nhiều công cụ mã hóa: Bao gồm Bantam, Weevely3, PHP Jiami, SpinObf, Kraken-ng và nhiều obfuscator khác.
  • Quét toàn bộ hệ thống tệp: Duyệt đệ quy và kiểm tra từng tệp PHP bằng YARA.
  • Hệ thống whitelist linh hoạt: Hỗ trợ cho phép theo tên tệp hoặc thư mục, có công cụ tạo whitelist tự động bằng Python.
  • Hỗ trợ đa luồng: Cho phép cấu hình số worker để tăng tốc độ quét.
  • Chạy qua Docker: Không cần cài đặt môi trường Go hay libyara, chỉ cần gắn thư mục cần quét vào container.
  • Có bộ kiểm thử đầy đủ: Đảm bảo độ tin cậy và tránh hồi quy khi cập nhật quy tắc.

💡 Vì sao đáng chú ý

Khác với các công cụ dựa trên hash hoặc entropy chậm, PMF sử dụng phân tích tĩnh kiểu "ghetto" để phát hiện mã độc dựa trên hành vi thực tế. Điều này giúp nó hoạt động hiệu quả, đặc biệt với các tệp đã bị mã hóa phức tạp. Ngoài ra, PMF không nhằm bắt được kẻ tấn công cao thông minh, mà tập trung vào phòng thủ nhanh chóng trước các mối đe dọa phổ thông như webshell của người mới bắt đầu.


#PHP #YARA #Malware #Webshell #Security #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryYARA
eset/malware-ioc

Indicators of Compromises (IOC) of our various investigations

2.0k
Nov 10, 2026
RepositoryGo
maliceio/malice

VirusTotal Wanna Be - Now with 100% more Hipster

1.9k
Apr 3, 2023
RepositoryYARA
87owo/PYAS

A hybrid Windows endpoint security platform powered by machine learning, YARA rules, cloud analysis, and kernel-level behavioral protection.

609
Nov 16, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.9k
Oct 31, 2026
RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.4k
Nov 20, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

378.9k
Sep 15, 2026
RepositoryTypeScript
nilbuild/developer-roadmap

Interactive roadmaps, guides and other educational content to help developers grow in their careers.

372.6k
Nov 23, 2026
RepositoryPython
practical-tutorials/project-based-learning

Curated list of project-based tutorials

290.3k
Nov 16, 2026