
IS and Anti-Fraud, Part 4: Logs, Monitoring, and Incident Response
🌐 Machine-translated from Russian. Show original
In this part:
No incident logs are visible#
An attack that went unnoticed has been going on for months. The task is to spot suspicious objects, react quickly , and figure out what happened.
What to log#
| Event | Why |
|---|---|
| Logins: successful and unsuccessful, IP, device | password guessing, login from an unusual place |
| Changing rights and roles | enhancing privileges |
| Changing password, email, phone, 2FA, | account capture |
| Changing details, payments, limits, | fraud |
| Exporting and bulk viewing of data | |
| Administrative actions | abuse and errors |
| Access errors (403) | iteration of others' IDs |
Each entry: who, what, when, from where ( IP, device) and result. Passwords, tokens, and full card numbers are not recorded in the log.
Where to store#
- Logs are separate from the systems they describe: an attacker with server privileges must not be able to erase them.
- Centralized collection: from a simple syslog server to ELK, Graylog, Loki, or SIEM.
- Retention period — sufficient for investigation (usually several months) and compliant with regulatory requirements in your industry.
Alert signals#
Start with a small set, which almost always indicates a problem:
- many failed logins to one account or from one IP;
- admin login from a new country or outside working hours;
- granting administrator rights;
- disabling 2FA or changing email immediately after logging in from a new device;
- mass data export;
- disabling antivirus or journaling;
- Unsuccessful night backup.
An alert should lead to action. How not to drown in noise — in the post about infrastructure monitoring.
Response plan#
An incident is a bad time to figure out what to do. Write down your playbook in advance:
- Detection and assessment. What happened, which systems and data are affected? Who is on duty?
- Deterrence. Disable compromised accounts, isolate infected machines from the network, change keys. Do not shut down machines unnecessarily — you will lose traces in memory.
- Saving traces. Copy logs and disk images before "cleaning."
- Elimination. Close the vulnerability, remove malware, recreate systems from clean images.
- Recovery. Restore services from verified backups, closely monitor.
- Communication. Management, clients, and if necessary — the regulator and law enforcement agencies. For personal data leaks, the operator has legal obligations — see the post "Personal Data in Kazakhstan."
Contacts in advance#
The playbook must include phone numbers: manager, person responsible for information security, administrator, hosting provider, bank (to block payments), lawyer. A printed copy — in case email and messengers are unavailable.
Analysis after the incident#
A few days after recovery — dismantling without identifying the culprits:
- chronology: what happened and when, when noticed;
- The root cause: why this became possible;
- what worked and what didn't work;
- specific actions with those responsible and deadlines to prevent recurrence.
The purpose of the review is to improve the system, not punish the person: otherwise, next time the incident will simply be kept silent.
This is the last part of the "Information Security" section. Next — anti-fraud: protection against product fraud.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.