Commit graph

327 commits

Author SHA1 Message Date
Vitaly Lavrov
f84512cd2a Merge commit '6d2476c31b' into flow_info-4 2026-11-20 12:56:46 +03:00
Vitaly Lavrov
ad0f93c339 Merge commit 'b6bddaf79b' into flow_info-4 2026-11-20 12:44:45 +03:00
Vitaly Lavrov
a0b3a6fbee Merge commit '6b38c1c258' into flow_info-4 2026-11-20 12:42:41 +03:00
Vitaly Lavrov
4d3cb23dc8 Merge commit 'b17e3ae776' into flow_info-4 2026-11-20 12:36:39 +03:00
Vitaly Lavrov
a6f5031574 Merge commit 'ca9d819151' into flow_info-4 2026-11-20 12:35:21 +03:00
Vitaly Lavrov
20fb399023 Merge commit 'cdad1fce08' into flow_info-4 2026-11-20 12:31:37 +03:00
Vitaly Lavrov
b47b075978 Merge commit 'e5f8ec9541' into flow_info-4 2026-11-20 12:25:59 +03:00
Ivan Nardi
0bcc7e82e6
PROFINET/IO: improve detection over DCERPC (#3322)
* Move PROFINET/IO detection into the DCERPC dissector: match the
  PROFINET/IO interface UUIDs (Device, Controller, Supervisor,
  ParameterServer) and the full object UUID prefix, and recognize the
  Endpoint Mapper lookups for PROFINET/IO interfaces. Remove the
  standalone PROFINET/IO dissector,
* After a generic EPM classification, look for PROFINET/IO calls in the
  next packets of the flow
* Add UDP 34964 as PROFINET/IO default port and don't trigger the
  `NDPI_KNOWN_PROTOCOL_ON_NON_STANDARD_PORT` flow risk for PROFINET/IO:
  responses and following calls use dynamic ports
* Fix the byte order check of the connectionless DCERPC fragment length
2026-11-10 17:07:30 +01:00
Ivan Nardi
f02c482839 Kerberos: add the kerberos,max_packets_extra_dissection parameter
The number of packets to wait for the reply, after a request (default 16,
as before). With 0 the reply is not dissected: no extra dissection is
started at all (with max_extra_packets_to_check 0 it would never end).
2026-11-05 13:28:09 +01:00
Ivan Nardi
49b9c36fa1 doc: fix the table of the configuration parameters
The row of "tcp_fingerprint_format" was 5 characters wider than the
others: the whole table was malformed (not rendered).
2026-11-05 13:28:09 +01:00
mmanoj
7393261e88
dns: harden any-port UDP detection (#3246) 2026-11-02 20:03:42 +01:00
Toni
b17e3ae776
Add L2TP protocol dissector (#3301)
* dissect L2TP hostname

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2026-10-29 10:15:27 +01:00
Ivan Nardi
1e360a78af
TLS: improve sub-classification for Obfuscated traffic (#3297)
Try to detect the specific VPN.

See: https://github.com/ntop/nDPI/pull/3277
2026-10-28 11:41:27 +01:00
Ivan Nardi
d9aa834639
PowerShell: detect Active Directory Web Services and Task Scheduler traffic (#3300)
* Active Directory Web Services (ADWS, TCP/9389), used by the PowerShell
  ActiveDirectory module (Get-ADUser & co.): new dissector looking at the
  clear-text .NET Message Framing (MC-NMF) preamble sent by the client
* Task Scheduler (MS-TSCH, i.e. schtasks.exe, atexec): "atsvc" named pipe
  over SMB and ITaskSchedulerService/ATSvc/SASec interfaces in DCE/RPC BIND
  requests
2026-10-27 13:50:45 +01:00
Ivan Nardi
e9e09ce795
PowerShell: detect remote administration over SMB and DCE/RPC (#3292)
Classify as PowerShell the traffic used by Windows to execute remote
commands, i.e. the svcctl (MS-SCMR) and winreg (MS-RRP) interfaces:
* SMBv2/3: after the flow has been classified, look into SMB2 CREATE
  requests for the "svcctl"/"winreg" named pipes (and for PsExec
  binary/pipes). Flows without these pipes are reported with the
  FILE_SHARING category.
* DCE/RPC over TCP: check the interface UUID in the BIND request
* HTTP: don't report generic WS-Management traffic (Openwsman clients,
  Intel AMT) as PowerShell

Close #3289

Also fix a memory leak in the IPsec JSON serialization (the transforms
sub-serializer was never freed).
2026-10-23 13:21:31 +02:00
Vladimir G.
cf69744289
Add JanitorAI detection (#3286) 2026-10-20 11:43:53 +02:00
Raja Muhammad Awais
d19f702859
Add TLS 1.3 negotiated non-PQC group risk (#3267) 2026-10-08 08:57:27 +02:00
Vitaly Lavrov
aa5e82288a Merge commit 'c54152a2f3' into flow_info-4 2026-10-07 15:54:02 +03:00
Vitaly Lavrov
7d5fc92248 Merge commit 'a6e250b724' into flow_info-4 2026-10-07 10:03:49 +03:00
Vitaly Lavrov
cab81ce615 Merge commit '7d1edd831c' into flow_info-4 2026-10-05 14:07:49 +03:00
Ivan Nardi
3dfe1fc1d1
PowerShell: initial support (#3268) 2026-10-03 15:52:57 +02:00
W.N.D.Damsana
e61e5b92a9
Add Supercell protocol (#3263) 2026-10-02 14:40:53 +02:00
Vitaly Lavrov
ecfab97ceb Merge commit 'a105d9328a' into flow_info-4 2026-10-02 15:37:40 +03:00
Vitaly Lavrov
5fa42a1942 Merge commit 'dedf61e9cc' into flow_info-4 2026-10-02 15:32:03 +03:00
Luca Deri
a22b7a4316 Updated nDPI TCP fingerprint format
Released nDPI TCP fingerprint specification
2026-09-29 10:32:21 +02:00
Piotr Kubik
d5b348d154
Add DuckDuckGo and Peacock host-based protocols (#3251)
Signed-off-by: Piotr Kubik <piotr_kubik@vp.pl>
2026-09-10 14:21:36 +02:00
W.N.D.Damsana
4950755e74
Add CharacterAI protocol (#3256)
Fixes #3249.
2026-09-10 08:52:02 +02:00
W.N.D.Damsana
3863ff903b
Add Kik Messenger protocol (#3247) 2026-09-07 08:11:58 +02:00
Luca
75cb3c2b86 Added missing NDPI_AI_INFERENCE_TRAFFIC flow risk 2026-08-25 11:20:40 +02:00
Ivan Nardi
cd0f0c7c50
DNS: add (optional) detection over any port (on UDP) (#3236) 2026-08-25 11:04:14 +02:00
Ivan Nardi
a850610452 Update CHANGELOG 2026-08-24 10:36:25 +02:00
Raja Muhammad Awais
54d23c2632
dns: support an opt-in custom detection port (#3232)
Keep standard DNS, mDNS, and LLMNR port handling unchanged while allowing deployments with DNS on one explicitly configured port. The option is disabled by default and is covered by the official DNS-on-port-80 regression capture, including the expected classification output.

Co-authored-by: RajaMuhammadAwais <1.19938988e+08+RajaMuhammadAwais@users.noreply.github.com>
2026-08-23 13:43:11 +02:00
Raja Muhammad Awais
43b3731ea8
Detect DGA-like patterns in HTTP URL paths (fixes #2089) (#3228)
Some malware families (e.g. Emotet) encode DGA-generated tokens directly in
the HTTP URL path instead of the hostname, bypassing the existing hostname-
based DGA checks. This commit adds ndpi_check_dga_url_path(), which applies a
refined version of the DGA heuristic to URL path segments:

- Segments are stripped of file extensions, split into sub-tokens by
  '_', '-' and '.', and empty sub-tokens are ignored.
- Structured identifiers are excluded: hex hashes/numeric IDs, short
  alphanumeric resource IDs (alpha prefix followed by hex body), short
  tokens (at most two non-hex letters plus digits, a single letter group
  after up to four leading digits, and ASIN-style digit pairs followed by
  letters), and purely letter-based names.
- Remaining segments are flagged as DGA-like when they contain at least
  eight alphabetic characters with at most two vowels, or an identical-
  character run of eight or more, consistent with the hostname checks in
  ndpi_check_dga_name().

The check is invoked from the HTTP dissector when validating URLs and
emits the NDPI_SUSPICIOUS_DGA_DOMAIN risk with a descriptive info string.

Add a new fuzzer about it.

Close: #2089

Co-authored-by: RajaMuhammadAwais <1.19938988e+08+RajaMuhammadAwais@users.noreply.github.com>
Co-authored-by: Ivan Nardi <nardi.ivan@gmail.com>
2026-08-23 11:37:33 +02:00
W.N.D.Damsana
717c9e33f9
Add Free Fire protocol (#3221)
Detect Garena Free Fire via UDP gameplay signatures, TCP control
markers, and Free Fire-specific hostnames.
2026-08-21 09:14:35 +02:00
Vitaly Lavrov
1cd3434a43 Merge commit 'aa923b85a0' into flow_info-4 2026-08-19 15:27:33 +03:00
Vitaly Lavrov
36da4e44f8 Merge commit '3a2bd74448' into flow_info-4 2026-08-19 15:17:35 +03:00
Vitaly Lavrov
b0a420c6fb Merge commit '190f7a2b94' into flow_info-4 2026-08-19 15:01:27 +03:00
Ivan Nardi
8875f6aea0 Update documentation 2026-08-11 08:41:42 +02:00
Luca Deri
3a09afbb60 Removed custom css 2026-08-09 07:30:00 +02:00
Luca Deri
3a2bd74448 Updated (C) 2026-08-09 07:19:47 +02:00
Ivan Nardi
2d8e2948c9
Add support for Discord audio/video calls (#3216) 2026-08-07 09:05:26 +02:00
Toni
252e2a5548
Add Nebula protocol dissector (#3210)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2026-07-28 12:50:58 +02:00
Toni
ff29e7579e
Add Meshtastic protocol dissector (TCP Client API) (#3208)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2026-07-25 10:46:30 +02:00
Toni
8e9fca8aed
Add Yggdrasil protocol dissector (#3207)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2026-07-25 09:28:11 +02:00
bsoh
5ae2a27328
Fix DNS TCP reassembly for split segments (#3184) (#3201)
Add a configuration parameter to tune the extra dissection

Close #3184

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Ivan Nardi <nardi.ivan@gmail.com>
2026-07-23 13:27:23 +02:00
Chad Monroe
190f7a2b94
Proton: split services out of the ProtonVPN/VPN bucket (#3198)
proton.me is Proton's shared umbrella domain, covering Mail, Pass,
Drive, Calendar, Docs, Wallet, Lumo and Meet, plus account sign-in.
It was mapped to NDPI_PROTOCOL_PROTONVPN with category VPN, so every
Proton app was misdetected as a VPN.

Add per-service protocols that self-register from host_match[]:
Proton (Web), ProtonMail (Mail), ProtonPass and ProtonDrive (Cloud),
ProtonCalendar (Productivity), ProtonDocs (Collaborative),
ProtonWallet (CryptoBlockchain), ProtonLumo (AI) and ProtonMeet
(Chat). ProtonVPN keeps the VPN category, now scoped to the VPN
control domains only: protonvpn.com, protonvpn.net and
vpn-api.proton.me. The WireGuard/OpenVPN data plane is unaffected.

More-specific SNI rows override the proton.me umbrella through the
existing longest-match host automaton. Add a proton.pcap sample with
a golden result, and regenerate the huge_number_of_custom_protocols
golden whose custom protocol ids shift by the nine new built-ins.

Signed-off-by: Chad Monroe <chad@monroe.io>
2026-07-16 17:22:36 +02:00
Chad Monroe
54e194a64f
Add NetMotion Mobility (IMP) protocol detection (#3195)
NetMotion Mobility (Mobility XE) tunnels clients to the Mobility
server using the Internet Mobility Protocol (IMP), by default over
UDP/5008. The payload is encrypted, but every datagram carries a
fixed header: a 0x4c magic, a self-inclusive length prefix, a
per-direction connection id plus sequence, and a per-direction
session token. Detection verifies these framing invariants are
constant within a direction and differ across directions, following
the same stateful approach as the Hamachi dissector.

Add NDPI_PROTOCOL_NETMOTION (VPN category) with the netmotion
dissector and its unit test. The remaining unit-test results are
regenerated because the new protocol id shifts the auto-numbered
custom-rule ids and adds one dissector call per UDP flow.

Signed-off-by: Chad Monroe <chad@monroe.io>
2026-07-14 16:33:06 +02:00
Vitaly Lavrov
c79d883936 Merge branch 'github.dev' into flow_info-4
Some checks failed
CIFuzz / Fuzzing (address) (push) Has been cancelled
CIFuzz / Fuzzing (memory) (push) Has been cancelled
CIFuzz / Fuzzing (undefined) (push) Has been cancelled
2026-07-07 12:14:31 +03:00
netcons
7b43393d8a
DOC: Typo fix (#3187) 2026-06-01 18:23:58 +02:00
Vitaly Lavrov
a24240213c Merge branch 'github.dev' into flow_info-4
Some checks failed
CIFuzz / Fuzzing (address) (push) Has been cancelled
CIFuzz / Fuzzing (memory) (push) Has been cancelled
CIFuzz / Fuzzing (undefined) (push) Has been cancelled
+Fix after merge
2026-05-27 14:37:54 +03:00