MSFN Forum: PE Tool for creating patches - MSFN Forum

Jump to content


  • 32 Pages +
  • « First
  • 28
  • 29
  • 30
  • 31
  • 32
  • You cannot start a new topic
  • You cannot reply to this topic

PE Tool for creating patches WildBill's post-EOL patches for Windows 2000 are here. Rate Topic: -----

#581 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,139
  • Joined: 24-November 04

Posted 07 September 2012 - 09:50 AM

hi WildBill. can you make the unofficial August 2012 Cumulative Time Zone KB2732052 Updates for Windows 2000?
MS KB article 2732052:
http://support.micro...com/kb/2732052/
supersedes and replaces previously released Time Zone hotfixes as well as the December 2011 Cumulative Time Zone updates.

I see a definite pattern of how and when MS releases new Time Zone updates for Windows for several years now, usually in August and in December of each year.

This post has been edited by erpdude8: 07 September 2012 - 09:52 AM



#582 User is offline   tomasz86 

  • http://windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,252
  • Joined: 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 September 2012 - 10:26 AM

View Posterpdude8, on 07 September 2012 - 09:50 AM, said:

hi WildBill. can you make the unofficial August 2012 Cumulative Time Zone KB2732052 Updates for Windows 2000?
MS KB article 2732052:
http://support.micro...com/kb/2732052/
supersedes and replaces previously released Time Zone hotfixes as well as the December 2011 Cumulative Time Zone updates.

I see a definite pattern of how and when MS releases new Time Zone updates for Windows for several years now, usually in August and in December of each year.

acus has already done it :whistle:

http://www.ryanvm.ne...p=126872#126872

This post has been edited by tomasz86: 07 September 2012 - 10:26 AM


#583 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,139
  • Joined: 24-November 04

Posted 07 September 2012 - 03:45 PM

thanks, tomasz86. i haven't been here that much lately.

btw, do you know by any chance if anyone got the KB2476490 oleaut32.dll v2.40.4535.0 security patch blackwingcat mentioned here?

I didn't realize that MS is still secretly making some new security fixes for win2000, even after extended support for Win2k ended mid-July 2010.

This post has been edited by erpdude8: 07 September 2012 - 03:47 PM


#584 User is offline   tomasz86 

  • http://windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,252
  • Joined: 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 September 2012 - 05:03 PM

View Posterpdude8, on 07 September 2012 - 03:45 PM, said:

thanks, tomasz86. i haven't been here that much lately.

btw, do you know by any chance if anyone got the KB2476490 oleaut32.dll v2.40.4535.0 security patch blackwingcat mentioned here?

I didn't realize that MS is still secretly making some new security fixes for win2000, even after extended support for Win2k ended mid-July 2010.

I don't think it's available publicly. Only a few of the updates mentioned on the BWC's blog leaked. The IE Cumulative one has been recently replaced by the newly (officially) released CU (KB2722913). The two others are included in Update Rollup 2. Only the one for MDAC 2.8 SP1 (KB983838) still needs to be applied separately.

#585 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 30 September 2012 - 08:47 PM

I've got a new installment of MS11-011 (KB2393802) posted (v12). By request, it adds a number of kernel-level functions:

ntoskrnl/ntkrnlpa/ntkrnlmp/ntkrpamp.exe

KeAreApcsDisabled
IoQueryFileDosDeviceName
MmProtectMdlSystemAddress
KeQueryActiveProcessorCount
PsDereferenceImpersonationToken
PsDereferencePrimaryToken
NtOpenProcessTokenEx
NtOpenThreadTokenEx
ZwOpenProcessTokenEx
ZwOpenThreadTokenEx
CcMdlWriteAbort

Enjoy... :hello:

#586 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 02 October 2012 - 07:27 PM

KB2508429 v9 is up, which should fix a STOP error when copying files over a network share...

#587 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 07 October 2012 - 01:01 AM

I've got a new v13 of KB2393802 up, which fixes one bug and adds a bunch of new kernel functions:

ntdll.dll

Bugfixes:

RtlRandomEx -- Fixed a bug that would cause an exception (and would return an incorrect result anyway)


New additions:

NtOpenProcessTokenEx
NtOpenThreadTokenEx
ZwOpenProcessTokenEx
ZwOpenThreadTokenEx


