Dynamically load CI exports #1

Closed
opened 2023-07-02 11:31:19 +02:00 by nefarius · 1 comment
Owner

Some exports like CiGetCertPublisherName (and RtlUTF8StringToUnicodeString) are not supported on older (e.g. 1507) Windows 10 builds and therefore should be dynamically resolved and fail with STATUS_NOT_IMPLEMENTED if not available to avoid driver loading to fail.

  • #2 related
  • Remove the ci.lib stubs once done
Some exports like `CiGetCertPublisherName` (and [`RtlUTF8StringToUnicodeString`](https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-rtlutf8stringtounicodestring)) are not supported on older (e.g. 1507) Windows 10 builds and therefore should be dynamically resolved and fail with `STATUS_NOT_IMPLEMENTED` if not available to avoid driver loading to fail. - [ ] #2 related - [ ] Remove the `ci.lib` stubs once done
Author
Owner

This can not be done; the import addresses are somehow mangled, I assume the CI.dll is protected by PatchGuard or some other unknown mechanism, shame!

This can not be done; the import addresses are somehow mangled, I assume the CI.dll is protected by PatchGuard or some other unknown mechanism, shame!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nefarius/Domito#1
No description provided.