1 / 15

Files Framework

Files Framework. Motivation. In 2.1 and prior, “ file ” handling... is inconsistent causes performance problems is not extensible not cool. 2. Talking about file handling. Charles Smutz and his Ruminate-IDS project File reassembly Passing files to other tools and parsers. 3.

fawn
Download Presentation

Files Framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Files Framework

  2. Motivation • In 2.1 and prior, “file” handling... • is inconsistent • causes performance problems • is not extensible • not cool 2

  3. Talking about file handling • Charles Smutz and his Ruminate-IDS project • File reassembly • Passing files to other tools and parsers 3

  4. Realizations • A “file” is a single flow byte stream • Hint: a connection is bidirectional so it’s a dual flow bytestream • Bro can have file analyzers that work incrementally like our protocol analyzers • How many file types would you like to be able to parse? 4

  5. Realizations (cont’d.) • A “file” is another base abstraction in Bro • files.log and conn.log have a lot of similarities • Files have unique IDs just like connections 5

  6. Files are source agnostic • Files out of files • Files out of any unencrypted file protocol • Input framework 6

  7. Implementation • Keep file data out of script land • No reassembly yet, but design decisions were made to support it in a future release • File manager is a completely new internal component of Bro that accepts file data from anywhere it can be acquired 7

  8. Forensic Logging - conn.log 8

  9. Forensic Logging - http.log 9

  10. Forensic Logging - files.log 10

  11. Forensic Logging - pe.log 11

  12. Forensic Logging - notice.log 12

  13. 13

  14. Included File analyzers • Extraction • Hashing • MD5, SHA-1, SHA-256 • Entropy - Not in preview release • Data • Make file data available in scriptland • PE - Windows executables, still in development 14

  15. Exercises 15

More Related