In proceedings of the 2006 International Conference on Security & Managment (SAM'06) I have found this paper: Remodeling and Simulation of Intrusion Detection Evaluation Dataset
In the paper, the authors describe how they simulate network traffic (both innocent and malicious traffic) for testing intrusion detection systems.
They want to improve on the MIT LL dataset that is widely thought to have major drawbacks. The drawbacks make it less useful for testing intrusion detection systems.
The paper's main contribution is to create personalized simulations of users' web browsing behavior while MIT's dataset had only rough distribution of the overall behavior. They model real users' behavior as probabilistic transition diagrams for sessions of browsing that are complemented with daily connection distributions, daily connection cumulative densities and session length distributions. Then browsing traffic is generated from the collection user models either with a one to one mapping from a user model to a simulated user or by generating more simulated users than there are user models
Email traffic is simulated using a public corpus of emails while the MIT dataset used a combination of filtered real emails and automatically generated emails. The emails are clustered into four classes but it is not clear what the classes are used for. It is neither clear if the class in the cluster relates to the classes created from the source and destination addresses mentioned earlier. As well, it is not quite clear how the emails are used in the simulation.
Then they claim to have a larger set of attacks than in the MIT datset, such as DDoS, probes, WWW attacks, RPC, etc.
Finally they show that their simulated web browser behavior more resembles their reference network than the MIT dataset simulation that lacks certain characteristics.
Comment: I would like to be able to use the generated traffic as basis for my research - too bad there is no link to a public data set.
Tuesday, April 10, 2007
Other paper: Remodeling and Simulation of Intrusion Detection Evaluation Dataset
Tuesday, April 3, 2007
"Signatures are usually based on vulnerabilities rather than exploits"
Errata Security: ANI 0day vs. intrusion detection providers
signatures are usually based on vulnerabilities rather than exploitsThis means that learning systems, like Polygraph, that generates signatures from exploits are not automating the signature generation properly. Though, they are able to block worms exploiting unknown vulnerabilities.
Friday, March 30, 2007
Background reading: Polygraph - Automatically Generating Signatures for Polymorphic Worms
The next paper from RAID 2006 I will comment is about manipulating Polygraph. Thus it seemed natural that I looked at the original publication Polygraph: Automatic Signature Generation for Polymorphic Worms (2005).
Polygraph is a program that automatically generates signatures for Polymorphic worms; that are worms that change (obfuscate) their appearance from time to time between attacks. Existing worm blocking solutions (before 2005) assumes that worms have the same content from time to time. Thus it is easy to automatically generate signatures (simple single strings of bytes) that filter out worms. However, this assumption does not apply for polymorphic worms.
Since however, the polymorphic worms are targeting specific vulnerabilities some of the payload must be same between all worms, so Polygraph collects suspicious and innocuous payloads, classified using a simple flow classifier, and then extract content signatures from them. Instead of just extracting one single string of bytes, as in previous algorithms, Polygraph extracts sets of byte sequences.
The extracted byte sequences are used in three different ways for detecting worms :
- All byte sequences must be present in payload to indicate an worm
- All byte sequences must be present in correct order to indicate an worm
- All byte sequences are weighed together using a Naïve Bayes Classifier:
- A byte sequence has probability being in a worm or not: P(seq | worm) and P(seq | ~worm)
- A score is computed for a payload being a worm were {seq} means all sequences in a payload: score = P({seq
} | worm) / P({seq} | ~worm) - Then the score is compared to a threshold and if true, the payload is believed to be an worm: score > tau
Comment: First of all I think this an interesting paper, since I have a background in machine learning and Bayesian learning. However, the learning algorithms could probably be improved, for instance, by applying a more fully Bayesian approach than the used Naïve Bayes Classifier.
In addition I found an interesting comment at Mohit's security blog: IPS algorithms... that is as follows:
Most signatures in good products are vulnerability based so even if you change the attack it still gets stopped.
Thus, Polygraph might not be needed! Or what should we believe?
Friday, March 9, 2007
Paper 4: Allergy Attack Against Automatic Signature Generation
This paper practically shows how to do what Can machine learning be secure? describes. In the paper, they show how to attack systems that uses Automatic Signature Generation (ASG). A typical ASG first detects an intrusion or attack, thereafter automatically generates a signature from the attack data and then filter out all future traffic matching the signature.
By using the fact that many ASG system does not use the same method to detect the attack and then create the signature they are able to fool the system into creating signatures for non-malicious traffic. Also, by not using the full context of an attack, such as the steps leading to the attack, ATG systems are easier fooled.
An ATG system seems to be a kind of unsupervised learning system, using anomaly detection to detect suspicious traffic. Then a signature is created from the traffic based on comparison between many suspicious traffic instances. The signature is often computed from the longest common byte sequence.
Monday, March 5, 2007
Background reading: Can Machine Learning Be Secure?
Can Machine Learning Be Secure? That seems to be a good question. This paper analyzes how secure a learning system can be.
A learning system adjusts it's model given new data, these are some of the questions asked:
- Can it be trained by an attacker to allow malicious calls?
- Can it be degenerated such that it becomes useless and must be shut down?
- Are there any defenses against these attacks?
- Influence: the part of the learning system that is manipulated, causative (alter the training data) or exploratory (trying to discover information about the system)
- Specificity: a continuous spectrum, from achieving a specific goal, for instance to manipulate the learning system to accept a specfic malicious call, to acheiving a broader goal, for instance to manipulate the learner to reveal the existence of any possible malicious call.
- Security violation: what security goal is violated, integrity (false negative) or availability (many classification errors making the system useless).
Then the paper lists defenses against the different attacks, such as adding prior distributions (robustness) that makes the system less sensitive to altered data, detecting attacks with intrusion detection mechanism that analyzes the training data, confusing the attacker using disinformation that hinders the attacker from learning decision boundaries and, what seems to be a special case of the former, randomization of the decision boundaries.
Comment: Bayesian learning methods seems to a be natural choice since prior distributions are in the essence of the Bayesian concept.
Last in the paper, they analyze a simple learning example for outlier detection on the bounds of the effort an attacker has to use to manipulate the learning system into wrongly classify a malicious call.
Comment: I cannot write much about this analysis since I could not understand the definition of the relative distance they use. I don't understand why they use it and what it means. Thus I do not understand the result. Is there anybody out there that can help me with this?
See follow up post on this issue.
powered by performancing firefox
Monday, February 26, 2007
Paper 2: Behavioral Distance Measurement Using Hidden Markov Models
Much of the paper describes the HHM and whether the overhead is small enough to make the algorithm usefull.
Something missing is the significance of the results. For instance, when comparing another distance metric algorithm called an ED-based approach, the result is that the HHM-based approach is 6.32% faster, but nothing about the variance or significance. I would recommend any researcher to choose a good statistical test so results cannot be so easily questioned. A good online handbook for such tests can be found at the NIST/SEMATECH e-Handbook of Statistical Methods.
Paper 1: A Framework For The Application Of Association Rule Mining In Large Intrusion Detection Infrastructures
Since the system mines for correlations between a huge amount of alarms it needs some form of data filtering. As filtering approach, the system uses graph algorithms with a graph where IP addresses are vertices and detected alarms are edges, drawn from source to destination IP addresses. Only connected components of the graph are used for mining.
Amongst the most interesting things in this article are the following:
- The number of rules generated each day can be used to detect weired (anomalous) network activites.
- This can also be done for each subnet of the network and thus find high risk networks.
