1ef01931fSBen Gras 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*0a6a1f1dSLionel Sambuc# $File: windows,v 1.10 2014/09/24 19:52:46 christos Exp $ 4ef01931fSBen Gras# windows: file(1) magic for Microsoft Windows 5ef01931fSBen Gras# 6ef01931fSBen Gras# This file is mainly reserved for files where programs 7ef01931fSBen Gras# using them are run almost always on MS Windows 3.x or 8ef01931fSBen Gras# above, or files only used exclusively in Windows OS, 9ef01931fSBen Gras# where there is no better category to allocate for. 10ef01931fSBen Gras# For example, even though WinZIP almost run on Windows 11ef01931fSBen Gras# only, it is better to treat them as "archive" instead. 12ef01931fSBen Gras# For format usable in DOS, such as generic executable 13ef01931fSBen Gras# format, please specify under "msdos" file. 14ef01931fSBen Gras# 15ef01931fSBen Gras 16ef01931fSBen Gras 17ef01931fSBen Gras# Summary: Outlook Express DBX file 18ef01931fSBen Gras# Extension: .dbx 19ef01931fSBen Gras# Created by: Christophe Monniez 20ef01931fSBen Gras0 string \xCF\xAD\x12\xFE MS Outlook Express DBX file 21ef01931fSBen Gras>4 byte =0xC5 \b, message database 22ef01931fSBen Gras>4 byte =0xC6 \b, folder database 23ef01931fSBen Gras>4 byte =0xC7 \b, account information 24ef01931fSBen Gras>4 byte =0x30 \b, offline database 25ef01931fSBen Gras 26ef01931fSBen Gras 27ef01931fSBen Gras# Summary: Windows crash dump 28ef01931fSBen Gras# Extension: .dmp 29ef01931fSBen Gras# Created by: Andreas Schuster (http://computer.forensikblog.de/) 30ef01931fSBen Gras# Reference (1): http://computer.forensikblog.de/en/2008/02/64bit_magic.html 31ef01931fSBen Gras# Modified by (1): Abel Cheung (Avoid match with first 4 bytes only) 32ef01931fSBen Gras0 string PAGE 33ef01931fSBen Gras>4 string DUMP MS Windows 32bit crash dump 34ef01931fSBen Gras>>0x05c byte 0 \b, no PAE 35ef01931fSBen Gras>>0x05c byte 1 \b, PAE 36ef01931fSBen Gras>>0xf88 lelong 1 \b, full dump 37ef01931fSBen Gras>>0xf88 lelong 2 \b, kernel dump 38ef01931fSBen Gras>>0xf88 lelong 3 \b, small dump 39*0a6a1f1dSLionel Sambuc>>0x068 lelong x \b, %d pages 40ef01931fSBen Gras>4 string DU64 MS Windows 64bit crash dump 41ef01931fSBen Gras>>0xf98 lelong 1 \b, full dump 42ef01931fSBen Gras>>0xf98 lelong 2 \b, kernel dump 43ef01931fSBen Gras>>0xf98 lelong 3 \b, small dump 44ef01931fSBen Gras>>0x090 lequad x \b, %lld pages 45ef01931fSBen Gras 46ef01931fSBen Gras 47ef01931fSBen Gras# Summary: Vista Event Log 48ef01931fSBen Gras# Extension: .evtx 49ef01931fSBen Gras# Created by: Andreas Schuster (http://computer.forensikblog.de/) 50ef01931fSBen Gras# Reference (1): http://computer.forensikblog.de/en/2007/05/some_magic.html 51ef01931fSBen Gras0 string ElfFile\0 MS Windows Vista Event Log 52ef01931fSBen Gras>0x2a leshort x \b, %d chunks 53ef01931fSBen Gras>>0x10 lelong x \b (no. %d in use) 54ef01931fSBen Gras>0x18 lelong >1 \b, next record no. %d 55ef01931fSBen Gras>0x18 lelong =1 \b, empty 56ef01931fSBen Gras>0x78 lelong &1 \b, DIRTY 57ef01931fSBen Gras>0x78 lelong &2 \b, FULL 58ef01931fSBen Gras 59ef01931fSBen Gras 60ef01931fSBen Gras# Summary: Windows 3.1 group files 61ef01931fSBen Gras# Extension: .grp 62ef01931fSBen Gras# Created by: unknown 63ef01931fSBen Gras0 string \120\115\103\103 MS Windows 3.1 group files 64ef01931fSBen Gras 65ef01931fSBen Gras 66ef01931fSBen Gras# Summary: Old format help files 67ef01931fSBen Gras# Extension: .hlp 68ef01931fSBen Gras# Created by: Dirk Jagdmann <doj@cubic.org> 69ef01931fSBen Gras0 lelong 0x00035f3f MS Windows 3.x help file 70ef01931fSBen Gras 71ef01931fSBen Gras 72ef01931fSBen Gras# Summary: Hyper terminal 73ef01931fSBen Gras# Extension: .ht 74ef01931fSBen Gras# Created by: unknown 75ef01931fSBen Gras0 string HyperTerminal\ 76ef01931fSBen Gras>15 string 1.0\ --\ HyperTerminal\ data\ file MS Windows HyperTerminal profile 77ef01931fSBen Gras 7884d9c625SLionel Sambuc# http://ithreats.files.wordpress.com/2009/05/\ 7984d9c625SLionel Sambuc# lnk_the_windows_shortcut_file_format.pdf 80ef01931fSBen Gras# Summary: Windows shortcut 81ef01931fSBen Gras# Extension: .lnk 82ef01931fSBen Gras# Created by: unknown 8384d9c625SLionel Sambuc# 'L' + GUUID 84ef01931fSBen Gras0 string \114\0\0\0\001\024\002\0\0\0\0\0\300\0\0\0\0\0\0\106 MS Windows shortcut 8584d9c625SLionel Sambuc>20 lelong&1 1 \b, Item id list present 8684d9c625SLionel Sambuc>20 lelong&2 2 \b, Points to a file or directory 8784d9c625SLionel Sambuc>20 lelong&4 4 \b, Has Description string 8884d9c625SLionel Sambuc>20 lelong&8 8 \b, Has Relative path 8984d9c625SLionel Sambuc>20 lelong&16 16 \b, Has Working directory 9084d9c625SLionel Sambuc>20 lelong&32 32 \b, Has command line arguments 9184d9c625SLionel Sambuc>20 lelong&64 64 \b, Icon 9284d9c625SLionel Sambuc>>56 lelong \b number=%d 9384d9c625SLionel Sambuc>24 lelong&1 1 \b, Read-Only 9484d9c625SLionel Sambuc>24 lelong&2 2 \b, Hidden 9584d9c625SLionel Sambuc>24 lelong&4 4 \b, System 9684d9c625SLionel Sambuc>24 lelong&8 8 \b, Volume Label 9784d9c625SLionel Sambuc>24 lelong&16 16 \b, Directory 9884d9c625SLionel Sambuc>24 lelong&32 32 \b, Archive 9984d9c625SLionel Sambuc>24 lelong&64 64 \b, Encrypted 10084d9c625SLionel Sambuc>24 lelong&128 128 \b, Normal 10184d9c625SLionel Sambuc>24 lelong&256 256 \b, Temporary 10284d9c625SLionel Sambuc>24 lelong&512 512 \b, Sparse 10384d9c625SLionel Sambuc>24 lelong&1024 1024 \b, Reparse point 10484d9c625SLionel Sambuc>24 lelong&2048 2048 \b, Compressed 10584d9c625SLionel Sambuc>24 lelong&4096 4096 \b, Offline 10684d9c625SLionel Sambuc>28 leqwdate x \b, ctime=%s 10784d9c625SLionel Sambuc>36 leqwdate x \b, mtime=%s 10884d9c625SLionel Sambuc>44 leqwdate x \b, atime=%s 10984d9c625SLionel Sambuc>52 lelong x \b, length=%u, window= 11084d9c625SLionel Sambuc>60 lelong&1 1 \bhide 11184d9c625SLionel Sambuc>60 lelong&2 2 \bnormal 11284d9c625SLionel Sambuc>60 lelong&4 4 \bshowminimized 11384d9c625SLionel Sambuc>60 lelong&8 8 \bshowmaximized 11484d9c625SLionel Sambuc>60 lelong&16 16 \bshownoactivate 11584d9c625SLionel Sambuc>60 lelong&32 32 \bminimize 11684d9c625SLionel Sambuc>60 lelong&64 64 \bshowminnoactive 11784d9c625SLionel Sambuc>60 lelong&128 128 \bshowna 11884d9c625SLionel Sambuc>60 lelong&256 256 \brestore 11984d9c625SLionel Sambuc>60 lelong&512 512 \bshowdefault 12084d9c625SLionel Sambuc#>20 lelong&1 0 12184d9c625SLionel Sambuc#>>20 lelong&2 2 12284d9c625SLionel Sambuc#>>>(72.l-64) pstring/h x \b [%s] 12384d9c625SLionel Sambuc#>20 lelong&1 1 12484d9c625SLionel Sambuc#>>20 lelong&2 2 12584d9c625SLionel Sambuc#>>>(72.s) leshort x 12684d9c625SLionel Sambuc#>>>&75 pstring/h x \b [%s] 127ef01931fSBen Gras 128ef01931fSBen Gras# Summary: Outlook Personal Folders 129ef01931fSBen Gras# Created by: unknown 130ef01931fSBen Gras0 lelong 0x4E444221 Microsoft Outlook email folder 131ef01931fSBen Gras>10 leshort 0x0e (<=2002) 132ef01931fSBen Gras>10 leshort 0x17 (>=2003) 133ef01931fSBen Gras 134ef01931fSBen Gras 135ef01931fSBen Gras# Summary: Windows help cache 136ef01931fSBen Gras# Created by: unknown 137ef01931fSBen Gras0 string \164\146\115\122\012\000\000\000\001\000\000\000 MS Windows help cache 138ef01931fSBen Gras 139ef01931fSBen Gras 140ef01931fSBen Gras# Summary: IE cache file 141ef01931fSBen Gras# Created by: Christophe Monniez 142ef01931fSBen Gras0 string Client\ UrlCache\ MMF Internet Explorer cache file 143ef01931fSBen Gras>20 string >\0 version %s 144ef01931fSBen Gras 145ef01931fSBen Gras 146ef01931fSBen Gras# Summary: Registry files 147ef01931fSBen Gras# Created by: unknown 148ef01931fSBen Gras# Modified by (1): Joerg Jenderek 149ef01931fSBen Gras0 string regf MS Windows registry file, NT/2000 or above 150ef01931fSBen Gras0 string CREG MS Windows 95/98/ME registry file 151ef01931fSBen Gras0 string SHCC3 MS Windows 3.1 registry file 152ef01931fSBen Gras 153ef01931fSBen Gras 154ef01931fSBen Gras# Summary: Windows Registry text 155ef01931fSBen Gras# Extension: .reg 156ef01931fSBen Gras# Submitted by: Abel Cheung <abelcheung@gmail.com> 157ef01931fSBen Gras0 string REGEDIT4\r\n\r\n Windows Registry text (Win95 or above) 158ef01931fSBen Gras0 string Windows\ Registry\ Editor\ 159ef01931fSBen Gras>&0 string Version\ 5.00\r\n\r\n Windows Registry text (Win2K or above) 160ef01931fSBen Gras 161*0a6a1f1dSLionel Sambuc# Windows *.INF *.INI files updated by Joerg Jenderek at Apr 2013 162*0a6a1f1dSLionel Sambuc# empty ,comment , section 163*0a6a1f1dSLionel Sambuc# PR/383: remove unicode BOM because it is not portable across regex impls 164*0a6a1f1dSLionel Sambuc0 regex/s \\`(\\r\\n|;|[[]) 165*0a6a1f1dSLionel Sambuc# left bracket in section line 166*0a6a1f1dSLionel Sambuc>&0 search/8192 [ 167*0a6a1f1dSLionel Sambuc# http://en.wikipedia.org/wiki/Autorun.inf 168*0a6a1f1dSLionel Sambuc# http://msdn.microsoft.com/en-us/library/windows/desktop/cc144200.aspx 169*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(autorun)]\r\n 170*0a6a1f1dSLionel Sambuc>>>&0 ubyte =0x5b INItialization configuration 171*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 172ef01931fSBen Gras# From: Pal Tamas <folti@balabit.hu> 173ef01931fSBen Gras# Autorun File 174*0a6a1f1dSLionel Sambuc>>>&0 ubyte !0x5b Microsoft Windows Autorun file 175*0a6a1f1dSLionel Sambuc!:mime application/x-setupscript 176*0a6a1f1dSLionel Sambuc# http://msdn.microsoft.com/en-us/library/windows/hardware/ff549520(v=vs.85).aspx 177*0a6a1f1dSLionel Sambuc# version strings ASCII coded case-independent for Windows setup information script file 178*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(version|strings)] Windows setup INFormation 179*0a6a1f1dSLionel Sambuc!:mime application/x-setupscript 180*0a6a1f1dSLionel Sambuc#!:mime application/inf 181*0a6a1f1dSLionel Sambuc#!:mime application/x-wine-extension-inf 182*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(WinsockCRCList|OEMCPL)] Windows setup INFormation 183*0a6a1f1dSLionel Sambuc!:mime text/inf 184*0a6a1f1dSLionel Sambuc# http://www.winfaq.de/faq_html/Content/tip2500/onlinefaq.php?h=tip2653.htm 185*0a6a1f1dSLionel Sambuc# http://msdn.microsoft.com/en-us/library/windows/desktop/cc144102.aspx 186*0a6a1f1dSLionel Sambuc# .ShellClassInfo DeleteOnCopy LocalizedFileNames ASCII coded case-independent 187*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(\.ShellClassInfo|DeleteOnCopy|LocalizedFileNames)] Windows desktop.ini 188*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 189*0a6a1f1dSLionel Sambuc#!:mime text/plain 190*0a6a1f1dSLionel Sambuc# http://support.microsoft.com/kb/84709/ 191*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(don't\ load)] Windows CONTROL.INI 192*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 193*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(ndishlp\\$|protman\\$|NETBEUI\\$)] Windows PROTOCOL.INI 194*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 195*0a6a1f1dSLionel Sambuc# http://technet.microsoft.com/en-us/library/cc722567.aspx 196*0a6a1f1dSLionel Sambuc# http://www.winfaq.de/faq_html/Content/tip0000/onlinefaq.php?h=tip0137.htm 197*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(windows|Compatibility|embedding)] Windows WIN.INI 198*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 199*0a6a1f1dSLionel Sambuc# http://en.wikipedia.org/wiki/SYSTEM.INI 200*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(boot|386enh|drivers)] Windows SYSTEM.INI 201*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 202*0a6a1f1dSLionel Sambuc# http://www.mdgx.com/newtip6.htm 203*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(SafeList)] Windows IOS.INI 204*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 205*0a6a1f1dSLionel Sambuc# http://en.wikipedia.org/wiki/NTLDR Windows Boot Loader information 206*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(boot\x20loader)] Windows boot.ini 207*0a6a1f1dSLionel Sambuc!:mime application/x-wine-extension-ini 208*0a6a1f1dSLionel Sambuc>>>&0 ubyte x 209*0a6a1f1dSLionel Sambuc# http://en.wikipedia.org/wiki/CONFIG.SYS 210*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(menu)]\r\n MS-DOS CONFIG.SYS 211*0a6a1f1dSLionel Sambuc# http://support.microsoft.com/kb/118579/ 212*0a6a1f1dSLionel Sambuc>>&0 regex/c \^(Paths)]\r\n MS-DOS MSDOS.SYS 213*0a6a1f1dSLionel Sambuc# VERS string unicoded case-independent 214*0a6a1f1dSLionel Sambuc>>&0 ubequad&0xFFdfFFdfFFdfFFdf 0x0056004500520053 215*0a6a1f1dSLionel Sambuc# ION] string unicoded case-independent 216*0a6a1f1dSLionel Sambuc>>>&0 ubequad&0xFFdfFFdfFFdfFFff 0x0049004f004e005d Windows setup INFormation 217*0a6a1f1dSLionel Sambuc!:mime application/x-setupscript 218*0a6a1f1dSLionel Sambuc# STRI string unicoded case-independent 219*0a6a1f1dSLionel Sambuc>>&0 ubequad&0xFFdfFFdfFFdfFFdf 0x0053005400520049 220*0a6a1f1dSLionel Sambuc# NGS] string unicoded case-independent 221*0a6a1f1dSLionel Sambuc>>>&0 ubequad&0xFFdfFFdfFFdfFFff 0x004e00470053005D Windows setup INFormation 222*0a6a1f1dSLionel Sambuc!:mime application/x-setupscript 223*0a6a1f1dSLionel Sambuc# unknown keyword after opening bracket 224*0a6a1f1dSLionel Sambuc>>&0 default x 225*0a6a1f1dSLionel Sambuc>>>&0 search/8192 [ 226*0a6a1f1dSLionel Sambuc# version Strings FileIdentification 227*0a6a1f1dSLionel Sambuc>>>>&0 string/c version Windows setup INFormation 228*0a6a1f1dSLionel Sambuc!:mime application/x-setupscript 229*0a6a1f1dSLionel Sambuc# VERS string unicoded case-independent 230*0a6a1f1dSLionel Sambuc>>>>&0 ubequad&0xFFdfFFdfFFdfFFdf 0x0056004500520053 231*0a6a1f1dSLionel Sambuc# ION] string unicoded case-independent 232*0a6a1f1dSLionel Sambuc>>>>>&0 ubequad&0xFFdfFFdfFFdfFFff 0x0049004f004e005d Windows setup INFormation 233*0a6a1f1dSLionel Sambuc!:mime application/x-setupscript 234*0a6a1f1dSLionel Sambuc# http://en.wikipedia.org/wiki/Initialization_file Windows Initialization File or other 235*0a6a1f1dSLionel Sambuc#>>>>&0 default x Generic INItialization configuration 236*0a6a1f1dSLionel Sambuc#!:mime application/x-wine-extension-ini 237*0a6a1f1dSLionel Sambuc 238*0a6a1f1dSLionel Sambuc# Windows Precompiled INF files *.PNF added by Joerg Jenderek at Mar 2013 of _PNF_HEADER inf.h 239*0a6a1f1dSLionel Sambuc# http://read.pudn.com/downloads3/sourcecode/windows/248345/win2k/private/windows/setup/setupapi/inf.h__.htm 240*0a6a1f1dSLionel Sambuc# GRR: line below too general as it catches also PDP-11 UNIX/RT ldp 241*0a6a1f1dSLionel Sambuc0 leshort&0xFeFe 0x0000 242*0a6a1f1dSLionel Sambuc# test for unused null bits in PNF_FLAGs 243*0a6a1f1dSLionel Sambuc>4 ulelong&0xFCffFe00 0x00000000 244*0a6a1f1dSLionel Sambuc# only found 58h for Offset of WinDirPath immediately after _PNF_HEADER structure 245*0a6a1f1dSLionel Sambuc>>68 ulelong >0x57 246*0a6a1f1dSLionel Sambuc# test for zero high byte of InfValueBlockSize, followed by WinDirPath like 247*0a6a1f1dSLionel Sambuc# C:\WINDOWS (ASCII 0x433a5c.. , unicode 0x43003a005c..) or X:\MININT 248*0a6a1f1dSLionel Sambuc>>>(68.l-1) ubelong&0xffE0C519 =0x00400018 Windows Precompiled iNF 249*0a6a1f1dSLionel Sambuc!:mime application/x-pnf 250*0a6a1f1dSLionel Sambuc# currently only found Major Version=1 and Minor Version=1 251*0a6a1f1dSLionel Sambuc#>>>>0 uleshort =0x0101 252*0a6a1f1dSLionel Sambuc#>>>>>1 ubyte x \b, version %u 253*0a6a1f1dSLionel Sambuc#>>>>>0 ubyte x \b.%u 254*0a6a1f1dSLionel Sambuc>>>>0 uleshort !0x0101 255*0a6a1f1dSLionel Sambuc>>>>>1 ubyte x \b, version %u 256*0a6a1f1dSLionel Sambuc>>>>>0 ubyte x \b.%u 257*0a6a1f1dSLionel Sambuc# 1 ,2 (windows 98 SE) 258*0a6a1f1dSLionel Sambuc#>>>>2 uleshort =2 \b, InfStyle %u 259*0a6a1f1dSLionel Sambuc>>>>2 uleshort !2 \b, InfStyle %u 260*0a6a1f1dSLionel Sambuc# PNF_FLAG_IS_UNICODE 0x00000001 261*0a6a1f1dSLionel Sambuc# PNF_FLAG_HAS_STRINGS 0x00000002 262*0a6a1f1dSLionel Sambuc# PNF_FLAG_SRCPATH_IS_URL 0x00000004 263*0a6a1f1dSLionel Sambuc# PNF_FLAG_HAS_VOLATILE_DIRIDS 0x00000008 264*0a6a1f1dSLionel Sambuc# PNF_FLAG_INF_VERIFIED 0x00000010 265*0a6a1f1dSLionel Sambuc# PNF_FLAG_INF_DIGITALLY_SIGNED 0x00000020 266*0a6a1f1dSLionel Sambuc# ?? 0x00000100 267*0a6a1f1dSLionel Sambuc# ?? 0x01000000 268*0a6a1f1dSLionel Sambuc# ?? 0x02000000 269*0a6a1f1dSLionel Sambuc>>>>4 ulelong&0x00000001 0x00000001 \b, unicoded 270*0a6a1f1dSLionel Sambuc>>>>4 ulelong&0x00000020 0x00000020 \b, digitally signed 271*0a6a1f1dSLionel Sambuc#>>>>8 ulelong x \b, InfSubstValueListOffset 0x%x 272*0a6a1f1dSLionel Sambuc# many 0, 1 lmouusb.PNF, 2 linkfx10.PNF , f webfdr16.PNF 273*0a6a1f1dSLionel Sambuc#>>>>12 uleshort x \b, InfSubstValueCount 0x%x 274*0a6a1f1dSLionel Sambuc# only < 9 found 275*0a6a1f1dSLionel Sambuc#>>>>14 uleshort x \b, InfVersionDatumCount 0x%x 276*0a6a1f1dSLionel Sambuc# only found values lower 0x0000ffff 277*0a6a1f1dSLionel Sambuc#>>>>16 ulelong x \b, InfVersionDataSize 0x%x 278*0a6a1f1dSLionel Sambuc# only found positive values lower 0x00ffFFff for InfVersionDataOffset 279*0a6a1f1dSLionel Sambuc>>>>20 ulelong x \b, at 0x%x 280*0a6a1f1dSLionel Sambuc>>>>4 ulelong&0x00000001 =0x00000001 281*0a6a1f1dSLionel Sambuc# case independent: CatalogFile Class DriverVer layoutfile LayoutFile SetupClass signature Signature 282*0a6a1f1dSLionel Sambuc>>>>>(20.l) lestring16 x "%s" 283*0a6a1f1dSLionel Sambuc>>>>4 ulelong&0x00000001 !0x00000001 284*0a6a1f1dSLionel Sambuc>>>>>(20.l) string x "%s" 285*0a6a1f1dSLionel Sambuc# FILETIME is number of 100-nanosecond intervals since 1 January 1601 286*0a6a1f1dSLionel Sambuc#>>>>24 ulequad x \b, InfVersionLastWriteTime %16.16llx 287*0a6a1f1dSLionel Sambuc# only found values lower 0x00ffFFff 288*0a6a1f1dSLionel Sambuc#>>>>32 ulelong x \b, StringTableBlockOffset 0x%x 289*0a6a1f1dSLionel Sambuc#>>>>36 ulelong x \b, StringTableBlockSize 0x%x 290*0a6a1f1dSLionel Sambuc#>>>>40 ulelong x \b, InfSectionCount 0x%x 291*0a6a1f1dSLionel Sambuc#>>>>44 ulelong x \b, InfSectionBlockOffset 0x%x 292*0a6a1f1dSLionel Sambuc#>>>>48 ulelong x \b, InfSectionBlockSize 0x%x 293*0a6a1f1dSLionel Sambuc#>>>>52 ulelong x \b, InfLineBlockOffset 0x%x 294*0a6a1f1dSLionel Sambuc#>>>>56 ulelong x \b, InfLineBlockSize 0x%x 295*0a6a1f1dSLionel Sambuc#>>>>60 ulelong x \b, InfValueBlockOffset 0x%x 296*0a6a1f1dSLionel Sambuc#>>>>64 ulelong x \b, InfValueBlockSize 0x%x 297*0a6a1f1dSLionel Sambuc# WinDirPathOffset 298*0a6a1f1dSLionel Sambuc#>>>>68 ulelong x \b, at 0x%x 299*0a6a1f1dSLionel Sambuc>>>>68 ulelong >0x57 300*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 =0x00000001 301*0a6a1f1dSLionel Sambuc>>>>>>(68.l) ubequad =0x43003a005c005700 302*0a6a1f1dSLionel Sambuc# normally unicoded C:\Windows 303*0a6a1f1dSLionel Sambuc#>>>>>>>(68.l) lestring16 x \b, WinDirPath "%s" 304*0a6a1f1dSLionel Sambuc>>>>>>(68.l) ubequad !0x43003a005c005700 305*0a6a1f1dSLionel Sambuc>>>>>>>(68.l) lestring16 x \b, WinDirPath "%s" 306*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 !0x00000001 307*0a6a1f1dSLionel Sambuc# normally ASCII C:\WINDOWS 308*0a6a1f1dSLionel Sambuc#>>>>>>(68.l) string =C:\\WINDOWS \b, WinDirPath "%s" 309*0a6a1f1dSLionel Sambuc>>>>>>(68.l) string !C:\\WINDOWS \b, WinDirPath "%s" 310*0a6a1f1dSLionel Sambuc# found OsLoaderPathOffset values often 0 , once 70h corelist.PNF, once 68h ASCII machine.PNF 311*0a6a1f1dSLionel Sambuc#>>>>72 ulelong >0 \b, at 0x%x 312*0a6a1f1dSLionel Sambuc>>>>72 ulelong >0 \b, 313*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 =0x00000001 314*0a6a1f1dSLionel Sambuc>>>>>>(72.l) lestring16 x OsLoaderPath "%s" 315*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 !0x00000001 316*0a6a1f1dSLionel Sambuc# seldom C:\ instead empty 317*0a6a1f1dSLionel Sambuc>>>>>>(72.l) string x OsLoaderPath "%s" 318*0a6a1f1dSLionel Sambuc# 1fdh 319*0a6a1f1dSLionel Sambuc#>>>>76 uleshort x \b, StringTableHashBucketCount 0x%x 320*0a6a1f1dSLionel Sambuc>>>>78 uleshort !0x407 \b, LanguageId %x 321*0a6a1f1dSLionel Sambuc# only 407h found 322*0a6a1f1dSLionel Sambuc#>>>>78 uleshort =0x407 \b, LanguageId %x 323*0a6a1f1dSLionel Sambuc# InfSourcePathOffset often 0 324*0a6a1f1dSLionel Sambuc#>>>>80 ulelong >0 \b, at 0x%x 325*0a6a1f1dSLionel Sambuc>>>>80 ulelong >0 \b, 326*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 =0x00000001 327*0a6a1f1dSLionel Sambuc>>>>>>(80.l) lestring16 x SourcePath "%s" 328*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 !0x00000001 329*0a6a1f1dSLionel Sambuc>>>>>>(80.l) string >\0 SourcePath "%s" 330*0a6a1f1dSLionel Sambuc# OriginalInfNameOffset often 0 331*0a6a1f1dSLionel Sambuc#>>>>84 ulelong >0 \b, at 0x%x 332*0a6a1f1dSLionel Sambuc>>>>84 ulelong >0 \b, 333*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 =0x00000001 334*0a6a1f1dSLionel Sambuc>>>>>>(84.l) lestring16 x InfName "%s" 335*0a6a1f1dSLionel Sambuc>>>>>4 ulelong&0x00000001 !0x00000001 336*0a6a1f1dSLionel Sambuc>>>>>>(84.l) string >\0 InfName "%s" 337*0a6a1f1dSLionel Sambuc 338