Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
FREEDOM251

Freedom251 › Blog › attack surface management

Port 6443 in the Wild: How to Measure Public Kubernetes API Exposure

By Freedom251 Team · · 5 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

TCP 6443 is a useful clue when looking for internet-reachable Kubernetes API servers, but it is not a complete count: Kubernetes defaults to that secure port on the first non-localhost interface, while production clusters commonly use 443 and operators can change both the port and listening address. A reachable port does not by itself mean the API is unauthenticated or compromised. Measure only assets you are authorized to assess, verify what each endpoint is, and restrict any exposure that is not required.

What an internet-reachable port 6443 does—and does not—tell you

Kubernetes documents that the API server listens by default on port 6443 on the first non-localhost network interface, protected by TLS. In production, the API commonly serves on port 443; operators can change the secure port with --secure-port and the listening IP with --bind-address. A search limited to 6443 will therefore miss some API servers, while a 6443 response alone does not establish that the service is Kubernetes. See Kubernetes: Controlling Access to the Kubernetes API.

As an Amazon Associate I earn from qualifying purchases.

The API server is the main entry point for users and services interacting with a cluster. Its controls include audit logging and admission controllers, but those features do not change the basic meaning of a network observation: reachability, endpoint identity, authentication, authorization and exploitability are separate questions. See Kubernetes API overview.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Open TCP port: a service answered on a port from the scanner’s network position.
  • Verified Kubernetes API: evidence identifies the listener as a Kubernetes API endpoint, ideally corroborated by the asset owner and cluster configuration.
  • Unauthenticated access or compromise: not established merely by a reachable port. TLS, authentication, authorization and network policy affect what a client can do.

Is it safe to expose the Kubernetes API server publicly?

NSA/CISA’s Kubernetes Hardening Guidance, version 1.2 (August 2022), says: “The Kubernetes API server should not be exposed to the Internet or an untrusted network.” It recommends firewall protection for TCP 6443 that permits expected traffic, alongside broader control-plane protections such as TLS, strong authentication, RBAC, securing etcd and protecting kubeconfig files. See NSA/CISA Kubernetes Hardening Guidance.

Kubernetes API traffic uses a secure HTTPS port—typically 443—and one or more forms of client authentication; Kubernetes recommends authorization controls as well. Those controls reduce risk but do not make unnecessary public reachability a sound default. The Kubernetes security checklist also advises restricting external Internet access to the API server. It warns that many managed distributions expose API servers publicly by default; this is a caution in the checklist, not a quantified statement about every provider or configuration. When remote access is necessary, the checklist suggests a bastion and says kubelet API access should be restricted rather than exposed publicly. See Kubernetes Security Checklist.

One related configuration detail should not be confused with public API exposure: Kubernetes documentation says that in its described default configuration, the API server does not verify the kubelet serving certificate. It recommends configuring --kubelet-certificate-authority or using SSH tunneling when needed to avoid an untrusted or public network. This concerns API-server-to-kubelet communication; it is not evidence that a publicly reachable API listener is exploitable. See Kubernetes: Control plane to node communication.

How to find exposed Kubernetes API servers in an authorized scope

Use an owned-asset inventory as the basis for measurement, not a port count in isolation. CISA’s Internet Exposure Reduction Guidance recommends identifying internet-accessible assets, evaluating which exposure is necessary, mitigating remaining exposure and repeating assessments as environments change. The following workflow applies that guidance to Kubernetes endpoints; the validation steps are a practical measurement protocol, not an official standardized test.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Set scope and date. Confirm organizational ownership and authorization before scanning. Include known public IP ranges, domains and managed control-plane endpoints where appropriate. Record exclusions, the observation date and the measurement window.
  2. Search beyond 6443. Include TCP 443 and organization-specific API ports or addresses. Kubernetes documents the default, common production port and configurable listener settings, so a 6443-only search cannot serve as a complete inventory.
  3. Validate candidates safely. Use authorized, low-impact checks, then compare results with the asset inventory and actual cluster configuration. Record whether the listener responds, what evidence supports Kubernetes API identity, whether authentication is enforced and whether the observed access is intentional.
  4. Classify evidence separately. Keep public reachability, verified Kubernetes identity, authentication or access-control observations, and deviations from policy as distinct findings. Do not label every open TCP port an exposed Kubernetes cluster or an unauthenticated API.
  5. Reduce unnecessary access. Remove exposure that is not needed. If an endpoint must remain reachable, restrict allowed sources and use suitable network controls. CISA’s examples for remaining exposed assets include patching, a jump host, traffic monitoring and MFA where possible; NSA/CISA specifically recommends firewall restrictions for the API server.
  6. Repeat on a comparable basis. Reassess routinely, preserving scope, method and timestamps so that changes can be interpreted rather than mistaken for differences in coverage.

CISA’s Internet Exposure Reduction Guidance, published June 4, 2025, names Shodan, Censys, Thingful and Shadowserver as possible specialized discovery resources. CISA describes Shodan device banners and search filters, Censys asset identification and data/API ingestion options, and Shadowserver IPv4 scanning with daily reports to network owners and defenders. CISA states that inclusion does not imply government endorsement.

These services can help find candidates, but they are not a substitute for authorized scope or owner-side validation. Their observations can differ with index coverage, timing, port scope and endpoint identification. The cited guidance does not establish a completeness or accuracy rate, and it does not provide a head-to-head benchmark. Verify current tool capabilities and use them only in a workflow appropriate to your authorization.

How to report exposure without overstating it

Report the observation in terms that preserve what was actually measured: the authorized scope, date and method; the port or address tested; whether it was reachable; the evidence for Kubernetes API identity; and what was or was not observed about access controls. A scanner that sees TCP 6443 cannot, from that fact alone, establish the total number of public Kubernetes APIs, unauthenticated access or successful compromise.

No current, verifiable prevalence dataset or study-specific measurement establishes a global count or trend for publicly exposed Kubernetes API endpoints. A defensible exposure figure would need a stated population, observation date, method, port coverage and validation procedure. Without those, avoid turning a search result into a global statistic.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Policy and organizational responsibility

CISA’s June 13, 2023 announcement of Binding Operational Directive 23-02 says the directive requires Federal Civilian Executive Branch agencies to remove covered internet-exposed networked management interfaces or protect them using Zero Trust capabilities with a policy enforcement point separate from the interface. CISA recommends that other stakeholders review and adopt the guidance, but the directive itself is not binding on every organization. See CISA: BOD 23-02 announcement.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

attack surface managementcloud securityKubernetesKubernetes securityport 6443

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.