how do you check the interface number since they are different like yours is 4
@SteveGantz2 ай бұрын
@WycliffeMunene-z3n There is a built in command you can run: "snort -W" with an uppercase W that will return active interfaces. it worked more reliably with winPcap than it does with npcap. If you have Wireshark, you can also use that - the interface list on the capture startup screen in Wireshark will show the available interfaces in the same order that Snort uses since both programs use the same packet capture utility.
@Неагентш009884 ай бұрын
Thank you very much! All works!
@seapet-t6j8 ай бұрын
This is so outdated that it should be taken off, tried this with win11 (who uses win10 anymore) what a dismal fkin failure
@SteveGantz8 ай бұрын
Not sure what version of Snort you were trying to install, but if you want to work with the last version of Snort 2 (2.9.20) on Windows 11, these instructions will work just fine. I run Snort 2.9.20 on Windows 11 and it performs exactly the same as on Windows 10 (which, BTW, remains the most widely used version of Windows by a very large margin - fewer than 10 percent of enterprises are on Windows 11). Snort will prompt you to install NpCap instead of WinPcap because NpCap works more reliably on Win11, but the installation, rule setup, and configuration for Snort haven't changed significantly in many years. These instructions are not useful for Snort 3.0, mostly because that major release was essentially an entirely new program, not just an upgrade to Snort 2.
@Andreluizweb9 ай бұрын
WARNING: No preprocessors configured for policy 0.
@SteveGantz9 ай бұрын
That error usually means you either started Snort without referencing snort.conf in your startup command or you don't have the preprocessor rules enabled in Step #8 of the config file. Snort cannot load or start any preprocessors without the configuration information in the snort.conf file.
@marcofotso3151 Жыл бұрын
Merci beaucoup pour ces instructions détaillées et l'ajout des règles.
@ahmadkemrisyahputramunthe16122 жыл бұрын
How to send snort alert to bot telegran on windows 10 bro?
@amoghprahalad98642 жыл бұрын
why do I get this error ERROR: c:\Snort\etc\c:\Snort ules\local.rules(0) Unable to open rules file "c:\Snort\etc\c:\Snort ules\local.rules": Invalid argument.
@SteveGantz2 жыл бұрын
You seem to have a syntax error in one of your path variables, most likely RULE_PATH. It’s important on Windows to use full path declarations and not leave any of the relative paths that are in snort.conf by default.
@renanteauxtero35752 жыл бұрын
how do i whitelist my tcp ports? i am running a game server and i want to exempt my tcp port since its open.
@SteveGantz2 жыл бұрын
Even when deployed in-line, Snort doesn't permit or deny traffic based on protocols or specific ports unless you enable a rule that takes that action (for example a rule to detect or drop tcp port 21 traffic for unsecured ftp). As long as the port(s) your game server uses are not in a Snort rule the IDS won't affect the traffic to the game server.
@renanteauxtero35752 жыл бұрын
@@SteveGantz ok thanks. anyway, im using this command to protect any tcp. is it correct? alert tcp any any -> any any (sid:16; msg:"Flood Attempt!"; classtype: string-detect; flow: to_server, established; content:"Authorization\:Basic";) what I want to do is to protect all my tcp ports.
@SteveGantz2 жыл бұрын
@@renanteauxtero3575 That rule is primarily a content match on the basic auth string but yes, it will be applied to any tcp traffic on any port.
@renanteauxtero35752 жыл бұрын
@@SteveGantz so how do i prevent ddos using tcp? my gameserver keeps flooding using tcp connections.
@SteveGantz2 жыл бұрын
@@renanteauxtero3575 There are certainly rulesets with Snort that will help alert you to when a tcp flood or other potential DDOS attack is happening, but to be candid, Snort is not the right tool for blocking these sorts of attacks. You really need a web application firewall to monitor incoming requests and determine when the traffic volume indicates a DDOS attempt. Ordinarily I would point you to Cloudflare but they're not exactly putting their best foot forward right now. You might look at the free version of Imperva or Cloudbric, or the open-source HAProxy.
@chickenpotthighs93873 жыл бұрын
Great tutorial thank you sir
@Medumex3 жыл бұрын
Very good video thanks
@divyatawade19683 жыл бұрын
stuck at this in the end Commencing packet processing (pid=19304)
@SteveGantz3 жыл бұрын
The "commencing packet processing" message means that Snort has started and is running. If you don't see anything after that on screen, you first need to confirm you have some rules active and loaded. Assuming that is the case, then you either need to make sure you are directing output to the screen (with "-A console" in your startup command) or, if you are already doing that, you need to verify that you have Snort listening on the correct network interface.
@divyatawade19683 жыл бұрын
@@SteveGantz which interface should I choose there are 3 disabled, 1 bluetooth device PAN, 2 Wifi direct virtual adapter
@basthianarisna26463 жыл бұрын
Why i get ERROR: Active responce:can't open ip
@SteveGantz3 жыл бұрын
That error usually means you have not included an interface specification (such as "-i 2") in your startup command.
@basthianarisna26463 жыл бұрын
@@SteveGantz it's work thank you. May you give me some reference for learn snort more ? I dont know where to go after this
@youtubeforfun753 жыл бұрын
Great tutorial video. thank you so much!!!!
@azzis18223 жыл бұрын
God bless you.
@MADDOG-sq9oj3 жыл бұрын
didn't work
@babarali43133 жыл бұрын
it is still working after 4 years. Thanks man.
@Russsog3 жыл бұрын
In the last step the consoe is getting stuck, how i confirm that rules are activated??
@jamesbond-cx2uh4 жыл бұрын
Stuck at commencing packet processing. Anyone has any idea how to solve this problem?
@voluminoeseProstituierte4 жыл бұрын
ERROR: c:\Snort\etc\C:\Snort ules\local.rules(0) Unable to open rules file "c:\Snort\etc\C:\Snort ules\local.rules": Invalid argument. some1 help
@Yelorvi18 Жыл бұрын
Did you solve it?
@hectorresendiz86654 жыл бұрын
minuto 10:16
@sergeant_dornan_4 жыл бұрын
Immensely helpful video. So many half-assed guides on the web with incorrect steps to make Snort work on Windows... That 4 (!) year old video worked like a charm. Unlike official documentation (which is lacking to put it softly). I don't get it how Snort is such a widespread tool. Where do organisations that use it get all the needed info? You need to jump through hoops just to make it work, let alone configure it to your needs.
@cheyercorpusgiraldo14534 жыл бұрын
ERROR: c:\Snort\etc\snort.conf(326) => Invalid keyword '}' for server configuration. Fatal Error, Quitting.. solucion
@DuongNguyen-jl4lr4 жыл бұрын
C:\Snort\bin>Snort /SERVICE /INSTALL -c c:\snort\etc\snort.conf -l c:\snort\log -K ascii -i1 [SNORT_SERVICE] Attempting to install the Snort service. [SNORT_SERVICE] The full path to the Snort binary appears to be: C:\Snort\bin\Snort /SERVICE ERROR: [SNORT_SERVICE] Unable to create Snort registry entry. The operation completed successfully. Fatal Error, Quitting.
@twildnjmsmjdct44144 жыл бұрын
I was in trouble with the whitelist until I changed it to RULES file. Anything rest is OK. Great video.
@CapnNapalm4 жыл бұрын
I know its been 4 years, but I hope you updated office
@mansibachal60934 жыл бұрын
snort _i 5 _c c:\snort\etc\snort.conf _T Error :Invalid device no 5 Fatal error ,quitting Plz give me solution its urgent
@carlh88474 жыл бұрын
Thanks Steve. Great, clear video at a comfortable pace. I appreciate your effort.
@ryantahrawi4 жыл бұрын
When I try to see the version in cmd, I get an unable to open application 0xc000007b error. Also when i open the community files with 7zip, there is no rules folder. What am i doing wrong? I installed snort and the correct version of community files.
@ayushroy25524 жыл бұрын
For the application error, install npcap
@balamodi4 жыл бұрын
You are a great teacher Steve. I had a little hitch identifying the sf_engine.so in the \lib\snor_dynamicengine folder.However, after a careful observation, I just replaced that with the sf_engine.dll file and it worked. Also, couple of changes more from the name white.list to whitelist.rules finally got my test up and running. Thanks a lot Steve, the video was brilliant and quite explanatory.
@Piano-oi4pi4 жыл бұрын
error(33) Unkown ClassType: webapplication-attack
@handhikayp4 жыл бұрын
still confusing about how to choose the right interface, because i have 9 output with 3 microsoft, and every one of them, doesn't call the output from local
@amanjawandha60684 жыл бұрын
Hi i have an error in line 512 - unable to open file that is white.list Please help me to resolve this
@pedrotv11364 жыл бұрын
My snort receive packets but dont analyze them. Can someone help me?
@jonathangarciacastro16384 жыл бұрын
tengo el mismo error que tu, pudiste resolverlo?
@pedrotv11364 жыл бұрын
@@jonathangarciacastro1638 no
@briilynchh4 жыл бұрын
When I type snort -W no interfaces are listed, why might that be?
@jonathangarciacastro16384 жыл бұрын
chek your home net variable
@VasquezXD4 жыл бұрын
Every interface I use, even the correct one, doesn't show alerts while running or traffic when terminated(ctrl + c). I'm using "-A console" and I even put the alert rules in local.rules... Could this be a firewall issue? @Steve Gantz
@jonathangarciacastro16384 жыл бұрын
i have the same error, i think is the firewall bc i try everything(rules, interfaces etc. and nothing)
@VasquezXD4 жыл бұрын
@@jonathangarciacastro1638 Please let me know if you find the steps to fix this problem. Haven't found solution yet and I have no clue which firewall settings or rules I have to set.
@jonathangarciacastro16384 жыл бұрын
@@VasquezXD sure bro, do you speak spanish? English is not my first language, that's why i can't explain me better
@VasquezXD4 жыл бұрын
@@jonathangarciacastro1638 I do not, but you can explain in Spanish and I can use google translate or get someone to help me translate it.
@jonathangarciacastro16384 жыл бұрын
@@VasquezXD hey, i didnt find the problem with the alerts, so i tried another way.Install snort in the firewall Pfsense and now it works perfectly for me
@Scott_Mericle4 жыл бұрын
What a pain in the butt..... I just wanna be able to install stuff and be done with it.
@VasquezXD4 жыл бұрын
That's how malware in gets in your PC.
@thengochuyen46764 жыл бұрын
I am trying to run Snort on my PC, I get this error every time I run it on the command prompt, do you have any idea about this error ??Thanks C:\Snort\bin>snort -i4 -c c:\Snort\ect\snort.conf -T Running in Test mode --== Initializing Snort ==-- Initializing Output Plugins! Initializing Preprocessors! Initializing Plug-ins! Parsing Rules file "c:\Snort\ect\snort.conf" ERROR: c:\Snort\ect\snort.conf(0) Unable to open rules file "c:\Snort\ect\snort.conf": No such file or directory. Fatal Error, Quitting.. Could not create the registry key. C:\Snort\bin>
@@thengochuyen4676 you have typed ect in the rules path in the snort.conf file, try using the find tool in notepad to check for any other ect instance and change it for etc
@thengochuyen46764 жыл бұрын
@@nelsonalvarez5311 thank you so much
@thengochuyen46764 жыл бұрын
Can you help me? How to fix this error? I am trying to run Snort on my PC win 8 Running in packet logging mode --== Initializing Snort ==-- Initializing Output Plugins! ERROR: Can not get write access to logging directory "c:\Snort\etc\snort.conf". (directory doesn't exist or permissions are set incorrectly or it is not a directory at all) Fatal Error, Quitting.. Could not create the registry key.
@mamdouhmahfouz084 жыл бұрын
Thanks so much for this great demo , it's really helped a lot.
@llfrater194 жыл бұрын
How do you install it as a service on windows ?
@elvisbarukcic78424 жыл бұрын
Video is great. Just what we all "newies" like myself need for a basic start. My next question is...are there some options or instructions how to get email alerts once You set up and configure SNORT analysing packages. My idea is to mirror my network ports to one specific computer/platform, where SNORT would run all the time 24/7 and in case intrusion is detected...email or some other warning would be sent... I'm sure I'm not first one to ask this..so any good reference for adding mail warnings ?
@DMahoney844 жыл бұрын
Any ideas why my wireless adapter is not showing up in the interface list?
@tanushreekansal20294 жыл бұрын
Hey, thank you for the amazing guide. Although my installation is unable to fetch the network interfaces on my windows 10 system. Snort -W returns no interfaces at all. Could you please help out.
@Vran44414 жыл бұрын
Run "snort -W" from the command line (has to be a capital W) and you should get a list of available interfaces in numbered order. this is the answer
@tanushreekansal20294 жыл бұрын
@@Vran4441 doesn't work :(
@knokshmashorgru73014 жыл бұрын
if you did not install winpcap, go ahead. If you have, try npcap
@omaridenver4 жыл бұрын
Snort -W does not show any interfaces on my computer!!! have any idea why?
@FastRedPonyCar4 жыл бұрын
Is Snort still relevant these days or is there a better solution that accomplishes the same thing?
@ManeshThankappan4 жыл бұрын
Thank you. pretty useful
@santoshr14964 жыл бұрын
Hello sir, I am getting the fallowing error ERROR: c:\Snort\etc\C:\Snort ules\preprocessor.rules(0) Unable to open rules file "c:\Snort\etc\C:\Snort ules\preprocessor.rules": Invalid argument. In config file the path is var RULE_PATH C:\Snort ules #var SO_RULE_PATH ../so_rules var PREPROC_RULE_PATH C:\Snort ules please help me
@Yelorvi18 Жыл бұрын
Did you solve it?
@lueallan48005 жыл бұрын
I am getting the error c:\snort\etc\snort.conf(512) Unknown rule type; blacklist. Great video this has helped me move along this project much quicker than anticipated.
@SteveGantz5 жыл бұрын
Based on the line number, I'm guessing you have not fully commented out (that is, disabled) the reputation preprocessor. You need to put a # character in the first position of every line in the preprocessor configuration in snort.conf. You should also verify that there is a \ character at the end of each of the first 5 lines in the reputation preprocessor configuration (not after the last line).
@lueallan48005 жыл бұрын
@@SteveGantz I made that changes and it seems to be working. Thanks for your help.
@amandaszampias5 жыл бұрын
well done!
@gugan83815 жыл бұрын
Error: can't set DAQ BPF filter to 'i console'
@shoaibmazhar54574 жыл бұрын
facing same problem. any solution?
@Lisa-od8bk5 жыл бұрын
Thank you for this great video,but when I run snort i get a Initializing rule chains... ERROR: c:\Snort\etc\snort.conf(510) Unknown rule type: memcap. Fatal Error, Quitting.. any ideas what I could do?