In an Intrusion Detection System, There are two techniques called Anomaly Detection and Behaviour Detection. I am implementing an IDS from scratch and was checking for some signatures and from some site they were given as different types of methods for detection. What is the basic difference in them? As it seems to me that both are same and therefore same signatures should be able to detect these kind of attacks.
Example for Anomaly detection as given on the site: Detecting a function call that is not part of the normal profile
Example for Behaviour detection as given on the site: Searching for any remote invocation of cmd.exe.
Now as it seems to me that both are kind of same things i.e. deviation from normal behaviour so why they were characterised as different methods??