Most attacks use ordinary weaknesses: reused passwords, missing patches, rushed configuration and untrained people. This guide explains the concepts, the legal points to know in India, and gives you SOPs for access, vulnerabilities, incidents, backups, suppliers and secure development, plus MOPs for MFA rollout, account compromise, ransomware, phishing, leaked secrets, hardening and email authentication.
1. The concepts you need first
Cybersecurity is about protecting information and the systems that handle it from misuse, damage and loss. It is a risk-management discipline, not a product you buy once.
| Concept | What it means | Why it matters |
|---|---|---|
| CIA triad | Confidentiality (only the right people see data), Integrity (data is accurate and unaltered), Availability (systems work when needed). | Every control protects at least one of the three. Ransomware attacks availability; leaks attack confidentiality. |
| Threat, vulnerability, risk | A threat is something that can cause harm; a vulnerability is a weakness; risk is the likelihood and impact of a threat using a weakness. | You cannot fix everything. Rank by risk. |
| Attack surface | All the ways in: internet-facing systems, accounts, applications, people, suppliers. | Smaller surface, fewer problems. Know yours. |
| Defence in depth | Several layers of control, so one failure is not fatal. | Assume any single control can fail. |
| Least privilege | People and systems get only the access they need, for only as long as they need it. | Limits damage from mistakes and stolen accounts. |
| Zero trust | Never trust by network location; verify every user, device and request. | Fits cloud, remote work and partners. |
| Authentication vs authorisation | Authentication proves who you are; authorisation decides what you may do. | Many breaches come from one being weak. |
| MFA | Multi-factor authentication: something you know plus something you have or are. | Blocks most password-based attacks. Prefer authenticator apps or hardware keys over SMS. |
| Encryption and key management | Encrypting data in transit (TLS) and at rest; protecting and rotating the keys. | Encryption is only as good as key handling. |
| CVE and CVSS | CVE is the public id of a known vulnerability; CVSS is a 0โ10 severity score. | Use with exploitability and asset importance to prioritise. |
| Threat modelling (STRIDE) | Asking what can go wrong: Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege. | Finds design flaws before code exists. |
| SOC, SIEM, EDR | Security operations centre; a system that collects and correlates logs; software on endpoints that detects and responds to threats. | How you notice and react to attacks. |
| Frameworks | ISO/IEC 27001 (management system), NIST Cybersecurity Framework 2.0, CIS Critical Security Controls, OWASP Top 10 (web application risks). | Proven checklists so you do not start from nothing. |
2. Foundations: start with these
- Know what you have. Keep an inventory of devices, applications, data and suppliers, each with an owner. You cannot protect what you do not know about.
- Assess risk. List your most valuable data and systems, what could go wrong, and how bad it would be. Update yearly.
- Name an owner. A security lead (CISO or equivalent) with the authority to set policy and report to leadership.
- Write short policies people can follow: acceptable use, access control, incident response, backup, data classification, supplier security.
- Secure identities first. MFA everywhere, unique accounts, least privilege, no shared passwords.
- Keep systems updated and configured securely (secure baselines, such as CIS Benchmarks).
- Back up and test restores, with copies attackers cannot delete.
- Log and monitor key systems; someone must read the alerts.
- Train people. Staff are the target of most attacks; short, regular training works better than a yearly lecture.
3. Legal and regulatory points to know (India)
This is a summary for orientation, not legal advice. Check current texts and your sector's rules with a qualified adviser.
- CERT-In directions (28 April 2022): organisations must report specified cyber incidents to CERT-In within 6 hours of noticing them, keep system logs for 180 days (within Indian jurisdiction) and synchronise system clocks to designated time sources. Confirm the latest requirements at cert-in.org.in.
- Digital Personal Data Protection Act, 2023 and Rules, 2025: data fiduciaries must use reasonable security safeguards and, on a personal data breach, inform the Data Protection Board and each affected person as the Rules require. The obligations are being phased in.
- Information Technology Act, 2000 (including sections on unauthorised access, data theft and compensation for failure to protect sensitive data) and its Rules.
- Sector regulators such as RBI, SEBI and IRDAI publish cyber-security and outsourcing rules for the entities they regulate. Banks, insurers and listed companies need extra controls and reporting.
- Contracts and customers often require standards such as ISO/IEC 27001 or SOC 2 reports.
4. Standard Operating Procedures (SOPs)
Identity and access management
- Purpose
- Make sure only the right people and systems can reach the right resources.
- Owner
- Security lead with IT and team managers
- Trigger
- Joining, role change, leaving, or a request for access
- Every user has a unique account, protected by MFA and managed through central single sign-on.
- Grant access through roles and groups after the manager and data owner approve. Record each request.
- Administrator rights are separate accounts, time-limited, approved and logged. Emergency ("break-glass") accounts are sealed and alert on use.
- Leavers: disable accounts and revoke sessions, tokens and remote access on the last working day, and collect devices.
- Every quarter, owners review access lists; remove what is unused or unneeded.
- Monitor sign-in logs for impossible travel, repeated failures and new devices.
Evidence to keep: Access requests, quarterly review sign-offs and admin-use logs.
Vulnerability and patch management
- Purpose
- Find and fix weaknesses before attackers use them.
- Owner
- Security lead with system owners
- Trigger
- Continuous scanning; monthly patch cycle; urgent fixes for actively exploited flaws
- Maintain an asset inventory; scan servers, endpoints, containers, cloud settings and web applications at least monthly (internet-facing systems weekly).
- Prioritise using severity (CVSS), whether it is being exploited in the wild, how exposed the system is and how important it is.
- Set fix targets, for example: critical or actively exploited within 7 days (sooner if public exploits exist), high within 30 days, medium within 90 days.
- Test patches, then deploy in waves; use maintenance windows with a rollback plan.
- Rescan to confirm the fix. Track exceptions with an owner, a compensating control and an end date.
- Report open vulnerabilities by age and owner to leadership monthly.
Evidence to keep: Scan reports, ticket history and the exception register.
Security incident response
- Purpose
- Contain harm quickly, meet legal duties and learn.
- Owner
- Incident Commander (security lead), with IT, legal, communications and management
- Trigger
- Any suspected security incident: malware, account compromise, data exposure, ransomware, fraud
- Prepare: keep a current contact list, an incident plan, access to logs, and offline copies of key documents. Run a tabletop exercise twice a year.
- Detect and report: anyone can report. Log the report with time, reporter and what was seen.
- Triage: decide severity and scope; open a private incident channel; appoint an Incident Commander and a scribe.
- Contain: isolate affected systems (disconnect, disable accounts, block addresses) in a way that preserves evidence. Do not wipe machines yet.
- Investigate: find how they got in, what they touched, and whether data left. Preserve logs and images.
- Notify: within 6 hours of noticing a reportable incident, report to CERT-In. If personal data was breached, prepare notifications to the Data Protection Board and the people affected as the Rules require. Involve legal advice and, where applicable, your sector regulator, insurer and law enforcement.
- Eradicate and recover: remove the attacker's access, rebuild from known-good sources, reset credentials, restore data from clean backups and watch closely.
- Review: within two weeks, a blameless review with actions, owners and dates.
Evidence to keep: Incident timeline, evidence log, notifications and the review report.
Security awareness and phishing resilience
- Purpose
- Help people spot and report attacks.
- Owner
- Security lead with HR
- Trigger
- Onboarding, then every quarter
- Onboarding session covering passwords and MFA, phishing, safe use of devices and how to report.
- Short quarterly refreshers using real examples; simulated phishing with a supportive tone (no shaming).
- Give a one-click "report phishing" button and a single mailbox or channel.
- Thank people who report; track reports and fix repeating weaknesses.
Evidence to keep: Attendance, simulation results and report counts.
Backup and ransomware resilience
- Purpose
- Be able to recover even if attackers encrypt or delete data.
- Owner
- IT operations
- Trigger
- Daily backups; quarterly restore tests
- Follow the 3-2-1 idea: three copies, on two kinds of storage, one offline or immutable and in another location.
- Protect backup systems with separate credentials and MFA; attackers target them first.
- Test restores for critical systems each quarter and measure the time against your recovery target.
- Keep a printed or offline recovery runbook with contacts and the order of recovery.
Evidence to keep: Restore test reports.
Supplier and third-party risk
- Purpose
- Reduce risk from vendors who handle your data or systems.
- Owner
- Procurement with security
- Trigger
- Before contract, at renewal, and on significant change
- Classify the supplier by the data and access they have.
- For higher risk, ask for evidence (ISO/IEC 27001 certificate, SOC 2 report, penetration test summary) and a security questionnaire.
- Put security duties in the contract: breach notification time, data location, audit rights, sub-processors, deletion at exit.
- Give suppliers least privilege, separate accounts and MFA.
- Review annually and remove access when the contract ends.
Evidence to keep: Assessments, contract clauses and access review.
Secure software development
- Purpose
- Ship software without avoidable vulnerabilities.
- Owner
- Engineering lead
- Trigger
- Every change
- Follow secure coding guidance such as the OWASP Top 10; hold a short threat-modelling session for new features that handle sensitive data.
- Peer review every change; automate static analysis, dependency checks and secret detection in the pipeline.
- Keep secrets out of code; use a secrets manager.
- Test the application and its APIs before major releases (and use independent penetration testing for high-risk systems).
- Keep a list of components (software bill of materials) and update vulnerable ones.
Evidence to keep: Pipeline results, review records and test reports.
Logging and monitoring
- Purpose
- See attacks early and keep evidence.
- Owner
- Security operations
- Trigger
- Continuous
- Collect logs from identity, endpoints, servers, firewalls, cloud audit trails, email and key applications into one protected place.
- Synchronise clocks; retain logs for at least the period your law and policy require (CERT-In asks for 180 days).
- Create alerts for the most important events: repeated failed logins, new administrator accounts, disabled security tools, large data downloads, logins from unusual places.
- Assign who watches alerts and how fast they respond; review rules monthly.
Evidence to keep: Log source list, retention settings and alert review notes.
5. Methods of Procedure (MOPs)
Roll out multi-factor authentication (MFA)
- Use when
- Enforcing MFA across the organisation.
- Single sign-on or an identity provider, a user list and a support plan.
- Choose methods: authenticator app or hardware key first; SMS only as a fallback.
- Pilot with the IT team, then one department; collect problems.
- Enrol users with clear instructions and drop-in help; issue backup codes.
- Enforce MFA first for administrators, remote access, email and finance systems; then everyone.
- Block legacy sign-in methods that bypass MFA.
- Report enrolment coverage weekly until it reaches 100%.
- Test sign-in from a new device requires the second factor; coverage report shows 100%.
- Allow a short, logged exemption for stuck users; never switch MFA off globally.
Respond to a suspected compromised account
- Use when
- Unusual logins, a user reports strange activity, or credentials appear in a leak.
- Authority to disable accounts; access to sign-in and mailbox logs.
- Confirm the report and note the time. Do not alert the account holder over a channel the attacker may read.
- Contain: disable or lock the account; revoke all sessions and tokens; reset the password; keep the MFA devices under review.
- Check mailbox rules (hidden forwarding), new devices, new app consents and recent sign-ins.
- Search logs for what the account accessed and any data downloaded.
- Check whether the same password or device was used elsewhere; reset those too.
- If an administrator or sensitive data is involved, treat it as an incident (SOP-3) and notify as required.
- Re-enable with a new strong password, fresh MFA enrolment and monitoring for 30 days.
- No further suspicious sign-ins; hidden rules and rogue apps removed.
- If the wrong account was disabled, restore access after confirming the user and review why it was flagged.
Respond to a ransomware attack
- Use when
- Files are encrypted and a ransom note appears.
- An incident plan, contact list, clean backups and offline copies of key documents.
- Isolate: disconnect affected machines from the network (unplug or disable network access); do not power them off unless advised, to keep memory evidence. Disable shared drives and remote access paths.
- Start the incident process (SOP-3) and tell leadership, legal and your insurer.
- Identify the scope and the entry point: affected systems, first sign, malware type, and whether data was stolen (many attacks steal first).
- Report to CERT-In within 6 hours; assess data-breach notification duties.
- Do not rush to pay. Payment does not guarantee recovery, may be unlawful in some cases and encourages attacks. Take legal and law-enforcement advice.
- Rebuild affected systems from clean images; restore data from backups that predate the infection; scan restored data.
- Reset all credentials (especially administrators and service accounts) and fix the entry point (for example patch, remove exposed remote access, enforce MFA).
- Monitor closely for re-entry; hold a review.
- Systems run from clean builds; monitoring shows no attacker activity for an agreed period.
- If a restore point proves infected, go back to an earlier one.
Handle a reported phishing email
- Use when
- An employee reports a suspicious message.
- A reporting channel and email security tools that can search and remove messages.
- Thank the reporter and keep the original message as an attachment (with headers).
- Check the sender, links and attachments in a safe tool; do not open them on a normal device.
- Search the mail system for the same message and delete it from all inboxes.
- Block the sender, domain and links.
- If anyone clicked or entered credentials, run MOP-2 for them straight away.
- Share a short, anonymous warning with staff.
- No remaining copies in inboxes; no credential use from the campaign.
- Restore a deleted legitimate email from quarantine if it was misjudged.
Remediate a critical vulnerability
- Use when
- A critical or actively exploited vulnerability is announced.
- Asset inventory and a way to patch quickly.
- Identify affected systems from the inventory and scan results; confirm whether they are internet-facing.
- Apply the vendor fix. If none exists, use a mitigation (disable the feature, block the port, add a web application firewall rule).
- Test quickly in a non-production copy where possible; schedule an emergency change.
- Deploy to the most exposed systems first, then the rest.
- Rescan to confirm; review logs for signs that it was already exploited before patching.
- Record exceptions and close the ticket with evidence.
- Rescan shows the issue closed; no exploitation signs in logs.
- Roll back the patch or restore from backup, keep the mitigation in place, and retry after fixing the problem the patch caused.
Respond to a secret leaked in a code repository
- Use when
- An API key, password or token was committed.
- Access to the secrets manager and the repository settings.
- Treat the secret as compromised, even if the repository is private or the commit was removed quickly.
- Revoke or rotate it immediately at the provider and issue a new one (see the key rotation steps in our Cloud & DevOps guide).
- Review the provider's logs for use of the old secret.
- Remove it from the code and history (rewrite history with an appropriate tool), and from any copies or forks.
- Add secret scanning and a pre-commit check; store secrets in a manager.
- If misuse is found, run the incident process.
- Old secret no longer works; no misuse in logs; scanning passes.
- Keep the new secret; if consumers broke, update them from the secrets manager.
Harden a server or cloud account (baseline)
- Use when
- Setting up or reviewing a system.
- A baseline such as a CIS Benchmark for your platform.
- Remove unneeded software and accounts; change default credentials.
- Enable automatic security updates (or a patch process) and time synchronisation.
- Allow only needed network ports; restrict administration to a management network or a secure session tool; disable password login for remote shells in favour of keys or single sign-on with MFA.
- Enable audit logging and ship logs off the machine.
- Encrypt disks and data stores; manage keys centrally.
- In cloud accounts: switch on audit trails, block public storage by default, enforce MFA for the root and administrators, remove unused access keys, and turn on a cloud security-posture service.
- Run a vulnerability scan and a benchmark check; fix gaps; record the baseline.
- Benchmark score meets your target; scan shows no critical findings.
- Revert a hardening step that breaks a service and handle the risk with a different control.
Secure a web application
- Use when
- Before launch and at each major change.
- A staging environment that matches production.
- Serve everything over HTTPS (TLS 1.2 or higher), redirect HTTP, and enable HSTS.
- Validate and encode all input and output; use parameterised queries (prevents SQL injection) and output encoding (prevents cross-site scripting).
- Protect sessions: secure, HttpOnly and SameSite cookies; short timeouts; rotate session ids on login.
- Use proper authorisation checks on every request (not just hidden buttons); rate-limit login and sensitive endpoints.
- Add security headers (example below).
- Keep dependencies updated and scan them; hide error details from users.
- Test with an automated scanner and a manual review of login, payments and file upload; fix before release.
- Header and TLS checks pass; no high-severity findings open.
- Disable the affected feature or roll back the release while the fix is made.
Strict-Transport-Security: max-age=31536000; includeSubDomains
Content-Security-Policy: default-src 'self'; frame-ancestors 'none'
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
Set up email authentication (SPF, DKIM, DMARC)
- Use when
- Stopping others from sending email that pretends to be your domain.
- Access to your DNS and to every service that sends mail as your domain.
- List all senders (mail provider, newsletter tool, CRM, ticketing).
- Publish an SPF TXT record listing the allowed senders.
- Enable DKIM signing at each sender and publish the public keys they give you.
- Publish a DMARC record starting in monitoring mode (
p=none) with a reporting address; read the reports for 2 to 4 weeks and fix legitimate senders that fail. - Move to
p=quarantineand thenp=rejectonce reports show only legitimate mail passing.
- DMARC reports show alignment for all legitimate mail; spoofed mail is rejected.
- Go back one policy step (for example reject to quarantine) while you fix a sender.
example.com. TXT "v=spf1 include:_spf.mailprovider.com -all"
_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com; adkim=s; aspf=s"
6. Common attacks and how to reduce the risk
| Attack | What happens | Main defences |
|---|---|---|
| Phishing and business email compromise | Fake emails trick people into sharing passwords or paying a fraudster | MFA, email authentication (MOP-9), awareness (SOP-4), payment-change call-back rule |
| Credential stuffing and password spraying | Attackers try leaked passwords across many sites | MFA, unique passwords, rate limiting, breach-password checks |
| Ransomware | Data is encrypted or stolen for a ransom | Patching, MFA, least privilege, immutable backups (SOP-5), endpoint detection |
| SQL injection and cross-site scripting | Bad input changes how the application behaves | Parameterised queries, output encoding, testing (MOP-8) |
| Misconfigured cloud storage or databases | Data exposed to the internet by mistake | Block public access by default, posture scanning, reviews |
| Supply-chain attacks | A trusted supplier or software package is compromised | Supplier checks (SOP-6), dependency scanning, signed artifacts |
| Insider misuse | A staff member or contractor abuses access | Least privilege, logging, prompt offboarding |
| Denial of service | Systems are overwhelmed with traffic | Content delivery networks, rate limits, autoscaling, provider protection |
7. Common mistakes to avoid
- Buying tools before knowing assets, risks and owners.
- MFA only for some people, with older sign-in methods left open.
- Shared administrator accounts and passwords in spreadsheets.
- Patching "when we have time", especially for internet-facing systems.
- Backups on the same network with the same passwords, never tested.
- Logs collected but nobody reading alerts.
- No practised incident plan; finding out who to call during the incident.
- Treating compliance paperwork as security.
- Leaving former staff and suppliers with access.
- Ignoring small suppliers who hold your data.
8. Measure what matters
| Metric | What it shows | Good direction |
|---|---|---|
| MFA coverage | Identity protection | 100% of users, all admins |
| Critical vulnerabilities older than target | Patch discipline | Zero |
| Mean time to detect and to contain | Monitoring and response | Falling |
| Phishing report rate and click rate | Awareness | More reports, fewer clicks |
| Backup restore test success | Resilience | 100% within target time |
| Percentage of assets in inventory with owner | Visibility | Near 100% |
| Suppliers with completed security review | Third-party risk | High coverage of high-risk suppliers |
| Incidents and near misses reviewed | Learning | Every one reviewed |
9. A 30-60-90 day starting plan
- Days 1โ30: inventory devices, apps and data; enforce MFA for administrators, email and remote access; verify a backup restore; name your incident contacts and CERT-In reporting person; turn on audit logs.
- Days 31โ60: roll out MFA to everyone, start monthly vulnerability scans and patch targets, publish SPF/DKIM/DMARC in monitoring mode, run awareness training, and write the incident response plan (SOP-3).
- Days 61โ90: central logging and alerts, supplier review for your top vendors, a tabletop exercise, secure development checks in your pipelines, and a risk register with owners for the next quarter.
10. Quick checklists
Monthly
- Patch status and open critical vulnerabilities reviewed.
- New and departed staff access checked.
- Backup success reports read; one restore sampled each quarter.
- Alerts tuned; incident log reviewed.
When something looks wrong
- Stop and tell the security contact; do not delete anything.
- Isolate the affected account or machine.
- Write down times and what you saw.
- Follow SOP-3 and check CERT-In and data-breach reporting duties.
Need a hand? We help with security assessments, secure cloud design and incident readiness. See Cloud Architecture and IT Consulting, read our Cloud & DevOps guide, or get in touch.