BlackSnufkin/NovaLdr
소개
Rust로 구현한 스레드리스 모듈 스톰핑으로, 몇 가지 기능을 포함합니다(Nova 파티 학살 사건으로 희생된 분들을 추모하며).
개발 도구What you can do
- Indirect Sycalls
- String encryption
- Shellcode encryption: simple XOR and converting the Shellcode bytes into MAC address
- Threadless inject: Writes a trampoline into a specified function within a given DLL and redirects it to load another DLL.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalNovaLdr :fleur_de_lis:
NovaLdr is a Threadless Module Stomping written in Rust, designed as a learning project while exploring the world of malware development. It uses advanced techniques like indirect syscalls and string encryption to achieve its functionalities. This project is not intended to be a complete or polished product but rather a journey into the technical aspects of malware, showcasing various techniques and features.
Features Overview :bulb:
- Indirect Sycalls
- String encryption
- Shellcode encryption: simple XOR and converting the Shellcode bytes into MAC address
- Threadless Execution
- Threadless inject: Writes a trampoline into a specified function within a given DLL and redirects it to load another DLL.
- JMPThreadHijack: Hijack a thread without calling SetThreadContext. Still needs improvement because I'm lazy and haven't implemented the whole thing well enough to maintain the original functionality of the thread. Just a quick and dirty PoC (Beware of payload execution control. Browsers tend to execute the payload multiple times)
- Module Unlink
- Overwrites the DOS header magic bytes.
- Clears the DLL base addresses from the target process.
- Eliminates DLL name strings from the target process.
- Unlinks a module from the module list
- Spawning Process: spawning suspended process with NtCreateUserProcess and Spoofing the PPID and Setting the process to Block DLL
- Ntdll Unhooking: Remote and local Ntdll Unhooking using Parun's Fart technique
- No GetModuleHandleA & GetProcAddress: Custome Function that using NT functions
- Sleep Encrypt: custom sleep function that encrypts the stack during its sleep duration using a separate thread.
- HWBP: In process Patchless AMSI + ETW Bypass with HWBP on all threads.
Usage: :hammer_and_wrench:
- Generate Shellcode file:
msfvenom -p windows/x64/messagebox TITLE=NovaLdr TEXT='In memory of all those murdered in the Nova party massacre 7.10.2023' ICON=WARNING EXITFUNC=thread -b '\xff\x00\x0b' -f raw -e none -o Nova_MSG.bin - Encrypt the shellcode file and convert it to MAC address format
python bin2mac.py Nova_MSG.bin > nova_msg.txt - Copy the content of the output file and paste it to the main.rs file
- Compile the program just run the file
compile.bat
Disclaimer :loudspeaker:
NovaLdr is intended for educational and research purposes only. The author is not responsible for any misuse or damage caused by this program. Always seek permission before testing it against any target.
Contributing :chart_with_upwards_trend:
As this project is a learning journey, contributions, suggestions, and enhancements are welcome to make NovaLdr a valuable resource for learning malware development in Rust.
Resources & Credit :round_pushpin:
- masking-malicious-memory-artifacts-part-ii-insights-from-moneta
- masking-malicious-memory-artifacts-part-iii-bypassing-defensive-scanners
- alternative-process-injection
- custom_getmodulehandle_getprocaddress
- nim-noload-dll-hollowing
- Malwear-Sweet
- dll-unlinking
- operating-into-EDRs-blindspot
- Hidding Module from the HashTable
- module-pebldr-hiding-all-4-methods
- NtCreateUserProcess
- Defcon31
- process-injection-evading-edr-in-2023
- StackMask
- Patchless Amsi Bypass
- PatchlessHook
- import_dll_injection :pushpin: (will be added later)
POC
PE-SIEVE
관련 프로젝트 살펴보기
불러오는 중…