![]() |
|
|
|
#1
|
||||
|
||||
|
yes, you may append your code to .sys but make sure to update checksum in PE header and to make code section writable. Any exception in r0 will cause bsod
__________________
http://accessroot.com |
|
#2
|
|||
|
|||
|
The PE-checksum will be your smallest problem if you plan to encrypt *.SYS files.
You must take care of what sections are loaded at which time, you must take care of the init callbacks, you will run into some big problems when trying to allocate memory and some other nasty problems. Just to name one, how do you plan to call LoadLibrary or GetProcAddres from Ring-0? KERNEL32 is not present and you can't use SEH to find the imports by trial and error.
|
|
#3
|
||||
|
||||
|
He have to use native api, but thats obvious...
|
|
#4
|
||||
|
||||
|
Quote:
then locate ZwQuerySystemInformation to receive addresses of needed drivers and write GetProcAddress by yourself walking trough exports of needed .sys files At least that's how I would do it.
__________________
http://accessroot.com |
|
#5
|
|||
|
|||
|
Quote:
It only prevent some modifications. Encrypt file can not be analyzed by static disassemble tool such as IDA pro. And as we know, VMProtect can make protection on .sys file but not encrypt, even compress. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Encrypt and Decrypt with public key and private key(RSA based) | CarrotStickCam | Source Code | 2 | 01-16-2023 14:53 |