Added extension to detect nested subdomains as used in Browsertunnel attack tool

https://github.com/veggiedefender/browsertunnel
This commit is contained in:
Luca Deri
2020-09-09 23:25:19 +02:00
parent 842c00e681
commit 7086197047
10 changed files with 61 additions and 48 deletions
+2 -1
View File
@@ -1161,7 +1161,8 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
flow->l4.tcp.tls.subprotocol_detected = 1;
}
ndpi_check_dga_name(ndpi_struct, flow, flow->protos.stun_ssl.ssl.client_requested_server_name);
ndpi_check_dga_name(ndpi_struct, flow,
flow->protos.stun_ssl.ssl.client_requested_server_name, 1);
} else {
#ifdef DEBUG_TLS
printf("[TLS] Extensions server len too short: %u vs %u\n",