Identity-Based Segmentation
Each laboratory workload and client is assigned a distinct OpenZiti identity representing its approved security role.
Establish a security boundary between different workloads and service consumers.
Modern distributed environments contain multiple applications, services, workloads, and administrative components that communicate across internal networks. Traditional network segmentation can restrict communication between network zones, but application-level access control is also required to ensure that an authenticated identity can communicate only with explicitly authorized services.
OpenZiti provides a zero-trust overlay networking architecture in which identities, services, and policies are used to control access to protected applications. OpenZiti service policies determine which identities can dial or bind particular services, while edge-router policies and service-edge-router policies control which identities and routers can participate in the required overlay paths.
A security risk occurs when an unauthorized identity attempts to move laterally from one protected service environment to another service that it should not be able to access. The attempt may originate from a compromised identity, an incorrectly authorized identity, or an intentionally over-permissive policy configuration.
In this use case, a controlled OpenZiti service network is deployed on Ubuntu Linux inside an isolated VirtualBox laboratory. Multiple laboratory services are placed into logically separated service segments, with individual OpenZiti identities representing different application or workload roles. A protected service is configured so that only its explicitly authorized identity group can access it. A separate test identity is then used to generate a controlled east-west access attempt against the protected service.
The security architecture validates whether the attempted communication is permitted by the intended OpenZiti service policy. The test also includes a controlled policy-validation scenario in which an intentionally broader authorization condition is introduced and then identified during security review. The attack does not exploit an OpenZiti software vulnerability; it validates whether an unauthorized identity can cross a deliberately defined service-segmentation boundary.
The defensive mechanism establishes least-privilege service policies, separates client and server identities, restricts service access to approved identity groups, limits router participation through policy controls, and continuously monitors denied and unexpected east-west access attempts. OpenZiti identity-based access provides the foundation for this micro-segmentation model because protected services are accessed through explicitly authorized identities rather than relying only on network location.
Wazuh is used to monitor relevant Linux and OpenZiti security activity, while OpenSearch provides centralized investigation and correlation of access-control events. OpenZiti CLI is used to inspect identities, services, policies, and router-policy relationships. The controlled access attempt is repeated after the segmentation controls are implemented to verify that unauthorized east-west service access is denied, legitimate service communication continues to operate, and the security architecture maintains the intended service-to-service isolation.
Complete Cybersecurity Architecture Workflow: OpenZiti Service Network → Identity Definition → Service Segmentation → Least-Privilege Policy → East-West Access Attempt → Policy Evaluation → Authorized / Unauthorized Decision → Unauthorized Access Blocking → Security Event Monitoring → Policy Validation → Remediation → Post-Remediation Validation
OpenZiti provides a controlled service-network architecture in which applications and endpoints are represented through identities and protected services. A service can be made available to selected identities through Dial and Bind service policies. OpenZiti provides separate policies for identities allowed to access a service and identities allowed to host that service.
If service authorization is broader than intended, an identity that should only communicate with one application may gain access to another protected service. This creates an east-west segmentation risk because compromise of one identity or workload could potentially provide a path toward services belonging to another security segment.
The security problem is therefore:
The proposed security mechanism establishes explicit service-to-identity relationships, restricts access using least-privilege service policies, separates service roles, validates router-policy relationships, and continuously monitors unauthorized east-west access attempts. Dial and Bind policies are reviewed alongside edge-router and service-edge-router restrictions to ensure that the intended service-segmentation boundary is enforced.
The attack consists of an identity attempting to access an OpenZiti service that is outside its approved security segment. The controlled attacker identity is intentionally assigned to a laboratory client group that should not have access to the protected service. The attacker then attempts to establish a connection to the protected service through the OpenZiti overlay. Under the intended micro-segmentation architecture, the OpenZiti service policy should prevent the unauthorized identity from dialing the protected service.
A second controlled validation condition can be introduced by temporarily applying an intentionally broader service authorization. This tests whether the security architecture can identify an unintended authorization relationship during policy review. The scenario does not exploit an OpenZiti software vulnerability or require identity theft; it validates whether a deliberately defined service-segmentation boundary is enforced and whether excessive authorization can be detected and remediated.
Micro-segmentation separates applications and services according to identity and authorization requirements rather than allowing unrestricted internal network communication. OpenZiti implements this model through identities, services, and authorization policies. Service policies determine which identities can Dial or Bind particular services, allowing the security architecture to define explicit service-to-identity relationships.
The architecture does not assume that an identity authorized to access one service should automatically be able to access other services. East-west isolation is achieved by ensuring that each protected service has a clearly defined set of identities that are allowed to access it. The security workflow evaluates the requested communication against the intended identity-to-service relationship before the protected service is reached. Router-level policies further restrict which identities can use particular edge routers and which services can use those routers, supporting the intended overlay segmentation.
The secure processing flow is:
Each laboratory workload and client is assigned a distinct OpenZiti identity representing its approved security role.
Establish a security boundary between different workloads and service consumers.
Service policies authorize only the identities that require access to a particular protected service.
Prevent identities from accessing services outside their approved security segment.
Dial policies define which identities are permitted to initiate access to protected services.
Control east-west service access from client identities.
Bind policies define which identities are permitted to host or provide a protected service.
Prevent unauthorized identities from acting as service hosts.
Edge-router policies restrict which identities can use particular OpenZiti edge routers.
Prevent unnecessary identity-to-router relationships within the overlay network.
Service-edge-router policies restrict which services can use particular edge routers.
Maintain separation between protected services and unauthorized routing paths.
Identity roles, service roles, and policy relationships are periodically reviewed to verify that they match the approved access matrix.
Detect overly broad authorization relationships that could weaken micro-segmentation.
Unauthorized service-access attempts are monitored and recorded using relevant OpenZiti and Linux security telemetry.
Identify attempted lateral movement across service boundaries.
The detection workflow identifies access attempts and policy relationships that do not match the approved identity-to-service relationship.
Detect attempted segmentation-bypass activity and unintended authorization.
OpenZiti access-control events are correlated with Linux host activity and monitoring telemetry.
Establish an investigation timeline for unauthorized east-west access.
Service-policy relationships are re-tested after corrective changes, using both unauthorized and authorized access scenarios.
Confirm that unauthorized access remains blocked while legitimate service communication continues to function.
OpenZiti provides the controlled zero-trust service-network environment. Its architecture uses identities, services, routers, and policies to establish authorized service connectivity.
The OpenZiti CLI is used to create and inspect identities, services, service policies, edge-router policies, and service-edge-router policies.
OpenZiti service policies provide the Dial and Bind authorization relationships used to determine which identities can access or host services.
OpenZiti identities represent the controlled clients, workloads, and service hosts participating in the zero-trust network.
Edge-router policies determine which identities are permitted to use particular edge routers.
Service-edge-router policies control which services are available through specific edge routers.
`curl` is used to generate controlled application-layer requests to laboratory services after the OpenZiti connection is established.
`nc` is used for controlled TCP connectivity tests against laboratory services.
Wazuh monitors the Linux environments and relevant security events associated with the OpenZiti segmentation assessment.
OpenSearch provides centralized analysis and correlation of OpenZiti and Linux security telemetry.
Ubuntu provides the controlled environment hosting the OpenZiti controller, routers, tunnelers, and laboratory services.
Kali Linux provides the controlled security-testing environment used to generate unauthorized east-west service-access attempts.
VirtualBox provides the isolated infrastructure for the Ubuntu and Kali Linux security laboratory.