Open coding-today opened 2 years ago
C:\Windows\System32\drivers\PYArkSafe.sys 找到这个文件 然后自己签名放到exe同级目录即可
可以劫持一下debughelp.dll,然后hook 一下createservice更换一下自己签名的驱动镜像(盲猜楼主是因为现在打的签名过不了EAC的回调)
SC_HANDLE WINAPI MyCreateServiceW( In SC_HANDLE hSCManager, In LPCWSTR lpServiceName, _Inopt LPCWSTR lpDisplayName, In DWORD dwDesiredAccess, In DWORD dwServiceType, In DWORD dwStartType, In DWORD dwErrorControl, _Inopt LPCWSTR lpBinaryPathName, _Inopt LPCWSTR lpLoadOrderGroup, _Outopt LPDWORD lpdwTagId, _Inopt LPCWSTR lpDependencies, _Inopt LPCWSTR lpServiceStartName, _Inopt LPCWSTR lpPassword ) { lpBinaryPathName = L"\SystemRoot\System32\drivers\PYArkSafeSign.sys"; return pfCreateServiceA(hSCManager, lpServiceName, lpDisplayName, dwDesiredAccess, dwServiceType, dwStartType, dwErrorControl, lpBinaryPathName, lpLoadOrderGroup, lpdwTagId, lpDependencies, lpServiceStartName, lpPassword); }
como faço para assinar um arquivo sys ?
教程中让自己签名,可以给一个教程吗?