ntoskrnl/ntkrnlpa/ntkrnlmp/ntkrpamp.exe

New additions:

RtlHashUnicodeString
RtlRandomEx
RtlInitializeGenericTableAvl
RtlInsertElementGenericTableFullAvl
RtlIsGenericTableEmptyAvl
RtlGetElementGenericTableAvl
RtlNumberGenericTableElementsAvl
RtlInsertElementGenericTableAvl
RtlDeleteElementGenericTableAvl
RtlLookupElementGenericTableFullAvl
RtlEnumerateGenericTableLikeADirectory
RtlLookupElementGenericTableAvl
RtlEnumerateGenericTableWithoutSplayingAvl
RtlEnumerateGenericTableAvl
RtlIpv4StringToAddressW
RtlIpv4StringToAddressExW
RtlIpv4AddressToStringW
RtlIpv4AddressToStringExW
RtlIpv4StringToAddressA
RtlIpv4StringToAddressExA
RtlIpv4AddressToStringA
RtlIpv4AddressToStringExA
RtlIpv6AddressToStringW
RtlIpv6AddressToStringExW
RtlIpv6AddressToStringA
RtlIpv6AddressToStringExA
RtlIpv6StringToAddressA
RtlIpv6StringToAddressExA
RtlIpv6StringToAddressW
RtlIpv6StringToAddressExW
ExGetCurrentProcessorCpuUsage
ExGetCurrentProcessorCounts
ExfInterlockedCompareExchange64
FsRtlIncrementCcFastReadNoWait
FsRtlIncrementCcFastReadNotPossible
FsRtlIncrementCcFastReadResourceMiss
FsRtlIncrementCcFastReadWait

Existing routines added to the export table:

ExVerifySuite
HalExamineMBR

This post has been edited by WildBill: 07 October 2012 - 01:16 AM


#588 User is offline   discdude 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 04-July 05

Posted 07 October 2012 - 05:41 PM

WildBill,

Thanks for all your hard work. I installed the updated KB2393802 and KB2508429 and everything seems to be working fine.

#589 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 08 October 2012 - 02:15 AM

Thanks! It's become apparent to me that in the long run we've got to rewrite these in C if we're ever going to get compatibility past a certain point (I don't just want to match XP, I want to eventually surpass it). I'm well past the 95% point of starting to have my first rev of kernel32 rewritten, but all this ntoskrnl work is keeping me away from it. I ve amassed enough info from reverse-engineering ntoskrnl that I could rewrite large portions of it with little difficulty, but the files are so huge that a complete rewrite would likely be a 2-year proposition (as it stands I'm coming up on a year for kernel32). I'm happy to do it since it's my OS of choice and I use it every day, but I think I could use some advice on how to break some of the effort up. Besides, it's always going to be easier to rewrite and test small portions at a time, but I'm not sure how to do it). Csrsrv and basesrv were small enough that I could rewrite them all at once but the kernel files aren't).

On a related note, I'm trying to assist someone with getting SEP (Symantec Endpoint Protection) working with the new kernel. It's resulting with STOP errors (IRQL not less or equal, happening in IoGetAttachedDevice), and I'm not all that knowledgeable enough with WinDbg that I might be enough of a help. I managed to generate an updated .DBG file with the correct symbols for the uniprocessor ntoskrnl.exe, but that isn't helping all that much (and I can provide accurate .MAP files using a customized Ida Pro script I use). Would anyone be able to help diagnose this? Compatibility is of course the primary goal of extending the kernel, but it's causing me to put the kernel32 rewrite on hold.

One of the things I think I need to add is an Ida script to generate .DBG files in addition to .MAP files (the built-in Ida function generates incorrect .MAP files, which is why I use my own script). If I can find the source to map2dbg or if someone can point me to it I should be able to add it to my Ida script. I also need to write an Ida script that can import a .MAP file and update the Ida database. That would be huge.

If there are any Ida users who woukd like to use my .idc scripts just say the word. For me they've been critical to getting this far,

#590 User is offline   erpdude8 

  • MSFN Master
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,139
  • Joined: 24-November 04

Posted 12 October 2012 - 11:51 AM

View PostPROBLEMCHYLD, on 20 November 2010 - 04:02 PM, said:

Can you make a KB955704 exFAT patch?


