CodekeeperTransaction Services

InsightsSecurity, privacy and regulation

Security incident due diligence: reading a target's history

A target's incident history tells you two things: what has already gone wrong, and how the company behaves when it does. The first is a liability to be measured. The second is the best available evidence of whether there are incidents the company does not know about.

6 min readUpdated Codekeeper Transaction Services

Why the history matters

A scan describes the code as it stands today. Incident history describes years of real events: how attackers got in, how long they stayed, what they took and what the company changed afterward.

The reason to care is that liability follows the company. Marriott completed its acquisition of Starwood in September 2016. An attacker had been inside Starwood's network since 2014, and the intrusion was discovered only in September 2018. In October 2020 the UK Information Commissioner's Office fined Marriott £18.4 million for failing to keep customers' personal data secure, in respect of the period after the GDPR took effect.

The seller in that case had no incident to disclose, because nobody knew of one. That is why the review has to look past what the company reports and ask what it would have been able to notice.

What to ask for

Request documents, not summaries. A useful list:

  1. The incident register for the past five years, including near misses and incidents at suppliers that affected the company.
  2. Post-incident reports for each material entry: timeline, root cause, data affected, actions taken.
  3. Any forensic report prepared by an outside firm, in full.
  4. Notifications to data protection authorities, sector regulators, customers and affected individuals, with dates.
  5. Notices to the cyber insurer, claims made, and any change of premium or coverage that followed.
  6. Customer complaints, contractual claims and credits linked to security or availability.
  7. Correspondence from security researchers.
  8. Ransom or extortion demands, and what was done about them.
  9. The incident response plan, and evidence that it has been exercised.

Then compare the sources. An insurance notice with no matching entry in the register, or a customer credit for an outage that engineering describes as routine, tells you the register is incomplete.

Signs of a compromise nobody has detected

No review of documents and code can prove that a network is free of intruders. That takes forensic investigation. What a review can do is establish whether the conditions for an undetected compromise exist, and whether the company could have seen one.

Conditions that deserve attention:

  • Short log retention. If logs are kept for thirty days, the company cannot say what happened last year, and neither can you.
  • No central monitoring or alerting. Incidents are then found by customers or by chance.
  • Credentials in the repository history that were never changed. Anyone who ever held a copy of the code has had working keys. See our article on secrets in source code.
  • Accounts that outlived their owners. Former employees and contractors with active access to production or the cloud console.
  • Shared administrator logins. Actions cannot be traced to a person.
  • Unexplained items. Cloud resources nobody can account for, access keys with no owner, outbound data transfer that the team cannot explain.

Disclosure obligations that come with an incident

An incident is often a legal event as well as a technical one, and duties may arise under several regimes at once.

Under the GDPR, a personal data breach is notified to the supervisory authority within 72 hours where feasible, and affected individuals must be told in certain cases. Under the NIS2 directive, entities in scope give an early warning of a significant incident within 24 hours and a notification within 72 hours. Financial entities have reporting duties under DORA.

Customer contracts frequently set their own notice periods, which can be shorter than the statutory ones. Listed companies may owe disclosure to investors: in April 2018 the SEC announced a US$35 million penalty against the company formerly known as Yahoo for failing to disclose its 2014 breach.

For each incident in the register, check whether notification was required, whether it was made and whether it was on time. A late or missing notification is a second exposure, separate from the incident, and it passes to the new owner in a share purchase.

This is general information and not legal advice. Notification rules differ by jurisdiction and sector, and counsel should assess each incident.

How incidents become warranties and indemnities

The share purchase agreement (SPA) treats known and unknown incidents differently.

Known incidents are disclosed specifically. Because a buyer generally cannot claim under a warranty for something that was fairly disclosed, the protection has to come from elsewhere: a specific indemnity for losses flowing from the incident, a holdback sized to the likely cost, or a reduction in price. If the transaction is insured, expect the underwriter to exclude known incidents, which makes the indemnity more important.

Unknown incidents are covered by representations and warranties (R&W). The points negotiated are usually these:

  • the look-back period;
  • the definition of "incident", and whether it includes unauthorized access without proven loss of data;
  • whether the statement is flat or limited to the seller's knowledge;
  • whether all required notifications have been made.

A seller with thirty days of logs and no monitoring can truthfully say it is aware of no incidents. Evidence from the review is what lets a buyer argue for an unqualified warranty, or for a condition that the gaps are closed first. More on drafting is in our article on making software warranties checkable.

How we approach it

We do not carry out forensic investigations, and our report does not declare a company free of compromise. What it does is put the code-level evidence that bears on the question in front of both sides. Every report scans for secrets in the code and its git history, for known vulnerabilities and for weaknesses found by static analysis, and each section states what was examined and what was not.

In the Analyst-Verified Report, an in-house analyst verifies the findings, rates them in the context of the company's stage and pairs material issues with the market-standard remedy: a holdback, a warranty, a condition precedent or a price adjustment. This is data-backed negotiation support, not advisory. The seller responds beside each finding, on the record, so statements about rotation and remediation are documented.

After closing, the sealed record of the transaction is retained for three years in the evidence vault, which matters if a warranty claim arises later. Our own handling of transaction materials is described on the security page, and the report format is shown in the sample report.

Questions we are asked

What if the target says it has never had an incident?

Ask how it would know. A company that can show working detection and a clean record is in a different position from one that has simply never looked.

Should a buyer commission a forensic review before closing?

It is proportionate where the data is sensitive and the review finds conditions for an undetected compromise, such as unrotated credentials and no monitoring. It needs the seller's cooperation and time in the deal timetable, so raise it early.

Does a past breach make a company a bad acquisition?

Not by itself. A breach that was detected quickly, notified properly and followed by real changes can show a mature organization. The concern is an incident that was handled poorly, concealed or never understood.

This article is general information for people working on software transactions. It is not legal, financial or insurance advice.

Dealmaking is your craft. The technology is ours.

Tell us about the transaction and its timetable. We will set out the scope we would advise, and what the first report would cover.