Snort 2

Snort is the foremost Open Source Intrusion Prevention System (IPS) in the world. Snort IPS uses a series of rules that help define malicious network activity and uses those rules to find packets that match against them and generates alerts for users.

Snort can be deployed inline to stop these packets, as well. Snort has three primary uses: As a packet sniffer like tcpdump, as a packet logger — which is useful for network traffic debugging, or it can be used as a full-blown network intrusion prevention system. Snort can be downloaded and configured for personal and business use alike.

While users can still utilize the legacy Snort 2 system, we highly encourage upgrading to Snort 3 for sweeping upgrade featuring improvements and new features resulting in enhanced performance, faster processing, improved scalability for your network and a range of 200+ plugins so users can create a custom set-up for their network. To learn more about Snort 3 click here.

Step 1

Find the appropriate package for your operating system and install.

wget https://www.snort.org/downloads/snort/daq-2.0.7.tar.gz
                          
wget https://www.snort.org/downloads/snort/snort-2.9.20.tar.gz
tar xvzf daq-2.0.7.tar.gz
                          
cd daq-2.0.7
./configure && make && sudo make install
cd ..
tar xvzf snort-2.9.20.tar.gz
                          
cd snort-2.9.20
./configure --enable-sourcefire && make && sudo make install
yum install https://www.snort.org/downloads/snort/
                          
yum install https://www.snort.org/downloads/snort/snort-2.9.20-1.f35.x86_64.rpm
yum install https://www.snort.org/downloads/
                          
yum install https://www.snort.org/downloads/


pkg install snort
execute: Snort_2_9_20_Installer.x64.exe
Step 2

Sign up and get your Oinkcode. Users will automatically have access to the registered rule set. In order to get the latest detections available you can upgrade your subscription at any time.

Sign up/Subscribe
Step 3

Stay current with the latest updates

wget https://www.snort.org/downloads/community/community-rules.tar.gz -O community-rules.tar.gz
tar -xvzf community-rules.tar.gz -C /etc/snort/rules
Download the rule package that corresponds to your Snort version, for more information on how to retreive your oinkcode.
wget https://www.snort.org/rules/snortrules-snapshot-29160.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29160.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29151.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29151.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29130.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29130.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31150.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31150.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31200.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31200.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3000.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3000.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3100.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3100.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3190.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3190.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3031.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3031.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3140.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3140.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31110.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31110.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31440.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31440.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31210.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31210.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31350.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31350.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29200.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29200.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29141.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29141.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29190.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29190.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3034.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3034.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3110.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3110.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3130.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3130.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3170.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3170.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29181.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29181.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29170.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29170.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29161.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29161.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3150.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3150.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31470.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31470.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29171.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29171.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29111.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29111.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3101.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3101.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31180.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31180.tar.gz
tar -xvzf snortrules-snapshot-<version>.tar.gz -C /etc/snort/rules
Downloads
snortrules-snapshot-29160.tar.gz
snortrules-snapshot-29151.tar.gz
snortrules-snapshot-29130.tar.gz
snortrules-snapshot-31150.tar.gz
snortrules-snapshot-31200.tar.gz
snortrules-snapshot-3000.tar.gz
snortrules-snapshot-3100.tar.gz
snortrules-snapshot-3190.tar.gz
Talos_LightSPD.tar.gz
snortrules-snapshot-3031.tar.gz
snortrules-snapshot-3140.tar.gz
snortrules-snapshot-31110.tar.gz
snortrules-snapshot-31440.tar.gz
snortrules-snapshot-31210.tar.gz
snortrules-snapshot-31350.tar.gz
snortrules-snapshot-29200.tar.gz
snortrules-snapshot-29141.tar.gz
snortrules-snapshot-29190.tar.gz
snortrules-snapshot-3034.tar.gz
snortrules-snapshot-3110.tar.gz
snortrules-snapshot-3130.tar.gz
snortrules-snapshot-3170.tar.gz
snortrules-snapshot-29181.tar.gz
snortrules-snapshot-29170.tar.gz
snortrules-snapshot-29161.tar.gz
snortrules-snapshot-3150.tar.gz
snortrules-snapshot-31470.tar.gz
snortrules-snapshot-29171.tar.gz
snortrules-snapshot-29111.tar.gz
snortrules-snapshot-3101.tar.gz
snortrules-snapshot-31180.tar.gz
Download the rule package that corresponds to your Snort version, for more information on how to retrieve your oinkcode.
wget https://www.snort.org/rules/snortrules-snapshot-29181.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29181.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29161.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29161.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29130.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29130.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29200.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29200.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29190.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29190.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29151.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29151.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29171.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29171.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3190.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3190.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29141.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29141.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3101.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3101.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3130.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3130.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3150.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3150.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31180.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31180.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31350.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31350.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3170.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3170.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31110.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31110.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31210.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31210.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29170.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29170.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3000.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3000.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3031.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3031.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31470.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31470.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29160.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29160.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-29111.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-29111.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3034.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3034.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3110.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3110.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3140.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3140.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31150.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31150.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-3100.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-3100.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31200.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31200.tar.gz
wget https://www.snort.org/rules/snortrules-snapshot-31440.tar.gz?oinkcode=<oinkcode> -O snortrules-snapshot-31440.tar.gz
tar -xvzf snortrules-snapshot-<version>.tar.gz -C /etc/snort/rules
Downloads
snortrules-snapshot-29181.tar.gz
snortrules-snapshot-29161.tar.gz
snortrules-snapshot-29130.tar.gz
snortrules-snapshot-29200.tar.gz
snortrules-snapshot-29190.tar.gz
snortrules-snapshot-29151.tar.gz
snortrules-snapshot-29171.tar.gz
snortrules-snapshot-3190.tar.gz
snortrules-snapshot-29141.tar.gz
snortrules-snapshot-3101.tar.gz
snortrules-snapshot-3130.tar.gz
snortrules-snapshot-3150.tar.gz
snortrules-snapshot-31180.tar.gz
snortrules-snapshot-31350.tar.gz
snortrules-snapshot-3170.tar.gz
snortrules-snapshot-31110.tar.gz
snortrules-snapshot-31210.tar.gz
snortrules-snapshot-29170.tar.gz
snortrules-snapshot-3000.tar.gz
snortrules-snapshot-3031.tar.gz
snortrules-snapshot-31470.tar.gz
snortrules-snapshot-29160.tar.gz
snortrules-snapshot-29111.tar.gz
snortrules-snapshot-3034.tar.gz
snortrules-snapshot-3110.tar.gz
snortrules-snapshot-3140.tar.gz
Talos_LightSPD.tar.gz
snortrules-snapshot-31150.tar.gz
snortrules-snapshot-3100.tar.gz
snortrules-snapshot-31200.tar.gz
snortrules-snapshot-31440.tar.gz
Snort3_rules_timetag.txt
Step 4
Read Docs

For more details please reference our install guides on the documents page.