unhappyghost

SNORT ON ‪#‎BACKTRACK‬ 5

Jul 23rd, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. SNORT ON ‪#‎BACKTRACK‬ 5
  2. ----------------------------------
  3. Snort is an open source network intrusion prevention and detection system (IDS/IPS) developed by ‪#‎Sourcefire‬.
  4. Combining the benefits of signature, protocol, and anomaly-based inspection, Snort is the most widely deployed ‪#‎IDS‬/‪#‎IPS‬ technology worldwide.
  5.  
  6. HOW TO OPEN SNORT ON BACKTRACK 5
  7. --------------------------------------------------
  8. Backtrack > Services > Snort Services > snort start
  9.  
  10. CONFIGURE SNORT
  11. ----------------------------
  12. To configure snort , we use vim editor .
  13. To open snort configuration file , enter the command
  14. ‪#‎vim‬ /etc/snort/snort.conf
  15. Note : To enter text in vim press ' i ' .
  16.  
  17. SNORT CONGURATION CONFIG HERE
  18. ----------------------------------------------
  19. This is the area where you have to work .
  20. you will find a line look like this var HOME_NET any .
  21. Now replace this any to your own internal ip address .
  22. In my case my ip address is 192.168.56.110.
  23. If you don't know your own ip address then use the ‪#‎ifconfig‬ command .
  24. And at the end save this file by pressing ' Esc key then :wq ' then press enter.
  25.  
  26. RESTART SNORT by entering the command as shown below.
  27. #/etc/init.d/snort restart
  28.  
  29. EXAMPLES
  30. --------------
  31. Here i use Backtrack 5r3 as a snort machine ( IDS ) and Kali Linux as a attacker machine .
  32. Both are open source ‪#‎linux‬ so easy for you to download .
  33. Now without wasting time see the examples
  34.  
  35. USING ‪#‎DMITRY‬ FROM ‪#‎KALI‬ LINUX
  36. -----------------------------------------------
  37. Here i perform the Deepmagic Information Gathering Tool also known as 'Dmitry'.
  38. I used this tool to scan for TCP Ports .
  39. ‪#‎unhappyghost‬
  40.  
  41. ATTACKER MACHINE
  42. --------------------------
  43. I look that Kali Linux uses dmitry to performing tcp scan on snort machine (192.168.56.110).
  44. use dis comm
  45. # dmirty -p 192.168.56.110 fron ur kali machine
  46.  
  47. ‪#‎SNORT‬ DETECTION EXAMPLE 1
  48. IDS SNORT CAUGHT SOMETHING
  49. Here you can see that Snort has caught something .
  50. It shows a Tcp port scan is performed by the 192.168.56.110 ip address.
  51. Its a very useful information.
  52. use dis command
  53. # snort -q -A console -i eth0 -c /etc/snort/snort.conf
  54.  
  55. EXAMPLE 2 : PERFORM OS DETECTION SCAN
  56. Here i used nmap to perform " OS DETECTION SCAN ".
  57. Command i used : nmap -v -A 192.168.56.110
  58. See the below image of performing OS Detection scan on kali linux .
  59. ‪#‎geeksch00l‬
  60.  
  61. SNORT DETECTION EXAMPLE 2
  62. Now the best thing , you can see the behaviour of the scan that is performed by nmap .
  63.  
  64. #snort -q -A console -i eth0 -c /etc/snort/snort.conf
  65.  
  66. CONCLUSION
  67. ----------------------
  68. So this is how you can use snort on backtrack 5.
  69. Good in aspect of security .
  70. You can use it to understand the behavior of the attack .
  71.  
  72. Note: This tutorial is only for Educational Purposes, I did not take any responsibility of any misuse, you will be responsible for any misuse that you do. Hacking email accounts is criminal activity and is punishable under cyber crime .
  73.  
  74. Content provided by : https://www.facebook.com/mayurlinux
  75. #UnhappyGhost
  76.  
  77. .
  78.  
  79. ##############################################################
  80. # ṲИℋÅℙℙУḠ♓☮$✝ #
  81. ##############################################################
  82. || Website --------> http://unhappyghost.com/ ||
  83. || Facebook -------> https://www.facebook.com/unhappygh0st ||
  84. || FB Page --------> https://www.facebook.com/geeksch00l ||
  85. || Twitter --------> https://twitter.com/unhappygh0st ||
  86. || Google+ --------> http://goo.gl/WCHeJR ||
  87. || Youtube --------> http://goo.gl/A3mQIE ||
  88. || IPv6 Vids ------> http://goo.gl/Rbcxk ||
  89. || IPv6 Event -----> http://goo.gl/TaeXv ||
  90. ##############################################################
  91.  
  92. .
Advertisement
Add Comment
Please, Sign In to add comment