Mitigating Man-in-the-Middle Attacks on Internal HTTPS
Remediating a man-in-the-middle attack on internal HTTPS traffic requires more than restoring a browser’s green padlock. The encrypted channel may have looked normal while credentials, API calls and sensitive documents passed through an unauthorised proxy or another interception point. Once evidence indicates interception, teams must stop the exposure, determine how trust was subverted, eradicate the foothold and verify that protected traffic is genuinely trustworthy again.
For Australian enterprises, this work often spans Sydney, Melbourne, Brisbane and regional offices, with internal services distributed across corporate networks, cloud tenants and managed devices. A practical response must also fit Australian privacy obligations, ASD Essential Eight expectations and the support patterns common in the local managed security services provider market. Clear ownership becomes essential when a Sydney operations team, a Melbourne security team and an offshore provider contribute to the same incident.
Why internal HTTPS can still be intercepted
Internal HTTPS encrypts traffic between clients, gateways and applications, but encryption alone does not prove that the intended endpoint received the connection. Enterprises commonly deploy TLS inspection at web proxies, cloud access brokers and service-mesh sidecars. These are legitimate when their certificates, administrators and change history are known; the same technology can become an attacker’s relay if its signing key, configuration or management plane is compromised.
An attacker may also sit between a host and a trusted proxy, impersonate an internal service, or manipulate name resolution and routing so traffic reaches an adversary-controlled endpoint. In some cases, malware installs its own certificate authority and changes trust settings on a device. The visible symptom may be unusual browser warnings, renewed certificate errors or nothing at all, because the interception layer presents a valid certificate to the client.
The first task is therefore to identify what normal interception looks like in the environment, not to assume that every decrypted session is malicious. A complete inventory should cover forward proxies, inspection appliances, service accounts, trusted certificate stores, cloud connectors and the teams permitted to change them. Without that baseline, investigators can mistake authorised inspection for compromise or overlook a rogue proxy hidden among legitimate network services.
Common paths into protected traffic
Endpoint compromise remains one of the most direct routes. Malware can read credentials before encryption, alter a browser’s trust store, run a local proxy or make outbound connections through infrastructure controlled by the attacker. Valid stolen credentials then allow the attacker to bypass controls that appear effective, including access to internal applications protected by HTTPS. Phishing messages may also deliver configuration changes or a malicious browser extension rather than a conspicuous executable.
Social engineering can reach employees through mobile channels. A message may disguise itself as a casino app download, direct the recipient to a credential page or install a tainted application, and then capture a session token or persuade the user to approve a new certificate. This matters for Australian businesses where staff use corporate phones alongside personal tablets, and where small offices or remote workers may connect directly to cloud services rather than traversing a central inspection gateway.
Infrastructure weaknesses extend the blast radius. Flat internal networks, shared administrative accounts, excessive trust between Kubernetes namespaces and unmanaged legacy appliances can all support silent relay or lateral movement. An Australian energy operator in Brisbane, for example, may expose engineering services to a mixed estate of operational technology, contractor devices and cloud workloads. An attacker who reaches one trusted component can then pivot through internal HTTPS without necessarily breaking the cryptography itself.
Evidence that distinguishes interception from failure
Start with the proxy and certificate inventory, then compare it with endpoint, identity, DNS and network telemetry. Useful signals include certificates issued by an unknown internal authority, a changed proxy fingerprint, traffic bypassing the known gateway, new trust-store entries and sessions authenticated from an unfamiliar location. TLS metadata such as server name indication, issuer, protocol version and client fingerprint can reveal a new interception chain when the values do not match the approved baseline.
Endpoint detections should be correlated rather than treated in isolation. Process creation, browser extension changes, scheduled tasks, unusual tunnels and modifications to the machine certificate store can connect a suspicious session to a foothold. Identity logs may show token replay, impossible travel or a service account used from a new device. A sudden rise in traffic to a little-known IP address can strengthen the case, although a shared CDN address alone is not proof of interception.
Preserve volatile and historical evidence before making broad changes. Export proxy logs, certificate issuance records, DHCP and DNS data, flow records, EDR telemetry, cloud audit events and relevant identity logs. Record hashes, file paths, serial numbers, timestamps and affected assets in a single timeline. This prevents routine remediation from erasing the route used for initial access and helps legal, privacy and incident-response teams assess whether notification obligations for eligible data breaches under the Privacy Act 1988 have been triggered.
Comparing signals and response priorities
A structured comparison helps responders separate weak indicators from evidence that justifies immediate containment. The response should begin with reversible actions that stop further disclosure, while preserving enough information to determine scope and accountability.
| Signal | What it suggests | Response priority |
|---|---|---|
| Unknown internal certificate issuer | Rogue trust anchor or unauthorised inspection | Block the certificate, identify its source and validate every trust store |
| Traffic bypassing the approved proxy | Alternative relay, split tunnelling or local proxy | Isolate affected clients and capture flow and endpoint evidence |
| Changed proxy configuration or fingerprint | Compromised appliance or management account | Restrict administration, preserve logs and rotate affected credentials |
| New endpoint trust-store entry | Malware-controlled interception on the host | Quarantine the device and reimage it if integrity cannot be established |
| Impossible token use or new device | Session theft following traffic interception | Revoke sessions and tokens, then review identity activity |
| DNS answer changes inside the estate | Redirected service or endpoint | Validate the resolver, zone controls and corresponding service certificate |
Prioritise containment over cosmetic certificate cleanup. Removing a suspicious certificate without first stopping the interception path may simply allow a new one to be installed. Conversely, shutting down every inspecting proxy can interrupt critical business traffic, so use scoped blocks, approved bypass lists and change windows. The endpoint and identity owners should work from the same asset list to prevent contradictory actions across Australian business units operating in different time zones.
Containing exposure and restoring trust
Containment should reduce both current disclosure and the attacker’s ability to return. Isolate affected endpoints from sensitive segments, revoke active sessions and temporarily block suspicious destinations, issuers and proxy configurations. Do not indiscriminately power off machines or wipe appliances: remote administration sessions, memory state and volatile logs may still hold evidence. Where an attacker controls a trusted appliance, preserve its configuration and restrict management access before restoration begins.
Credential recovery must cover more than passwords. Reset privileged, service and application credentials that crossed the intercepted channel; revoke refresh tokens, OAuth grants, API keys, cookies and certificate-based identities. Review cloud access from unusual devices and rotate secrets that could let the attacker move laterally. Password resets performed only on visible infected devices will leave valid stolen sessions elsewhere.
Eradication then addresses the route in, not just the symptom. Remove unauthorised certificates and browser extensions, rebuild trust stores from known-good sources, patch the exploited application, reimage compromised endpoints and correct insecure network or identity configurations. Restore proxy platforms and service-mesh components from verified baselines. Validate that internal hostnames resolve to the right endpoints, segmentation limits lateral movement and all delegated trust relationships remain necessary for current operations.
Coordinating remediation across teams and providers
Large incidents often divide technical work among application owners, network teams, identity specialists, external forensics providers and an MSSP. That fragmentation creates gaps when a malicious proxy or compromised certificate sits between systems managed by different parties. A single incident commander should own the hypothesis, scope, decision log and next-action schedule, while workstream leads update the same evidence set. Briefings should record what is known, unknown and already changed.
Developed by Exclusive Networks, CARM Security supports this need by bringing signals and response capabilities from multiple security vendors into a coordinated post-breach view. Its guidance on coordinated MSSP cleanup describes the value of defining responsibilities and sequencing actions rather than letting each provider work in isolation. The same discipline applies when an Australian enterprise uses a local MSSP for 24/7 monitoring and offshore specialists for deeper forensic analysis.
Local operating customs matter during handover. Australian teams commonly need direct verbal confirmation for critical changes, followed by written evidence in the incident channel. Shift handovers should state affected sites, certificates, accounts and actions still in progress, including dependencies across Sydney, Melbourne and Brisbane. The MSSP should know which systems it may isolate, who can approve emergency containment and which evidence must be retained for legal or regulatory review. Clear escalation contacts reduce delay without requiring every provider to duplicate the full investigation.
Priorities for durable remediation
The strongest response combines immediate containment with changes that prevent a similar interception path from reopening. These priorities are suitable for an Australian security, network or risk team reviewing its playbook.
- Establish an approved baseline of proxies, internal certificate authorities, inspection endpoints, service accounts and delegated trust paths.
- Isolate and preserve evidence before reimaging, reconfiguring or deleting suspected interception components.
- Revoke every exposed session and rotate credentials, tokens, keys and certificates that traversed the affected channel.
- Rebuild affected endpoints and gateways from trusted baselines, then test expected certificate and routing behaviour.
- Validate the result through independent endpoint, identity and network checks, including MSSP or internal red-team confirmation.
The reader should remember that a valid certificate proves only what the certificate claims, not that the connection reached its intended destination. Internal HTTPS becomes trustworthy again only when the trust anchors, endpoints, routing, identities and monitoring controls have all been checked. Durable remediation removes the attacker’s access path and leaves verifiable evidence that protected traffic is flowing directly to approved services.