Lucene search
+L

STUN Service Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 4 Views

STUN Service Detection module identifies servers via Binding Request on UDP 3478.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Detect STUN servers via Binding Request."""

from kittysploit import *
from lib.protocols.ics.ics_scanner_client import Ics_scanner_client
from lib.scanner.stun.detectors import probe_stun


class Module(Scanner, Ics_scanner_client):
    __info__ = {
        "name": "STUN Service Detection",
        "description": "Detects STUN (RFC 5389) servers with a Binding Request on UDP 3478.",
        "author": ["KittySploit Team"],
        "severity": "info",
        "tags": ["stun", "webrtc", "udp", "scanner", "discovery", "voip"],
        "agent": {
            "risk": "active",
            "effects": ["network_probe"],
            "expected_requests": 1,
            "reversible": True,
            "approval_required": False,
            "produces": ["tech_hints", "risk_signals"],
        },
    }

    port = OptPort(3478, "STUN UDP port", True)

    def run(self):
        host = self._host()
        if not host:
            return False
        info = probe_stun(host=host, port=self._port(), timeout=self._timeout())
        if not info.get("detected"):
            return False
        self.set_info(
            severity="info",
            reason="STUN Binding Response received",
            mapped_address=str(info.get("mapped_address") or ""),
        )
        return True

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
5.8Medium risk
Vulners AI Score5.8
4