Implementing the host-based IDS and endpoint security