Cybersecurity Analyst Skill
Purpose
Analyze events through the disciplinary lens of cybersecurity, applying rigorous security frameworks (CIA triad, defense-in-depth, zero-trust), threat modeling methodologies (STRIDE, PASTA, VAST), attack surface analysis, and industry standards (NIST, ISO 27001, MITRE ATT&CK) to understand security risks, identify vulnerabilities, assess threat actors and attack vectors, evaluate defensive controls, and recommend risk mitigation strategies.
When to Use This Skill
- Security Incident Analysis: Investigate breaches, data leaks, ransomware attacks, insider threats
- Vulnerability Assessment: Identify weaknesses in systems, applications, networks, processes
- Threat Modeling: Analyze potential attack vectors and threat actors for new systems or changes
- Security Architecture Review: Evaluate design decisions for security implications and gaps
- Risk Assessment: Quantify and prioritize security risks using frameworks like CVSS, FAIR
- Compliance Analysis: Assess adherence to security standards (SOC 2, PCI-DSS, HIPAA, GDPR)
- Incident Response Planning: Design detection, containment, eradication, and recovery strategies
- Security Posture Evaluation: Assess overall defensive capabilities and maturity
- Code Security Review: Identify security vulnerabilities in software implementations
Core Philosophy: Security Thinking
Cybersecurity analysis rests on fundamental principles:
Defense in Depth: No single security control is perfect. Layer multiple independent controls so compromise of one doesn't compromise the whole system.
Assume Breach: Modern security assumes attackers will penetrate perimeter defenses. Design systems to minimize damage and enable detection when (not if) breach occurs.
Least Privilege: Grant minimum access necessary for legitimate function. Every excess permission is an opportunity for exploitation.
Zero Trust: Never trust, always verify. Verify explicitly, use least privilege access, and assume breach regardless of network location.
Security by Design: Security cannot be bolted on afterward. It must be fundamental to architecture and implementation from the beginning.
CIA Triad: Security protects three properties—Confidentiality (only authorized access), Integrity (only authorized modification), Availability (accessible when needed).
Threat-Informed Defense: Base defensive priorities on understanding of actual threat actors, their capabilities, motivations, and tactics (threat intelligence).
Risk-Based Approach: Perfect security is impossible. Prioritize security investments based on risk (likelihood × impact) to maximize security per dollar spent.
Theoretical Foundations (Expandable)
Foundation 1: CIA Triad (Classic Security Model)
Components:
Confidentiality: Information accessible only to authorized entities
- Protection mechanisms: Encryption, access controls, authentication
- Threats: Eavesdropping, data theft, unauthorized disclosure
- Example violations: Data breach, password theft, insider leak
Integrity: Information modifiable only by authorized entities in authorized ways
- Protection mechanisms: Hashing, digital signatures, access controls, version control
- Threats: Tampering, unauthorized modification, malware
- Example violations: Database manipulation, man-in-the-middle attacks, ransomware encryption
Availability: Information and systems accessible when needed by authorized entities
- Protection mechanisms: Redundancy, backups, DDoS mitigation, incident response
- Threats: Denial of service, ransomware, system destruction
- Example violations: DDoS attacks, ransomware, infrastructure failures
Extensions:
- Authenticity: Verified identity of entities and origin of information
- Non-repudiation: Cannot deny taking action
- Accountability: Actions traceable to entities
Application: Every security analysis should identify which aspects of CIA triad are at risk and how controls protect each.
Sources:
Foundation 2: Defense in Depth (Layered Security)
Principle: Deploy multiple layers of security controls so compromise of one layer doesn't compromise entire system.
Historical Origin: Military defensive strategy—multiple concentric perimeter defenses
Security Layers:
- Physical: Facility access controls, locked server rooms
- Network: Firewalls, network segmentation, IDS/IPS
- Host: Endpoint protection, host firewalls, patch management
- Application: Input validation, secure coding, authentication
- Data: Encryption at rest and in transit, DLP, tokenization
- Human: Security awareness training, phishing simulation
Key Insight: Redundancy is not waste—it's resilience. Even if attacker bypasses firewall, they still face authentication, authorization, monitoring, encryption, and detection controls.
Application: Security architecture should have multiple independent defensive layers protecting critical assets.
Limitation: Can create complexity and false sense of security if layers are not maintained or are interdependent.
Sources:
Foundation 3: Zero Trust Architecture
Core Principle: "Never trust, always verify" regardless of network location
Contrast with Perimeter Model: Traditional security assumed internal network is trusted ("castle and moat"). Zero trust assumes no network location is trusted.
Key Tenets (NIST SP 800-207):
- Verify explicitly: Always authenticate and authorize based on all available data points
- Least privilege access: Limit user access with Just-In-Time and Just-Enough-Access
- Assume breach: Minimize blast radius and segment access; verify end-to-end encryption
Components:
- Identity-centric security: Identity becomes new perimeter
- Micro-segmentation: Network divided into small zones with separate controls
- Continuous verification: Authentication and authorization are continuous, not one-time
- Data-centric: Protect data itself, not just perimeter around it
Drivers:
- Cloud adoption (no clear perimeter)
- Remote work (users outside traditional perimeter)
- Sophisticated attacks (perimeter breaches common)
Application: Modern security architectures should be designed with zero trust principles, especially for cloud and hybrid environments.
Sources:
Foundation 4: Threat Modeling
Definition: Structured approach to identify and prioritize potential threats to a system
Purpose: Proactively identify security issues during design phase when fixes are cheapest
Benefits:
- Find vulnerabilities before implementation
- Prioritize security work
- Communicate risks to stakeholders
- Guide security testing
Common Methodologies:
STRIDE (Microsoft):
- Spoofing identity
- Tampering with data
- Repudiation
- Information disclosure
- Denial of service
- Elevation of privilege
PASTA (Process for Attack Simulation and Threat Analysis):
- Seven-stage risk-centric methodology
- Aligns business objectives with technical requirements
VAST (Visual, Agile, and Simple Threat modeling):
- Scalable for agile development
- Two types: application threat models and operational threat models
Application: Use threat modeling for new features, architecture changes, or security reviews.
Sources:
Foundation 5: MITRE ATT&CK Framework
Description: Knowledge base of adversary tactics and techniques based on real-world observations
Purpose: Understand how attackers operate to inform defense, detection, and threat hunting
Structure:
- Tactics: High-level goals (e.g., Initial Access, Execution, Persistence, Privilege Escalation)
- Techniques: Ways to achieve tactics (e.g., Phishing, Exploiting Public Applications)
- Sub-techniques: Specific implementations
- Procedures: Specific attacker behaviors
14 Tactics (Enterprise Matrix):
- Reconnaissance
- Resource Development
- Initial Access
- Execution
- Persistence
- Privilege Escalation
- Defense Evasion
- Credential Access
- Discovery
- Lateral Movement
- Collection
- Command and Control
- Exfiltration
- Impact
Application:
- Map defensive controls to ATT&CK techniques
- Identify detection gaps
- Threat intelligence sharing
- Red team/purple team exercises
Value: Common language for describing attacker behavior; basis for threat-informed defense
Sources:
Core Analytical Frameworks (Expandable)
Framework 1: Attack Surface Analysis
Definition: Identification and assessment of all points where unauthorized user could enter or extract data from system
Components:
Attack Surface Elements:
- Network attack surface: Exposed ports, services, protocols
- Software attack surface: Applications, APIs, web interfaces
- Human attack surface: Users, administrators, social engineering targets
- Physical attack surface: Facility access, hardware access
Attack Vectors: Methods attackers use to exploit attack surface
- Network-based: Port scanning, protocol exploits, man-in-the-middle
- Web-based: SQL injection, XSS, CSRF, authentication bypass
- Email-based: Phishing, malicious attachments, credential harvesting
- Physical: Theft, unauthorized access, evil maid attacks
- Social engineering: Pretexting, baiting, tailgating
Analysis Process:
- Enumerate: List all entry points and assets
- Classify: Categorize by type and criticality
- Assess: Evaluate exploitability and impact
- Prioritize: Rank by risk
- Reduce: Minimize unnecessary exposure
Metrics:
- Number of exposed services
- Number of internet-facing applications
- Number of privileged accounts
- Lines of code exposed to untrusted input
Application: Reducing attack surface is fundamental defensive strategy. Eliminate unnecessary exposure.
Sources:
Framework 2: Risk Assessment Frameworks
Purpose: Quantify and prioritize security risks to guide resource allocation
Common Frameworks:
CVSS (Common Vulnerability Scoring System):
- Standard for assessing vulnerability severity
- Score 0-10 based on exploitability, impact, scope
- Base score (intrinsic characteristics) + temporal + environmental scores
- Widely used but criticized for not capturing actual risk in specific contexts
FAIR (Factor Analysis of Information Risk):
- Quantitative risk framework
- Risk = Loss Event Frequency × Loss Magnitude
- Enables cost-benefit analysis of security investments
- More complex but provides dollar-denominated risk figures
NIST Risk Management Framework (RMF):
- Seven steps: Prepare, Categorize, Select, Implement, Assess, Authorize, Monitor
- Links security controls to risk management
- Used by U.S. federal agencies
Qualitative vs. Quantitative:
- Qualitative: High/Medium/Low risk ratings (simpler, faster, subjective)
- Quantitative: Numerical risk values (complex, objective, requires data)
Application: Risk assessment informs prioritization. Not all vulnerabilities are equally important—focus on highest risks.
Sources:
Framework 3: Security Control Frameworks
Purpose: Structured set of security controls to achieve security objectives
Major Frameworks:
NIST Cybersecurity Framework:
- Five core functions: Identify, Protect, Detect, Respond, Recover
- Not prescriptive—flexible for different organizations
- Widely adopted across industries and internationally
NIST SP 800-53 (Security and Privacy Controls):
- Comprehensive catalog of security controls for federal systems
- 20 control families (Access Control, Incident Response, etc.)
- Detailed implementation guidance
CIS Controls (Center for Internet Security):
- 18 prioritized security controls
- Implementation groups (IG1, IG2, IG3) based on organizational maturity
- Actionable and measurable
ISO/IEC 27001:
- International standard for information security management systems
- 14 control domains, 114 controls
- Certification available
Application: Use frameworks to:
- Ensure comprehensive coverage
- Benchmark security posture
- Communicate with stakeholders
- Meet compliance requirements
Sources:
Framework 4: Incident Response Lifecycle
Definition: Structured approach to handling security incidents
Standard Model (NIST SP 800-61):
Phase 1: Preparation
- Establish IR capability, tools, playbooks
- Training and exercises
- Communication plans
Phase 2: Detection and Analysis
- Monitoring and alerting
- Incident classification and prioritization
- Initial investigation
- Scope determination
Phase 3: Containment, Eradication, and Recovery
- Containment: Stop spread (short-term and long-term)
- Eradication: Remove threat from environment
- Recovery: Restore systems to normal operation
Phase 4: Post-Incident Activity
- Lessons learned
- Evidence preservation
- Incident report
- Process improvement
Key Concepts:
- Playbooks: Predefined procedures for common incident types
- Indicators of Compromise (IoCs): Artifacts indicating malicious activity
- Chain of custody: Evidence handling procedures
- Communication: Internal and external stakeholders, legal, PR
Metrics:
- Mean Time to Detect (MTTD)
- Mean Time to Respond (MTTR)
- Mean Time to Contain (MTTC)
Application: Effective incident response minimizes damage, reduces recovery time, and captures learning.
Sources:
Framework 5: Secure Development Lifecycle (SDL)
Purpose: Integrate security into software development process
Microsoft SDL Phases:
- Training: Security training for developers
- Requirements: Define security requirements and privacy requirements
- Design: Threat modeling, attack surface reduction, defense in depth
- Implementation: Secure coding standards, code analysis tools
- Verification: Security testing (SAST, DAST, penetration testing)
- Release: Final security review, incident response plan
- Response: Execute incident response plan if vulnerability discovered
Key Practices:
- Static Analysis (SAST): Analyze source code for vulnerabilities
- Dynamic Analysis (DAST): Test running application
- Dependency Scanning: Check third-party libraries for known vulnerabilities
- Penetration Testing: Simulate real attacks
- Security Champions: Embed security expertise in development teams
OWASP SAMM (Software Assurance Maturity Model):
- Maturity model for secure software development
- Five business functions: Governance, Design, Implementation, Verification, Operations
- Three maturity levels for each function
Application: Security must be integrated throughout development lifecycle, not just at the end.
Sources:
Methodological Approaches (Expandable)
Method 1: Threat Intelligence Analysis
Purpose: Understand adversaries, their capabilities, tactics, and targets to inform defense
Types of Threat Intelligence:
Strategic: High-level trends for executives
- APT group activity and motivations
- Geopolitical cyber threats
- Industry-specific threat landscape
Operational: Campaign-level information for security operations
- Current attack campaigns
- Threat actor TTPs
- Malware families
Tactical: Technical indicators for immediate defense
- IP addresses, domains, file hashes
- YARA rules, Snort signatures
- CVEs being exploited
Analytical Process:
- Collection: Gather data from internal sources, threat feeds, OSINT, dark web
- Processing: Normalize, correlate, deduplicate
- Analysis: Contextualize, attribute, assess intent and capability
- Dissemination: Share with relevant teams in actionable format
- Feedback: Assess effectiveness and refine
Frameworks:
- Diamond Model: Adversary, Capability, Infrastructure, Victim
- Kill Chain: Reconnaissance → Weaponization → Delivery → Exploitation → Installation → C2 → Actions on Objectives
- MITRE ATT&CK: Map observed techniques to ATT&CK matrix
Application: Threat intelligence enables proactive, threat-informed defense rather than generic security measures.
Sources:
Method 2: Penetration Testing
Definition: Authorized simulated attack to evaluate security of systems
Types:
Black Box: No prior knowledge (simulates external attacker)
Gray Box: Partial knowledge (simulates insider or compromised user)
White Box: Full knowledge (comprehensive security assessment)
Phases (Penetration Testing Execution Standard):
- Pre-engagement: Scope, rules of engagement, legal agreements
- Intelligence gathering: OSINT, network scanning, service enumeration
- Threat modeling: Identify potential attack vectors
- Vulnerability analysis: Identify exploitable weaknesses
- Exploitation: Attempt to exploit vulnerabilities
- Post-exploitation: Assess impact, lateral movement, privilege escalation
- Reporting: Document findings, demonstrate impact, provide remediation guidance
Specialized Types:
- Web application penetration testing: Focus on OWASP Top 10
- Network penetration testing: Internal and external network
- Social engineering: Phishing, vishing, physical intrusion
- Wireless penetration testing: WiFi security assessment
Red Team vs. Penetration Testing:
- Penetration testing: Find as many vulnerabilities as possible
- Red teaming: Goal-oriented (e.g., access specific data), simulates APT, tests detection and response
Application: Regular penetration testing validates effectiveness of controls and identifies gaps before attackers do.
Sources:
Method 3: Security Architecture Review
Purpose: Evaluate system design for security properties and identify architectural vulnerabilities
Review Dimensions:
Structural Analysis:
- Trust boundaries and data flows
- Authentication and authorization architecture
- Network segmentation and isolation
- Data classification and protection
Threat Modeling:
- Apply STRIDE or other methodology
- Identify attack trees
- Assess mitigations for identified threats
Control Assessment:
- Map controls to CIA triad
- Evaluate defense-in-depth layers
- Identify single points of failure
Compliance Review:
- Check against security frameworks (NIST, CIS, ISO)
- Regulatory requirements (PCI-DSS, HIPAA, SOC 2)
Technology Assessment:
- Cryptographic implementation
- Secure protocols
- Patch management approach
- Secret management
Analysis Questions:
- What are trust boundaries?
- Where does sensitive data flow?
- How is authentication/authorization enforced?
- What happens if component X is compromised?
- Are security assumptions documented and validated?
Outputs:
- Architecture diagrams with security annotations
- Threat model
- Risk assessment
- Remediation recommendations
Application: Architecture review during design phase prevents expensive security issues in production.
Method 4: Vulnerability Assessment and Management
Purpose: Systematically identify, classify, prioritize, and remediate security weaknesses
Process:
Phase 1: Discovery
- Asset inventory (what do we have?)
- Vulnerability scanning (automated tools)
- Manual security testing
- Code review (static analysis)
Phase 2: Assessment
- Classify vulnerabilities by type and severity
- Assess exploitability (is there exploit code? Is it being exploited?)
- Determine impact (what data/systems at risk?)
- Calculate risk score (CVSS, contextual factors)
Phase 3: Prioritization
- Rank by risk (likelihood × impact)
- Consider threat intelligence (is it being exploited in wild?)
- Business criticality of affected assets
- Remediation complexity
Phase 4: Remediation
- Patching (ideal)
- Configuration changes
- Compensating controls (if patching impossible)
- Accept risk (document and approve)
Phase 5: Verification
- Rescan to confirm remediation
- Update vulnerability database
- Track metrics (time to remediate, vulnerability density)
Challenges:
- Alert fatigue (too many findings)
- False positives
- Patching disruption
- Legacy systems
Best Practices:
- Risk-based prioritization (not just CVSS)
- SLA-based remediation (Critical: 7 days, High: 30 days, etc.)
- Automate where possible
- Track trends and metrics
Application: Continuous vulnerability management is essential hygiene. Can't fix what you don't know about.
Sources:
Method 5: Security Monitoring and Detection Engineering
Purpose: Design and operate capabilities to detect malicious activity
Components:
Data Sources:
- Network traffic (NetFlow, full packet capture)
- Endpoint logs (process creation, file access, registry changes)
- Authentication logs (logins, privilege escalation)
- Application logs (errors, transactions)
- Cloud APIs and audit logs
Detection Mechanisms:
Signature-based: Known malicious patterns (antivirus, IDS signatures)
- Pros: Low false positives, fast
- Cons: Only detects known threats
Anomaly-based: Deviations from baseline behavior
- Pros: Can detect novel attacks
- Cons: High false positives, requires tuning
Heuristic-based: Rules based on attacker behavior patterns
- Pros: Detects variations of known attacks
- Cons: Requires security expertise to create rules
Threat intelligence-based: Match against known IoCs
- Pros: Leverages collective knowledge
- Cons: Reactive (indicators discovered post-compromise)
Detection Development:
- Understand attacker technique (MITRE ATT&CK)
- Identify data sources that capture technique
- Develop detection logic
- Test against true positives and false positives
- Tune threshold and logic
- Document detection and response procedures
- Monitor effectiveness and iterate
SIEM and SOC:
- SIEM: Aggregate, correlate, and analyze security logs
- SOC: Security Operations Center—team that monitors alerts and responds to incidents
Metrics:
- Detection coverage (% of ATT&CK techniques covered)
- Alert volume and quality
- False positive rate
- Mean Time to Detect (MTTD)
Application: You can't respond to what you don't detect. Invest in detection capabilities aligned to threats you face.
Sources:
Analysis Rubric
What to Examine
Assets and Data:
- What sensitive data exists? (PII, credentials, trade secrets, financial data)
- Where is it stored, processed, transmitted?
- Who has access?
- What is business impact if compromised? (confidentiality, integrity, availability)
Attack Surface:
- What systems are exposed to internet?
- What are entry points for attackers?
- What authentication is required?
- What third-party dependencies exist?
Threat Actors:
- Who might target this? (Nation-states, cybercriminals, hacktivists, insiders)
- What are their capabilities and motivations?
- What TTPs do they typically use?
- What threat intelligence exists?
Vulnerabilities:
- Known software vulnerabilities (CVEs)?
- Configuration weaknesses?
- Architectural security flaws?
- Code-level vulnerabilities?
- Human vulnerabilities (phishing susceptibility)?
Existing Controls:
- What security controls are in place?
- Do they follow defense-in-depth principles?
- Are they properly configured and maintained?
- What detection and response capabilities exist?
Questions to Ask
Threat Questions:
- What could go wrong?
- What are most likely attack vectors?
- What threat actors might target this?
- What are their goals and capabilities?
- What historical incidents are relevant?
Vulnerability Questions:
- What weaknesses exist?
- How exploitable are they?
- What is impact if exploited?
- Are there known exploits or active exploitation?
- How quickly can vulnerabilities be remediated?
Control Questions:
- What protections are in place?
- How effective are they?
- What gaps exist in defensive coverage?
- Can controls be bypassed?
- How will malicious activity be detected?
Risk Questions:
- What is likelihood of compromise?
- What is potential impact?
- What is overall risk level?
- How does risk compare to organization's risk appetite?
- What risk treatment options exist? (mitigate, accept, transfer, avoid)
Compliance Questions:
- What regulations or standards apply?
- Are security requirements met?
- What evidence demonstrates compliance?
- What gaps exist?
Factors to Consider
Technical Factors:
- System architecture and design
- Technology stack and versions
- Configuration and hardening
- Cryptographic implementation
- Network topology and segmentation
Organizational Factors:
- Security maturity and culture
- Available resources and budget
- Risk tolerance
- Regulatory environment
- Business criticality
Threat Landscape:
- Current threat actor activity
- Emerging attack techniques
- Industry-specific threats
- Geopolitical factors
Operational Factors:
- Patch management processes
- Incident response capabilities
- Security monitoring and detection
- Security awareness and training
- Third-party risk management
Historical Parallels to Consider
- Similar security incidents
- Comparable vulnerability exploits
- Industry-specific attack patterns
- Lessons from major breaches
- Evolution of threat actor TTPs
Implications to Explore
Immediate Security Implications:
- Confidentiality: Data breach risk
- Integrity: Data tampering or corruption risk
- Availability: Service disruption risk
- Financial: Ransom, recovery costs, fines
Broader Implications:
- Reputation damage
- Legal and regulatory consequences
- Customer trust erosion
- Competitive disadvantage
- Systemic risk (if in critical infrastructure)
Strategic Implications:
- Security architecture changes needed
- Security program maturity gaps
- Resource allocation and prioritization
- Risk management approach
Step-by-Step Analysis Process
Step 1: Define Scope and Context
Actions:
- Clearly identify system, application, or event being analyzed
- Determine boundaries and interfaces
- Identify stakeholders and their security requirements
- Understand business context and criticality
- Gather relevant documentation (architecture diagrams, data flows, policies)
Outputs:
- Scope statement
- Asset inventory
- Stakeholder list
- Business context understanding
Step 2: Identify Assets and Data
Actions:
- List critical assets (systems, data, services)
- Classify data by sensitivity (public, internal, confidential, restricted)
- Map data flows (where data is created, stored, processed, transmitted, destroyed)
- Identify crown jewels (most valuable assets)
Outputs:
- Asset inventory with criticality ratings
- Data classification matrix
- Data flow diagrams
- Crown jewels list
Step 3: Analyze Attack Surface
Actions:
- Enumerate all entry points (APIs, web interfaces, network services, physical access)
- Identify trust boundaries (where untrusted input crosses into trusted zones)
- Map authentication and authorization points
- Identify dependencies (third-party services, libraries, suppliers)
Outputs:
- Attack surface map
- Trust boundary diagram
- Entry point inventory
- Dependency list
Step 4: Conduct Threat Modeling
Actions:
- Select threat modeling methodology (STRIDE, PASTA, etc.)
- Identify potential threat actors and their goals
- Enumerate potential attack vectors for each asset
- Create attack trees showing attack paths
- Map to MITRE ATT&CK techniques
Outputs:
- Threat model document
- Threat actor profiles
- Attack tree diagrams
- ATT&CK technique mapping
Step 5: Identify Vulnerabilities
Actions:
- Review known CVEs for technologies in use
- Analyze configuration against security benchmarks (CIS, STIGs)
- Review architecture for security design flaws
- Consider code-level vulnerabilities (if applicable)
- Assess human vulnerabilities (phishing susceptibility, privilege misuse)
Outputs:
- Vulnerability inventory
- CVSS scores or risk ratings
- Configuration gap analysis
- Architectural security issues
Step 6: Assess Existing Controls
Actions:
- Inventory security controls across all layers (network, host, application, data)
- Map controls to threats (which threats do controls mitigate?)
- Evaluate control effectiveness (properly configured? maintained? monitored?)
- Identify control gaps (threats without adequate mitigation)
- Assess detection and response capabilities
Outputs:
- Control inventory
- Threat-control mapping matrix
- Control effectiveness assessment
- Detection coverage gaps
Step 7: Analyze Risk
Actions:
- For each threat-vulnerability pair, estimate likelihood and impact
- Calculate risk scores (qualitative or quantitative)
- Prioritize risks
- Compare to organizational risk tolerance
- Consider risk interdependencies and cascading effects
Outputs:
- Risk register
- Risk heat map
- Prioritized risk list
- Risk acceptance recommendations
Step 8: Evaluate Detection and Response
Actions:
- Assess what malicious activities would be detected
- Evaluate MTTD (Mean Time to Detect) for various attack scenarios
- Review incident response plans and playbooks
- Assess incident response team capabilities
- Identify gaps in detection or response
Outputs:
- Detection coverage assessment
- MTTD estimates
- IR capability assessment
- Detection and response gaps
Step 9: Develop Remediation Recommendations
Actions:
- Propose mitigations for identified risks (preventive, detective, corrective)
- Prioritize by risk reduction and implementation effort
- Consider compensating controls where direct mitigation is impractical
- Estimate costs and implementation timelines
- Document risk acceptance for risks not mitigated
Outputs:
- Remediation roadmap
- Prioritized recommendation list
- Cost-benefit analysis
- Risk acceptance documentation
Step 10: Consider Compliance Requirements
Actions:
- Identify applicable regulations and standards
- Map controls to compliance requirements
- Document evidence of compliance
- Identify compliance gaps
- Recommend actions to achieve or maintain compliance
Outputs:
- Compliance matrix
- Gap analysis
- Evidence documentation
- Compliance remediation plan
Step 11: Synthesize and Report
Actions:
- Summarize key findings for different audiences (executives, technical teams, compliance)
- Provide clear risk assessment and recommendations
- Include metrics and KPIs
- Document assumptions and limitations
- Create action plan with owners and timelines
Outputs:
- Executive summary
- Technical findings report
- Remediation roadmap
- Compliance summary
Usage Examples
Example 1: Security Incident - Ransomware Attack
Event: Organization experiences ransomware attack; files encrypted, ransom note demands payment
Analysis:
Step 1 - Scope and Context:
- Affected systems: File servers, workstations, backups
- Business impact: Operations halted, data unavailable
- Critical: Understand ransomware variant, encryption scope, attacker access
Step 2 - Assets:
- Crown jewels: Customer database, financial records, intellectual property
- Status: Files encrypted, availability compromised
Step 3 - Attack Surface Analysis:
- Initial access vector: Likely phishing email or vulnerable RDP endpoint
- Lateral movement: SMB, credential theft
Step 4 - Threat Modeling (Post-Incident):
- Threat actor: Likely cybercriminal group (financial motivation)
- ATT&CK mapping:
- Initial Access: Phishing or Exploit Public-Facing Application
- Execution: User Execution or Exploitation for Client Execution
- Persistence: Registry Run Keys, Scheduled Tasks
- Privilege Escalation: Exploitation for Privilege Escalation
- Credential Access: Credential Dumping
- Lateral Movement: SMB/Windows Admin Shares
- Impact: Data Encrypted for Impact
Step 5 - Vulnerabilities:
- Phishing susceptibility (no email filtering, insufficient user training)
- Unpatched RDP vulnerabilities
- Weak passwords or credential reuse
- Inadequate network segmentation (ransomware spread easily)
- Backup vulnerabilities (backups also encrypted)
Step 6 - Control Assessment:
- Missing: Email security gateway, EDR, MFA
- Inadequate: Network segmentation, backup isolation, patch management
- Failed: Antivirus didn't detect ransomware
Step 7 - Risk Analysis:
- Impact: HIGH (business disruption, data loss, ransom demand, reputation damage)
- Likelihood: HIGH (demonstrated—incident occurred)
- Residual risk: CRITICAL (without improvements, repeat likely)
Step 8 - Detection and Response:
- Detection: Failed until encryption began (no EDR, limited logging)
- MTTD: Hours to days (too slow)
- Response: No playbook, uncoordinated response
- Gaps: No IR team, no communication plan, no legal/PR coordination
Step 9 - Recommendations (Prioritized):
Immediate (Hours to Days):
- Isolate affected systems (contain spread)
- Identify ransomware variant and check for decryption tools
- Engage incident response firm if no internal capability
- Do NOT pay ransom immediately (assess alternatives first)
- Notify legal, insurance, possibly law enforcement
Short-term (Days to Weeks):
- Restore from backups if available and uncompromised
- Deploy EDR on all endpoints
- Implement MFA for all remote access
- Conduct forensic investigation to determine root cause and scope
- Develop and test IR playbook
Medium-term (Weeks to Months):
- Network segmentation (prevent lateral movement)
- Email security gateway (block phishing)
- Privileged access management (limit credential theft)
- Security awareness training (reduce phishing success)
- Backup hardening (air-gapped or immutable backups)
Long-term (Months to Year):
- Security maturity assessment and roadmap
- 24/7 SOC or MDR service
- Penetration testing and red team exercises
- Comprehensive vulnerability management program
Step 10 - Compliance:
- Regulatory notification requirements (GDPR, state breach laws, etc.)
- Cyber insurance claim
- Document incident for auditors
Step 11 - Synthesis:
- Root cause: Combination of phishing/RDP exploit + inadequate detection + weak segmentation + backup vulnerabilities
- Key lesson: Defense-in-depth failures—multiple control failures allowed attack to succeed
- Priority: Immediate containment and recovery, then build detective and preventive controls
- Cost: Ransom demand + downtime + recovery + remediation + reputation damage (potentially millions)
Example 2: Vulnerability Assessment - New Web Application Launch
Event: Organization planning to launch customer-facing web application; pre-launch security review requested
Analysis:
Step 1 - Scope:
- Application: E-commerce web application
- Users: External customers
- Data: PII, payment information, order history
- Criticality: HIGH (revenue-generating, customer trust)
Step 2 - Assets:
- Customer PII and payment data (confidentiality, integrity critical)
- Inventory and pricing data (integrity, availability critical)
- Application availability (revenue impact)
Step 3 - Attack Surface:
- Web interface (public-facing)
- APIs (mobile app, third-party integrations)
- Admin portal (internal users)
- Payment processor integration
- Third-party libraries and dependencies
Step 4 - Threat Modeling (STRIDE):
Spoofing:
- Threat: Attacker impersonates user or admin
- Mitigations: Strong authentication, MFA, session management
Tampering:
- Threat: Attacker modifies prices, orders, or user data
- Mitigations: Input validation, authorization checks, integrity controls
Repudiation:
- Threat: User denies placing order
- Mitigations: Audit logging, transaction signing
Information Disclosure:
- Threat: Attacker accesses other users' PII or payment info
- Mitigations: Authorization checks, encryption, secure session management
Denial of Service:
- Threat: Attacker overwhelms application
- Mitigations: Rate limiting, DDoS protection, scalable infrastructure
Elevation of Privilege:
- Threat: User gains admin access
- Mitigations: Least privilege, secure authorization, privilege separation
Step 5 - Vulnerabilities (OWASP Top 10 Analysis):
- Broken Access Control: Check for IDOR vulnerabilities, horizontal/vertical privilege escalation
- Cryptographic Failures: Verify encryption at rest and in transit, key management
- Injection: Test for SQL injection, XSS, command injection
- Insecure Design: Review for security design flaws, threat model gaps
- Security Misconfiguration: Check for default credentials, unnecessary features, verbose errors
- Vulnerable Components: Scan dependencies for known CVEs
- Authentication Failures: Test password policy, session management, MFA
- Software/Data Integrity: Verify supply chain security, unsigned updates
- Logging Failures: Ensure security events logged, log tampering prevention
- SSRF: Test for server-side request forgery vulnerabilities
Step 6 - Control Assessment:
Positive Findings:
- TLS 1.3 for all connections
- Passwords hashed with bcrypt
- Input validation framework in use
- Dependency scanning
…(truncated)
1---
2name: cybersecurity-analyst
3version: 1.0.0
4description: |
5 Analyzes events through cybersecurity lens using threat modeling, attack surface analysis, defense-in-depth,
6 zero-trust architecture, and risk-based frameworks (CIA triad, STRIDE, MITRE ATT&CK).
7 Provides insights on vulnerabilities, attack vectors, defense strategies, incident response, and security posture.
8 Use when: Security incidents, vulnerability assessments, threat analysis, security architecture, compliance.
9 Evaluates: Confidentiality, integrity, availability, threat actors, attack patterns, controls, residual risk.
10metadata:
11 source: https://skillmd.com/skills/aibot88/cybersecurity-analyst
12---
13
14# Cybersecurity Analyst Skill
15
16## Purpose
17
18Analyze events through the disciplinary lens of cybersecurity, applying rigorous security frameworks (CIA triad, defense-in-depth, zero-trust), threat modeling methodologies (STRIDE, PASTA, VAST), attack surface analysis, and industry standards (NIST, ISO 27001, MITRE ATT&CK) to understand security risks, identify vulnerabilities, assess threat actors and attack vectors, evaluate defensive controls, and recommend risk mitigation strategies.
19
20## When to Use This Skill
21
22- **Security Incident Analysis**: Investigate breaches, data leaks, ransomware attacks, insider threats
23- **Vulnerability Assessment**: Identify weaknesses in systems, applications, networks, processes
24- **Threat Modeling**: Analyze potential attack vectors and threat actors for new systems or changes
25- **Security Architecture Review**: Evaluate design decisions for security implications and gaps
26- **Risk Assessment**: Quantify and prioritize security risks using frameworks like CVSS, FAIR
27- **Compliance Analysis**: Assess adherence to security standards (SOC 2, PCI-DSS, HIPAA, GDPR)
28- **Incident Response Planning**: Design detection, containment, eradication, and recovery strategies
29- **Security Posture Evaluation**: Assess overall defensive capabilities and maturity
30- **Code Security Review**: Identify security vulnerabilities in software implementations
31
32## Core Philosophy: Security Thinking
33
34Cybersecurity analysis rests on fundamental principles:
35
36**Defense in Depth**: No single security control is perfect. Layer multiple independent controls so compromise of one doesn't compromise the whole system.
37
38**Assume Breach**: Modern security assumes attackers will penetrate perimeter defenses. Design systems to minimize damage and enable detection when (not if) breach occurs.
39
40**Least Privilege**: Grant minimum access necessary for legitimate function. Every excess permission is an opportunity for exploitation.
41
42**Zero Trust**: Never trust, always verify. Verify explicitly, use least privilege access, and assume breach regardless of network location.
43
44**Security by Design**: Security cannot be bolted on afterward. It must be fundamental to architecture and implementation from the beginning.
45
46**CIA Triad**: Security protects three properties—Confidentiality (only authorized access), Integrity (only authorized modification), Availability (accessible when needed).
47
48**Threat-Informed Defense**: Base defensive priorities on understanding of actual threat actors, their capabilities, motivations, and tactics (threat intelligence).
49
50**Risk-Based Approach**: Perfect security is impossible. Prioritize security investments based on risk (likelihood × impact) to maximize security per dollar spent.
51
52---
53
54## Theoretical Foundations (Expandable)
55
56### Foundation 1: CIA Triad (Classic Security Model)
57
58**Components**:
59
60**Confidentiality**: Information accessible only to authorized entities
61
62- Protection mechanisms: Encryption, access controls, authentication
63- Threats: Eavesdropping, data theft, unauthorized disclosure
64- Example violations: Data breach, password theft, insider leak
65
66**Integrity**: Information modifiable only by authorized entities in authorized ways
67
68- Protection mechanisms: Hashing, digital signatures, access controls, version control
69- Threats: Tampering, unauthorized modification, malware
70- Example violations: Database manipulation, man-in-the-middle attacks, ransomware encryption
71
72**Availability**: Information and systems accessible when needed by authorized entities
73
74- Protection mechanisms: Redundancy, backups, DDoS mitigation, incident response
75- Threats: Denial of service, ransomware, system destruction
76- Example violations: DDoS attacks, ransomware, infrastructure failures
77
78**Extensions**:
79
80- **Authenticity**: Verified identity of entities and origin of information
81- **Non-repudiation**: Cannot deny taking action
82- **Accountability**: Actions traceable to entities
83
84**Application**: Every security analysis should identify which aspects of CIA triad are at risk and how controls protect each.
85
86**Sources**:
87
88- [CIA Triad - Wikipedia](https://en.wikipedia.org/wiki/Information_security#Key_concepts)
89- [NIST Cybersecurity Framework](https://www.nist.gov/cyberframework)
90
91### Foundation 2: Defense in Depth (Layered Security)
92
93**Principle**: Deploy multiple layers of security controls so compromise of one layer doesn't compromise entire system.
94
95**Historical Origin**: Military defensive strategy—multiple concentric perimeter defenses
96
97**Security Layers**:
98
991. **Physical**: Facility access controls, locked server rooms
1002. **Network**: Firewalls, network segmentation, IDS/IPS
1013. **Host**: Endpoint protection, host firewalls, patch management
1024. **Application**: Input validation, secure coding, authentication
1035. **Data**: Encryption at rest and in transit, DLP, tokenization
1046. **Human**: Security awareness training, phishing simulation
105
106**Key Insight**: Redundancy is not waste—it's resilience. Even if attacker bypasses firewall, they still face authentication, authorization, monitoring, encryption, and detection controls.
107
108**Application**: Security architecture should have multiple independent defensive layers protecting critical assets.
109
110**Limitation**: Can create complexity and false sense of security if layers are not maintained or are interdependent.
111
112**Sources**:
113
114- [Defense in Depth - NSA](https://www.nsa.gov/Press-Room/Cybersecurity-Advisories-Guidance/)
115- [Layered Security - CISA](https://www.cisa.gov/topics/cybersecurity-best-practices)
116
117### Foundation 3: Zero Trust Architecture
118
119**Core Principle**: "Never trust, always verify" regardless of network location
120
121**Contrast with Perimeter Model**: Traditional security assumed internal network is trusted ("castle and moat"). Zero trust assumes no network location is trusted.
122
123**Key Tenets** (NIST SP 800-207):
124
1251. **Verify explicitly**: Always authenticate and authorize based on all available data points
1262. **Least privilege access**: Limit user access with Just-In-Time and Just-Enough-Access
1273. **Assume breach**: Minimize blast radius and segment access; verify end-to-end encryption
128
129**Components**:
130
131- **Identity-centric security**: Identity becomes new perimeter
132- **Micro-segmentation**: Network divided into small zones with separate controls
133- **Continuous verification**: Authentication and authorization are continuous, not one-time
134- **Data-centric**: Protect data itself, not just perimeter around it
135
136**Drivers**:
137
138- Cloud adoption (no clear perimeter)
139- Remote work (users outside traditional perimeter)
140- Sophisticated attacks (perimeter breaches common)
141
142**Application**: Modern security architectures should be designed with zero trust principles, especially for cloud and hybrid environments.
143
144**Sources**:
145
146- [NIST SP 800-207: Zero Trust Architecture](https://csrc.nist.gov/publications/detail/sp/800-207/final)
147- [Zero Trust - Microsoft Security](https://www.microsoft.com/en-us/security/business/zero-trust)
148
149### Foundation 4: Threat Modeling
150
151**Definition**: Structured approach to identify and prioritize potential threats to a system
152
153**Purpose**: Proactively identify security issues during design phase when fixes are cheapest
154
155**Benefits**:
156
157- Find vulnerabilities before implementation
158- Prioritize security work
159- Communicate risks to stakeholders
160- Guide security testing
161
162**Common Methodologies**:
163
164**STRIDE** (Microsoft):
165
166- **S**poofing identity
167- **T**ampering with data
168- **R**epudiation
169- **I**nformation disclosure
170- **D**enial of service
171- **E**levation of privilege
172
173**PASTA** (Process for Attack Simulation and Threat Analysis):
174
175- Seven-stage risk-centric methodology
176- Aligns business objectives with technical requirements
177
178**VAST** (Visual, Agile, and Simple Threat modeling):
179
180- Scalable for agile development
181- Two types: application threat models and operational threat models
182
183**Application**: Use threat modeling for new features, architecture changes, or security reviews.
184
185**Sources**:
186
187- [Threat Modeling - OWASP](https://owasp.org/www-community/Threat_Modeling)
188- [STRIDE Threat Model - Microsoft](https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-threats)
189
190### Foundation 5: MITRE ATT&CK Framework
191
192**Description**: Knowledge base of adversary tactics and techniques based on real-world observations
193
194**Purpose**: Understand how attackers operate to inform defense, detection, and threat hunting
195
196**Structure**:
197
198- **Tactics**: High-level goals (e.g., Initial Access, Execution, Persistence, Privilege Escalation)
199- **Techniques**: Ways to achieve tactics (e.g., Phishing, Exploiting Public Applications)
200- **Sub-techniques**: Specific implementations
201- **Procedures**: Specific attacker behaviors
202
203**14 Tactics** (Enterprise Matrix):
204
2051. Reconnaissance
2062. Resource Development
2073. Initial Access
2084. Execution
2095. Persistence
2106. Privilege Escalation
2117. Defense Evasion
2128. Credential Access
2139. Discovery
21410. Lateral Movement
21511. Collection
21612. Command and Control
21713. Exfiltration
21814. Impact
219
220**Application**:
221
222- Map defensive controls to ATT&CK techniques
223- Identify detection gaps
224- Threat intelligence sharing
225- Red team/purple team exercises
226
227**Value**: Common language for describing attacker behavior; basis for threat-informed defense
228
229**Sources**:
230
231- [MITRE ATT&CK](https://attack.mitre.org/)
232- [ATT&CK Navigator](https://mitre-attack.github.io/attack-navigator/)
233
234---
235
236## Core Analytical Frameworks (Expandable)
237
238### Framework 1: Attack Surface Analysis
239
240**Definition**: Identification and assessment of all points where unauthorized user could enter or extract data from system
241
242**Components**:
243
244**Attack Surface Elements**:
245
246- **Network attack surface**: Exposed ports, services, protocols
247- **Software attack surface**: Applications, APIs, web interfaces
248- **Human attack surface**: Users, administrators, social engineering targets
249- **Physical attack surface**: Facility access, hardware access
250
251**Attack Vectors**: Methods attackers use to exploit attack surface
252
253- Network-based: Port scanning, protocol exploits, man-in-the-middle
254- Web-based: SQL injection, XSS, CSRF, authentication bypass
255- Email-based: Phishing, malicious attachments, credential harvesting
256- Physical: Theft, unauthorized access, evil maid attacks
257- Social engineering: Pretexting, baiting, tailgating
258
259**Analysis Process**:
260
2611. **Enumerate**: List all entry points and assets
2622. **Classify**: Categorize by type and criticality
2633. **Assess**: Evaluate exploitability and impact
2644. **Prioritize**: Rank by risk
2655. **Reduce**: Minimize unnecessary exposure
266
267**Metrics**:
268
269- Number of exposed services
270- Number of internet-facing applications
271- Number of privileged accounts
272- Lines of code exposed to untrusted input
273
274**Application**: Reducing attack surface is fundamental defensive strategy. Eliminate unnecessary exposure.
275
276**Sources**:
277
278- [Attack Surface Analysis - OWASP](https://owasp.org/www-community/Attack_Surface_Analysis_Cheat_Sheet)
279- [Reducing Attack Surface - Microsoft](https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-block-rules)
280
281### Framework 2: Risk Assessment Frameworks
282
283**Purpose**: Quantify and prioritize security risks to guide resource allocation
284
285**Common Frameworks**:
286
287**CVSS** (Common Vulnerability Scoring System):
288
289- Standard for assessing vulnerability severity
290- Score 0-10 based on exploitability, impact, scope
291- Base score (intrinsic characteristics) + temporal + environmental scores
292- Widely used but criticized for not capturing actual risk in specific contexts
293
294**FAIR** (Factor Analysis of Information Risk):
295
296- Quantitative risk framework
297- Risk = Loss Event Frequency × Loss Magnitude
298- Enables cost-benefit analysis of security investments
299- More complex but provides dollar-denominated risk figures
300
301**NIST Risk Management Framework** (RMF):
302
303- Seven steps: Prepare, Categorize, Select, Implement, Assess, Authorize, Monitor
304- Links security controls to risk management
305- Used by U.S. federal agencies
306
307**Qualitative vs. Quantitative**:
308
309- **Qualitative**: High/Medium/Low risk ratings (simpler, faster, subjective)
310- **Quantitative**: Numerical risk values (complex, objective, requires data)
311
312**Application**: Risk assessment informs prioritization. Not all vulnerabilities are equally important—focus on highest risks.
313
314**Sources**:
315
316- [CVSS](https://www.first.org/cvss/)
317- [FAIR Institute](https://www.fairinstitute.org/)
318- [NIST RMF](https://csrc.nist.gov/projects/risk-management)
319
320### Framework 3: Security Control Frameworks
321
322**Purpose**: Structured set of security controls to achieve security objectives
323
324**Major Frameworks**:
325
326**NIST Cybersecurity Framework**:
327
328- Five core functions: Identify, Protect, Detect, Respond, Recover
329- Not prescriptive—flexible for different organizations
330- Widely adopted across industries and internationally
331
332**NIST SP 800-53** (Security and Privacy Controls):
333
334- Comprehensive catalog of security controls for federal systems
335- 20 control families (Access Control, Incident Response, etc.)
336- Detailed implementation guidance
337
338**CIS Controls** (Center for Internet Security):
339
340- 18 prioritized security controls
341- Implementation groups (IG1, IG2, IG3) based on organizational maturity
342- Actionable and measurable
343
344**ISO/IEC 27001**:
345
346- International standard for information security management systems
347- 14 control domains, 114 controls
348- Certification available
349
350**Application**: Use frameworks to:
351
352- Ensure comprehensive coverage
353- Benchmark security posture
354- Communicate with stakeholders
355- Meet compliance requirements
356
357**Sources**:
358
359- [NIST Cybersecurity Framework](https://www.nist.gov/cyberframework)
360- [CIS Controls](https://www.cisecurity.org/controls)
361- [ISO 27001](https://www.iso.org/isoiec-27001-information-security.html)
362
363### Framework 4: Incident Response Lifecycle
364
365**Definition**: Structured approach to handling security incidents
366
367**Standard Model** (NIST SP 800-61):
368
369**Phase 1: Preparation**
370
371- Establish IR capability, tools, playbooks
372- Training and exercises
373- Communication plans
374
375**Phase 2: Detection and Analysis**
376
377- Monitoring and alerting
378- Incident classification and prioritization
379- Initial investigation
380- Scope determination
381
382**Phase 3: Containment, Eradication, and Recovery**
383
384- **Containment**: Stop spread (short-term and long-term)
385- **Eradication**: Remove threat from environment
386- **Recovery**: Restore systems to normal operation
387
388**Phase 4: Post-Incident Activity**
389
390- Lessons learned
391- Evidence preservation
392- Incident report
393- Process improvement
394
395**Key Concepts**:
396
397- **Playbooks**: Predefined procedures for common incident types
398- **Indicators of Compromise** (IoCs): Artifacts indicating malicious activity
399- **Chain of custody**: Evidence handling procedures
400- **Communication**: Internal and external stakeholders, legal, PR
401
402**Metrics**:
403
404- Mean Time to Detect (MTTD)
405- Mean Time to Respond (MTTR)
406- Mean Time to Contain (MTTC)
407
408**Application**: Effective incident response minimizes damage, reduces recovery time, and captures learning.
409
410**Sources**:
411
412- [NIST SP 800-61: Computer Security Incident Handling Guide](https://csrc.nist.gov/publications/detail/sp/800-61/rev-2/final)
413- [SANS Incident Response](https://www.sans.org/incident-response/)
414
415### Framework 5: Secure Development Lifecycle (SDL)
416
417**Purpose**: Integrate security into software development process
418
419**Microsoft SDL Phases**:
420
4211. **Training**: Security training for developers
4222. **Requirements**: Define security requirements and privacy requirements
4233. **Design**: Threat modeling, attack surface reduction, defense in depth
4244. **Implementation**: Secure coding standards, code analysis tools
4255. **Verification**: Security testing (SAST, DAST, penetration testing)
4266. **Release**: Final security review, incident response plan
4277. **Response**: Execute incident response plan if vulnerability discovered
428
429**Key Practices**:
430
431- **Static Analysis (SAST)**: Analyze source code for vulnerabilities
432- **Dynamic Analysis (DAST)**: Test running application
433- **Dependency Scanning**: Check third-party libraries for known vulnerabilities
434- **Penetration Testing**: Simulate real attacks
435- **Security Champions**: Embed security expertise in development teams
436
437**OWASP SAMM** (Software Assurance Maturity Model):
438
439- Maturity model for secure software development
440- Five business functions: Governance, Design, Implementation, Verification, Operations
441- Three maturity levels for each function
442
443**Application**: Security must be integrated throughout development lifecycle, not just at the end.
444
445**Sources**:
446
447- [Microsoft SDL](https://www.microsoft.com/en-us/securityengineering/sdl)
448- [OWASP SAMM](https://owaspsamm.org/)
449
450---
451
452## Methodological Approaches (Expandable)
453
454### Method 1: Threat Intelligence Analysis
455
456**Purpose**: Understand adversaries, their capabilities, tactics, and targets to inform defense
457
458**Types of Threat Intelligence**:
459
460**Strategic**: High-level trends for executives
461
462- APT group activity and motivations
463- Geopolitical cyber threats
464- Industry-specific threat landscape
465
466**Operational**: Campaign-level information for security operations
467
468- Current attack campaigns
469- Threat actor TTPs
470- Malware families
471
472**Tactical**: Technical indicators for immediate defense
473
474- IP addresses, domains, file hashes
475- YARA rules, Snort signatures
476- CVEs being exploited
477
478**Analytical Process**:
479
4801. **Collection**: Gather data from internal sources, threat feeds, OSINT, dark web
4812. **Processing**: Normalize, correlate, deduplicate
4823. **Analysis**: Contextualize, attribute, assess intent and capability
4834. **Dissemination**: Share with relevant teams in actionable format
4845. **Feedback**: Assess effectiveness and refine
485
486**Frameworks**:
487
488- **Diamond Model**: Adversary, Capability, Infrastructure, Victim
489- **Kill Chain**: Reconnaissance → Weaponization → Delivery → Exploitation → Installation → C2 → Actions on Objectives
490- **MITRE ATT&CK**: Map observed techniques to ATT&CK matrix
491
492**Application**: Threat intelligence enables proactive, threat-informed defense rather than generic security measures.
493
494**Sources**:
495
496- [CISA Threat Intelligence](https://www.cisa.gov/topics/cyber-threats-and-advisories)
497- [Threat Intelligence - SANS](https://www.sans.org/cyber-security-courses/cyber-threat-intelligence/)
498
499### Method 2: Penetration Testing
500
501**Definition**: Authorized simulated attack to evaluate security of systems
502
503**Types**:
504
505**Black Box**: No prior knowledge (simulates external attacker)
506
507**Gray Box**: Partial knowledge (simulates insider or compromised user)
508
509**White Box**: Full knowledge (comprehensive security assessment)
510
511**Phases** (Penetration Testing Execution Standard):
512
5131. **Pre-engagement**: Scope, rules of engagement, legal agreements
5142. **Intelligence gathering**: OSINT, network scanning, service enumeration
5153. **Threat modeling**: Identify potential attack vectors
5164. **Vulnerability analysis**: Identify exploitable weaknesses
5175. **Exploitation**: Attempt to exploit vulnerabilities
5186. **Post-exploitation**: Assess impact, lateral movement, privilege escalation
5197. **Reporting**: Document findings, demonstrate impact, provide remediation guidance
520
521**Specialized Types**:
522
523- **Web application penetration testing**: Focus on OWASP Top 10
524- **Network penetration testing**: Internal and external network
525- **Social engineering**: Phishing, vishing, physical intrusion
526- **Wireless penetration testing**: WiFi security assessment
527
528**Red Team vs. Penetration Testing**:
529
530- **Penetration testing**: Find as many vulnerabilities as possible
531- **Red teaming**: Goal-oriented (e.g., access specific data), simulates APT, tests detection and response
532
533**Application**: Regular penetration testing validates effectiveness of controls and identifies gaps before attackers do.
534
535**Sources**:
536
537- [Penetration Testing Execution Standard](http://www.pentest-standard.org/)
538- [OWASP Testing Guide](https://owasp.org/www-project-web-security-testing-guide/)
539
540### Method 3: Security Architecture Review
541
542**Purpose**: Evaluate system design for security properties and identify architectural vulnerabilities
543
544**Review Dimensions**:
545
546**Structural Analysis**:
547
548- Trust boundaries and data flows
549- Authentication and authorization architecture
550- Network segmentation and isolation
551- Data classification and protection
552
553**Threat Modeling**:
554
555- Apply STRIDE or other methodology
556- Identify attack trees
557- Assess mitigations for identified threats
558
559**Control Assessment**:
560
561- Map controls to CIA triad
562- Evaluate defense-in-depth layers
563- Identify single points of failure
564
565**Compliance Review**:
566
567- Check against security frameworks (NIST, CIS, ISO)
568- Regulatory requirements (PCI-DSS, HIPAA, SOC 2)
569
570**Technology Assessment**:
571
572- Cryptographic implementation
573- Secure protocols
574- Patch management approach
575- Secret management
576
577**Analysis Questions**:
578
579- What are trust boundaries?
580- Where does sensitive data flow?
581- How is authentication/authorization enforced?
582- What happens if component X is compromised?
583- Are security assumptions documented and validated?
584
585**Outputs**:
586
587- Architecture diagrams with security annotations
588- Threat model
589- Risk assessment
590- Remediation recommendations
591
592**Application**: Architecture review during design phase prevents expensive security issues in production.
593
594### Method 4: Vulnerability Assessment and Management
595
596**Purpose**: Systematically identify, classify, prioritize, and remediate security weaknesses
597
598**Process**:
599
600**Phase 1: Discovery**
601
602- Asset inventory (what do we have?)
603- Vulnerability scanning (automated tools)
604- Manual security testing
605- Code review (static analysis)
606
607**Phase 2: Assessment**
608
609- Classify vulnerabilities by type and severity
610- Assess exploitability (is there exploit code? Is it being exploited?)
611- Determine impact (what data/systems at risk?)
612- Calculate risk score (CVSS, contextual factors)
613
614**Phase 3: Prioritization**
615
616- Rank by risk (likelihood × impact)
617- Consider threat intelligence (is it being exploited in wild?)
618- Business criticality of affected assets
619- Remediation complexity
620
621**Phase 4: Remediation**
622
623- Patching (ideal)
624- Configuration changes
625- Compensating controls (if patching impossible)
626- Accept risk (document and approve)
627
628**Phase 5: Verification**
629
630- Rescan to confirm remediation
631- Update vulnerability database
632- Track metrics (time to remediate, vulnerability density)
633
634**Challenges**:
635
636- Alert fatigue (too many findings)
637- False positives
638- Patching disruption
639- Legacy systems
640
641**Best Practices**:
642
643- Risk-based prioritization (not just CVSS)
644- SLA-based remediation (Critical: 7 days, High: 30 days, etc.)
645- Automate where possible
646- Track trends and metrics
647
648**Application**: Continuous vulnerability management is essential hygiene. Can't fix what you don't know about.
649
650**Sources**:
651
652- [NIST SP 800-40: Patch and Vulnerability Management](https://csrc.nist.gov/publications/detail/sp/800-40/rev-4/final)
653
654### Method 5: Security Monitoring and Detection Engineering
655
656**Purpose**: Design and operate capabilities to detect malicious activity
657
658**Components**:
659
660**Data Sources**:
661
662- Network traffic (NetFlow, full packet capture)
663- Endpoint logs (process creation, file access, registry changes)
664- Authentication logs (logins, privilege escalation)
665- Application logs (errors, transactions)
666- Cloud APIs and audit logs
667
668**Detection Mechanisms**:
669
670**Signature-based**: Known malicious patterns (antivirus, IDS signatures)
671
672- Pros: Low false positives, fast
673- Cons: Only detects known threats
674
675**Anomaly-based**: Deviations from baseline behavior
676
677- Pros: Can detect novel attacks
678- Cons: High false positives, requires tuning
679
680**Heuristic-based**: Rules based on attacker behavior patterns
681
682- Pros: Detects variations of known attacks
683- Cons: Requires security expertise to create rules
684
685**Threat intelligence-based**: Match against known IoCs
686
687- Pros: Leverages collective knowledge
688- Cons: Reactive (indicators discovered post-compromise)
689
690**Detection Development**:
691
6921. Understand attacker technique (MITRE ATT&CK)
6932. Identify data sources that capture technique
6943. Develop detection logic
6954. Test against true positives and false positives
6965. Tune threshold and logic
6976. Document detection and response procedures
6987. Monitor effectiveness and iterate
699
700**SIEM and SOC**:
701
702- **SIEM**: Aggregate, correlate, and analyze security logs
703- **SOC**: Security Operations Center—team that monitors alerts and responds to incidents
704
705**Metrics**:
706
707- Detection coverage (% of ATT&CK techniques covered)
708- Alert volume and quality
709- False positive rate
710- Mean Time to Detect (MTTD)
711
712**Application**: You can't respond to what you don't detect. Invest in detection capabilities aligned to threats you face.
713
714**Sources**:
715
716- [Detection Engineering - Splunk](https://www.splunk.com/en_us/blog/learn/detection-engineering.html)
717- [Sigma Rules](https://github.com/SigmaHQ/sigma)
718
719---
720
721## Analysis Rubric
722
723### What to Examine
724
725**Assets and Data**:
726
727- What sensitive data exists? (PII, credentials, trade secrets, financial data)
728- Where is it stored, processed, transmitted?
729- Who has access?
730- What is business impact if compromised? (confidentiality, integrity, availability)
731
732**Attack Surface**:
733
734- What systems are exposed to internet?
735- What are entry points for attackers?
736- What authentication is required?
737- What third-party dependencies exist?
738
739**Threat Actors**:
740
741- Who might target this? (Nation-states, cybercriminals, hacktivists, insiders)
742- What are their capabilities and motivations?
743- What TTPs do they typically use?
744- What threat intelligence exists?
745
746**Vulnerabilities**:
747
748- Known software vulnerabilities (CVEs)?
749- Configuration weaknesses?
750- Architectural security flaws?
751- Code-level vulnerabilities?
752- Human vulnerabilities (phishing susceptibility)?
753
754**Existing Controls**:
755
756- What security controls are in place?
757- Do they follow defense-in-depth principles?
758- Are they properly configured and maintained?
759- What detection and response capabilities exist?
760
761### Questions to Ask
762
763**Threat Questions**:
764
765- What could go wrong?
766- What are most likely attack vectors?
767- What threat actors might target this?
768- What are their goals and capabilities?
769- What historical incidents are relevant?
770
771**Vulnerability Questions**:
772
773- What weaknesses exist?
774- How exploitable are they?
775- What is impact if exploited?
776- Are there known exploits or active exploitation?
777- How quickly can vulnerabilities be remediated?
778
779**Control Questions**:
780
781- What protections are in place?
782- How effective are they?
783- What gaps exist in defensive coverage?
784- Can controls be bypassed?
785- How will malicious activity be detected?
786
787**Risk Questions**:
788
789- What is likelihood of compromise?
790- What is potential impact?
791- What is overall risk level?
792- How does risk compare to organization's risk appetite?
793- What risk treatment options exist? (mitigate, accept, transfer, avoid)
794
795**Compliance Questions**:
796
797- What regulations or standards apply?
798- Are security requirements met?
799- What evidence demonstrates compliance?
800- What gaps exist?
801
802### Factors to Consider
803
804**Technical Factors**:
805
806- System architecture and design
807- Technology stack and versions
808- Configuration and hardening
809- Cryptographic implementation
810- Network topology and segmentation
811
812**Organizational Factors**:
813
814- Security maturity and culture
815- Available resources and budget
816- Risk tolerance
817- Regulatory environment
818- Business criticality
819
820**Threat Landscape**:
821
822- Current threat actor activity
823- Emerging attack techniques
824- Industry-specific threats
825- Geopolitical factors
826
827**Operational Factors**:
828
829- Patch management processes
830- Incident response capabilities
831- Security monitoring and detection
832- Security awareness and training
833- Third-party risk management
834
835### Historical Parallels to Consider
836
837- Similar security incidents
838- Comparable vulnerability exploits
839- Industry-specific attack patterns
840- Lessons from major breaches
841- Evolution of threat actor TTPs
842
843### Implications to Explore
844
845**Immediate Security Implications**:
846
847- Confidentiality: Data breach risk
848- Integrity: Data tampering or corruption risk
849- Availability: Service disruption risk
850- Financial: Ransom, recovery costs, fines
851
852**Broader Implications**:
853
854- Reputation damage
855- Legal and regulatory consequences
856- Customer trust erosion
857- Competitive disadvantage
858- Systemic risk (if in critical infrastructure)
859
860**Strategic Implications**:
861
862- Security architecture changes needed
863- Security program maturity gaps
864- Resource allocation and prioritization
865- Risk management approach
866
867---
868
869## Step-by-Step Analysis Process
870
871### Step 1: Define Scope and Context
872
873**Actions**:
874
875- Clearly identify system, application, or event being analyzed
876- Determine boundaries and interfaces
877- Identify stakeholders and their security requirements
878- Understand business context and criticality
879- Gather relevant documentation (architecture diagrams, data flows, policies)
880
881**Outputs**:
882
883- Scope statement
884- Asset inventory
885- Stakeholder list
886- Business context understanding
887
888### Step 2: Identify Assets and Data
889
890**Actions**:
891
892- List critical assets (systems, data, services)
893- Classify data by sensitivity (public, internal, confidential, restricted)
894- Map data flows (where data is created, stored, processed, transmitted, destroyed)
895- Identify crown jewels (most valuable assets)
896
897**Outputs**:
898
899- Asset inventory with criticality ratings
900- Data classification matrix
901- Data flow diagrams
902- Crown jewels list
903
904### Step 3: Analyze Attack Surface
905
906**Actions**:
907
908- Enumerate all entry points (APIs, web interfaces, network services, physical access)
909- Identify trust boundaries (where untrusted input crosses into trusted zones)
910- Map authentication and authorization points
911- Identify dependencies (third-party services, libraries, suppliers)
912
913**Outputs**:
914
915- Attack surface map
916- Trust boundary diagram
917- Entry point inventory
918- Dependency list
919
920### Step 4: Conduct Threat Modeling
921
922**Actions**:
923
924- Select threat modeling methodology (STRIDE, PASTA, etc.)
925- Identify potential threat actors and their goals
926- Enumerate potential attack vectors for each asset
927- Create attack trees showing attack paths
928- Map to MITRE ATT&CK techniques
929
930**Outputs**:
931
932- Threat model document
933- Threat actor profiles
934- Attack tree diagrams
935- ATT&CK technique mapping
936
937### Step 5: Identify Vulnerabilities
938
939**Actions**:
940
941- Review known CVEs for technologies in use
942- Analyze configuration against security benchmarks (CIS, STIGs)
943- Review architecture for security design flaws
944- Consider code-level vulnerabilities (if applicable)
945- Assess human vulnerabilities (phishing susceptibility, privilege misuse)
946
947**Outputs**:
948
949- Vulnerability inventory
950- CVSS scores or risk ratings
951- Configuration gap analysis
952- Architectural security issues
953
954### Step 6: Assess Existing Controls
955
956**Actions**:
957
958- Inventory security controls across all layers (network, host, application, data)
959- Map controls to threats (which threats do controls mitigate?)
960- Evaluate control effectiveness (properly configured? maintained? monitored?)
961- Identify control gaps (threats without adequate mitigation)
962- Assess detection and response capabilities
963
964**Outputs**:
965
966- Control inventory
967- Threat-control mapping matrix
968- Control effectiveness assessment
969- Detection coverage gaps
970
971### Step 7: Analyze Risk
972
973**Actions**:
974
975- For each threat-vulnerability pair, estimate likelihood and impact
976- Calculate risk scores (qualitative or quantitative)
977- Prioritize risks
978- Compare to organizational risk tolerance
979- Consider risk interdependencies and cascading effects
980
981**Outputs**:
982
983- Risk register
984- Risk heat map
985- Prioritized risk list
986- Risk acceptance recommendations
987
988### Step 8: Evaluate Detection and Response
989
990**Actions**:
991
992- Assess what malicious activities would be detected
993- Evaluate MTTD (Mean Time to Detect) for various attack scenarios
994- Review incident response plans and playbooks
995- Assess incident response team capabilities
996- Identify gaps in detection or response
997
998**Outputs**:
999
1000- Detection coverage assessment
1001- MTTD estimates
1002- IR capability assessment
1003- Detection and response gaps
1004
1005### Step 9: Develop Remediation Recommendations
1006
1007**Actions**:
1008
1009- Propose mitigations for identified risks (preventive, detective, corrective)
1010- Prioritize by risk reduction and implementation effort
1011- Consider compensating controls where direct mitigation is impractical
1012- Estimate costs and implementation timelines
1013- Document risk acceptance for risks not mitigated
1014
1015**Outputs**:
1016
1017- Remediation roadmap
1018- Prioritized recommendation list
1019- Cost-benefit analysis
1020- Risk acceptance documentation
1021
1022### Step 10: Consider Compliance Requirements
1023
1024**Actions**:
1025
1026- Identify applicable regulations and standards
1027- Map controls to compliance requirements
1028- Document evidence of compliance
1029- Identify compliance gaps
1030- Recommend actions to achieve or maintain compliance
1031
1032**Outputs**:
1033
1034- Compliance matrix
1035- Gap analysis
1036- Evidence documentation
1037- Compliance remediation plan
1038
1039### Step 11: Synthesize and Report
1040
1041**Actions**:
1042
1043- Summarize key findings for different audiences (executives, technical teams, compliance)
1044- Provide clear risk assessment and recommendations
1045- Include metrics and KPIs
1046- Document assumptions and limitations
1047- Create action plan with owners and timelines
1048
1049**Outputs**:
1050
1051- Executive summary
1052- Technical findings report
1053- Remediation roadmap
1054- Compliance summary
1055
1056---
1057
1058## Usage Examples
1059
1060### Example 1: Security Incident - Ransomware Attack
1061
1062**Event**: Organization experiences ransomware attack; files encrypted, ransom note demands payment
1063
1064**Analysis**:
1065
1066**Step 1 - Scope and Context**:
1067
1068- Affected systems: File servers, workstations, backups
1069- Business impact: Operations halted, data unavailable
1070- Critical: Understand ransomware variant, encryption scope, attacker access
1071
1072**Step 2 - Assets**:
1073
1074- Crown jewels: Customer database, financial records, intellectual property
1075- Status: Files encrypted, availability compromised
1076
1077**Step 3 - Attack Surface Analysis**:
1078
1079- Initial access vector: Likely phishing email or vulnerable RDP endpoint
1080- Lateral movement: SMB, credential theft
1081
1082**Step 4 - Threat Modeling (Post-Incident)**:
1083
1084- Threat actor: Likely cybercriminal group (financial motivation)
1085- ATT&CK mapping:
1086 - Initial Access: Phishing or Exploit Public-Facing Application
1087 - Execution: User Execution or Exploitation for Client Execution
1088 - Persistence: Registry Run Keys, Scheduled Tasks
1089 - Privilege Escalation: Exploitation for Privilege Escalation
1090 - Credential Access: Credential Dumping
1091 - Lateral Movement: SMB/Windows Admin Shares
1092 - Impact: Data Encrypted for Impact
1093
1094**Step 5 - Vulnerabilities**:
1095
1096- Phishing susceptibility (no email filtering, insufficient user training)
1097- Unpatched RDP vulnerabilities
1098- Weak passwords or credential reuse
1099- Inadequate network segmentation (ransomware spread easily)
1100- Backup vulnerabilities (backups also encrypted)
1101
1102**Step 6 - Control Assessment**:
1103
1104- Missing: Email security gateway, EDR, MFA
1105- Inadequate: Network segmentation, backup isolation, patch management
1106- Failed: Antivirus didn't detect ransomware
1107
1108**Step 7 - Risk Analysis**:
1109
1110- Impact: HIGH (business disruption, data loss, ransom demand, reputation damage)
1111- Likelihood: HIGH (demonstrated—incident occurred)
1112- Residual risk: CRITICAL (without improvements, repeat likely)
1113
1114**Step 8 - Detection and Response**:
1115
1116- Detection: Failed until encryption began (no EDR, limited logging)
1117- MTTD: Hours to days (too slow)
1118- Response: No playbook, uncoordinated response
1119- Gaps: No IR team, no communication plan, no legal/PR coordination
1120
1121**Step 9 - Recommendations (Prioritized)**:
1122
1123_Immediate (Hours to Days)_:
1124
11251. Isolate affected systems (contain spread)
11262. Identify ransomware variant and check for decryption tools
11273. Engage incident response firm if no internal capability
11284. Do NOT pay ransom immediately (assess alternatives first)
11295. Notify legal, insurance, possibly law enforcement
1130
1131_Short-term (Days to Weeks)_:
1132
11331. Restore from backups if available and uncompromised
11342. Deploy EDR on all endpoints
11353. Implement MFA for all remote access
11364. Conduct forensic investigation to determine root cause and scope
11375. Develop and test IR playbook
1138
1139_Medium-term (Weeks to Months)_:
1140
11411. Network segmentation (prevent lateral movement)
11422. Email security gateway (block phishing)
11433. Privileged access management (limit credential theft)
11444. Security awareness training (reduce phishing success)
11455. Backup hardening (air-gapped or immutable backups)
1146
1147_Long-term (Months to Year)_:
1148
11491. Security maturity assessment and roadmap
11502. 24/7 SOC or MDR service
11513. Penetration testing and red team exercises
11524. Comprehensive vulnerability management program
1153
1154**Step 10 - Compliance**:
1155
1156- Regulatory notification requirements (GDPR, state breach laws, etc.)
1157- Cyber insurance claim
1158- Document incident for auditors
1159
1160**Step 11 - Synthesis**:
1161
1162- Root cause: Combination of phishing/RDP exploit + inadequate detection + weak segmentation + backup vulnerabilities
1163- Key lesson: Defense-in-depth failures—multiple control failures allowed attack to succeed
1164- Priority: Immediate containment and recovery, then build detective and preventive controls
1165- Cost: Ransom demand + downtime + recovery + remediation + reputation damage (potentially millions)
1166
1167### Example 2: Vulnerability Assessment - New Web Application Launch
1168
1169**Event**: Organization planning to launch customer-facing web application; pre-launch security review requested
1170
1171**Analysis**:
1172
1173**Step 1 - Scope**:
1174
1175- Application: E-commerce web application
1176- Users: External customers
1177- Data: PII, payment information, order history
1178- Criticality: HIGH (revenue-generating, customer trust)
1179
1180**Step 2 - Assets**:
1181
1182- Customer PII and payment data (confidentiality, integrity critical)
1183- Inventory and pricing data (integrity, availability critical)
1184- Application availability (revenue impact)
1185
1186**Step 3 - Attack Surface**:
1187
1188- Web interface (public-facing)
1189- APIs (mobile app, third-party integrations)
1190- Admin portal (internal users)
1191- Payment processor integration
1192- Third-party libraries and dependencies
1193
1194**Step 4 - Threat Modeling (STRIDE)**:
1195
1196**Spoofing**:
1197
1198- Threat: Attacker impersonates user or admin
1199- Mitigations: Strong authentication, MFA, session management
1200
1201**Tampering**:
1202
1203- Threat: Attacker modifies prices, orders, or user data
1204- Mitigations: Input validation, authorization checks, integrity controls
1205
1206**Repudiation**:
1207
1208- Threat: User denies placing order
1209- Mitigations: Audit logging, transaction signing
1210
1211**Information Disclosure**:
1212
1213- Threat: Attacker accesses other users' PII or payment info
1214- Mitigations: Authorization checks, encryption, secure session management
1215
1216**Denial of Service**:
1217
1218- Threat: Attacker overwhelms application
1219- Mitigations: Rate limiting, DDoS protection, scalable infrastructure
1220
1221**Elevation of Privilege**:
1222
1223- Threat: User gains admin access
1224- Mitigations: Least privilege, secure authorization, privilege separation
1225
1226**Step 5 - Vulnerabilities (OWASP Top 10 Analysis)**:
1227
12281. **Broken Access Control**: Check for IDOR vulnerabilities, horizontal/vertical privilege escalation
12292. **Cryptographic Failures**: Verify encryption at rest and in transit, key management
12303. **Injection**: Test for SQL injection, XSS, command injection
12314. **Insecure Design**: Review for security design flaws, threat model gaps
12325. **Security Misconfiguration**: Check for default credentials, unnecessary features, verbose errors
12336. **Vulnerable Components**: Scan dependencies for known CVEs
12347. **Authentication Failures**: Test password policy, session management, MFA
12358. **Software/Data Integrity**: Verify supply chain security, unsigned updates
12369. **Logging Failures**: Ensure security events logged, log tampering prevention
123710. **SSRF**: Test for server-side request forgery vulnerabilities
1238
1239**Step 6 - Control Assessment**:
1240
1241_Positive Findings_:
1242
1243- TLS 1.3 for all connections
1244- Passwords hashed with bcrypt
1245- Input validation framework in use
1246- Dependency scanning in CI/CD
1247
1248_Gaps Identified_:
1249
1250- No MFA for customer accounts
1251- Admin portal not on separate domain/network
1252- Verbose error messages expose stack traces
1253- No rate limiting on API endpoints
1254- Some third-party dependencies have known CVEs
1255- Insufficient authorization checks (IDOR vulnerabilities)
1256- No Web Application Firewall (WAF)
1257
1258**Step 7 - Risk Analysis**:
1259
1260_Critical Risks_:
1261
1262- **IDOR vulnerabilities**: HIGH likelihood, HIGH impact (data breach)
1263- **Vulnerable dependencies**: MEDIUM likelihood, HIGH impact (RCE potential)
1264
1265_High Risks_:
1266
1267- **No rate limiting**: HIGH likelihood, MEDIUM impact (scraping, brute force)
1268- **Admin portal on same domain**: LOW likelihood, HIGH impact (credential theft)
1269
1270_Medium Risks_:
1271
1272- **Verbose errors**: MEDIUM likelihood, MEDIUM impact (information disclosure)
1273- **No MFA**: LOW likelihood (for now), HIGH impact (account takeover)
1274
1275**Step 8 - Detection and Response**:
1276
1277- Logging: Adequate for authentication and transactions
1278- SIEM integration: Not yet configured
1279- IR playbook: Generic, needs application-specific scenarios
1280- Recommendation: Configure SIEM, create app-specific IR playbook, implement alerting for suspicious patterns
1281
1282**Step 9 - Recommendations (Prioritized by Risk)**:
1283
1284_Must-Fix Before Launch (Critical)_:
1285
12861. Fix IDOR vulnerabilities (implement authorization checks)
12872. Update vulnerable dependencies
12883. Remove verbose error messages in production
12894. Implement rate limiting on all endpoints
1290
1291_Should-Fix Before Launch (High)_:
1292
12931. Deploy WAF with OWASP Core Rule Set
12942. Separate admin portal (different domain, VPN/IP restriction)
12953. Configure SIEM integration and alerting
1296
1297_Post-Launch (Medium)_:
1298
12991. Implement MFA for customer accounts
13002. Enhance logging (capture more security events)
13013. Conduct penetration testing
13024. Establish bug bounty program
1303
1304**Step 10 - Compliance**:
1305
1306- **PCI-DSS**: Required for payment card data (use tokenization, minimize cardholder data environment)
1307- **GDPR/CCPA**: Customer data privacy requirements (consent, data minimization, breach notification)
1308- **SOC 2**: If B2B customers require assurance
1309
1310**Step 11 - Synthesis**:
1311
1312- Application has solid foundation (modern crypto, input validation, dependency scanning)
1313- Critical issues must be fixed before launch (IDOR, vulnerable dependencies)
1314- WAF provides defense-in-depth for web threats
1315- Post-launch: Continue testing, bug bounty, security monitoring
1316- Go/No-Go: NO GO until critical issues resolved
1317
1318### Example 3: Security Architecture Review - Cloud Migration
1319
1320**Event**: Organization planning to migrate on-premises applications to AWS; security architecture review requested
1321
1322**Analysis**:
1323
1324**Step 1 - Scope**:
1325
1326- Migration: 50+ applications, mix of web apps, APIs, databases
1327- Target: AWS (IaaS and PaaS services)
1328- Timeline: 12-month migration
1329- Criticality: Mixed (some business-critical applications)
1330
1331**Step 2 - Assets**:
1332
1333- Applications and data currently in controlled on-premises environment
1334- Concerns: Data sovereignty, compliance, shared responsibility model
1335
1336**Step 3 - Attack Surface Changes**:
1337
1338- **Increases**: Internet-facing cloud services, cloud management interfaces, broader attack surface
1339- **Decreases**: Physical access threats
1340- **New**: Cloud misconfigurations, IAM vulnerabilities, API security
1341
1342**Step 4 - Threat Modeling (Cloud-Specific)**:
1343
1344_Cloud-Specific Threats_:
1345
1346- Account compromise (stolen credentials, phishing)
1347- Misconfigured storage buckets (public S3 buckets)
1348- Overly permissive IAM policies
1349- Insufficient network segmentation (VPC design)
1350- Data exfiltration via cloud APIs
1351- Insider threats (cloud admin abuse)
1352- Supply chain (compromised cloud services or dependencies)
1353
1354_MITRE ATT&CK for Cloud_:
1355
1356- Initial Access: Valid accounts, exploit public-facing application
1357- Persistence: Account manipulation, create IAM user
1358- Privilege Escalation: IAM policy manipulation
1359- Defense Evasion: Disable cloud logs
1360- Credential Access: Unsecured credentials in code/config
1361- Discovery: Cloud service discovery
1362- Lateral Movement: Use alternate authentication material
1363- Exfiltration: Transfer data to cloud account
1364
1365**Step 5 - Vulnerabilities (Cloud Context)**:
1366
1367- Lack of cloud security expertise
1368- On-premises mindset (perimeter-focused, not zero-trust)
1369- Unclear cloud IAM strategy
1370- No cloud configuration management (IaC not used)
1371- No cloud security posture management (CSPM)
1372
1373**Step 6 - Control Assessment (Shared Responsibility Model)**:
1374
1375_AWS Responsibilities_ (Security OF the Cloud):
1376
1377- Physical security
1378- Hypervisor security
1379- Network infrastructure
1380
1381_Customer Responsibilities_ (Security IN the Cloud):
1382
1383- IAM and access control
1384- Data encryption
1385- Network configuration (VPCs, security groups)
1386- Application security
1387- Compliance
1388
1389_Proposed Controls_:
1390
1391**Identity and Access Management**:
1392
1393- Implement AWS Organizations with SCPs (Service Control Policies)
1394- Enforce MFA for all users
1395- Use IAM roles, not long-term credentials
1396- Principle of least privilege
1397- Regular access reviews
1398
1399**Network Security**:
1400
1401- VPC design with public/private subnets
1402- Security groups (stateful firewalls)
1403- NACLs (stateless firewalls)
1404- AWS WAF for web applications
1405- VPC Flow Logs for monitoring
1406
1407**Data Protection**:
1408
1409- Encryption at rest (S3, EBS, RDS with KMS)
1410- Encryption in transit (TLS)
1411- S3 bucket policies (block public access)
1412- Data classification and handling
1413
1414**Monitoring and Detection**:
1415
1416- AWS CloudTrail (API logging)
1417- AWS GuardDuty (threat detection)
1418- AWS Security Hub (aggregate findings)
1419- AWS Config (configuration compliance)
1420- SIEM integration
1421
1422**Incident Response**:
1423
1424- Cloud-specific IR playbooks
1425- Automate response with Lambda
1426- Snapshot and forensics procedures
1427- AWS support engagement plan
1428
1429**Compliance**:
1430
1431- AWS Artifact (compliance reports)
1432- AWS Config rules (continuous compliance)
1433- Encryption for HIPAA/PCI-DSS
1434- Data residency (region selection)
1435
1436**Step 7 - Risk Analysis**:
1437
1438_High Risks_:
1439
1440- Misconfigured S3 buckets (likelihood: high, impact: high - data breach)
1441- Compromised IAM credentials (likelihood: medium, impact: high)
1442- Insufficient monitoring (likelihood: high, impact: medium - delayed detection)
1443
1444_Medium Risks_:
1445
1446- Inadequate network segmentation (likelihood: medium, impact: medium)
1447- Lack of cloud expertise (likelihood: high, impact: medium - misconfigurations)
1448
1449**Step 8 - Detection and Response**:
1450
1451- Deploy GuardDuty in all regions and accounts
1452- Centralize CloudTrail logs
1453- Configure Security Hub and Config
1454- Create cloud-specific alerts (unusual API calls, IAM changes, public S3 buckets)
1455- Develop cloud incident response playbooks
1456
1457**Step 9 - Recommendations (Cloud Migration Security Roadmap)**:
1458
1459_Pre-Migration (Month 1-2)_:
1460
14611. Cloud security training for teams
14622. Design AWS Organizations structure and account strategy
14633. Define IAM strategy and policies
14644. Design VPC architecture and network segmentation
14655. Select and implement CSPM tool
14666. Establish cloud security baseline (CIS AWS Foundations Benchmark)
1467
1468_During Migration (Month 3-12)_:
1469
14701. Use Infrastructure as Code (Terraform/CloudFormation) for all resources
14712. Automate security checks in CI/CD (SAST, DAST, IaC scanning)
14723. Enforce encryption at rest and in transit
14734. Implement least privilege IAM
14745. Enable all cloud-native security services (GuardDuty, Security Hub, Config, CloudTrail)
14756. Security testing before production deployment
1476
1477_Post-Migration (Ongoing)_:
1478
14791. Continuous compliance monitoring
14802. Regular IAM access reviews
14813. Cloud security posture assessments
14824. Penetration testing in cloud environment
14835. Tabletop exercises for cloud IR scenarios
1484
1485**Step 10 - Compliance**:
1486
1487- Leverage AWS compliance certifications (SOC 2, ISO 27001, PCI-DSS)
1488- Use AWS Artifact for audit evidence
1489- Implement AWS Config rules for continuous compliance
1490- Document shared responsibility matrix
1491
1492**Step 11 - Synthesis**:
1493
1494- Cloud security requires different mindset (zero-trust, identity-centric, API-driven)
1495- Shared responsibility model is critical—must secure what AWS doesn't
1496- Major risks: Misconfigurations, IAM vulnerabilities, insufficient monitoring
1497- Opportunities: Cloud-native security services, automation, scalability
1498- Success factors: Training, least privilege, defense-in-depth, monitoring, IaC
1499- Recommendation: Proceed with migration, but implement security roadmap in parallel
1500
1501---
1502
1503## Reference Materials (Expandable)
1504
1505### Essential Organizations and Resources
1506
1507#### NIST (National Institute of Standards and Technology)
1508
1509- **Cybersecurity Framework**: https://www.nist.gov/cyberframework
1510- **SP 800 Series**: Security and privacy controls, risk management
1511- **National Vulnerability Database (NVD)**: https://nvd.nist.gov/
1512
1513#### CISA (Cybersecurity and Infrastructure Security Agency)
1514
1515- **Alerts and Advisories**: https://www.cisa.gov/topics/cyber-threats-and-advisories
1516- **Known Exploited Vulnerabilities Catalog**: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
1517- **Resources**: Free tools, training, best practices
1518
1519#### MITRE
1520
1521- **ATT&CK Framework**: https://attack.mitre.org/
1522- **CVE Program**: https://www.cve.org/
1523- **CAPEC**: Common Attack Pattern Enumeration and Classification
1524
1525#### OWASP (Open Web Application Security Project)
1526
1527- **Top 10**: https://owasp.org/www-project-top-ten/
1528- **Testing Guide**: https://owasp.org/www-project-web-security-testing-guide/
1529- **Cheat Sheets**: https://cheatsheetseries.owasp.org/
1530
1531#### SANS Institute
1532
1533- **Internet Storm Center**: https://isc.sans.edu/
1534- **Reading Room**: Thousands of security papers
1535- **Critical Security Controls**: https://www.cisecurity.org/controls
1536
1537### Key Standards and Frameworks
1538
1539**ISO/IEC 27001**: Information Security Management System
1540**ISO/IEC 27002**: Information Security Controls
1541**PCI-DSS**: Payment Card Industry Data Security Standard
1542**HIPAA**: Health Insurance Portability and Accountability Act (Security Rule)
1543**SOC 2**: Service Organization Control 2 (Trust Services Criteria)
1544**GDPR**: General Data Protection Regulation
1545**NIST SP 800-53**: Security and Privacy Controls
1546**CIS Controls**: Center for Internet Security Critical Security Controls
1547**FedRAMP**: Federal Risk and Authorization Management Program
1548
1549### Vulnerability Databases
1550
1551- **National Vulnerability Database (NVD)**: https://nvd.nist.gov/
1552- **CVE**: https://www.cve.org/
1553- **Exploit-DB**: https://www.exploit-db.com/
1554- **VulnDB**: https://vulndb.cyberriskanalytics.com/
1555
1556### Threat Intelligence Sources
1557
1558- **CISA Alerts**: https://www.cisa.gov/news-events/cybersecurity-advisories
1559- **US-CERT**: https://www.cisa.gov/uscert
1560- **Threat Intelligence Platforms**: Recorded Future, Mandiant, CrowdStrike
1561- **Open Source**: AlienVault OTX, MISP, threat feeds
1562
1563### Security Tools and Platforms
1564
1565**Vulnerability Scanning**: Nessus, Qualys, Rapid7 InsightVM
1566**SAST**: SonarQube, Checkmarx, Veracode
1567**DAST**: Burp Suite, OWASP ZAP, Acunetix
1568**SIEM**: Splunk, Elastic, Sentinel, Chronicle
1569**EDR**: CrowdStrike, SentinelOne, Microsoft Defender for Endpoint
1570**CSPM**: Prisma Cloud, Wiz, Orca Security
1571
1572### Certifications
1573
1574- **CISSP**: Certified Information Systems Security Professional
1575- **CISM**: Certified Information Security Manager
1576- **CEH**: Certified Ethical Hacker
1577- **OSCP**: Offensive Security Certified Professional
1578- **GCIH**: GIAC Certified Incident Handler
1579- **Security+**: CompTIA Security+
1580
1581### Communities and Resources
1582
1583- **r/netsec**: https://www.reddit.com/r/netsec/
1584- **Krebs on Security**: https://krebsonsecurity.com/
1585- **Schneier on Security**: https://www.schneier.com/
1586- **Dark Reading**: https://www.darkreading.com/
1587- **The Hacker News**: https://thehackernews.com/
1588
1589---
1590
1591## Verification Checklist
1592
1593After completing cybersecurity analysis:
1594
1595- [ ] Identified all critical assets and data
1596- [ ] Analyzed attack surface and entry points
1597- [ ] Conducted threat modeling appropriate to scope
1598- [ ] Identified vulnerabilities and assessed severity
1599- [ ] Evaluated existing security controls for effectiveness
1600- [ ] Analyzed risk using quantitative or qualitative methods
1601- [ ] Assessed detection and response capabilities
1602- [ ] Developed prioritized remediation recommendations
1603- [ ] Considered compliance requirements
1604- [ ] Mapped threats to MITRE ATT&CK framework (if applicable)
1605- [ ] Applied defense-in-depth and zero-trust principles
1606- [ ] Provided clear, actionable security guidance
1607- [ ] Used security terminology and frameworks precisely
1608
1609---
1610
1611## Common Pitfalls to Avoid
1612
1613**Pitfall 1: Checklist Compliance Without Risk Context**
1614
1615- **Problem**: Following compliance requirements without understanding actual risks
1616- **Solution**: Risk-based approach—understand threats and business context, not just checkboxes
1617
1618**Pitfall 2: Perimeter-Only Security**
1619
1620- **Problem**: Assuming network perimeter protects everything inside
1621- **Solution**: Defense-in-depth and zero-trust—assume breach, protect assets themselves
1622
1623**Pitfall 3: Alert Fatigue and False Positives**
1624
1625- **Problem**: Too many low-quality alerts overwhelm responders
1626- **Solution**: Tune detections, prioritize high-fidelity alerts, automate response where possible
1627
1628**Pitfall 4: Ignoring Human Element**
1629
1630- **Problem**: Focus only on technical controls, ignore social engineering and insider threats
1631- **Solution**: Include security awareness, privileged user monitoring, insider threat programs
1632
1633**Pitfall 5: Point-in-Time Assessment**
1634
1635- **Problem**: One-time security review without continuous monitoring
1636- **Solution**: Continuous security—ongoing monitoring, vulnerability management, threat intelligence
1637
1638**Pitfall 6: Vulnerability Scoring Without Context**
1639
1640- **Problem**: Prioritizing by CVSS alone without considering exploitability or business context
1641- **Solution**: Risk-based prioritization—consider threat intelligence, exploitability, asset criticality
1642
1643**Pitfall 7: Security as Blocker**
1644
1645- **Problem**: Security seen as obstacle to business objectives
1646- **Solution**: Enable business securely—balance risk and business value, provide secure alternatives
1647
1648**Pitfall 8: Ignoring Supply Chain and Third Parties**
1649
1650- **Problem**: Focus only on first-party systems, ignore dependencies
1651- **Solution**: Supply chain risk management—assess third-party security, dependency vulnerabilities
1652
1653---
1654
1655## Success Criteria
1656
1657A quality cybersecurity analysis:
1658
1659- [ ] Applies appropriate security frameworks and methodologies
1660- [ ] Identifies and prioritizes risks using threat modeling
1661- [ ] Evaluates security controls across multiple layers (defense-in-depth)
1662- [ ] Provides actionable, prioritized remediation recommendations
1663- [ ] Grounds analysis in threat intelligence and industry best practices
1664- [ ] Considers both technical and human factors
1665- [ ] Addresses detection and response, not just prevention
1666- [ ] Maps to recognized standards (MITRE ATT&CK, NIST CSF, etc.)
1667- [ ] Balances security with business objectives
1668- [ ] Demonstrates deep security expertise and critical thinking
1669- [ ] Communicates clearly to both technical and non-technical audiences
1670- [ ] Uses security concepts and terminology precisely
1671
1672---
1673
1674## Integration with Other Analysts
1675
1676Cybersecurity analysis complements other perspectives:
1677
1678- **Computer Scientist**: Deep technical understanding of systems and code
1679- **Lawyer**: Legal implications of breaches, regulatory compliance requirements
1680- **Economist**: Cost-benefit analysis of security investments, cyber insurance
1681- **Psychologist**: Human behavior, social engineering, security culture
1682- **Political Scientist**: Nation-state threats, geopolitical cyber conflict, policy
1683
1684Cybersecurity is particularly strong on:
1685
1686- Threat modeling and risk assessment
1687- Vulnerability analysis
1688- Defense-in-depth design
1689- Incident detection and response
1690- Compliance and standards
1691
1692---
1693
1694## Continuous Improvement
1695
1696This skill evolves through:
1697
1698- New threat actor TTPs and attack techniques
1699- Emerging vulnerabilities and exploits
1700- Evolution of security technologies and practices
1701- Lessons learned from security incidents
1702- Updates to frameworks and standards
1703- Cross-disciplinary security research
1704
1705---
1706
1707**Skill Status**: Complete - Comprehensive Cybersecurity Analysis Capability
1708**Quality Level**: High - Enterprise-grade security analysis with modern frameworks
1709**Token Count**: ~8,500 words (target 6-10K tokens)