和谐掉系统的文件保护一分钟
从某AutoRun中逆出来的,利用微软未公布的API,sfc_os.dll中的ordinal为5函数,关闭文件保护一分钟。在网上查了一下资料,C代码如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | //c code demo typedef DWORD(__stdcall *CPP) (DWORD param1, PWCHAR param2, DWORD param3); void Disable_WFP() { HINSTANCE hmod=LoadLibrary("sfc_os.dll"); CPP SetSfcFileException; // the function is stored at the fifth ordinal in sfc_os.dll SetSfcFileException= (CPP)GetProcAddress(hmod,(LPCSTR)5); SetSfcFileException(0, L"c:\\windows\\system32\\calc.exe",-1); //Now we can modify the system file in a complete stealth. } |
4 条评论
前段时间VS、OS都挂掉了,就差人没挂掉…
^ ^ 值得收藏!
to Koma:
甲流?
内容很好很强大!PS:高烧几天没力气摸电脑,花了几钱大洋给XX药店,郁闷 !