[Bro-Dev] [JIRA] (BIT-1238) High false-positive for application/x-tar signature

Seth Hall (JIRA) jira at bro-tracker.atlassian.net
Wed Nov 5 10:52:08 PST 2014

    [ https://bro-tracker.atlassian.net/browse/BIT-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18704#comment-18704 ] 

Seth Hall commented on BIT-1238:

This issue is now being addressed through the branch named: topic/seth/files-reassembly-and-mime-updates

It's going to be updates for file reassembly and the large batch of mime type identification that I have been preparing.  That branch also has your x-tar issue addressed.  I looked at a number of tar files and updated the pattern beyond the one that you created (it still was doing some incorrect matching for me).

> High false-positive for application/x-tar signature
> ---------------------------------------------------
>                 Key: BIT-1238
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1238
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: 2.3
>            Reporter: Brian O'Berry
>            Assignee: Seth Hall
>              Labels: file, mime, signature
>         Attachments: test.tar.gz
> The following signature in base/frameworks/files/magic/general.sig frequently triggers on text files in our environment, and includes a strength value higher than GNU and POSIX tar signatures in libmagic.sig.
> {code}
> signature file-tar {
>     file-magic /([[:print:]\x00]){100}(([[:digit:]\x00\x20]){8}){3}/
>     file-mime "application/x-tar", 150
> }
> {code}

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list