MYTHOSAI

Network segmentation & traffic labs / GUIDED EXERCISE

Turn flow logs into a baseline

A server normally sends short HTTPS connections but a report shows a sudden increase in outbound bytes.

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 server normally sends short HTTPS connections but a report shows a sudden increase in outbound bytes. 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. Is the change a scheduled export, new backup or suspicious data movement?

Blue team perspective: define the boundary

Defensive decision. Compare volume by destination, time, job owner and known maintenance changes.

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. Analyse a fictional twelve-row NetFlow-like CSV, grouping traffic by source and destination category.
  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 baseline chart and two abnormal flows annotated with plausible business explanations.

Three synthetic cases to classify — examples, not observed incidents
CaseFictional inputDecision to justify
Expected activityManaged service regularly connects to one approved update hostExplain the precise reason it is permitted or expected.
Boundary challengeSudden outbound connection targets a new high-risk destination without ownerIdentify the policy, detection or approval that should respond.
Lookalike or exceptionMonthly backup job legitimately increases outbound volumeIdentify the missing context before making an accusation.

Interpret this example

Start with the expected case: managed service regularly connects to one approved update host. Compare the relevant boundary with the adverse case: sudden outbound connection targets a new high-risk destination without owner. The distinction depends on Time bucket, src/dst, protocol, bytes and known schedule, not the alarming appearance of an isolated event.

The third case deliberately resists a snap conclusion: monthly backup job legitimately increases outbound volume. 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: Bytes transferred without application context cannot prove exfiltration, and encrypted traffic hides content. 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 sustained, unexplained shifts to an unknown destination after checking scheduled operations. 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 Time bucket, src/dst, protocol, bytes and known schedule?
  • 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.