|
1 | 1 | MemoryModule |
2 | 2 | ============ |
3 | 3 |
|
4 | | -[](https://travis-ci.org/fancycode/MemoryModule)[](https://ci.appveyor.com/project/fancycode/memorymodule) |
| 4 | +Функции, которые используются для загрузки модулей (LoadLibrary, LoadLibraryEx) не поддерживают загрузку модулей из памяти. |
| 5 | +Данный модуль реализует данную функцию. |
5 | 6 |
|
6 | | -The default windows API functions to load external libraries into a program |
7 | | -(`LoadLibrary`, `LoadLibraryEx`) only work with files on the filesystem. It's |
8 | | -therefore impossible to load a DLL from memory. |
| 7 | +Основа была взята с репозитария: https://github.com/fancycode/MemoryModule |
9 | 8 |
|
10 | | -But sometimes, you need exactly this functionality (e.g. you don't want to |
11 | | -distribute a lot of files or want to make disassembling harder). Common |
12 | | -workarounds for this problems are to write the DLL into a temporary file |
13 | | -first and import it from there. When the program terminates, the temporary |
14 | | -file gets deleted. |
| 9 | +Вносятся правки которые позволяют полноценно запускать EXE из памяти. |
15 | 10 |
|
16 | | -`MemoryModule` is a library that can be used to load a DLL completely from |
17 | | -memory - without storing on the disk first. |
| 11 | +История: |
| 12 | +15.02.16 - Реализована возможность указания командной строки перед запуском EntryPoint. |
| 13 | +Поток, исполняющийся внутри MemoryModule маркируется изменением значения ProcessParameters в _PEB. |
| 14 | +Производится перехват (методом импорта) некоторых важных функций для изоляции от основного процесса. |
| 15 | +!Модуль не учитывается в списке модулей процесса! |
18 | 16 |
|
19 | | -See `doc/readme.txt` for more informations about the format of a DLL file and |
20 | | -a tutorial how they can be loaded directly. |
| 17 | +16.02.16 - Некоторые фиксы в TLS. |
| 18 | + |
| 19 | +Проблемы: |
| 20 | +1. При отсутствии таблицы .reloc и невозможности выделить нужную память по ImageBase запуск модуля становится невозможным. |
0 commit comments