unfortunately, that is not possible as the exFAT drivers from KB955704 didn't work on my Win2000 SP4 + UR1 (update rollup 1) machine as I've recently tested myself with an 8Gb exFAT formatted USB flash drive. exfat.sys driver loaded on w2k but can't recognize my exFAT formatted USB flash drive as win2000 explorer tells me the flash drive is not formatted. :no:

thus the exfat drivers from KB955704 won't work on anything older than XP.
only hope for exfat support on win2k & older is a 3rd party driver of some sort.

EDIT: I found out that the exfat.sys and uexfat.dll files are useless without an exFAT-ready shell32.dll file.
see attached picture below:

Posted Image

this is a WinXP shell32.dll file with exFAT support. until exFAT support is implemented into the shell32.dll library file for Win2k, the exFAT SYS and DLL files won't do any good.

This post has been edited by erpdude8: 13 October 2012 - 08:25 AM


#591 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 15 October 2012 - 01:44 AM

exFAT support might also be in win32k.sys...don't hold me to that, but I have a nagging feeling that I might have seen some support for it there. It might be worth a quick search.

How large is exfat.sys? If it's really smsll it might be worth rewriting.

#592 User is offline   tomasz86 

  • http://windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,252
  • Joined: 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 15 October 2012 - 01:55 AM

View PostWildBill, on 15 October 2012 - 01:44 AM, said:

How large is exfat.sys? If it's really smsll it might be worth rewriting.

exfat.sys 5.1.2600.3453 133,632 bytes

#593 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 15 October 2012 - 02:06 AM

Hmm that's not *too* bad, but it depends a whole lot on what's in it. If you can post it somewhere I can do a quick run through in Ida tomorrow and see what it spits out. I paid for the Ida decompiler, so I can generate (albeit very messy) C code. It won't be recompilable out of the box, but it's step 1, as it were. At least it might shed some light on some of the logic.

For me, the two most painful parts of the rewriting process have been reverse-engineering the structures and then figuring out what the really large and complex routines are trying to do. I've figured out a ton of internal structures in rewriting kernel32, but who knows how much that might overlap with a driver. If someone wants to take a stab at rewriting it (or even just the easier parts), I can probably provide enough information to get them at least something useful to start with.

One caveat, though, the generated C code isn't always correct. I can also generate .asm files and .map files that are also useful. Often I have to correlate the two when something looks fishy in the generated C code.

#594 User is offline   tomasz86 

  • http://windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,252
  • Joined: 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 15 October 2012 - 02:11 AM

View PostWildBill, on 15 October 2012 - 02:06 AM, said:

If you can post it somewhere I can do a quick run through in Ida tomorrow and see what it spits out.

It's in this update:

http://www.microsoft...s.aspx?id=19364

#595 User is offline   jimmsta 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 386
  • Joined: 04-May 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 October 2012 - 04:59 PM

View Posttomasz86, on 15 October 2012 - 02:11 AM, said:

View PostWildBill, on 15 October 2012 - 02:06 AM, said:

If you can post it somewhere I can do a quick run through in Ida tomorrow and see what it spits out.

It's in this update:

http://www.microsoft...s.aspx?id=19364


That extracts out to a directory containing the following:

 Volume in drive G is DATA
 Volume Serial Number is 7A4C-636C

 Directory of G:\exfat

10/16/2012  06:58 PM    <DIR>          .
10/16/2012  06:58 PM    <DIR>          ..
10/16/2012  06:58 PM                 0 dirlist.txt
10/16/2012  06:55 PM    <DIR>          SP2GDR
10/16/2012  06:55 PM    <DIR>          SP2QFE
10/16/2012  06:55 PM    <DIR>          SP3GDR
10/16/2012  06:55 PM    <DIR>          SP3QFE
11/30/2007  07:18 AM            17,272 spmsg.dll
11/30/2007  07:18 AM           231,288 spuninst.exe
10/16/2012  06:55 PM    <DIR>          update
               3 File(s)        248,560 bytes

 Directory of G:\exfat\SP2GDR

