MYTHOSAI

Network segmentation & traffic labs / GUIDED EXERCISE

Evaluate a TLS certificate warning

A training portal displays a certificate mismatch alert after a DNS change.

Before you start

No paid tools required. Use this guide with sample data, paper, or an explicitly authorised test environment. Keep a copy of any original configuration and obtain approval before changes.

A scenario worth testing

A training portal displays a certificate mismatch alert after a DNS change. This scenario is an invented teaching example, not a description of an actual breach or test of a named organisation.

MITRE ATT&CK identifies multiple network-relevant data sources, but log availability varies by product and configuration. In this guide, the purpose is to evaluate a specific decision and its evidence. It does not follow that the scenario is likely in every environment, or that any untested product is vulnerable.

Red team perspective: define the risk

Question to test. Could a fraudulent endpoint be impersonating the portal, or was the certificate provisioned for the wrong host?

Blue team perspective: define the boundary

Defensive decision. Check requested hostname, issuer, validity and deployment record without clicking through the warning.

Safe experiment: make the question measurable

Scope: synthetic records or an explicitly authorised, disposable test environment only. No customer records, live exploit payloads or third-party probing.

  1. State the decision. Describe the asset, who should be authorised, and which fact would refute the initial hypothesis.
  2. Create a safe fixture. Construct the example. Compare three fictional certificate records and decide which hostname/date combinations are trustworthy for each portal address.
  3. Evaluate three cases. Use the fictional cases below; identify the permitted case, an adverse case and a plausible exception. Record what evidence distinguishes them.
  4. Write an outcome. Decide whether to allow, deny, escalate or ask for more information. Record the policy owner and one measurable follow-up. Never equate a planned test with a completed live test.

Worked example and expected observations

Illustrative result, not a measured finding: A mismatch table and a remediation ticket naming the responsible certificate or DNS configuration.

Three synthetic cases to classify — examples, not observed incidents
CaseFictional inputDecision to justify
Expected activityBrowser validates the genuine hostname and trusted issuerExplain the precise reason it is permitted or expected.
Boundary challengeCertificate identity does not match the requested service domainIdentify the policy, detection or approval that should respond.
Lookalike or exceptionInternal lab uses a separately trusted private CA and explicit policyIdentify the missing context before making an accusation.

Interpret this example

Start with the expected case: browser validates the genuine hostname and trusted issuer. Compare the relevant boundary with the adverse case: certificate identity does not match the requested service domain. The distinction depends on Hostname, certificate chain, validity, trust store and user decision, not the alarming appearance of an isolated event.

The third case deliberately resists a snap conclusion: internal lab uses a separately trusted private CA and explicit policy. Record which additional fact would change the decision. Separate route availability, transport reachability and service authorisation. An allowed DNS or monitoring path does not mean arbitrary connections should cross the same boundary.

Download the three-case CSV exercise (illustrative inputs, not collected production evidence).

Evaluate evidence and failure modes

False confidence to avoid: A technically valid certificate for another hostname is not valid for the site the user intended to visit. Read-only traffic checks do not reveal every route and may not cover services beyond the one tested.

An apparently isolated network can still have permitted routes, shared management systems or cloud-dependent traffic paths. When a log source is missing or a sample is ambiguous, mark the conclusion unverified rather than estimating a success rate from fictional data.

Decide what to improve

Recommended next action: Fix name coverage or endpoint routing; never teach users to bypass a warning as a permanent workaround. Evaluate a named source–destination–service flow rather than claiming that a whole network is protected.

  • Which exact asset and named owner does this decision concern?
  • Would your evidence include Hostname, certificate chain, validity, trust store and user decision?
  • Does the adverse case need blocking, investigation or both?
  • What one controlled follow-up would distinguish the lookalike case from abuse?

Official references and limitations

Primary references explain the underlying control or framework; they do not validate the fictional cases above.

Try the related offline practice workbook, with runnable Python standard-library examples and marked limitations.