MYTHOSAI

Network segmentation & traffic labs / GUIDED EXERCISE

Test DNS resolver consistency

A user reports a website loading differently on office Wi-Fi and mobile internet.

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 user reports a website loading differently on office Wi-Fi and mobile internet. 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 DNS spoofing be involved, or is this ordinary caching and provider configuration?

Blue team perspective: define the boundary

Defensive decision. Compare answer, resolver, record type and time rather than assuming every mismatch is malicious.

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. Use documentation examples or read-only queries for a domain you control; note A, AAAA, TTL and recursive resolver details.
  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 two-column answer table with captured time and whether a CDN or cache could explain differences.

Three synthetic cases to classify — examples, not observed incidents
CaseFictional inputDecision to justify
Expected activityLaptop returns the expected address through the configured resolverExplain the precise reason it is permitted or expected.
Boundary challengeSame name gives unapproved test answer from a rogue resolverIdentify the policy, detection or approval that should respond.
Lookalike or exceptionSplit-horizon internal name legitimately differs by VPN contextIdentify the missing context before making an accusation.

Interpret this example

Start with the expected case: laptop returns the expected address through the configured resolver. Compare the relevant boundary with the adverse case: same name gives unapproved test answer from a rogue resolver. The distinction depends on Resolver IP, query name/type, TTL, network path and comparison reason, not the alarming appearance of an isolated event.

The third case deliberately resists a snap conclusion: split-horizon internal name legitimately differs by VPN context. 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 single changed IP address is common with CDNs and is not proof of redirection. 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: Escalate only when the expected owner or service record is inconsistent with trusted documentation. 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 Resolver IP, query name/type, TTL, network path and comparison reason?
  • 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.