Luca Deri
cf5873ffd7
Improved DNS traffic analysis
...
Added ability to identify application and network protocols
2022-06-13 23:19:47 +02:00
Luca Deri
897f8314b2
Fixed dispay bug for risk_info
2022-05-30 01:12:38 +02:00
Luca Deri
1da9f1a36f
Updated tests results
...
Code cleanup
2022-05-30 00:54:17 +02:00
Ivan Nardi
f81f0c5e69
Sync unit test results ( #1554 )
2022-05-26 20:15:30 +02:00
Ivan Nardi
71636dcafd
Sync unit tests results ( #1533 )
2022-04-27 18:22:11 +02:00
Toni
10161448bc
Improved TLS application data detection. ( #1532 )
...
Signed-off-by: lns <matzeton@googlemail.com >
2022-04-27 17:22:53 +02:00
Luca Deri
8a2a47e62a
Silenced
...
NDPI_SUSPICIOUS_DGA_DOMAIN,
NDPI_BINARY_APPLICATION_TRANSFER,
NDPI_HTTP_NUMERIC_IP_HOST,
NDPI_MALICIOUS_JA3,
for predefined connectivity check and cybersec categories
2022-02-14 23:38:21 +01:00
Luca Deri
c40496eaac
Updated test results
2022-02-03 13:54:38 +01:00
Ivan Nardi
86b97ffb73
Sync unit tests results ( #1423 )
...
Fix: 7a3aa41a
2022-01-28 17:17:39 +01:00
Ivan Nardi
63c44a24b6
STUN: fix "confidence" value for some classifications ( #1407 )
2022-01-15 17:35:06 +01:00
Luca Deri
d59fefd06e
Improved MicrosoftAzure detection
2022-01-12 21:49:31 +01:00
Ivan Nardi
3a087e951d
Add a "confidence" field about the reliability of the classification. ( #1395 )
...
As a general rule, the higher the confidence value, the higher the
"reliability/precision" of the classification.
In other words, this new field provides an hint about "how" the flow
classification has been obtained.
For example, the application may want to ignore classification "by-port"
(they are not real DPI classifications, after all) or give a second
glance at flows classified via LRU caches (because of false positives).
Setting only one value for the confidence field is a bit tricky: more
work is probably needed in the next future to tweak/fix/improve the logic.
2022-01-11 15:23:39 +01:00
Luca Deri
7aad97fffb
Added Microsoft Azure support
2021-12-19 18:59:45 +01:00
Ivan Nardi
b1e9245d94
ndpiReader: slight simplificaton of the output ( #1378 )
2021-11-27 17:32:23 +01:00
Ivan Nardi
afc2b641eb
Fix writes to flow->protos union fields ( #1354 )
...
We can write to `flow->protos` only after a proper classification.
This issue has been found in Kerberos, DHCP, HTTP, STUN, IMO, FTP,
SMTP, IMAP and POP code.
There are two kinds of fixes:
* write to `flow->protos` only if a final protocol has been detected
* move protocol state out of `flow->protos`
The hard part is to find, for each protocol, the right tradeoff between
memory usage and code complexity.
Handle Kerberos like DNS: if we find a request, we set the protocol
and an extra callback to further parsing the reply.
For all the other protocols, move the state out of `flow->protos`. This
is an issue only for the FTP/MAIL stuff.
Add DHCP Class Identification value to the output of ndpiReader and to
the Jason serialization.
Extend code coverage of fuzz tests.
Close #1343
Close #1342
2021-11-15 16:20:57 +01:00
Ivan Nardi
b6d9536533
Fixed cleartext protocol assignment ( #1357 )
2021-10-25 15:04:04 +02:00
Luca Deri
9e97d20c25
Refreshed results list
2021-10-16 12:03:16 +02:00
Luca Deri
c2e7fbce94
Updated test results after latest commit
2021-10-16 11:57:32 +02:00
Luca Deri
e8455236bd
Updated output
2021-08-07 17:38:33 +02:00
Ivan Nardi
cccf794265
ndpiReader: add statistics about nDPI performance ( #1240 )
...
The goal is to have a (roughly) idea about how many packets nDPI needs
to properly classify a flow.
Log this information (and guessed flows number too) during unit tests,
to keep track of improvements/regressions across commits.
2021-07-13 12:28:39 +02:00
Luca Deri
bec8361638
Updated category labels
2021-07-08 20:05:50 +02:00
Luca Deri
f19937c8c9
Addesses partial application matching ( #1207 )
2021-06-21 21:59:15 +02:00
Luca Deri
b241dd5e6b
Fixed expected output
2021-06-03 09:06:01 +02:00
Luca Deri
d485c1cecb
Improved TLS browser detection heuristics
2021-05-19 21:28:33 +02:00
Luca Deri
732bcecd17
Added flow risk score
2021-05-18 21:05:47 +02:00
Luca Deri
43a8576efb
Reworked human readeable string search in flows
...
Removed fragment manager code
2021-05-17 20:55:06 +02:00
Luca Deri
ac1eaca8a6
Added browser TLS heuristic
2021-05-13 20:00:27 +02:00
Luca Deri
627299e4dd
Better DGA detection (slightly decreased accuracy)
2021-03-20 17:56:24 +01:00
Luca Deri
0f8a994841
Improved DGA detection
...
Before
Accuracy 66%, Precision 86%, Recall 38%
After
Accuracy 71%, Precision 89%, Recall 49%
2021-03-03 19:30:01 +01:00
Luca Deri
a2c5adc374
Improved nDPI string matching algorithm
2021-02-18 21:47:09 +01:00
Luca Deri
c408df1b0e
STUN improvements
2021-02-10 15:22:20 +01:00
Luca Deri
be58d78417
(Temporarely) Disabled fragment manager ( #1129 )
2021-02-05 23:03:08 +01:00
Luca Deri
155b1aaa68
Updated results due to the new fragment manager handler
2021-02-03 11:52:46 +01:00
Luca Deri
34fc9d5d50
Introduced fix on TLS for discarding traffic out of sequence that might invalidate dissection
2020-12-22 09:47:39 +01:00
Luca Deri
23a15bae5f
Fixes #1029
2020-11-27 18:51:56 +01:00
Luca Deri
044ed14b4f
Various optimizations to reduce not-necessary calls
...
Optimized various UDP dissectors
Removed dead protocols such as pando and pplive
2020-09-24 23:26:03 +02:00
Luca Deri
f597086386
Stddev calculation changes
2020-08-30 12:48:32 +02:00
Luca Deri
dd75060932
Fixed false positive in suspicous user agent
...
Optimized stddev calculation
2020-08-30 12:25:15 +02:00
Luca Deri
fef199ad45
Added new check for detecting suspicious (too long) names
2020-08-21 19:35:27 +02:00
Luca Deri
e16675b700
Added new traffic category for connectivity check detection
2020-08-04 18:09:13 +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
12abcd516b
Updated test results due to bin changes
2020-07-09 17:28:02 +02:00
Luca Deri
d9af1562f0
Fixes #906
...
Packet bins are not printed wehn empty
2020-06-22 14:30:26 +02:00
Luca Deri
1a62f4c799
Added ndpi_bin_XXX API
...
Added packet lenght distribution bins
2020-06-22 01:02:54 +02:00
Luca Deri
3506a07864
Added check in TLS 1.2+ for reporting a risk when TLS is not used to carry HTTPS
2020-06-08 14:20:10 +02:00
Luca Deri
3874f0e0e0
Added stub for checking HTTP header
...
Updated Teams result
2020-05-21 15:19:55 +02:00
Luca Deri
da22aa5fc7
Added NDPI_TLS_CERTIFICATE_EXPIRED, NDPI_TLS_CERTIFICATE_MISMATCH, to ndpi_risk
2020-05-15 18:57:49 +02:00
Luca Deri
e5e69d0f7a
Added the ability to detect when a known protocol is using a non-standard port
...
Added check to spot executables exchanged via HTTP
2020-05-10 21:25:38 +02:00
Luca Deri
4a09b4efa0
Added TLS issuerDN and subjectDN
2020-05-07 18:44:51 +02:00