Luca Deri
fef199ad45
Added new check for detecting suspicious (too long) names
2020-08-21 19:35:27 +02:00
Luca Deri
b23781e807
Added the ability do identigy as DGA those host/domain names with too many consucutive repeated characters
...
such as ckaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa used fr netbios reflection attacks
https://www.akamai.com/uk/en/multimedia/documents/state-of-the-internet/ddos-reflection-netbios-name-server-rpc-portmap-sentinel-udp-threat-advisory.pdf
2020-08-21 18:41:35 +02:00
Luca Deri
da2684dbe1
MySQL8 update
2020-08-21 07:17:34 +02:00
Luca Deri
7e9354ef23
Merge pull request #988 from lnslbrty/add/mysql-8-manipulated-pkt
...
Added (manipulated) MySQL 8 test pcap.
2020-08-21 06:49:18 +02:00
Toni Uhlig
f4421314b0
Added (manipulated) MySQL 8 test pcap.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-20 23:46:47 +02:00
Luca Deri
59ac73b37f
Configure code cleanup
2020-08-19 22:01:03 +02:00
Luca Deri
115888ef7a
Compilation fix
2020-08-19 21:56:34 +02:00
Luca Deri
248d756e99
Merge pull request #987 from lnslbrty/update/mysql-protocol-detection
...
Updated MySQL protocol detection to support server version 8.
2020-08-19 21:49:53 +02:00
Luca Deri
9f431f9218
Merge pull request #985 from lnslbrty/add/SOAP
...
Added support for SOAP.
2020-08-19 21:49:12 +02:00
Luca Deri
d87bdf9302
Merge pull request #977 from adek05/dev
...
Enable building on OpenBSD 6.7
2020-08-19 21:48:38 +02:00
Toni Uhlig
3a76786121
Updated MySQL protocol detection to support server version 8.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-19 18:33:06 +02:00
Toni Uhlig
8e93f48c43
Added support for SOAP.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-18 16:21:26 +02:00
Luca Deri
673d8b7fac
Updated OpenWRT instructions
2020-08-17 18:17:43 +02:00
Luca Deri
1f921562d1
Added fix for API versions starting with 0
2020-08-17 18:11:18 +02:00
Luca Deri
34a98abcc0
Added --with-only-libndpi configure option to build just lindpi
2020-08-17 18:00:38 +02:00
Luca Deri
b501239d3f
Added README for building libndpi under OpenWRT
2020-08-17 17:17:09 +02:00
Luca Deri
ebf89f46e3
Merge pull request #984 from lnslbrty/fix/invalid-fncall-dpdk
...
Fixed invalid dpdk fn call.
2020-08-16 10:03:55 +02:00
Luca Deri
019a64630b
Merge pull request #983 from lnslbrty/fix/libpcap-obsolete-pcap_lookupdev-usage
...
Replaced obsolete libpcap pcap_lookupdev with pcap_findalldevs.
2020-08-16 10:03:33 +02:00
Luca Deri
98a9afc40c
Added support for discord
2020-08-16 10:01:40 +02:00
Toni Uhlig
13cbd1e4ae
Fixed invalid dpdk fn call.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-15 12:38:47 +02:00
Toni Uhlig
b31fde4bbb
Replaced obsolete libpcap pcap_lookupdev with pcap_findalldevs.
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-15 12:35:49 +02:00
Luca Deri
46ec91ca4b
Merge pull request #976 from lnslbrty/fix/ndpi_simpleint_builderr
...
Fix/ndpi simpleint builderr
2020-08-13 10:41:25 +02:00
Luca Deri
8090765a64
Merge pull request #974 from IvanNardi/esni4
...
Suspicious ESNI usage: add a comment and a pcap example
2020-08-13 10:40:51 +02:00
Toni Uhlig
aa856735c0
num_extra_packets_checked check can be 0 for some protocols and therefor requires lesser-or-equal condition for max_extra_packets_to_check
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-13 10:32:31 +02:00
Luca Deri
9edddee0b7
Fixes invalid detection on traffic on non standard ports
2020-08-12 11:08:28 +02:00
Luca Deri
d5cac570d6
Improved DGA detection algoritm
2020-08-11 17:13:40 +02:00
Luca Deri
0e363d0ca6
Added HLL notes
2020-08-11 16:23:35 +02:00
aouinizied
8c2c388d54
Add Connectivity check category and blacklisted host risk.
2020-08-10 21:19:17 +02:00
aouinizied
8fcb49af25
Fix typo.
2020-08-10 21:17:36 +02:00
Luca Deri
dfa9dd66c0
Added case-insensitive substring matching
2020-08-10 19:36:43 +02:00
Adrian Zgorzałek
56a3a33bc0
OpenBSD: Do not redefine __LITTLE_ENDIAN__
...
Will silence omnipresent compiler warnings when building ntopng.
2020-08-09 14:30:12 +01:00
Adrian Zgorzałek
8f74d5733d
OpenBSD: Introduce pkt_timeval to deal with (bpf_)_timeval
...
Some BSD APIs called in example/ return `struct bpf_timeval`, where nDPI
APIs expect `struct timeval`. These two structs, besides having
a different name, share the exact same set of fields.
2020-08-09 14:30:12 +01:00
Toni Uhlig
4ead6d6594
travis-ci: build ndpiSimpleIntegration as well
...
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-08 12:17:54 +02:00
Toni Uhlig
8da5f42fa0
Changed ndpi_ssl_version2str function call in ndpiSimpleIntegration.
...
Fixes build error introduced with 23c072153 .
Signed-off-by: Toni Uhlig <matzeton@googlemail.com >
2020-08-08 12:05:11 +02:00
Nardi Ivan
2722861d6e
Suspicious ESNI usage: add a comment and a pcap example
...
See: 79b89d2866
2020-08-06 10:29:35 +02:00
Luca Deri
95dfbdc64a
Merge pull request #973 from IvanNardi/esni3
...
Add risk flag about suspicious ESNI usage
2020-08-06 10:18:27 +02:00
Luca Deri
c2156a5161
Added note on memory management
2020-08-06 09:19:04 +02:00
Luca Deri
5b6ffad278
Added new ndpi_string_sha1_hash API call
2020-08-05 21:45:38 +02:00
Luca Deri
d3fb1fb25a
Fixed possible memory leak in TLS certificate handling
2020-08-05 17:57:00 +02:00
Nardi Ivan
79b89d2866
Add risk flag about suspicious ESNI usage
...
In a Client Hello, the presence of both SNI and ESNI may obfuscate the real
domain of an HTTPS connection, fooling DPI engines and firewalls, similarly
to Domain Fronting.
Such technique is reported in a presentation at DEF CON 28:
"Domain Fronting is Dead, Long Live Domain Fronting: Using TLS 1.3 to evade
censors, bypass network defenses, and blend in with the noise"
Full credit for the idea must go the original author
At the moment, the only way to get the pdf presention and related video is via
https://forum.defcon.org/node/234492
Hopefully a direct link (and an example pcap) will be available soon
2020-08-05 17:13:23 +02:00
Luca Deri
07d9fa7f96
Win #define fix
2020-08-05 11:13:27 +02:00
Luca Deri
00b2763399
Added check on payload lenght during extra packet processing
2020-08-04 21:59:45 +02:00
Luca Deri
e16675b700
Added new traffic category for connectivity check detection
2020-08-04 18:09:13 +02:00
Luca Deri
ea10b8e757
Added memory checks
2020-08-02 13:00:31 +02:00
aouinizied
57e28e03ee
Sync TLS definitions.
2020-08-01 01:27:29 +02:00
Luca Deri
2ae4c6675d
Fixed partial TLS dissection
2020-07-30 18:30:07 +02:00
Luca Deri
e71df49b3e
Changed due to bin size extension
2020-07-30 00:06:46 +02:00
Luca Deri
6904935934
Restored TLS dissection
2020-07-30 00:06:35 +02:00
Luca Deri
a828ac0191
Tiny changes for TLS block lenght dissection
2020-07-29 22:36:27 +02:00
aouinizied
c4b19fd6c5
Update CFFI definitions.
2020-07-29 12:31:21 +02:00