Install Snort 2.9.7 on Windows
9 жыл бұрын
Snort Install on Windows 7
11 жыл бұрын
Пікірлер
@WycliffeMunene-z3n
@WycliffeMunene-z3n 2 ай бұрын
how do you check the interface number since they are different like yours is 4
@SteveGantz
@SteveGantz 2 ай бұрын
@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.
@Неагентш00988
@Неагентш00988 4 ай бұрын
Thank you very much! All works!
@seapet-t6j
@seapet-t6j 8 ай бұрын
This is so outdated that it should be taken off, tried this with win11 (who uses win10 anymore) what a dismal fkin failure
@SteveGantz
@SteveGantz 8 ай бұрын
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.
@Andreluizweb
@Andreluizweb 9 ай бұрын
WARNING: No preprocessors configured for policy 0.
@SteveGantz
@SteveGantz 9 ай бұрын
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
@marcofotso3151 Жыл бұрын
Merci beaucoup pour ces instructions détaillées et l'ajout des règles.
@ahmadkemrisyahputramunthe1612
@ahmadkemrisyahputramunthe1612 2 жыл бұрын
How to send snort alert to bot telegran on windows 10 bro?
@amoghprahalad9864
@amoghprahalad9864 2 жыл бұрын
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.
@SteveGantz
@SteveGantz 2 жыл бұрын
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.
@renanteauxtero3575
@renanteauxtero3575 2 жыл бұрын
how do i whitelist my tcp ports? i am running a game server and i want to exempt my tcp port since its open.
@SteveGantz
@SteveGantz 2 жыл бұрын
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.
@renanteauxtero3575
@renanteauxtero3575 2 жыл бұрын
@@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.
@SteveGantz
@SteveGantz 2 жыл бұрын
@@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.
@renanteauxtero3575
@renanteauxtero3575 2 жыл бұрын
@@SteveGantz so how do i prevent ddos using tcp? my gameserver keeps flooding using tcp connections.
@SteveGantz
@SteveGantz 2 жыл бұрын
@@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.
@chickenpotthighs9387
@chickenpotthighs9387 3 жыл бұрын
Great tutorial thank you sir
@Medumex
@Medumex 3 жыл бұрын
Very good video thanks
@divyatawade1968
@divyatawade1968 3 жыл бұрын
stuck at this in the end Commencing packet processing (pid=19304)
@SteveGantz
@SteveGantz 3 жыл бұрын
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.
@divyatawade1968
@divyatawade1968 3 жыл бұрын
@@SteveGantz which interface should I choose there are 3 disabled, 1 bluetooth device PAN, 2 Wifi direct virtual adapter
@basthianarisna2646
@basthianarisna2646 3 жыл бұрын
Why i get ERROR: Active responce:can't open ip
@SteveGantz
@SteveGantz 3 жыл бұрын
That error usually means you have not included an interface specification (such as "-i 2") in your startup command.
@basthianarisna2646
@basthianarisna2646 3 жыл бұрын
@@SteveGantz it's work thank you. May you give me some reference for learn snort more ? I dont know where to go after this
@youtubeforfun75
@youtubeforfun75 3 жыл бұрын
Great tutorial video. thank you so much!!!!
@azzis1822
@azzis1822 3 жыл бұрын
God bless you.
@MADDOG-sq9oj
@MADDOG-sq9oj 3 жыл бұрын
didn't work
@babarali4313
@babarali4313 3 жыл бұрын
it is still working after 4 years. Thanks man.
@Russsog
@Russsog 3 жыл бұрын
In the last step the consoe is getting stuck, how i confirm that rules are activated??
@jamesbond-cx2uh
@jamesbond-cx2uh 4 жыл бұрын
Stuck at commencing packet processing. Anyone has any idea how to solve this problem?
@voluminoeseProstituierte
@voluminoeseProstituierte 4 жыл бұрын
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
@Yelorvi18 Жыл бұрын
Did you solve it?
@hectorresendiz8665
@hectorresendiz8665 4 жыл бұрын
minuto 10:16
@sergeant_dornan_
@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.
@cheyercorpusgiraldo1453
@cheyercorpusgiraldo1453 4 жыл бұрын
ERROR: c:\Snort\etc\snort.conf(326) => Invalid keyword '}' for server configuration. Fatal Error, Quitting.. solucion
@DuongNguyen-jl4lr
@DuongNguyen-jl4lr 4 жыл бұрын
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.
@twildnjmsmjdct4414
@twildnjmsmjdct4414 4 жыл бұрын
I was in trouble with the whitelist until I changed it to RULES file. Anything rest is OK. Great video.
@CapnNapalm
@CapnNapalm 4 жыл бұрын
I know its been 4 years, but I hope you updated office
@mansibachal6093
@mansibachal6093 4 жыл бұрын
snort _i 5 _c c:\snort\etc\snort.conf _T Error :Invalid device no 5 Fatal error ,quitting Plz give me solution its urgent
@carlh8847
@carlh8847 4 жыл бұрын
Thanks Steve. Great, clear video at a comfortable pace. I appreciate your effort.
@ryantahrawi
@ryantahrawi 4 жыл бұрын
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.
@ayushroy2552
@ayushroy2552 4 жыл бұрын
For the application error, install npcap
@balamodi
@balamodi 4 жыл бұрын
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-oi4pi
@Piano-oi4pi 4 жыл бұрын
error(33) Unkown ClassType: webapplication-attack
@handhikayp
@handhikayp 4 жыл бұрын
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
@amanjawandha6068
@amanjawandha6068 4 жыл бұрын
Hi i have an error in line 512 - unable to open file that is white.list Please help me to resolve this
@pedrotv1136
@pedrotv1136 4 жыл бұрын
My snort receive packets but dont analyze them. Can someone help me?
@jonathangarciacastro1638
@jonathangarciacastro1638 4 жыл бұрын
tengo el mismo error que tu, pudiste resolverlo?
@pedrotv1136
@pedrotv1136 4 жыл бұрын
@@jonathangarciacastro1638 no
@briilynchh
@briilynchh 4 жыл бұрын
When I type snort -W no interfaces are listed, why might that be?
@jonathangarciacastro1638
@jonathangarciacastro1638 4 жыл бұрын
chek your home net variable
@VasquezXD
@VasquezXD 4 жыл бұрын
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
@jonathangarciacastro1638
@jonathangarciacastro1638 4 жыл бұрын
i have the same error, i think is the firewall bc i try everything(rules, interfaces etc. and nothing)
@VasquezXD
@VasquezXD 4 жыл бұрын
@@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.
@jonathangarciacastro1638
@jonathangarciacastro1638 4 жыл бұрын
@@VasquezXD sure bro, do you speak spanish? English is not my first language, that's why i can't explain me better
@VasquezXD
@VasquezXD 4 жыл бұрын
@@jonathangarciacastro1638 I do not, but you can explain in Spanish and I can use google translate or get someone to help me translate it.
@jonathangarciacastro1638
@jonathangarciacastro1638 4 жыл бұрын
@@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_Mericle
@Scott_Mericle 4 жыл бұрын
What a pain in the butt..... I just wanna be able to install stuff and be done with it.
@VasquezXD
@VasquezXD 4 жыл бұрын
That's how malware in gets in your PC.
@thengochuyen4676
@thengochuyen4676 4 жыл бұрын
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>
@nelsonalvarez5311
@nelsonalvarez5311 4 жыл бұрын
You wrote ect instead of etc
@thengochuyen4676
@thengochuyen4676 4 жыл бұрын
@@nelsonalvarez5311 Can you help me? C:\Snort\bin>snort -i 1 -c c:\Snort\etc\snort.conf -T Running in Test mode --== Initializing Snort ==-- Initializing Output Plugins! Initializing Preprocessors! Initializing Plug-ins! Parsing Rules file "c:\Snort\etc\snort.conf" PortVar 'HTTP_PORTS' defined : [ 36 80:90 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1812 1830 1942 2231 2301 2381 2578 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5450 5600 5814 6080 6173 6988 7000:7001 7005 7071 7144:7145 7510 7770 7777:7779 8000:8001 8008 8014:8015 8020 8028 8040 8080:8082 8085 8088 8090 8118 8123 8180:8182 8222 8243 8280 8300 8333 8344 8400 8443 8500 8509 8787 8800 8888 8899 8983 9000 9002 9060 9080 9090:9091 9111 9290 9443 9447 9710 9788 9999:10000 11371 12601 13014 15489 15672 19980 29991 33300 34412 34443:34444 40007 41080 44449 50000 50002 51423 53331 55252 55555 56712 ] PortVar 'SHELLCODE_PORTS' defined : [ 0:79 81:65535 ] PortVar 'ORACLE_PORTS' defined : [ 1024:65535 ] PortVar 'SSH_PORTS' defined : [ 22 ] PortVar 'FTP_PORTS' defined : [ 21 2100 3535 ] PortVar 'SIP_PORTS' defined : [ 5060:5061 5600 ] PortVar 'FILE_DATA_PORTS' defined : [ 36 80:90 110 143 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1812 1830 1942 2231 2301 2381 2578 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5450 5600 5814 6080 6173 6988 7000:7001 7005 7071 7144:7145 7510 7770 7777:7779 8000:8001 8008 8014:8015 8020 8028 8040 8080:8082 8085 8088 8090 8118 8123 8180:8182 8222 8243 8280 8300 8333 8344 8400 8443 8500 8509 8787 8800 8888 8899 8983 9000 9002 9060 9080 9090:9091 9111 9290 9443 9447 9710 9788 9999:10000 11371 12601 13014 15489 15672 19980 29991 33300 34412 34443:34444 40007 41080 44449 50000 50002 51423 53331 55252 55555 56712 ] PortVar 'GTP_PORTS' defined : [ 2123 2152 3386 ] Detection: Search-Method = AC-Full-Q Split Any/Any group = enabled Search-Method-Optimizations = enabled Maximum pattern length = 20 ERROR: c:\Snort\etc\C:\Snort\ect\classification.config(0) Unable to open rules file "c:\Snort\etc\C:\Snort\ect\classification.config": Invalid argument.
@nelsonalvarez5311
@nelsonalvarez5311 4 жыл бұрын
@@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
@thengochuyen4676
@thengochuyen4676 4 жыл бұрын
@@nelsonalvarez5311 thank you so much
@thengochuyen4676
@thengochuyen4676 4 жыл бұрын
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.
@mamdouhmahfouz08
@mamdouhmahfouz08 4 жыл бұрын
Thanks so much for this great demo , it's really helped a lot.
@llfrater19
@llfrater19 4 жыл бұрын
How do you install it as a service on windows ?
@elvisbarukcic7842
@elvisbarukcic7842 4 жыл бұрын
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 ?
@DMahoney84
@DMahoney84 4 жыл бұрын
Any ideas why my wireless adapter is not showing up in the interface list?
@tanushreekansal2029
@tanushreekansal2029 4 жыл бұрын
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.
@Vran4441
@Vran4441 4 жыл бұрын
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
@tanushreekansal2029
@tanushreekansal2029 4 жыл бұрын
@@Vran4441 doesn't work :(
@knokshmashorgru7301
@knokshmashorgru7301 4 жыл бұрын
if you did not install winpcap, go ahead. If you have, try npcap
@omaridenver
@omaridenver 4 жыл бұрын
Snort -W does not show any interfaces on my computer!!! have any idea why?
@FastRedPonyCar
@FastRedPonyCar 4 жыл бұрын
Is Snort still relevant these days or is there a better solution that accomplishes the same thing?
@ManeshThankappan
@ManeshThankappan 4 жыл бұрын
Thank you. pretty useful
@santoshr1496
@santoshr1496 4 жыл бұрын
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
@Yelorvi18 Жыл бұрын
Did you solve it?
@lueallan4800
@lueallan4800 5 жыл бұрын
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.
@SteveGantz
@SteveGantz 5 жыл бұрын
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).
@lueallan4800
@lueallan4800 5 жыл бұрын
@@SteveGantz I made that changes and it seems to be working. Thanks for your help.
@amandaszampias
@amandaszampias 5 жыл бұрын
well done!
@gugan8381
@gugan8381 5 жыл бұрын
Error: can't set DAQ BPF filter to 'i console'
@shoaibmazhar5457
@shoaibmazhar5457 4 жыл бұрын
facing same problem. any solution?
@Lisa-od8bk
@Lisa-od8bk 5 жыл бұрын
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?
@margueritemunson6447
@margueritemunson6447 4 жыл бұрын
You need more memory