10/16/2012  06:55 PM    <DIR>          .
10/16/2012  06:55 PM    <DIR>          ..
09/29/2008  05:58 AM           133,632 exfat.sys
09/30/2008  02:44 AM            18,944 fmifs.dll
09/29/2008  05:59 AM            30,720 format.com
09/29/2008  05:58 AM             9,216 fs_rec.sys
09/30/2008  02:44 AM            77,824 ifsutil.dll
09/30/2008  02:44 AM         8,455,168 shell32.dll
09/30/2008  02:44 AM            57,344 uexfat.dll
09/30/2008  02:44 AM           278,528 ulib.dll
               8 File(s)      9,061,376 bytes

 Directory of G:\exfat\SP2QFE

10/16/2012  06:55 PM    <DIR>          .
10/16/2012  06:55 PM    <DIR>          ..
09/29/2008  05:53 AM           133,632 exfat.sys
09/30/2008  02:05 AM            18,944 fmifs.dll
09/29/2008  05:54 AM            30,720 format.com
09/29/2008  05:53 AM             9,216 fs_rec.sys
09/30/2008  02:05 AM            77,824 ifsutil.dll
09/30/2008  11:35 AM         8,461,312 shell32.dll
09/30/2008  02:05 AM            57,344 uexfat.dll
09/30/2008  02:05 AM           278,528 ulib.dll
09/29/2008  05:46 AM           351,744 xpsp3res.dll
               9 File(s)      9,419,264 bytes

 Directory of G:\exfat\SP3GDR

10/16/2012  06:55 PM    <DIR>          .
10/16/2012  06:55 PM    <DIR>          ..
09/29/2008  06:21 AM           133,632 exfat.sys
09/30/2008  02:19 AM            18,944 fmifs.dll
09/29/2008  06:22 AM            30,720 format.com
09/29/2008  06:20 AM             9,216 fs_rec.sys
09/30/2008  02:19 AM            77,824 ifsutil.dll
09/30/2008  02:19 AM         8,461,824 shell32.dll
09/30/2008  02:19 AM            57,344 uexfat.dll
09/30/2008  02:19 AM           278,528 ulib.dll
               8 File(s)      9,068,032 bytes

 Directory of G:\exfat\SP3QFE

10/16/2012  06:55 PM    <DIR>          .
10/16/2012  06:55 PM    <DIR>          ..
09/29/2008  06:51 AM           133,632 exfat.sys
09/30/2008  01:56 AM            18,944 fmifs.dll
09/29/2008  06:52 AM            30,720 format.com
09/29/2008  06:50 AM             9,216 fs_rec.sys
09/30/2008  01:56 AM            77,824 ifsutil.dll
09/30/2008  01:56 AM         8,462,336 shell32.dll
09/30/2008  01:56 AM            57,344 uexfat.dll
09/30/2008  01:56 AM           278,528 ulib.dll
               8 File(s)      9,068,544 bytes

 Directory of G:\exfat\update

10/16/2012  06:55 PM    <DIR>          .
10/16/2012  06:55 PM    <DIR>          ..
09/30/2008  02:32 AM               926 branches.inf
11/30/2007  10:17 AM               804 eula.txt
09/30/2008  06:29 AM            22,668 KB955704.CAT
11/30/2007  07:18 AM            26,488 spcustom.dll
11/30/2007  07:18 AM           755,576 update.exe
09/30/2008  04:49 PM             3,028 update.ver
09/30/2008  02:32 AM               678 updatebr.inf
09/30/2008  06:36 AM            24,318 update_SP2GDR.inf
09/30/2008  06:32 AM            25,523 update_SP2QFE.inf
09/30/2008  06:38 AM            27,395 update_SP3GDR.inf
09/30/2008  06:29 AM            27,395 update_SP3QFE.inf
07/09/2008  03:38 AM           382,840 updspapi.dll
              12 File(s)      1,297,639 bytes

     Total Files Listed:
              48 File(s)     38,163,415 bytes
              17 Dir(s)  402,366,476,288 bytes free


So it looks like it's a _lot_ more than just the exfat.sys driver file :(
Maybe in code, it's just a function or two ?

#596 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 16 October 2012 - 07:46 PM

Oh, no, its a lot of functions. With a lot of help from Google I've made a little sense of it, but it's still about 400 functions (a handful of which are rather large). The first problem with the sys I found is that one function uses SetFilterToken from ntoskrnl, which my kernel doesn't have. I suspect, though, that the biggest incompatibilities are in the data structures involved. It accesses some system-level data structures that tend to differ between XP and 2k (though I'd have to completely reverse-engineer the data structures to be sure). It might be possible to rewrite it as a 2k-compatible version, but it would involve quite a bit of effort. I haven't even looked at the other files.

