skip to content

A national CERT says one of your public IPs attacked another company at 02:11 UTC — what do you establish first?

level: juniorimportance: should knowfreq 54%

answer

  1. the address is a building, not a desk
  2. exact second plus source port
  3. NAT and DHCP translate inward
  4. session records carry no payload
  5. no alert of yours is not a refutation

basics

~20 s

Turn the report into an asset and a time window. Normalise the timestamp, then use NAT, proxy or DHCP records together with the source port to find which internal host held that public address at that exact moment.

solid answer

~50 s

A public address is shared by hundreds of internal hosts behind NAT, so the report names your perimeter, not a machine. First I pin the observation down: exact timestamp and its timezone, the public address, the source port, the destination address and port, the protocol and the direction. Then I resolve it inward — the edge firewall or NAT gateway session log matched on source port plus time gives the internal address, and DHCP leases or the cloud address-assignment history turn that into a named host. I also check the address was even allocated to us at that moment. What I have then is proof that a session existed from that host, not proof of what it carried or who drove it; endpoint telemetry for that host and hour is the next pivot. I do not dismiss the tip because no alert of ours ever fired.

code

text · 6 lines
text
2026-07-14T02:11:38Z fw-edge-01 session-end
  src=10.42.18.77:51422   nat-src=203.0.113.24:60119
  dst=198.51.100.5:22     proto=tcp
  bytes-sent=41288  bytes-recv=2104  duration=612s
  rule=allow-egress-any   user=-
  ...

go deeper

for a junior

Be ready to say out loud that a public address maps to many hosts, and to name the records that resolve it inward: firewall or NAT session logs matched on source port and time, then DHCP or inventory to reach a hostname.

for a middle

Explain why the source port and an exact timestamp are the fields that make a NAT mapping unique, and what a session or flow record can never tell you — no payload, no process, no user.

for a senior

Show the preservation instinct: retention on perimeter logs is short and the tip is old, so holds and exports come before analysis, and the identified host is pivoted on rather than rebuilt.

for a principal

Own the standing arrangement — a published abuse contact, a rehearsed intake path for CERT and law-enforcement tips, and retention on egress records long enough that a three-week-old report is still answerable.

## What an outside notification is, and what it proves An outside notification is somebody else telling you that your estate did something you never saw. It arrives from a national CERT, a law-enforcement contact, an upstream provider or another victim, and it usually arrives with less evidence than you want, because the reporter is protecting a source, an ongoing operation or another victim's confidentiality. Get the direction of the claim right before you do anything else. The tip proves that **an outside observer saw traffic that they attribute to an address of yours**. It does not prove you were compromised, it does not prove which host was involved, and it certainly does not prove what the traffic contained. Equally, the fact that no detection of yours fired proves nothing: your rules only cover what you collect, and an outbound session to an address nobody had flagged is exactly the shape of activity a mature SOC still misses. Both errors — treating the tip as a verdict, and treating your own silence as a refutation — are the standard way this scenario is failed in an interview. ## The five fields that make the report actionable Ask for these explicitly, and ask in writing: - **Timestamp and timezone.** Reporters frequently send local time, or send UTC without saying so. An hour's error moves you past a DHCP lease boundary or a NAT table rollover and you map the wrong host. - **Your public address**, and confirmation of the window it was observed in. - **The source port.** This is the field juniors skip, and it is the one that makes the mapping possible: many hosts share one public address, so the NAT translation is only unique on the combination of address, port and time. - **The destination address and port**, and the protocol. - **The direction** — were you the source of the connection or the destination? A report that your address *attacked* someone means outbound sessions from your estate, which is a very different search from inbound scanning against you. ## Resolving a public address inward The records that answer this are boring perimeter records, not detections: - **Edge firewall / NAT gateway session logs.** These carry the pre-translation internal address and port alongside the post-translation public address and port. Matched on source port and second, they identify the internal address. - **Proxy logs**, if egress is proxied — these additionally give you the requesting host and often the user and the URL. - **DHCP leases** or a static inventory, to turn the internal address into a named host at that time. On a wireless or VPN pool the lease is short and the mapping is time-sensitive. - **Cloud address-assignment history**, if the public address is an elastic or NAT-gateway address: those get reassigned between accounts and workloads, so confirm which resource held it at 02:11 and not merely which holds it today. - **Address allocation records**, to confirm the range was still yours in that window. Reassigned ranges produce a surprising number of false reports. ## What the record you find does and does not say Suppose you find the session. A flow or firewall session record carries the five-tuple, byte and packet counts, and timestamps — and no payload at all. It tells you bytes moved between two endpoints; it does not tell you what they were, which process opened the socket, or which human was at the keyboard. The firewall has no user attribution unless identity-aware policy is in place. So the honest conclusion at this stage is: *a session matching the report originated from host X at 02:11 UTC.* To go further you pivot to the host: endpoint process telemetry for that window (which process held the socket, its parent, its command line), interactive logon records for who was on it, and scheduled-task or service state. If the host is a jump box or a management server, that pivot usually matters far more than the traffic itself. ## What not to do in the first hour Do not reimage or reboot the identified host — you would destroy the memory and process state that answers the next question. Do not contact the destination organisation directly. Do not close the ticket because your SIEM has no hits; that finding belongs in the write-up, not in a verdict. And preserve immediately: put a legal-style hold or an export in place for the firewall, proxy and endpoint data covering that window, because the default retention on perimeter logs is often days and the report is often weeks old.

  • The reporter gives a timestamp with no timezone — why is that more dangerous than it looks?
    A few hours of offset moves your search across a DHCP lease change or a NAT table rollover, so you map the public address to a completely different host and confidently investigate the wrong machine. Ask for UTC explicitly. If they cannot say, search a widened window on both sides and treat any single mapping as provisional until a second record agrees.
  • Your edge firewall keeps five days of logs and the report is three weeks old — what still helps?
    Longer-lived sources: cloud address-assignment history, DHCP or inventory records, endpoint telemetry if the agent retains more than the perimeter does, VPN and jump-host session records, and any SIEM copy of the firewall feed. If none survive, you cannot identify the host from the report alone — say so, and pivot to the state of candidate hosts today rather than pretending the search was conclusive.
  • The reporter refuses to say how they saw it. Does that change what you do?
    No. You cannot grade what you cannot see, so you work the observables they did give and treat the claim as untested rather than untrue. Record the refusal, ask instead for one more discriminator you can search on — a destination, a port, a second timestamp — and note in the case file that corroboration, if it comes, will come from your own telemetry only.

A public IP is a building's street address. The letter proves something was posted from the building; the NAT session log is the mailroom register that says which desk handed it in, and only if you know the exact minute and the tracking number.

saying these in an interview costs you the question

  • Treats a public IP as identifying one machine
  • Ignores the tip because no internal alert fired
  • Reads the notification as proof of compromise
  • Searches local time against a UTC report
  • Claims a flow record shows what was sent
  • Reimages the host before collecting anything

context