Algorithmically generated malicious domain names detection based on n-grams features