windows 3.7 KB

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