windows 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #------------------------------------------------------------------------------
  2. # windows: file(1) magic for Microsoft Windows
  3. #
  4. # This file is mainly reserved for files where programs
  5. # using them are run almost always on MS Windows 3.x or
  6. # above, or files only used exclusively in Windows OS,
  7. # where there is no better category to allocate for.
  8. # For example, even though WinZIP almost run on Windows
  9. # only, it is better to treat them as "archive" instead.
  10. # For format usable in DOS, such as generic executable
  11. # format, please specify under "msdos" file.
  12. #
  13. # Summary: Outlook Express DBX file
  14. # Extension: .dbx
  15. # Created by: Christophe Monniez
  16. 0 string \xCF\xAD\x12\xFE MS Outlook Express DBX file
  17. >4 byte =0xC5 \b, message database
  18. >4 byte =0xC6 \b, folder database
  19. >4 byte =0xC7 \b, account information
  20. >4 byte =0x30 \b, offline database
  21. # Summary: Windows crash dump
  22. # Extension: .dmp
  23. # Created by: Andreas Schuster (http://computer.forensikblog.de/)
  24. # Reference (1): http://computer.forensikblog.de/en/2008/02/64bit_magic.html
  25. # Modified by (1): Abel Cheung (Avoid match with first 4 bytes only)
  26. 0 string PAGE
  27. >4 string DUMP MS Windows 32bit crash dump
  28. >>0x05c byte 0 \b, no PAE
  29. >>0x05c byte 1 \b, PAE
  30. >>0xf88 lelong 1 \b, full dump
  31. >>0xf88 lelong 2 \b, kernel dump
  32. >>0xf88 lelong 3 \b, small dump
  33. >>0x068 lelong x \b, %ld pages
  34. >4 string DU64 MS Windows 64bit crash dump
  35. >>0xf98 lelong 1 \b, full dump
  36. >>0xf98 lelong 2 \b, kernel dump
  37. >>0xf98 lelong 3 \b, small dump
  38. >>0x090 lequad x \b, %lld pages
  39. # Summary: Vista Event Log
  40. # Extension: .evtx
  41. # Created by: Andreas Schuster (http://computer.forensikblog.de/)
  42. # Reference (1): http://computer.forensikblog.de/en/2007/05/some_magic.html
  43. 0 string ElfFile\0 MS Windows Vista Event Log
  44. >0x2a leshort x \b, %d chunks
  45. >>0x10 lelong x \b (no. %d in use)
  46. >0x18 lelong >1 \b, next record no. %d
  47. >0x18 lelong =1 \b, empty
  48. >0x78 lelong &1 \b, DIRTY
  49. >0x78 lelong &2 \b, FULL
  50. # Summary: Windows 3.1 group files
  51. # Extension: .grp
  52. # Created by: unknown
  53. 0 string \120\115\103\103 MS Windows 3.1 group files
  54. # Summary: Old format help files
  55. # Extension: .hlp
  56. # Created by: Dirk Jagdmann <doj@cubic.org>
  57. 0 lelong 0x00035f3f MS Windows 3.x help file
  58. # Summary: Hyper terminal
  59. # Extension: .ht
  60. # Created by: unknown
  61. 0 string HyperTerminal\
  62. >15 string 1.0\ --\ HyperTerminal\ data\ file MS Windows HyperTerminal profile
  63. # Summary: Windows shortcut
  64. # Extension: .lnk
  65. # Created by: unknown
  66. 0 string \114\0\0\0\001\024\002\0\0\0\0\0\300\0\0\0\0\0\0\106 MS Windows shortcut
  67. # Summary: Outlook Personal Folders
  68. # Created by: unknown
  69. 0 lelong 0x4E444221 Microsoft Outlook email folder
  70. >10 leshort 0x0e (<=2002)
  71. >10 leshort 0x17 (>=2003)
  72. # Summary: Windows help cache
  73. # Created by: unknown
  74. 0 string \164\146\115\122\012\000\000\000\001\000\000\000 MS Windows help cache
  75. # Summary: IE cache file
  76. # Created by: Christophe Monniez
  77. 0 string Client\ UrlCache\ MMF Internet Explorer cache file
  78. >20 string >\0 version %s
  79. # Summary: Registry files
  80. # Created by: unknown
  81. # Modified by (1): Joerg Jenderek
  82. 0 string regf MS Windows registry file, NT/2000 or above
  83. 0 string CREG MS Windows 95/98/ME registry file
  84. 0 string SHCC3 MS Windows 3.1 registry file
  85. # Summary: Windows Registry text
  86. # Extension: .reg
  87. # Submitted by: Abel Cheung <abelcheung@gmail.com>
  88. 0 string REGEDIT4\r\n\r\n Windows Registry text (Win95 or above)
  89. 0 string Windows\ Registry\ Editor\
  90. >&0 string Version\ 5.00\r\n\r\n Windows Registry text (Win2K or above)