Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Neural Network, Genetic algorithm as an Intrusion detection system

Hi I need some help on getting started with creating my first algorithm; I want to create a NN/Genetic Algorithm for use as an Intrusion detection system.

But I’m struggling with some points (never written an algorithm before.)

  1. I want to develop in C# would it be possible as a console app? If so, as a precursor how big would the programme roughly be, at its most simplistic form. Is it even possible in c#?
  2. How to connect the program to read in data from the network? Also how packets can be converted to readable data for the algorithm.
  3. How to get the programme to write rules for snort or some other form of firewall and block what the programme deems as a potential threat. (i.e it spots a threat from No.2 then it writes a rule into the snort rules page blocking that specific traffic)
  4. How to track the data. (what its blocked what its observing how it came to that conclusion)
  5. Where to place it on the network? (can the programme connect to other algorithms and share data on the same network, would that be beneficial)

If anyone can help start me off in the right direction or explain what other alternatives there are like fuzzy logic etc and why is it deemed as a black box?

like image 555
G Gr Avatar asked Oct 10 '22 21:10

G Gr


1 Answers

Yes, a console app, and C#, can be used to create a Neural Network. Of course, if you want more visual aspects to the UI, you'll want to use WinForms/WPF/Silverlight etc.. It's impossible to tell how big the program will be as there's not enough information on what you want to do. Also, the size shouldn't really be a problem as long as it's efficient.

I assume this is some sort of final year project? What type of Neural Network are you using? You should read some academic papers /whitepapers on using NN with intrusion detection to get an idea. For example, this PDF has some information that might help.

You should take this one step at a time. Creating a Neural Network is separate from creating a new rule in Snort. Work on one topic at a time otherwise you'll just get overwhelmed. Considering the hard part will most likely be the NN, you should focus on that first.

It's unlikely anyone's going to go through each step with you as it's quite a large project. Show what you've done and explain where you need help.

like image 131
keyboardP Avatar answered Oct 14 '22 05:10

keyboardP