Server logs · 06 Case study

Server logs: a worked case

A worked case: a professional firm’s website is defaced overnight; the server log shows only the CDN, the CDN logs the real address, rotated files the reconnaissance of the previous days and the clock a two-minute drift.

Case built for teaching purposes.

One Monday morning the home page of a professional firm’s website shows an offensive message. The site is hosted by a hosting provider and protected by a CDN.

SourceWhat it showsValue
Web server logAll the night’s requests come from CDN addressesNo real address visible
CDN logsAt 02:11 UTC an upload to a form on the site from a single addressApparent origin of the attack
Rotated, compressed filesTwo days earlier the same address tries hundreds of paths on the siteReconnaissance phase
Application logA new file in the uploads folder at 02:13 according to the server clockMoment of the intrusion
Internet registriesThe address belongs to a rented server at a foreign providerStarting point, not the perpetrator
Server clockTwo minutes fast: once the drift is corrected, the file was created at 02:11 UTC, as in the CDNConsistent timeline

The server log alone would have led to the CDN and stopped there. The CDN logs, exported the same day, gave the address; the rotated files, saved before the weekly deletion, showed that the attack had been prepared; correcting the clock put all the sources on the same timeline.

Continue with
07 Checklist

Server logs: checklist

The checklist for logs: preservation, acquisition, analysis and reporting.

↑