Skip to content

Yikez978/rpot

Repository files navigation

Real-time Packet Observation Tool (RPOT)

This build was created and tested using Ubuntu 16.04.

architecture

architecture

Startup

$ wget https://raw.githubusercontent.com/super-a1ice/rpot/master/INSTALL/install-ubuntu1604.sh 
$ bash ./install-ubuntu1604.sh

Usage

Quick scan

$ cd /opt/rpot
$ bro -r sample-pcap/2017-10-19-Necurs-Botnet-malspam-pushing-Locky.pcap ./config/scripts/hunt.bro

Intelligence scan

$ cd /opt/rpot
$ bro -r sample-pcap/2017-10-19-Necurs-Botnet-malspam-pushing-Locky.pcap ./config/scripts/intelligence.bro

Update Geoip and Intelligence

$ cd /opt/rpot
$ ./update.sh

Update hunting rule

$ cd /usr/local/share/clamav/
$ sudo vim sample.yar
rule Sample_Rule {
        strings:
            $string1 = "Test"

        condition:
            $string1
}

FAME integration

See how to build FAME FAME’s Documentation. and change logstash config

$ cd /opt/rpot/INSTALL
$ vim logstash-clamav-es.conf # modify API_KEY and Hostname
$ sudo cp logstash-clamav-es.conf /etc/logstash/conf.d/
$ sudo service logstash restart

Observe Twitter feed

Follow analysts https://raw.githubusercontent.com/super-a1ice/rpot/master/INSTALL/twitter/analysts.txt and configure logstash.

$ sudo pip install -r https://raw.githubusercontent.com/super-a1ice/rpot/master/INSTALL/twitter/requirements.txt
$ python generate.py CONSUMER_KEY CONSUMER_SECRET OAUTH_TOKEN OAUTH_TOKEN_SECRET OWNER_SCREEN_NAME LIST_NAME | sudo tee /etc/logstash/conf.d/logstash-twitter.conf

Visualization

Access Kibana url (http://localhost:5601) Click [Dashboard] -> [Open] -> [MAIN]

screenshot0 screenshot1 screenshot2 screenshot3 screenshot5 screenshot6 screenshot7

About

Real-time Packet Observation Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published