Xtremetic Posted October 19, 2014 Share Posted October 19, 2014 (edited) I have a patched version of tcpip.sys which enables 100 concurrent connection ports and I want to put it in my REPLACE\i386 folder. There could be a problem with this patched version of tcpip.sys in the installed XP being replaced when I run System File Checker. I assume that the file size would no longer tarry with the information in a security catalog. I wonder if there are addons for patched system files that would somehow make XP perceive them as legitimate and not be rejected by WFP. For instance, there is an addon offered at the RyanVM forum to allow the integration of patched dlls into XP to enable software Raid-5. I wonder if this would work with HFSLIP, the RyanVM Integrator and nLite, and would it resolve WFP problems. You can obtain it here: http://www.ryanvm.net/forum/viewtopic.php?t=713 Name of file: Rikgale_XPRAID5_addon_v1.cab Edited October 19, 2014 by Xtremetic Link to comment Share on other sites More sharing options...
jaclaz Posted October 19, 2014 Share Posted October 19, 2014 Well, you can disable WFP. Or am I missing something? jaclaz Link to comment Share on other sites More sharing options...
Xtremetic Posted October 19, 2014 Author Share Posted October 19, 2014 (edited) I intend to have WFP runining as normal with my Windows installation made with a slipstreamed installation CD. This seems like a good policy given my level of expertise. If the installation includes patched system files they may be overwritten when I run System File Checker. Unfortunately the Windows 2000/XP/2003 version of SFC does not ask the user if he wants to replace an incorrect system file in the way that the Win98SE version of SFC did. Edited October 19, 2014 by Xtremetic Link to comment Share on other sites More sharing options...
jaclaz Posted October 24, 2014 Share Posted October 24, 2014 (edited) Possibly you can disable selectively SFC only for tcpip.sys. using a modified SFCFILES.DLL:http://www.vorck.com/windows/2ksp5.htmlhttp://www.vorck.com/windows/xpsp4.html jaclaz Edited October 24, 2014 by jaclaz Link to comment Share on other sites More sharing options...
Xtremetic Posted November 1, 2014 Author Share Posted November 1, 2014 (edited) I looked at the article by Fred Vorck at http://www.vorck.com/windows/xpsp4.html and in the section called 'Random Notes' he recommends using Modifype to fix the headers of modified dlls so that they show an updated checksum, and WFP will not identify them as corrupt. As far as I can make out ModifyPE is intended to prevent the "File was not copied correctly" error during Windows setup using an installation CD with hacked system files that are slipstreamed into it. It may not aaddress the issue of of the hacked system files being detected as corrupt by WFP. Another approach advocated by ElTorqiro here http://www.msfn.org/board/topic/98306-wfp-app-for-removing-individual-files-from-monitoring/?mode=linearplus is to hack sfcfiles.dll so as to disable the entry for the system file you want excluded from protection. Unfortunately, there does not seem to be an app that can do this for you so you have to use HexEdit to get the job done. Then you can then insert the modified sfcfiles.dll into the REPLACE/i386 folder. Edited November 22, 2014 by Xtremetic Link to comment Share on other sites More sharing options...
mukke Posted November 10, 2014 Share Posted November 10, 2014 (edited) I looked at the article by Fred Vorck at http://www.vorck.com/windows/xpsp4.html and in the section called 'Random Notes' [...] I suppose you read that section again more carefully! Then read it again. And maybe once more. You are mixing up a few things! Btw: fdv's new version of SFCFILES.DLL that is "empty," is just that other approach advocated by ElTorqiro (with all system files excluded) Edited November 10, 2014 by mukke Link to comment Share on other sites More sharing options...
jaclaz Posted November 11, 2014 Share Posted November 11, 2014 (edited) The generic idea is that the "main" parts of WFP/SFC are two files:SFC.DLLSFCFILES.DLLThe first one is the "engine" that compares the actual files with the "list of protected ones" which is the second file. Traditionally one or the other can be "hacked" to completely disable WFP/SFC, i.e.:IF SFC.DLL modification is used, it is a "hack" to make it do "nothing"IF SFCFILES.DLL modification is used, it is a "hack" that simply is an "empty" file, i.e. it makes a completely empty list of protected filesThe latter method allows however (as explained in the thread by ElTorqiro you referenced) for selectively remove one or more files from the list of protected files. You do not really-really need to use an hex editor (though it would be convenient for a single filename removal from the list), you can use gsar (or any other suitable binary search/replace tool):http://home.online.no/~tjaberg/ Inside SFCFILES.DLL you will find: 25 00 73 00 79 00 73 00 74 00 65 00 6D 00 72 00 6F 00 6F 00 74 00 25 00 5C 00 73 00 79 00 73 00 74 00 65 00 6D 00 33 00 32 00 5C 00 64 00 72 00 69 00 76 00 65 00 72 00 73 00 5C 00 74 00 63 00 70 00 69 00 70 00 2E 00 73 00 79 00 73 00 00 00 i.e. Unicode for "%systemroot%\system32\drivers\tcpip.sys"jaclaz Edited November 11, 2014 by jaclaz Link to comment Share on other sites More sharing options...
mukke Posted November 12, 2014 Share Posted November 12, 2014 Unfortunately, there does not seem to be an app that can do this for you so you have to use HexEdit to get the job done. Then you can then insert the modified sfcfiles.dll into the REPLACE/i386 folder.Then do it yourself or even better let HFSLIP make it for you! Here's a quick'n dirty (and untested!) example to get you started using gsar:@ECHO OFFMD HFPOST 2>NULEXPAND -R SOURCESS\I386\SFCFILES.DL_ HFPOST >NUL::tcpip.sys%PREP%HFTOOLS\gsar -o HFPOST\SFCFILES.DLL -s:X25:X00:X73:X00:X79:X00:X73:X00:X74:X00:X65:X00:X6D:X00:X72:X00:X6F:X00:X6F:X00:X74:X00:X25:X00:X5C:X00:X73:X00:X79:X00:X73:X00:X74:X00:X65:X00:X6D:X00:X33:X00:X32:X00:X5C:X00:X64:X00:X72:X00:X69:X00:X76:X00:X65:X00:X72:X00:X73:X00:X5C:X00:X74:X00:X63:X00:X70:X00:X69:X00:X70:X00:X2E:X00:X73:X00:X79:X00:X73:X00 -r:X5C:X00:X00:X00:X79:X00:X73:X00:X74:X00:X65:X00:X6D:X00:X72:X00:X6F:X00:X6F:X00:X74:X00:X25:X00:X5C:X00:X73:X00:X79:X00:X73:X00:X74:X00:X65:X00:X6D:X00:X33:X00:X32:X00:X5C:X00:X64:X00:X72:X00:X69:X00:X76:X00:X65:X00:X72:X00:X73:X00:X5C:X00:X74:X00:X63:X00:X70:X00:X69:X00:X70:X00:X2E:X00:X73:X00:X79:X00:X73:X00MAKECAB /D CompressionMemory=%COMPMEM% /D CompressionType=LZX HFPOST\SFCFILES.DLL /L SOURCESS\I386 >NULEXIT/B 0HFSLIP_POST_SFCFILES.CMD Link to comment Share on other sites More sharing options...
jaclaz Posted November 12, 2014 Share Posted November 12, 2014 @mukke The link you posted to the "new" SFCFILES.DLL is dead, if you have a copy of it, post it, please. jaclaz Link to comment Share on other sites More sharing options...
tommyp Posted November 12, 2014 Share Posted November 12, 2014 Hey, that's pretty slick. (but didn't test it) Link to comment Share on other sites More sharing options...
dencorso Posted November 13, 2014 Share Posted November 13, 2014 @mukke The link you posted to the "new" SFCFILES.DLL is dead, if you have a copy of it, post it, please. jaclaz The requested file is below. I've also added a modified version (as a .7z), to which a version resource was added, and which has been correctly checksummed, instead of having the checksum set to zero.sfcfiles.zipSFCFILES_with_version_info.7z Link to comment Share on other sites More sharing options...
jaclaz Posted November 13, 2014 Share Posted November 13, 2014 (edited) The requested file is below.Yes/No. There is a completely empty SFCFILES.DLL (which is STIILL available here on FdV's site: http://www.vorck.com/windows/software.html http://www.vorck.com/windows/data/sfcfiles.zip ) mukke made reference to a (supposedly newer) SFCFILES.DLL version, that is seemingly missing.The link on this page:http://www.vorck.com/windows/xpsp4.html does point to:http://www.vorck.com/data/sfcfiles.zipwhich is 404 What I suspect is that there is simply a "wrong" link above (typo by FdV or "moved file") and that only exists a single version of SFCFILES.DLL, that the "new version" that mukke used is still that same file and that it is still the same good ol' one completely empty derived from Damian's initial implementation. Guess WHO at the time (ten years ago! ) provided "critical insights" pointing FdV at Damian Bakowsky work? https://web.archive.org/web/20080120145002/http://www.vorck.com/windows/about.htmlhttp://www.911cd.net/forums//index.php?showtopic=18556 jaclaz Edited November 13, 2014 by jaclaz Link to comment Share on other sites More sharing options...
dencorso Posted November 13, 2014 Share Posted November 13, 2014 The requested file is below.Yes/No. Yes/No. Since there can be no underflow in our physical world, no file can be made more empty than already empty... But since a new file might be of interest, I thought it might be relevant to post the modded file with version ("5515") resource and correct checksum, which is also offered by MDGx. Guess WHO at the time (ten years ago! ) provided "critical insights" pointing FdV at Damian Bakowsky work? Of course it was you! Who else could it have been? Link to comment Share on other sites More sharing options...
jaclaz Posted November 13, 2014 Share Posted November 13, 2014 Since there can be no underflow in our physical world, no file can be made more empty than already empty... Now you tell me ... But since a new file might be of interest, I thought it might be relevant to post the modded file with version ("5515") resource and correct checksum, which is also offered by MDGx.Sure jaclaz 1 Link to comment Share on other sites More sharing options...
mukke Posted November 17, 2014 Share Posted November 17, 2014 There is a completely empty SFCFILES.DLL (which is STIILL available here on FdV's site: http://www.vorck.com/windows/software.html http://www.vorck.com/windows/data/sfcfiles.zip ) mukke made reference to a (supposedly newer) SFCFILES.DLL version, that is seemingly missing.The link on this page:http://www.vorck.com/windows/xpsp4.html does point to:http://www.vorck.com/data/sfcfiles.zipwhich is 404 What I suspect is that there is simply a "wrong" link above (typo by FdV or "moved file") and that only exists a single version of SFCFILES.DLL, that the "new version" that mukke used is still that same file and that it is still the same good ol' one completely empty derived from Damian's initial implementation. Guess WHO at the time (ten years ago! ) provided "critical insights" pointing FdV at Damian Bakowsky work? https://web.archive.org/web/20080120145002/http://www.vorck.com/windows/about.htmlhttp://www.911cd.net/forums//index.php?showtopic=18556 jaclaz just to clarify: jaclaz is perfectly right on what he is suspecting* - at least the copy of the 'sfcfiles.zip' on my hdd is last modified 2008.10.23 and binary identical with the one still available - so my vote is for 'moved file'. *except i use(d) german version(s) created by myself and will never forget the moment my son recognized his picture on the cards when he played solitaire back then....and enjoyed the fact windows was not prompting to replace the critical systemfile named 'cards.dll' But since a new file might be of interest, I thought it might be relevant to post the modded file with version ("5515") resource and correct checksum, which is also offered by MDGx. indeed - and most likely the preferable one Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now