memN0ps
728f418a7c
Update README.md
2024-03-02 14:37:12 +13:00
memN0ps
2cf48faa12
Update README.md
2023-05-27 15:11:51 +12:00
memN0ps
0f93468443
DllMain and SayHello successful!
...
Bug fixed. sRDI ready to go again and more user-friendly.
2023-05-27 14:48:56 +12:00
memN0ps
a19aa78dca
DllMain executes fine but not SayHello
2023-05-26 18:49:13 +12:00
memN0ps
071a24342d
Minor fixes (1 last bug to fix)
2023-05-26 16:58:42 +12:00
memN0ps
46c0760584
Update README.md
2023-05-25 22:21:34 +12:00
memN0ps
6eacf1fb55
Update README.md
2023-05-25 22:18:41 +12:00
memN0ps
39c790a654
new sRDI (untested)
...
Massive update, still untested but appears to be more usable
2023-05-25 22:17:03 +12:00
memN0ps
c025b218d6
Updated readme
2022-09-15 20:34:30 +12:00
memN0ps
c6e2ded507
Made project a bit more user-friendly
...
* Added CLI options on generate shellcode and inject
* cargo make now automatically compiles the code using Makefile.toml
* code was auto cargo formatted
* README.md is more detailed
2022-09-15 20:03:35 +12:00
memN0ps
dbbf5b6d3a
The new_module_base is freed
...
* Removed silly nops put for debugging
* updated readme
* commented flags that are not required
* testdll uses format! macro for user data
2022-09-15 13:07:17 +12:00
memN0ps
0d459a85a2
Added 2 more parameters for loader
...
* Shellcode and comments updated in generate shellcode and constants added.
* Loader now takes 2 additional parameters (shellcode base address and flags)
* VirtualFree and ExitThread don't work
2022-09-14 18:46:41 +12:00
memN0ps
4fbbde9847
Minor Refactor
...
Added CLI options for inject
2022-09-13 13:00:01 +12:00
memN0ps
d278948b79
Minor refactor
2022-09-13 12:03:24 +12:00
memN0ps
6e3ef63bcd
All exports are retrieved by hash
...
* Updated README.md
* Added hash_calculator
* Removed unnecessary dependencies from reflective loader
* Edited function names and comments and modules and functions are now retrieved by hash
2022-09-13 11:53:03 +12:00
memN0ps
53f7eb83af
Updated README
2022-09-12 16:07:14 +12:00
memN0ps
7ce63a5ab6
Updated README.md
2022-09-12 16:02:34 +12:00
memN0ps
984893ac2d
Executing Dllmain and user function works successfully.
...
* Reflective loader does copy dos and nt headers from now on to avoid problems is calculating, we can stomp them later.
* Changed hashing function, as that is where the bug was due to calculating dos / nt headers from an empty location.
* User function is now called properly
* Credits where they are due.
* User function takes parameters, reads them then uses them.
2022-09-12 15:50:00 +12:00
memN0ps
9c9a127768
Fixed typos
2022-09-12 10:28:46 +12:00
memN0ps
9531c41a59
Updated README.md
...
Added description and usage
2022-09-11 18:48:39 +12:00
memN0ps
75b602e096
sRDI works and calls DllMain
...
* Can't call VirtualFree and ExitThread from reflective loader
* Need to find and execute user function with data still
2022-09-05 15:38:41 +12:00
memN0ps
2bc1a9a837
Fixed crashed caused by stack alignment
...
* Need to debug user function to find out why it is not being called properly. DllMain gets called fine.
2022-09-05 11:23:17 +12:00
memN0ps
6451ddad00
Fixed a bug in reflective loader
...
* NtFlushInstructionCache was being search for instead of FlushInstructionCache inside kernel32.dll
* There is an unknown bug in resolving imports. Strange crash.
2022-09-04 17:16:10 +12:00
memN0ps
d4dc777f13
Fixed Bootstrap shellcode and cleanup
...
* Fixed assembly to call reflective loader and cleanup / restore execution and pass parameters properly.
2022-09-04 17:11:47 +12:00
memN0ps
61b2f95a72
Changed gitignore
...
Removed shellcode.bin file
2022-09-02 18:46:28 +12:00
memN0ps
ae35c1a5f8
Mega SRDI Update (1 bug needs fixing)
...
Changed too much to keep up with commits. oops.
2022-09-02 18:44:33 +12:00
memN0ps
bfab085ca3
Refactored code
2022-08-27 15:50:39 +12:00
memN0ps
a0c20dd821
Ported from winapi to windows-sys crate
...
Works as expected after porting.
2022-08-26 17:31:27 +12:00
memN0ps
992bcabaab
Changed from winapi to windows-sys
...
* Added checks to see if the target process and the dll are the same architecture.
2022-08-26 16:23:32 +12:00
memN0ps
c4f2cb37a2
Updated readme.md
2022-08-26 11:27:41 +12:00
memN0ps
459a0e34e5
Updated readme.md
2022-08-25 18:50:19 +12:00
memN0ps
9a8ae2332a
Updated readme.md
2022-08-25 18:44:13 +12:00
memN0ps
7b2caf09d0
Updated README.md
2022-08-25 14:54:35 +12:00
memN0ps
71d0cdebf7
Updated README.md
2022-08-25 14:51:56 +12:00
memN0ps
5ed5972379
DOS and NT headers are never copied into newly allocated memory
...
There is no need to erase/remove DOS and NT headers if they're never used.
2022-08-24 12:08:21 +12:00
memN0ps
6474b8b190
Updated readme.md
2022-08-23 20:11:09 +12:00
memN0ps
f5825f4f3d
Changed loader name and updated readme
2022-08-23 20:09:12 +12:00
memN0ps
df8b30d6c3
Sets memory protection for each section manually
...
* Uses `PAGE_READWRITE` to copy sections and headers (avoids RWX)
* Sets memory protection for each section manually
* Frees memory using `VirtualFree` after calling DllMain
2022-08-23 20:00:49 +12:00
memN0ps
378c1671c8
LICENSE
2022-07-13 22:20:03 +12:00
memN0ps
35d2e79915
12-14 hours debugging to find that the problem was another dereference operator (*)
...
Reflective DLL Injection works successfully. Need to convert to SRDI
2022-06-26 01:40:33 +12:00
memN0ps
0b86b95c6a
Updated resolve_imports()
...
Bug in resolve imports needs fixing, works as exe but not dll.
2022-06-25 16:34:52 +12:00
memN0ps
4c50391ff4
Fixed a few bugs related to external libs or heap allocation
...
resolve_imports causes a crash for some strange reason but works inside an exe.
2022-06-25 14:50:10 +12:00
memN0ps
9a5ebfd1a5
Attempting to fix crash failed but added better ways to compare UNICODE
...
Changed get_peb_ldr function. Added created_unicode_string and failed to fix bug inside get_loaded_modules_by_name
2022-06-24 20:38:01 +12:00
memN0ps
ebff35b410
Modules are retrieved by name not hash
...
println! and log::info won't work inside the reflective loader or any imported function.
2022-06-23 23:06:39 +12:00
memN0ps
6039ff39fa
Updated README.md
2022-06-23 20:15:44 +12:00
memN0ps
4513155a4e
Added reflective loader to be called by injector
2022-06-23 00:08:42 +12:00
memN0ps
7eb12804ff
MessageBoxA works
...
Forgot to copy headers, which caused a bug. Although it is not needed because the offset of headers can be found from the original module base loaded from include_bytes!()
2022-06-20 21:46:37 +12:00
memN0ps
09677039d7
RVA To File Offset Pointer function is being tested
2022-06-20 18:53:24 +12:00
memN0ps
9df2a99f98
Replaced println with log
...
Crash at the end, needs fixing when calling DllMain
2022-06-20 18:37:54 +12:00
memN0ps
ae22a39802
Major Refactor
...
Bug still needs fixing
2022-06-20 18:14:04 +12:00