This build was created and tested using Ubuntu 16.04.
$ wget https://raw.githubusercontent.com/super-a1ice/rpot/master/INSTALL/install-ubuntu1604.sh
$ bash ./install-ubuntu1604.sh
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
$ cd /opt/rpot
$ ./update.sh
$ cd /usr/local/share/clamav/
$ sudo vim sample.yar
rule Sample_Rule {
strings:
$string1 = "Test"
condition:
$string1
}
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
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
Access Kibana url (http://localhost:5601
)
Click [Dashboard] -> [Open] -> [MAIN]