项目
在 GitHub 查看
armvirus/CosMapper
关于
Loads a signed kernel driver which allows you to map any driver to kernel mode without any traces of the signed / mapped driver.
开发工具实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CosMapper
Loads a signed kernel driver (signed with leaked cert) which allows you to map any driver to kernel mode without any traces of the signed / mapped driver.
Procedure
- The usermode program loads the signed driver (signed with leaked cert)
- The signed driver then does a [.data] hook on a ntoskrnl function to transfer the mapped driver buffer to kernel
- Usermode process sends mapped driver bytes to driver to map and returns status to usermode.
- MmUnloadedList PiddbCache and BigPoolAllocation are cleaned and the driver header is not mapped and no empty bytes for the header allocated.
- The usermode program unloads the signed driver (signed with leaked cert) and deletes the service to remove final traces.
Requirements
Your driver needs an entry like the example driver:
struct EntryInitialize
{
std::uintptr_t mappedImageBase{};
std::size_t mappedImageSize{};
};
NTSTATUS DriverEntry(EntryInitialize* entryParam)
{
DebugPrint("Example Driver Mapped [%p] w/ Size [0x%x]", entryParam->mappedImageBase, entryParam->mappedImageSize);
ExFreePool(reinterpret_cast<void*>(entryParam));
return STATUS_SUCCESS;
}
The current example passes a structure with the image base and size of the mapped driver but it can be modified to your own liking.
Note: this project was coded in 2 days so it might have some bugs (open ticket)
The project has been tested on Windows 10 20H2
Usage
cosusermode.exe driver.sys
探索相关项目
加载中…