#597 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 16 October 2012 - 09:03 PM

There are 310 functions in the XPSP2 version of exfat.sys. I don't have the time to fully reverse-engineer it, but here is what Ida spits out after a few days of trying to figure it out and plugging in whatever info I can find by Googling. It's at least a starting point if anyone wants to take a crack at rewriting it. One caveat: the C code that Ida generates never shows try...except or try...finally blocks so be sure to use the generated asm file for that logic.

This post has been edited by WildBill: 16 October 2012 - 09:03 PM


#598 User is offline   WildBill 

  • Senior Member
  • Group: Developers
  • Posts: 675
  • Joined: 09-August 05
  • OS:none specified
  • Country: Country Flag

Posted 20 October 2012 - 06:41 PM

I finally have all of the required kernel32 functions written in C and I've started writing unit tests...

AreFileApisANSI                   PASSED
FreeEnvironmentStringsA           PASSED
FreeEnvironmentStringsW           PASSED
GetACP                            PASSED
GetCommandLineA                   PASSED
GetCommandLineW                   PASSED
GetComputerNameA                  PASSED
GetComputerNameW                  PASSED
GetConsoleAliasExesLengthA        PASSED
GetConsoleAliasExesLengthW        PASSED
GetConsoleCP                      PASSED
GetConsoleDisplayMode             PASSED
GetConsoleInputExeNameA           PASSED
GetConsoleInputExeNameW           PASSED
GetConsoleKeyboardLayoutNameA     PASSED
GetConsoleKeyboardLayoutNameW     PASSED
GetConsoleOutputCP                PASSED
GetConsoleTitleA                  PASSED
GetConsoleTitleW                  PASSED
GetConsoleWindow                  PASSED
GetCurrentDirectoryA              PASSED
GetCurrentDirectoryW              PASSED
GetCurrentProcess                 PASSED
GetCurrentProcessId               PASSED
GetCurrentThread                  PASSED
GetCurrentThreadId                PASSED
GetDefaultSortkeySize             PASSED
GetDllDirectoryA                  PASSED
GetDllDirectoryW                  PASSED
GetEnvironmentStringsA            PASSED
GetEnvironmentStringsW            PASSED
GetLinguistLangSize               PASSED
GetLogicalDrives                  PASSED
GetModuleFileNameA                PASSED
GetModuleFileNameW                PASSED
GetModuleHandleA                  PASSED
GetModuleHandleW                  PASSED
GetNumberOfConsoleFonts           PASSED
GetNumberOfConsoleMouseButtons    PASSED
GetOEMCP                          PASSED
GetPriorityClass                  PASSED
GetProcessAffinityMask            PASSED
GetProcessHandleCount             PASSED
GetProcessHeap                    PASSED
GetProcessPriorityBoost           PASSED
GetProcessShutdownParameters      PASSED
GetProcessVersion                 PASSED
GetProcessWorkingSetSize          PASSED
GetSystemDefaultLangID            PASSED
GetSystemDefaultLCID              PASSED
GetSystemDefaultUILanguage        PASSED
GetSystemPowerStatus              PASSED
GetSystemWindowsDirectoryA        PASSED
GetSystemWindowsDirectoryW        PASSED
GetTempPathA                      PASSED
GetTempPathW                      PASSED
GetThreadLocale                   PASSED
GetThreadPriority                 PASSED
GetTickCount                      PASSED
GetUserDefaultLangID              PASSED
GetUserDefaultLCID                PASSED
GetUserDefaultUILanguage          PASSED
GetVersion                        PASSED
GetVersionExA                     PASSED
GetVersionExW                     PASSED
GetWindowsDirectoryA              PASSED
GetWindowsDirectoryW              PASSED
GlobalMemoryStatus                PASSED
InterlockedCompareExchange        PASSED
InterlockedDecrement              PASSED
InterlockedExchange               PASSED
InterlockedExchangeAdd            PASSED
InterlockedIncrement              PASSED
IsDebuggerPresent                 PASSED
lstrcatA                          PASSED
lstrcatW                          PASSED
lstrcpyA                          PASSED
lstrcpyW                          PASSED
lstrcpynA                         PASSED
lstrcpynW                         PASSED
lstrlenA                          PASSED
lstrlenW                          PASSED
NlsGetCacheUpdateCount            PASSED
Sleep                             PASSED
TermsrvAppInstallMode             PASSED

