본문 바로가기
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print Files
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print Files
Security Onion with Snort and Snorby (pulledpork and snort with offline pcap included)
http://www.drchaos.com/ultimate-guide-to-installing-security-onion-with-snort-and-snorby/
http://www.thesecurityblogger.com/?p=2875

1. download Security Onion iso from:
http://sourceforge.net/projects/security-onion/files/latest/download?source=files

2. create a VM on VMware
- Ubuntu 64bit as OS type
- Boot in live
01.png

3. install security onion
02.png

03.png

4. install VMware tool
sudo mount /dev/cdrom /media/cdrom
cd /var/tmp
cp /media/cdrom/VMwareTools-* ./
tar xfz VMwareTools-*
cd vmware-tools-distrib
sudo ./vmware-install.pl -default
sudo reboot

5. update system
: This will update the latest scripts and security tools used inside the Security Onion platform.
sudo -i
apt-get update && apt-get install -y securityonion-pfring-module && apt-get -y dist-upgrade
reboot

6. setup security onion
04.png
- static ip on interface
- enable ELSA

7. update rules with PulledPork
sudo /usr/bin/rule-update

8. test
https://192.168.122.188/
05.png

06.png

Note: scan from remost host and check the events on Snorby
nmap -sS 192.168.122.188
07.png

###########################################################
# APPENDIX: download snort rules from multiple resources
###########################################################

1. get your oinkcode from https://www.snort.org/
08.png

2. set your oinkcode in pulledpork.conf and uncomment url to download
cd /etc/nsm/pulledpork
sudo cp pulledpork.conf pulledpork.conf.ori
sudo vi pulledpork.conf <-------- uncomment rule_url you want to download from
------------------8<--------------------
rule_url=https://www.snort.org/reg-rules/|snortrules-snapshot.tar.gz|<oinkcode>
#rule_url=https://s3.amazonaws.com/snort-org/www/rules/community/|community-rules.tar.gz|Community
rule_url=https://www.snort.org/reg-rules/|opensource.gz|<oinkcode>
rule_url=https://rules.emergingthreatspro.com/|emerging.rules.tar.gz|open
------------------8<--------------------
sudo sed -i 's/<oinkcode>/<YOUR_OINKCODE_HERE>/' pulledpork.conf <--- replace <YOUR_OINKCODE_HERE> with your oinkcode
sudo /usr/bin/rule-update

3. validation
sudo snort -N -T -c /etc/nsm/hojung-virtual-machine-eth0/snort.conf
09.png

#####################################
# APPENDIX: snort with offline pcap
#####################################

sudo snort -A console -l . -c /etc/nsm/hojung-virtual-machine-eth0/snort.conf --daq pcap -r sample.pcap
10.png




Title
List of Articles
번호 제목 글쓴이 날짜 조회 수
20 How to Decrypt SSL and TLS Traffic using Wireshark (test with sample file) file Hojung 2015.01.23 2615
19 자바스크립트 난독화 기법 / 분석 방법론 (정리예정) Hojung 2015.01.05 1637
18 Base64 encode/decode with OpenSSL Hojung 2015.01.04 1493
17 Convert ascii to hex and vice versa (hexdump, od, xxd, echo -e) Hojung 2015.01.04 1216
16 Simple ruby script to de-obfuscate with XOR string Hojung 2015.01.01 838
15 Installing yara on CentOS and test with Ruby script Hojung 2014.12.31 2140
14 Installing Yara for ruby on Mac Hojung 2014.12.31 902
13 How to find the original email sender (check X-Originating-IP or Received headers) Hojung 2014.12.29 1011
12 Links for FireEye Deployment Check Hojung 2014.12.11 2804
11 Get timezone info from system logs which is /var/log/messages Hojung 2014.12.07 944
10 Analysing NTPd logs file Hojung 2014.12.07 1607
9 Sguil with tcpreplay (Security Onion) file Hojung 2014.12.01 2503
8 Wireshark settings for traffic analysis file Hojung 2014.11.29 1237
» Security Onion with Snort and Snorby (pulledpork and snort with offline pcap included) file Hojung 2014.11.24 3819
6 Snort on Ubuntu 14 (Barnyard2, PulledPork, BASE, Snort with pcap) file Hojung 2014.11.22 3597
5 How to install Snorby in Kali (snort) file Hojung 2014.11.21 11126
4 install geoiplookup on Mac Hojung 2014.08.06 3131
3 DDoS 공격대응 가이드 Hojung 2014.07.29 4274
2 DDoS 분석도구 설치 및 분석 (tcpdstat, ngrep, httpry) Hojung 2014.07.25 3609
1 Perl script to push samples to Virustotal Hojung 2014.02.20 1406
Board Pagination ‹ Prev 1 Next ›
/ 1

Designed by sketchbooks.co.kr / sketchbook5 board skin

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5