[Bro-Dev] [JIRA] (BIT-1410) tx_hosts and rx_hosts switched in files.log

Ali Hadi (JIRA) jira at bro-tracker.atlassian.net
Mon Jun 1 11:44:00 PDT 2015

Ali Hadi created BIT-1410:

             Summary: tx_hosts and rx_hosts switched in files.log
                 Key: BIT-1410
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1410
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
         Environment: Linux Ubuntu 
            Reporter: Ali Hadi
            Priority: High


_Based on Robin's request I opened this ticket.
If you use the PCAP below and analyze it using Bro:

Then when checking the files.log, the tx_hosts is supposed to show the host who transmitted the file, and rx_hosts is for the host who received the file based on Bro's documentation: https://www.bro.org/sphinx-git/scripts/base/frameworks/files/main.bro.html

If you do the following:
cat files.log | bro-cut fuid tx_hosts rx_hosts | grep <ID OF THE LEAKED PDF FILE>

You'll get that the TX Host IP (SrcIP) is and not !!!

It seems that Bro switched their positions in the output. I found this in an assignment given to my students, and one of them gave me a result completely different. So when I double checked with Wireshark, I found that the IPs have been switched by Bro.

Hope this helps.

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list