This post has been edited by WildBill: 21 October 2012 - 09:50 AM


#599 User is offline   tomasz86 

  • http://windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,252
  • Joined: 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 10 November 2012 - 06:01 AM

Hey WildBill,

How is your work on the new kernel32.dll going?

I wonder if you could implement some of the APIs which BlackWingCat has added to his kernel (the newest version is KB935839-v22j and also KB979683-v11b). His kernel is capable of running applications compiled in VS2012 and also all dependencies related to .NET Framework 3.5 and 4.0 are fixed in it. He also "patched" the kernel exe files (ntoskrnl.exe and the three other files) so that it's possible to use more cores in Win2k Pro / Server (the number can be set manually through the registry - download KB979683-CoreChg.zip) and you can also enable PAE in Win2k Pro / Server so that the system can use up to 8 GB of RAM.

If you want to test .NET Framework then you can check my installer from here. It's a combined installer of all .NET Frameworks (from 1.0 to 4.0).

I'm really looking forward to try the new rewritten kernel. At the moment I'm using the BlackWingCat's version but I used yours before and actually found it much more stable.

#600 User is offline   tomasz86 

  • http://windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,252
  • Joined: 27-November 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 11 November 2012 - 06:18 AM

I've just compared ntkrnlmp.exe from WildBill and BlackWingCat.

APIs present only in WB ntkrnlmp.exe 5.0.2195.7384:

CcMdlWriteAbort
DbgQueryDebugFilterState
DbgSetDebugFilterState
ExVerifySuite
FsRtlIncrementCcFastReadNotPossible
FsRtlIncrementCcFastReadNoWait
FsRtlIncrementCcFastReadResourceMiss
FsRtlIncrementCcFastReadWait
HalExamineMBR
IoForwardAndCatchIrp
IoForwardIrpSynchronously
IoQueryFileDosDeviceName
KeAcquireInterruptSpinLock
KeQueryActiveProcessorCount
KeReleaseInterruptSpinLock
MmProtectMdlSystemAddress
NtOpenProcessTokenEx
NtOpenThreadToken
NtOpenThreadTokenEx
PsDereferenceImpersonationToken
PsDereferencePrimaryToken
PsRemoveCreateThreadNotifyRoutine
PsRemoveLoadImageNotifyRoutine
RtlDeleteElementGenericTableAvl
RtlEnumerateGenericTableAvl
RtlEnumerateGenericTableLikeADirectory
RtlEnumerateGenericTableWithoutSplayingAvl
RtlGetElementGenericTableAvl
RtlHashUnicodeString
RtlInitializeGenericTableAvl
RtlInsertElementGenericTableAvl
RtlInsertElementGenericTableFullAvl
RtlInt64ToUnicodeString
RtlIpv4AddressToStringA
RtlIpv4AddressToStringExA
RtlIpv4AddressToStringExW
RtlIpv4AddressToStringW
RtlIpv4StringToAddressA
RtlIpv4StringToAddressExA
RtlIpv4StringToAddressExW
RtlIpv4StringToAddressW
RtlIpv6AddressToStringA
RtlIpv6AddressToStringExA
RtlIpv6AddressToStringExW
RtlIpv6AddressToStringW
RtlIpv6StringToAddressA
RtlIpv6StringToAddressExA
RtlIpv6StringToAddressExW
RtlIpv6StringToAddressW
RtlIsGenericTableEmptyAvl
RtlLookupElementGenericTableAvl
RtlLookupElementGenericTableFullAvl
RtlNumberGenericTableElementsAvl
RtlTestBit
vDbgPrintEx
vDbgPrintExWithPrefix
ZwOpenProcessTokenEx
ZwOpenThreadTokenEx
ZwQueryInformationThread


APIs present only in BWC ntkrnlmp.exe 5.0.2195.7386:

