Figure 1: Flowchart of malicious domain names detection algorithm based on N-Gram.