Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

📚 GuideИнформационная безопасность и антифродИнформационная безопасность · часть 2 из 8
Guide contents
Редакция КоммитРедакция портала
commit 86e0cfd · 19 days ago

IS and Anti-Fraud, Part 2: Access Management — Accounts, MFA, and Minimum Rights

🌐 Machine-translated from Russian. Show original

In this part:

Why Access Matters#

Most incidents do not start with hacking by "hooded hackers," but with a stolen or weak password and unnecessary permissions. Access management is the cheapest and most effective protection measure.

Principles#

  • Personal accounts. No shared "office/123": otherwise, it's impossible to understand who did what, and you can't disconnect one person.
  • Minimal rights. Everyone gets access only to what they need to work, and only for the required period.
  • Separation of responsibilities. One person does not have to create the supplier alone, enter their details, and make the payment.
  • Separate admin accounts. The administrator works under a regular account, and admin only for admin tasks.

MFA: The Second Factor#

Two-factor authentication stops the vast majority of stolen password attacks. Include first:

  1. Mail (through which all other passwords are recovered).
  2. Client-bank and payment systems.
  3. Cloud, hosting, domain registrar, DNS.
  4. Code and CI repositories.
  5. VPN and remote access.

Reliability of declining factors: hardware keys and passkeys → an authenticator app → SMS. SMS is better than nothing but vulnerable to SIM card reissue.

Passwords#

  • Length is more important than complexity: a phrase of 4–5 words is more reliable than "P@ssw0rd!".
  • Password manager for all employees — then passwords are different for each service.
  • Don't make you change your password every 30 days for no reason: people start making "Password1, Password2." Change it if you suspect compromise.
  • Check passwords against leak databases during installation (many systems can do this).

Access lifecycle#

EventWhat do we do
Receptionaccess by role template, not 'like Ivan's'
Transferold rights are revoked, new ones are issued — otherwise, rights accumulate over years
Dismissalall access is disabled on the day of departure, according to the list of systems
Once a quarteraudit: who has access to what, remove excess

A list of all systems and those responsible for granting access is a mandatory document. Without it, something is always forgotten during dismissal.

Service accounts and keys#

  • Integrations, scripts, and CI operate under separate service accounts with minimal privileges.
  • API keys and tokens are stored in the secret store or CI variables, not in code or shared chats.
  • Keys have owners and expiration dates; the key of the dismissed developer is revoked along with their accounting.

Privileged access#

  • Access to servers is via SSH keys or via bastion; password access is disabled.
  • Administrative actions are logged.
  • For the most critical systems (client-bank, sales bases) — the rule of four eyes: change is confirmed by a second person.

Checklist#

  • Everyone has personal accounts, no shared accounts
  • MFA at mail, bank, cloud, repositories, and VPN
  • Password manager implemented
  • There is a list of systems and disconnection regulations upon dismissal
  • The rights audit was conducted this quarter
  • Secrets are not stored in the code

Next comes secure development: how to prevent an attacker from bypassing all these measures through a vulnerability in the application.

Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up

Comments · 0

No comments yet.Sign in to comment, rate and see all comments.