IoCsqInitialize
IoCsqInsertIrp
IoCsqRemoveIrp
IoCsqRemoveNextIrp
IoSetCompletionRoutineEx
KeAcquireInStackQueuedSpinLockAtDpcLevel
KeDeregisterBugCheckReasonCallback
KeGetRecommendedSharedDataAlignment
KeRegisterBugCheckReasonCallback
KeReleaseInStackQueuedSpinLockFromDpcLevel
ObSetSecurityObjectByPointer
PsGetCurrentThreadStackBase
PsGetCurrentThreadStackLimit
PsGetProcessWin32Process
PsGetThreadId
PsGetThreadProcessId
PsGetThreadWin32Thread
SeTokenObjectType
_alloca_probe


Same thing for kernel32.dll.

APIs present only in WB kernel32.dll 5.0.2195.7154:

AddLocalAlternateComputerNameA
AddLocalAlternateComputerNameW
CopyLZFile
CreateNlsSecurityDescriptor
CreateSocketHandle
EnumerateLocalComputerNamesA
EnumerateLocalComputerNamesW
GetCPFileNameFromRegistry
GetExpandedNameA
GetExpandedNameW
IsValidUILanguage
LZClose
LZCloseFile
LZCopy
LZCreateFileW
LZDone
LZInit
LZOpenFileA
LZOpenFileW
LZRead
LZSeek
LZStart
RemoveLocalAlternateComputerNameA
RemoveLocalAlternateComputerNameW
SetClientTimeZoneInformation
SetLocalPrimaryComputerNameA
SetLocalPrimaryComputerNameW


APIs present only in BWC kernel32.dll 5.0.2195.7193:

ActivateActCtx
AddRefActCtx
ApplicationRecoveryFinished
ApplicationRecoveryInProgress
BaseCheckAppcompatCache
CheckForReadOnlyResource
CheckRemoteDebuggerPresent
CompareStringEx
ConvertFiberToThread
CreateActCtxA
CreateActCtxW
CreateSemaphoreExA
CreateSemaphoreExW
DeactivateActCtx
DebugActiveProcessStop
DecodeSystemPointer
EncodeSystemPointer
EnumSystemGeoID
EnumSystemLocalesEx
FindActCtxSectionGuid
FindActCtxSectionStringA
FindActCtxSectionStringW
FindFirstStreamW
FindNextStreamW
FindNLSString
FlsAlloc
FlsFree
FlsGetValue
FlsSetValue
GetCurrentActCtx
GetDateFormatEx
GetFirmwareEnvironmentVariableA
GetFirmwareEnvironmentVariableW
GetGeoInfoA
GetGeoInfoW
GetLocaleInfoEx
GetNLSVersion
GetNLSVersionEx
GetProcessDEPPolicy
GetSystemDEPPolicy
GetThreadId
GetThreadIOPendingFlag
GetThreadPreferredUILanguages
GetTickCount64
GetTimeFormatEx
GetUserGeoID
InitializeCriticalSectionEx
InitOnceExecuteOnce
IsProcessInJob
IsValidLocaleName
LCMapStringEx
QueryActCtxW
RegisterApplicationRecoveryCallback
RegisterApplicationRestart
ReleaseActCtx
SetFirmwareEnvironmentVariableA
SetFirmwareEnvironmentVariableW
SetProcessDEPPolicy
SetThreadPreferredUILanguages
SetThreadStackGuarantee
WTSGetActiveConsoleSessionId
ZombifyActCtx


And ntdll.dll...

APIs present only in WB ntdll.dll 5.0.2195.7085:

