首页 > 代码库 > 和谐掉系统的文件保护一分钟
和谐掉系统的文件保护一分钟
lonkil 从某AutoRun中逆出来的,利用微软未公布的API,sfc_os.dll中的ordinal为5函数,关闭文件保护一分钟。在网上查了一下资料,C代码如下:
[cpp] view plain copy print?
- //C code demo
- typedef DWORD(__stdcall *CPP) (DWORD param1, PWCHAR param2, DWORD param3);
- void Disable_WFP()
- {
- HINSTANCE hmod=LoadLibrary(_T"sfc_os.dll"));
- SetSfcFileException;
- // the function is stored at the fifth ordinal in sfc_os.dll
- SetSfcFileException= (CPP)GetProcAddress(hmod,(LPCSTR)5);
- SetSfcFileException(0, _T("c://windows//system32//calc.exe"),-1);
- //Now we can modify the system file in a complete stealth.
- ......
- }
原文链接:http://www.vcfans.com/2009/12/harmony-out-the-system-file-protection-for-one-minute.html
http://blog.csdn.net/wangningyu/article/details/5068202
和谐掉系统的文件保护一分钟
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。