The day after a data leak.

SaaSSecurityVenezuela

A leak with no passwords can be just as serious: with someone's name, ID number, phone and latest purchase, a fraudster has everything they need.

On 22 February, the Venezuelan consumer credit platform Cashea said it had detected a data leak the day before. According to its statement, user and merchant accounts had not been compromised, credentials and passwords remained protected, and the app was working normally. The statement did not say how far the leak went or what kind of information it involved (Finanzas Digital, in Spanish).

The next day, the VE Sin Filtro programme published what it had found in a sample of the files released: full names, ID numbers and phone numbers of customers who had made purchases, the details of those transactions including shops and products, and merchants' bank account numbers and contact details. There were no passwords or email addresses in the sample (Finanzas Digital, in Spanish).

Combining personal data with recent purchases "significantly increases the risk of phishing and targeted scams". VE Sin Filtro, quoted by Finanzas Digital (our translation).

That sentence sums up the lesson for any platform, not just a lender. We are not telling this to judge a company, but because it is a public, recent and nearby case that shows what the problem looks like from outside.

No passwords does not mean no harm

The usual question after a leak is whether passwords got out. It is the wrong question, or at least not the only one. A message that says "Hi María, about yesterday's purchase at such-and-such shop, we need to confirm your account" is convincing because every detail is right. Someone holding a person's name, ID number, phone and purchase history does not need their password to deceive them.

What should a company do after a data leak?

Contain the access, work out which data about whom and from which dates got out, tell each affected person what was exposed and what to do, explain through which channels and in what way the company will contact them, and fix the cause. If the country you operate in has a specific law, meet its notification deadlines. All of it goes better when it was written down before the incident.

Decided in advance: what to store, and where

The easiest leak to handle is a leak of data you never kept. Before thinking about encryption or monitoring, go through the database schema with one simple question for each column: who uses it, and for what?

  • Do not keep what you do not use. If the ID number only serves to verify identity once, storing the fact that it was verified may be enough.
  • Separate what identifies from what gets analysed. Sales reports do not need the customer's phone number; they work better with an internal identifier.
  • Encrypt sensitive fields, not just the disk. If someone copies a table, encrypted fields cannot be read without the key, which lives somewhere else.
  • Set an expiry date. Does the full detail of a transaction from years ago still need to be kept?
  • Limit who can export. Few people need to download whole tables, and every export should be logged.

Find out from the logs, not from the attacker

The worst way to discover a leak is to see it published. To find out sooner, the platform needs to know what normal looks like and raise an alert when something departs from it: a query reading a hundred thousand rows when a hundred is usual, an export at three in the morning, a new administrator account, an access key used from an unfamiliar place.

Those logs must be stored outside the system they watch, so whoever gets in cannot erase them, and someone has to receive the alerts. If nobody reads them, the platform finds out just as late.

The written plan, for the day it is needed

  1. Who decides. One person in charge, with a deputy, and a channel to meet within minutes.
  2. Contain. Close the access that was used, change keys and revoke tokens, without destroying what serves as evidence.
  3. Measure. Which tables, which dates, which people. Without that, no useful notice is possible.
  4. Notify. The people affected, with what is known; and the authority, where a law requires it.
  5. Fix and report. Remove the cause and publish a summary of what happened and what changed.

VE Sin Filtro asked the company to establish the real scope of the incident and to contact affected users directly with the details of what had been exposed. Those are exactly steps three and four.

A notice that protects the customer

Write the notice for the customer: its job is to help them recognise the scam that is coming. An invented example of what it should say:

On 21 February we detected unauthorised access to customer data.
Your exposed data: name, ID number, phone and your purchases in January and February.
No passwords were exposed.
We will never ask you for passwords, codes or payments by WhatsApp or phone call.
If someone contacts you mentioning your purchases, hang up and write to us here.
We update this page every day at 18:00.

The most important line is the fourth: how the company will not contact you. It is what the customer can use to recognise a fraud. And a fixed page updated at a known time keeps the information from travelling only through social media, as described in when your service goes down, say so on your own site first.

In some countries the notice also has legal deadlines and recipients. Chile's new law, for example, requires reporting to its agency and, for certain data, to each affected person: see Chile's data law and your contact form. And since many leaks start with a compromised dependency, your website is also made of other people's code is worth a read.

Does your platform keep more data than it uses? Write to us and we will go through what can be removed, encrypted or watched before it matters.

FAQ

If no passwords leaked, are users safe?

Not necessarily. With a name, ID number, phone and purchase history, a fraudster can pose as the company or a shop very convincingly. That is why the notice has to explain how the company will contact people, and how it will not.

Which data should a platform avoid keeping?

Data nobody uses, data used once and no longer needed, and the full detail of old transactions. Every column in the database should have a reason to exist and an expiry date.

How can a leak be detected before it is published?

With access logs stored outside the system and alerts on anything unusual: bulk reads, exports at odd hours, new administrator accounts or keys used from unfamiliar places. Someone has to receive and read those alerts.

More insights