Содержание
- 2. Qvfpynvzre Gur ivrjf rkcerffrq va guvf cerfragngvba ner gubfr bs gur nhgube naq qb abg ersyrpg
- 3. Disclaimer The views expressed in this presentation are those of the author and do not reflect
- 4. Byte Plot 1 640 1 480 255 108 0 40 ...
- 5. 0 ~12MB insert ~ 5MB here... insert ~ 5MB here...
- 6. 0 ~12MB ASCII Text Compressed Image 1 Compressed Image N Unicode URLs Data Structure Data Structure
- 7. What is a “Primitive Type?” {int, long, char, string …}
- 8. What is a “Primitive Type?” {int, long, char, string …} Demo shell32.dll
- 9. Archive Files tools.jar
- 10. Executables grep (elf file format)
- 11. dynamic libraries shell32.dll
- 12. System Memory SonyEricsson K800i (DFRWS 2010)
- 13. Network Traffic
- 14. grep, strings, hex editors are insufficient
- 15. Why Identify unknown/unfamiliar structures Facilitate deep understanding Reversing Fuzzing Memory forensics General forensics Memory mapping Interactive
- 16. One Motivation 0400-07FF 1024-2047 Screen memory 0800-9FFF 2048-40959 Basic ROM memory 8000-9FFF 32758-40959 Alternate: Rom plug-in
- 17. Concept 0400-07FF 1024-2047 ASCII Text (English) 0800-9FFF 2048-40959 Pointer Table 8000-9FFF 32758-40959 Variable Length Array A000-BFFF
- 18. Another Concept
- 19. Another Concept
- 20. Potentially Overwhelming Complexity http://hopl.murdoch.edu.au/images/genealogies/tester-endo.pdf
- 21. History of Categorizing Nature http://en.wikipedia.org/wiki/File:HMS_Beagle_by_Conrad_Martens.jpg
- 22. http://en.wikipedia.org/wiki/File:Man_is_But_a_Worm.jpg
- 23. http://rst.gsfc.nasa.gov/Sect20/lco6_31.gif
- 24. http://commons.wikimedia.org/wiki/File:Chimera_%28PSF%29.jpg
- 25. http://commons.wikimedia.org/wiki/File:Chimera_%28PSF%29.jpg
- 26. http://commons.wikimedia.org/wiki/File:Chimera_%28PSF%29.jpg
- 27. http://commons.wikimedia.org/wiki/File:Chimera_%28PSF%29.jpg
- 28. Design Choices When are we talking about more than a data type? (e.g. int, long, char…
- 29. Primitive Types Overview Text Image Audio Video Application Random Encrypted Repeating Values / Padding Other Compressed
- 30. Identification View byte plot hex/ASCII frequency histogram digraph plot Compare with dictionary of similar structures Look
- 31. As you see these examples consider how we could algorithmically identify each type
- 32. Text C++ Source Code
- 33. Text C++ Source Code ASCII Encoded English Text
- 34. Text C++ Source Code ASCII Encoded HTML ASCII Encoded English Text
- 35. Text C++ Source Code ASCII Encoded HTML ASCII Encoded English Text Basic Latin Unicode
- 36. Digraph View black hat bl (98,108) la (108,97) ac (97,99) ck (99,107) k_ (107,32) _h (32,104)
- 37. Digraph View 0,1, ... 255 Byte 0 Byte 1 ... Byte 255 98,108 32,108 See also
- 38. ASCII Encoded English Text Sample
- 39. ASCII Encoded English Text 0 255 Sample
- 40. ASCII Encoded English Text 0 255 0 255 255 Sample
- 41. ASCII Encoded English Text 0 255 0 255 255 Sample
- 42. ASCII Encoded English Text 0 255 0 255 255 Sample Demo
- 43. Images Bitmap from .bmp Bitmap from process memory
- 44. Bit Map Sample
- 45. Bit Map Sample 0 255
- 46. Bit Map Sample 0 255 0 255 255
- 47. Bit Map Sample 0 255 0 255 255 Demo
- 48. Steganography See http://en.wikipedia.org/wiki/Steganography
- 49. Steganography Sample 0 255 0 255 255
- 50. A Closer Look
- 51. Example .NET Image Formats Format8bppIndexed Specifies that the format is 8 bits per pixel, indexed. Format16bppGrayScale
- 52. Audio 44.1 KHz, 16 bit per sample, PCM encoded audio (.wav)
- 53. Audio (.wav) Sample
- 54. Audio (.wav) Sample 0 255
- 55. Audio (.wav) Sample 0 255 0 255 255
- 56. Audio (.wav) Sample 0 255 0 255 255 Demo
- 57. Compressed Audio Sample
- 58. Compressed Audio Sample 0 255
- 59. Compressed Audio Sample 0 255 0 255 255
- 60. A Closer Look… MPEG-1 layer 3 - 128kbit, 44100Hz (.mp3)
- 61. A Closer Look… MPEG-1 layer 3 - 128kbit, 44100Hz (.mp3)
- 62. Dot Plots Jonathan Helfman’s “Dotplot Patterns: A Literal Look at Pattern Languages.” Dan Kaminsky, CCC &
- 63. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 64. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 65. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 66. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 67. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 68. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 69. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 70. DotPlot Examples Images: Jonathan Helfman, “Dotplot Patterns: A Literal Look at Pattern Languages.”
- 71. Sliding Window DotPlot Byte 0, Byte 1, ... Byte N Byte 0 Byte 1 ... Byte
- 72. Dot Plot
- 73. Dot Plot
- 74. Video Full Frame .avi
- 75. Compressed AVI Key Frame Key Frame
- 76. Windows PE calc.exe
- 77. Windows PE .data .rsrc calc.exe .text
- 78. Windows PE cmd.exe
- 79. Windows PE .data .rsrc cmd.exe .text
- 80. Machine Code (Windows PE cmd.exe) Sample
- 81. Machine Code (Windows PE cmd.exe) Sample 0 255
- 82. Machine Code (Windows PE cmd.exe) Sample 0 255 0 255 255
- 83. Machine Code (Windows PE cmd.exe) Sample 0 255 0 255 255 Demo
- 84. Data Structures Microsoft Word 2003 .doc Firefox Process Memory Windows .dll Neverwinter Nights Database
- 85. Random Sequence of random bytes
- 86. Repeating Values Blocks of repeating 0xFF values
- 87. Transformations {encryption, compression, encoding}
- 88. Consider an image...
- 89. Encoding (Base64 Windows PE)
- 90. Compression
- 91. Compression
- 92. Packing (UPX)
- 93. Encrypted AES Encrypted Word Document
- 94. Adding a Constant Plain Cipher b 98 + 150 = 248 l 108 + 150 =
- 95. Adding a Constant Plain Cipher 250 251 252 253 253 254 254 255 255 0 1
- 96. Adding a Constant Plain Cipher 250 251 252 253 253 254 254 255 255 0 1
- 97. Adding a Constant Plain Cipher 250 251 252 253 253 254 254 255 255 0 1
- 98. 8 Bit XOR Plain Cipher b 98 XOR 150 = 244 l 108 XOR 150 =
- 99. XOR Plain Cipher 000 000 001 001 010 010 011 011 100 100 101 101 110
- 100. 16 Bit XOR Plain Cipher byte 1 ? KEY1 ? BYTE 1 byte 2 ? KEY2
- 101. 32 Bit XOR Plain Cipher byte 1 ? KEY1 ? BYTE 1 byte 2 ? KEY2
- 102. N Bit XOR Plain Cipher byte 1 ? KEY1 ? BYTE 1 byte 2 ? KEY2
- 103. N Bit XOR Plain Cipher byte 1 ? KEY1 ? BYTE 1 byte 2 ? KEY2
- 104. N Bit XOR Plain Cipher byte 1 ? KEY1 ? BYTE 1 byte 2 ? KEY2
- 105. Demos
- 113. ASCII text bitmap machine code (PE) machine code (elf) uuencoded (zip) base64(zip) AES256 bzip2 compress (text)
- 114. ASCII text bitmap machine code (PE) machine code (elf) uuencoded (zip) base64(zip) AES256 bzip2 compress (text)
- 115. ASCII text bitmap machine code (PE) machine code (elf) uuencoded (zip) base64(zip) AES256 bzip2 compress (text)
- 116. ASCII text bitmap machine code (PE) machine code (elf) uuencoded (zip) base64(zip) AES256 bzip2 compress (text)
- 117. ASCII text bitmap machine code (PE) machine code (elf) uuencoded (zip) base64(zip) AES256 bzip2 compress (text)
- 118. ASCII text bitmap machine code (PE) machine code (elf) uuencoded (zip) base64(zip) AES256 bzip2 compress (text)
- 119. Compression FTW! D. Benedetto, E. Caglioti, and V. Loreto. Language trees and zipping. Physical Review Letters,
- 120. Visualize compression & “bathroom tiles” Get many file fragments of different types, group by type Compress
- 121. Executable, with executables
- 122. Executable, with bitmaps
- 123. Executable, with music
- 124. Analysis Bitmap diversity Data structure diversity High entropy primitive types Transformations Minimum size Obfuscation J. Erikson’s
- 127. Future Automated identification Classification / Clustering / Data Mining Dictionary Incorporating semantic information (i.e. file format)
- 128. For More Information… G. Conti, S. Bratus, A. Shubinay, A. Lichtenberg, R. Ragsdale, R. Perez-Alemany, B.
- 129. We would like to thank our white paper co-authors: Anna Shubina, Andrew Lichtenberg, Roy Ragsdale, Robert
- 130. Voyage of the Reverser: A Visual Study of Binary Species Greg Conti // West Point //
- 132. Скачать презентацию