Security Auditing flashcards
Plan, buy and act on authorised security audits so weak spots get fixed before attackers find them.
Beginner friendly, starts from zero
0
Security Auditing at a glance
A security audit is a planned check of a company's systems to find weak spots before criminals do.
Like hiring someone, with your written permission, to test every door, window and lock of your home and give you a list of what to fix.
Words you will meet
- Vulnerability
- A weakness an attacker could use, like an unlocked door
- Risk
- How likely a harm is and how bad it would be
- Scope
- The exact list of what may be tested
- Authorisation
- Written permission from the owner to run the test
- Penetration Testing
- A skilled person safely trying to break in to prove a weakness is real
- False positive
- A reported problem that turns out not to be real
- Staging
- A copy of the live system used for testing
The steps
- 1. Start from zero (12 cards): What an audit is, why companies need one, and the plain meaning of every word auditors use.
- 2. Core basics (16 cards): What an audit buys you, scope, permission and the three test styles.
- 3. Next steps (17 cards): Rules of engagement, test methods, CVSS 4.0 ratings, evidence, reports and fix tracking.
- 4. Go deeper (18 cards): Cloud reviews, standards, CERT-In auditors, risk decisions and running a testing programme.
All 12 cards in Start from zero
- What is a security audit, in one plain sentence?
- A planned, careful check of a company's computer systems to find weak spots before criminals do, ending in a written report of what to fix first.
- What problem does an audit solve? What happens without one?
- Without checks, a company often learns about a hole only after a break-in: stolen customer data, lost money, fines and angry customers. An audit finds the hole while it is still cheap to fix.
- Where do security checks already touch your daily life?
- Your banking app, a hospital's patient records and an online shop all get checked like this. It is the same idea as a fire safety inspection of a building you work in.
- What everyday thing is a security audit like?
- Like hiring someone to test your home's doors, windows and locks, with your written permission, and hand you a list: this window does not lock, this key is under the mat.
- What do system, app, server, API and source code mean?
- A system is any computer setup a company runs. An app is software people use; a server is a computer that runs it. An API is the door apps use to talk to servers. Source code is what programmers write.
- What are a vulnerability, an attacker and an exploit?
- A vulnerability is a weakness, like an unlocked door. An attacker is a person who tries to misuse it. An exploit is the trick or tool that actually uses the weakness to get in.
- What are a threat and a risk?
- A threat is who or what could cause harm, like a thief or a flood. Risk is how likely that harm is and how bad it would be. A weak lock on an empty shed is low risk.
- What do scope and authorisation mean in an audit?
- Scope is the exact list of what may be checked, like one website and one app. Authorisation is the signed, written permission from the owner that allows the check to happen.
- What is the difference between a scanner and a penetration test?
- A scanner is a tool that checks systems on its own and lists possible weak spots. In a penetration test, a skilled tester, often called an ethical hacker, safely tries to break in to prove which spots are real.
- What are production, staging, a finding and a false positive?
- Production is the live system real customers use; staging is a copy for testing. A finding is one problem in the report. A false positive is a reported problem that turns out not to be real.
- What do you need before you start?
- No coding is needed for this topic, just a basic idea of how websites and logins work. For hands-on practice later, use only systems you own or have written permission to test.
- What will you be able to do after this topic?
- Plan an audit, set its scope and permission, choose the right test style, read a report and rank findings by risk, and follow through until each problem is fixed and retested.
Security Auditing cheatsheet
Before testing starts
Authorisation letterSigned by asset owner: scope, dates, testers, IPsScope listDomains, IPs, apps, APIs, builds; out of scope namedRules of engagementWindows, banned tests, stop conditionsTest accountsOne per role, expiring after the testEmergency contactsBoth sides, reachable during test hoursThird party consentVendor or SaaS owner agrees in writingBackups and SOC noticeRestore point taken, monitoring team told
CVSS 4.0
0.1 to 3.9Low4.0 to 6.9Medium7.0 to 8.9High9.0 to 10.0CriticalCVSS-BBase metrics onlyCVSS-BTBase plus threat (exploit maturity)CVSS-BTEBase, threat and your environmentKEV / EPSSKnown exploited / chance of exploit in 30 days
Fix targets (example policy)
CriticalFix or block in 7 to 15 daysHigh30 daysMedium90 daysLow180 days or next releaseKnown exploited (KEV)Jump the queue whatever the scoreCannot fix in timeSigned risk acceptance with expiry
Frameworks and what they ask
ISO 27001:2022 8.8Manage technical vulnerabilitiesISO 27001:2022 8.29Security testing in developmentSOC 2 CC7.1Detect configuration and new vulnerabilitiesPCI DSS 4.0.1 11.3Quarterly internal and external scansPCI DSS 4.0.1 11.4Pentest yearly and after big changeCERT-In 2022 directionsReport incidents in 6 hours, keep logs 180 daysOWASP ASVS 5.0 / MASVSWeb and mobile test checklistsNIST SP 800-115How to plan and run security tests
Defensive tools
npm audit --audit-level=highKnown flaws in Node packagespip-audit -r requirements.txtKnown flaws in Python packagestrivy fs .Scan code folder for library flaws and secretstrivy config ./infraRisky settings in infrastructure codecheckov -d ./infraPolicy checks on Terraform and moreprowler awsCloud account settings reviewzap-baseline.py -t URLPassive web scan for CI
Report and closure
Executive summaryPlain words, top risks, overall postureScope and methodWhat was and was not tested, and howFindings tableSorted by severity with CVSS vectorEach findingImpact, evidence, steps, fixTrackerOwner, due date, status per findingClosure reportRe-test result: closed, open, accepted