CsrCaptureMessageMultiUnicodeStringsInPlace
LdrAccessOutOfProcessResource
LdrAddRefDll
LdrCreateOutOfProcessImage
LdrDestroyOutOfProcessImage
LdrEnumerateLoadedModules
LdrFindCreateProcessManifest
LdrGetDllHandleEx
LdrInitShimEngineDynamic
LdrSetAppCompatDllRedirectionCallback
LdrSetDllManifestProber
NtOpenProcessTokenEx
NtOpenThreadTokenEx
NtSetDebugFilterState
RtlActivateActivationContext
RtlActivateActivationContextEx
RtlActivateActivationContextUnsafeFast
RtlAddRefActivationContext
RtlAddRefMemoryStream
RtlAddressInSectionTable
RtlAddVectoredExceptionHandler
RtlAppendPathElement
RtlCloneMemoryStream
RtlCommitMemoryStream
RtlComputeCrc32
RtlComputePrivatizedDllName_U
RtlCopyMemoryStreamTo
RtlCopyOutOfProcessMemoryStreamTo
RtlCreateActivationContext
RtlCreateBootStatusDataFile
RtlDeactivateActivationContext
RtlDeactivateActivationContextUnsafeFast
RtlDecodePointer
RtlDecodeSystemPointer
RtlDeleteElementGenericTableAvl
RtlDosApplyFileIsolationRedirection_Ustr
RtlDosSearchPath_Ustr
RtlDuplicateUnicodeString
RtlEncodePointer
RtlEncodeSystemPointer
RtlEnumerateGenericTableAvl
RtlEnumerateGenericTableLikeADirectory
RtlEnumerateGenericTableWithoutSplayingAvl
RtlFinalReleaseOutOfProcessMemoryStream
RtlFindActivationContextSectionGuid
RtlFindActivationContextSectionString
RtlFreeThreadActivationContextStack
RtlGetActiveActivationContext
RtlGetElementGenericTableAvl
RtlGetLengthWithoutLastFullDosOrNtPathElement
RtlGetLengthWithoutTrailingPathSeperators
RtlGetNtVersionNumbers
RtlGetSetBootStatusData
RtlInitializeGenericTableAvl
RtlInitMemoryStream
RtlInitOutOfProcessMemoryStream
RtlInsertElementGenericTableAvl
RtlIpv4AddressToStringA
RtlIpv4AddressToStringExA
RtlIpv4AddressToStringExW
RtlIpv4AddressToStringW
RtlIpv4StringToAddressA
RtlIpv4StringToAddressExA
RtlIpv4StringToAddressExW
RtlIpv4StringToAddressW
RtlIpv6AddressToStringA
RtlIpv6AddressToStringExA
RtlIpv6AddressToStringExW
RtlIpv6AddressToStringW
RtlIpv6StringToAddressA
RtlIpv6StringToAddressExA
RtlIpv6StringToAddressExW
RtlIpv6StringToAddressW
RtlIsActivationContextActive
RtlIsGenericTableEmptyAvl
RtlLockBootStatusData
RtlLockMemoryStreamRegion
RtlLookupElementGenericTableAvl
RtlMultiAppendUnicodeStringBuffer
RtlNumberGenericTableElementsAvl
RtlpApplyLengthFunction
RtlpNotOwnerCriticalSection
RtlQueryInformationActivationContext
RtlQueryInformationActiveActivationContext
RtlQueryInterfaceMemoryStream
RtlReadMemoryStream
RtlReadOutOfProcessMemoryStream
RtlReleaseActivationContext
RtlReleaseMemoryStream
RtlRemoveVectoredExceptionHandler
RtlRestoreLastWin32Error
RtlRevertMemoryStream
RtlSeekMemoryStream
RtlSetMemoryStreamSize
RtlStatMemoryStream
RtlUnlockBootStatusData
RtlUnlockMemoryStreamRegion
RtlWriteMemoryStream
RtlZombifyActivationContext
ZwOpenProcessTokenEx
ZwOpenThreadTokenEx
ZwQueryDebugFilterState
ZwSetDebugFilterState
_alldvrm
_aulldvrm


APIs present only in BWC ntdll.dll 5.0.2195.7103:

IVerSC
NtAddBootEntry
NtDeleteBootEntry
NtEnumerateBootEntries
NtEnumerateSystemEnvironmentValuesEx
NtLockProductActivationKeys
NtModifyBootEntry
NtQueryBootEntryOrder
NtQueryBootOptions
NtQuerySystemEnvironmentValueEx
NtSetBootEntryOrder
NtSetBootOptions
NtSetSystemEnvironmentValueEx
NtTranslateFilePath
RtlApplicationVerifierStop
RtlDllShutdownInProgress
RtlGetLastNtStatus
RtlInterlockedPushListSList
RtlLogStackBackTrace
RtlQueryTickCountEx
RtlRunOnceBeginInitialize
RtlRunOnceComplete
RtlRunOnceExecuteOnce
SetExKernelConfig
WinSqmAddToStream
_EVH


Share this topic:


  • 32 Pages +
  • « First
  • 28
  • 29
  • 30
  • 31
  • 32
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy