FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
No Result
View All Result

Snort Installation, Config, and Rule Creation on Kali Linux 2.0

admin by admin
May 27, 2020
in Lập Trình Linux
35
Snort Installation, Config, and Rule Creation on Kali Linux 2.0



Please check out my Udemy courses! Coupon code applied to the following links….

Description:

This video covers how to install Snort, edit the configuration file, create custom Snort rules, and analyze a PCAP with malicious Neutrino exploit kit activity. The following are the commands I used during the video:

apt-get install snort (this command installs Snort. If you are not root, type sudo apt-get install snort)

ifconfig (this shows the configuration of your local network interface)

touch /etc/snort/rules/custom.rules (this creates a rule file)

vi /etc/snort/snort.conf (this opens the Snort configuration file in Vi text editor)

mkdir log (this creates a directory named log)

snort -l ./log -b -c /etc/snort/snort.conf (this runs Snort in NIDS mode)

alert tcp any any -(greater than symbol) any any (msg:“Possible Neutrino Exploit kit infection.”; content:”vclphjybj.ioxbpjgtqvwqfzmwhn.ga”; classtype:trojan-activity; sid:999995; rev:1;) (Snort rule in video. Please note that pointy brackets aren’t allowed in the YouTube description, so use a greater than symbol after any any -)

snort -l ./log -b -c /etc/snort/snort.conf -r (pcap name) (this reads a PCAP and compares it against Snort rules)

Nguồn: https://ftlinuxcourse.com

Xem thêm bài viết khác: https://ftlinuxcourse.com/lap-trinh-linux

Xem thêm Bài Viết:

  • Trải nghiệm mới hay ho với hướng dẫn cài Mac Os trên vmware
  • Bật mí cách cài đặt ssl miễn phí lên Let’s Encrypt
  • Tuyệt chiêu tạo usb boot kali linux đơn giản dành cho bạn
  • Hướng dẫn chi tiết từ A – Z các bước cài đặt Python trên Windows 10
  • Bật mí quy trình cài đặt Kali Linux trên Vmware đúng chuẩn và chi tiết
Tags: Youtube
Previous Post

Top 10 Bộ Phim Cưới Trước Yêu Sau Của Trung Quốc Hay Nhất

Next Post

HƯỚNG DẪN CÁCH CHƠI MỘT BẢN NHẠC DJ HOÀN CHỈNH VỚI BÀN NUMARK NV II

Next Post
HƯỚNG DẪN CÁCH CHƠI MỘT BẢN NHẠC DJ HOÀN CHỈNH VỚI BÀN NUMARK NV II

HƯỚNG DẪN CÁCH CHƠI MỘT BẢN NHẠC DJ HOÀN CHỈNH VỚI BÀN NUMARK NV II

Comments 35

  1. islam tareq says:
    3 years ago

    http://www.malware-traffic-analysis.net/2015/08/31/page2.html

    here a link includes a PCAP file and IOCs

    Reply
  2. aing dapa says:
    3 years ago

    I have a problem, unable to locate package

    Reply
  3. maroc sniper says:
    3 years ago

    ERROR: /etc/snort//etc/snort/rules/custom.rules:(0) Unable to open rules file "/etc/snort//etc/snort/rules/custom.rules:": No such file or directory.

    Reply
  4. Augustus Rodriguez says:
    3 years ago

    lol how'd you escape the prompt @ 4:10

    idk if you're still responding to comments from this vid but I have to configure snort for a project in my security class, would just like to know how you got out the prompt

    Reply
  5. Amirahmad Chapneviss says:
    3 years ago

    Thanks for this video. You really help me doing my project

    Reply
  6. Abdul R Farouk says:
    3 years ago

    I downloaded the malicious.pcap but still not working. is there any sample you will recommend i save the file using wordpad and it came girberish. only characters like {} n & etc. i downloaded and save it on desktop. thank you please help

    Reply
  7. Hui Woo says:
    3 years ago

    Initializing Plug-ins!

    Parsing Rules file "/etc/snort/snort.conf"

    PortVar 'HTTP_PORTS' defined : [ 80:81 311 383 591 593 901 1220 1414 1741 1830 2301 2381 2809 3037 3128 3702 4343 4848 5250 6988 7000:7001 7144:7145 7510 7777 7779 8000 8008 8014 8028 8080 8085 8088 8090 8118 8123 8180:8181 8243 8280 8300 8800 8888 8899 9000 9060 9080 9090:9091 9443 9999 11371 34443:34444 41080 50002 55555 ]

    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 : [ 80:81 110 143 311 383 591 593 901 1220 1414 1741 1830 2301 2381 2809 3037 3128 3702 4343 4848 5250 6988 7000:7001 7144:7145 7510 7777 7779 8000 8008 8014 8028 8080 8085 8088 8090 8118 8123 8180:8181 8243 8280 8300 8800 8888 8899 9000 9060 9080 9090:9091 9443 9999 11371 34443:34444 41080 50002 55555 ]

    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

    Tagged Packet Limit: 256

    Error getting stat on pcap file: malicious.pcap: No such file or directory

    ERROR: Error getting pcaps.

    Fatal Error, Quitting..

    doesnt work

    Reply
  8. Hui Woo says:
    3 years ago

    how do you change the CIDR if you want to test on a different network?

    Reply
  9. Hui Woo says:
    3 years ago

    can you install snort on 2018 and 19 version plus new rules?

    Reply
  10. gokselkahraman says:
    3 years ago

    Excellent explanation. Thank you very much

    Reply
  11. Vishwas Kaup Vijayananda says:
    3 years ago

    Good video! But I have a question-

    The IP address of your system is 192.168.199.130/24. This means that it is in 192.168.199.* network.

    But when you installed SNORT IDS, you gave the "Address range for the local network" as 192.168.0.0/24. This means that it is in 192.168.0.* network.

    So your system is on one network and SNORT is on a completely different network. How does it work?

    Reply
  12. Allan NG says:
    3 years ago

    Hi,
    Thank for the video. I wish to know if I want to get alert for download. How do I write the rule in snort to detect that. Hope to hear from you. Thank.

    Reply
  13. ah oo says:
    3 years ago

    hello just have a question im new writing snort rule so if you have a web address can you put that in a rule and how do you make that how do you make a snd rule

    Reply
  14. cap kapak says:
    3 years ago

    Hello sir, may i ask. What happen if i did not do/skip the last step " snort -l ./log -b -c /etc/snort/snort.conf -r (pcap name) (this reads a PCAP and compares it against Snort rules) " ??

    Reply
  15. Lee Cottrell says:
    3 years ago

    The custom rule in the video is great. However, it can be hard to test if your local firewall blocks the site. Here is a much simpler rule that checks for traffic from your PC to the Kali box.

    alert tcp yourPCIP any -> yourKaliIP any (msg:"Traffic from PC"; sid 113020171; rev:1;)

    Then, start snort using the command in the video

    From yourPC use a web browser to connect to kaliIP. The connection will likely fail, but the message will be recorded in the log. Cat or more the log to find the msg you wrote in the rule

    Reply
  16. Osman Palmier says:
    3 years ago

    please help when I used mkdir log command this appears "mkdir: cannot create directory 'log': file exists. what happened here?

    Reply
  17. Randolph Stokes says:
    3 years ago

    Great tutorial vid! Getting it set up right and viewing alerts was killing me. Now, I can complete my class assignments. Thank you!

    Reply
  18. hieubinhquoi says:
    3 years ago

    that is so good

    Reply
  19. Hey Dadddy says:
    3 years ago

    Good day,what about Debian or linux mint,any extra configurations needed?

    Reply
  20. Ikhsan Risalba says:
    3 years ago

    initializing snort :
    "error getting stat on pcap file: malicious.pcap: no such file directory"

    what must i do ?

    Reply
  21. World Maps says:
    3 years ago

    may i ask you why. home_Net , the ping is my os

    Reply
  22. Too Late says:
    3 years ago

    Great video Jesse… Please keep them coming. What about a nice tutorial on pfSense or Opnsens?

    Reply
  23. Samir says:
    3 years ago

    cat | less? why not just less?

    Reply
  24. Jared Perez says:
    3 years ago

    Excellent instructor

    Reply
  25. islam tareq says:
    3 years ago

    i receive that error any help please ( Content data needs to be enclosed in quotation marks )

    Reply
  26. N says:
    3 years ago

    Hi Jesse,

    Where can I get a copy of the exact pcap that you used? I downloaded a pcacp from the website you mentioned in a previous comment and download a pcap related to that root kit. However, I am not able to obtain an alert as specified in the custom rules.

    Reply
  27. Derrick Gordon says:
    3 years ago

    so what if you don't have snort how do you get these programs?

    Reply
  28. Mr_Chiller says:
    3 years ago

    Hey Jesse, great video! I just have one error when I run "snort l ./log -b -c /etc/snort/snort.conf", I get the error: ERROR: /etc/snort/snort.conf(1) Invalid configuration line: —————————————–. Any ideas?

    Reply
  29. Lu-Cha says:
    3 years ago

    Hi Jesse. Cool thing! Simple, easy, short. Are there any places you can recommend for pcap samples downloads?

    Reply
  30. Angel Perez says:
    3 years ago

    Im stuck with the log test, after run "snort -l ./log -b -c /etc/snort/snort.conf" they start running but stop with en ERROR: OpenAlertFile()……/log/alert: no such file or directory….Fatal Error, Quitting… and then i dont have any file inside /log , just an "alert" file. So i guess is not working. Any idea? thanks in advance.

    Reply
  31. Craig Watkins says:
    3 years ago

    Would this method work on a raspberry pi 3? Thanks

    Reply
  32. Hector95815 says:
    3 years ago

    very good video. installed snort but missed the configuration package but the log showed that it is working. I don't have the pcap file yet so the the rule don't work. I presume I have to download any pcap file or change the conf file? just excuse this is disabled old fart with some time to mess with stuff like this. Otherwise, keep up the good work!!!

    Reply
  33. Hannibal Anderson says:
    3 years ago

    Fantastic explanation of creating Snort rules. Keep them coming. Thank you!

    Reply
  34. akshay jain says:
    3 years ago

    When i do apt-get install snort
    Its unable to find the package.

    Reply
  35. Jose Mijail Redkoborodiy Montoya says:
    3 years ago

    HelloThank you very much for the video, I served much.
    but now I wonder, how could send alerts to an email? Excuse the bother. Thanks for your time.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

January 17, 2021
Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

June 1, 2021
Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

January 26, 2021
Địa chỉ bán đèn tuýp LED Philips uy tín và chất lượng trên thị trường?

Bán đèn tuýp led Philips – Skyled

July 27, 2020
Lựa chọn chủ đề in áo thun phù hợp

Lựa chọn dịch vụ in áo thun cotton cần lưu ý gì?

August 2, 2020
Cần xác định được điểm đặt pallet cao nhất để mua xe

Bí quyết chọn mua xe nâng điện đẩy tay

August 3, 2020

Về Chúng Tôi

Báo ftlinuxcourse.com 24h – Đón xem những tin tức mới nhất về tình hình chính trị, xã hội, an ninh trật tự, văn hóa – giải trí, thể thao, thông tin trong ngày.

  • Liên Hệ
  • Chính Sách Bảo Mật

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.