A Framework for Hybrid Intrusion Detection Systems