Quay lại Trending
RepositoryC++QAQatar
Offensive-Panda

Offensive-Panda/RWX_MEMEORY_HUNT_AND_INJECTION_DV

Abusing Windows fork API and OneDrive.exe process to inject the malicious shellcode without allocating new RWX memory region.

295sao
48fork
0issue
4lượt xem

🔍 Chèn shellcode vào vùng nhớ RWX tồn tại bằng Windows Fork API

Khai thác API fork của Windows và tiến trình OneDrive.exe để chèn shellcode vào vùng nhớ RWX đã có sẵn — không cấp phát vùng nhớ mới, không gọi VirtualProtect hay VirtualAlloc.

Dự án trình bày kỹ thuật process injection sử dụng Windows fork API, trong đó shellcode được ghi vào vùng nhớ RWX đã tồn tại trong tiến trình OneDrive.exe đang chạy thay vì cấp phát vùng nhớ mới. Tác giả clone tiến trình OneDrive.exe bằng fork API, đặt địa chỉ khởi động của tiến trình con trỏ đến shellcode đã chèn, thực thi và kết thúc tiến trình con.

✨ Điểm nổi bật

  • Tận dụng vùng nhớ RWX có sẵn: Dò tìm vùng nhớ RWX trong các tiến trình đang chạy (OneDrive.exe) thay vì cấp phát mới bằng VirtualAlloc hay VirtualAllocEx.
  • Bypass VirtualProtect: Không gọi VirtualProtect, VirtualAllocEx hay VirtualAlloc — giúp tránh bị EDR/AV phát hiện qua hook API phổ biến.
  • Sử dụng Windows fork API: Tạo tiến trình con fork từ OneDrive.exe và đặt start address trỏ đến shellcode đã clone.
  • Shellcode dựa trên ntdll: Kỹ thuật hoạt động với shellcode không phụ thuộc vào section, tương thích với template windows_x64_shellcode_template.
  • Quy trình tự động: Tìm tiến trình → lấy handle → query memory → tìm RWX → ghi shellcode → fork → thực thi → kết thúc.
  • Không cần tham số: Biên dịch và chạy EXE mà không cần truyền tham số.

💡 Tại sao đáng chú ý

Kỹ thuật này né tránh các cơ chế phát hiện truyền thống bằng cách không cấp phát vùng nhớ mới — thao tác thường bị EDR monitor chặt chẽ. Thay vào đó, nó tìm và tái sử dụng vùng nhớ RWX đã tồn tại trong tiến trình hợp lệ, khiến việc phát hiện khó khăn hơn. Việc dùng Windows fork API để clone tiến trình và đặt entrypoint vào shellcode là biến thể sáng tạo của kỹ thuật process injection, phù hợp nghiên cứu về khả năng bypass EDR/AV.

Dự án chỉ nên sử dụng trong mục đích giáo dục và nghiên cứu bảo mật, giúp hiểu rõ hơn về các vector tấn công và cách xây dựng phòng thủ hiệu quả.


#EDRBypass #Shellcode #MemoryHunting #MalwareDevelopment #AVBypass #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC++
Offensive-Panda/RWX_MEMEORY_HUNT_AND_INJECTION_DV

Abusing Windows fork API and OneDrive.exe process to inject the malicious shellcode without allocating new RWX memory region.

295
May 27, 2024
RepositoryC++
xec412/NocturneLdr

A CET-compatible Windows x64 loader that produces fully backed call stacks through runtime function table manipulation, code cave injection, and inverted function table collapse.

140
Sep 6, 2026
RepositoryC++
hwbp/NTDLL-Unhook

proper ntdll .text section unhooking via native api. unlike other unhookers this doesnt leave 2 ntdlls loaded. x86/x64/wow64 supported.

57
Dec 9, 2025
RepositoryGo
nickvourd/Supernova

Shellcode encryptor & obfuscator tool

1.1k
Jul 21, 2026
RepositoryC
VirtualAlllocEx/DEFCON-31-Syscalls-Workshop

Contains all the material from the DEF CON 31 workshop "(In)direct Syscalls: A Journey from High to Low".

792
May 23, 2025
RepositoryPython
cocomelonc/peekaboo

It bridges my research with a functional tool. I want to provide a safe, open-source framework for hackers to test evasion and for defenders to improve detection through hands-on learning.

342
Aug 7, 2026
RepositoryC#
TheNewAttacker64/Theattacker-Crypter

Tool to evade Antivirus With Different Techniques

197
Aug 16, 2023
RepositoryC
DeathShotXD/0xKern3lCrush

Advanced PoC & Research for CVE-2026-0828 (Safetica) and CVE-2025-7771 (ThrottleStop). Analysis of BYOVD (Bring Your Own Vulnerable Driver) TTPs for Ring 0 process termination and physical memory R/W. Researching EDR-Killer patterns, PPL bypasses, and kernel-mode primitives used by MedusaLocker and other threat actors.

61
Oct 3, 2026
RepositoryC++
vxunderground/VX-API

Collection of various malicious functionality to aid in malware development

2.0k
Feb 28, 2024