Detecting Network Intrusions Using Signal Processing with Query-Based Sampling Filter