Docsity

CompTIA Cybersecurity Analyst (CySA+) Mega Study Flashcards, Exams of Cybersecurity

Toggle sidebar
bg1
CompTIA Cybersecurity Analyst (CySA+)
Mega Study Flashcards
SSRF -
Server-side request forgery
- Security vulnerability in which a hacker tricks a server into accessing unintended resources
on his behalf
RCE Counters -
Remote Code Execution Counters
- Sanitize user input
- Secure app memory management
- Inspect network traffic
XSS -
Cross-site scripting - type of injection, in which malicious scripts are injected into
otherwise benign and trusted websites
XSS Counters -
Cross-site scripting counters
- Don't trust your users
- Output encoding
- HTML Sanitization/Java Sanitization
- Input sanitization
- WAF
Clear, Purge, and Destroy (NIST) -
Clear - Applies standard r/w commands, techniques, and tools to overwrite data
found in all user-accessible storage locations
- Only uses logical techniques
Purge - Physical or logical techniques that renders target data recovery infeasible using state-
of-the-art lab overwrite, block erase, and crypto erase methods
- Higher level of sanitization than clear
Destroy - Renders target data recovery infeasible using physical destruction techniques,
shredding, smelting, pulverising, and incinerating
Strings -
File Analysis Tool
- ASCII & Unicode - Printable sequence of characters embedded within a file
- Linux
Hashing -
File Analysis Tool
- Uniquely identifies the data in the file
- "md5sum" or "sha256sum"
1 | P a g e
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download CompTIA Cybersecurity Analyst (CySA+) Mega Study Flashcards and more Exams Cybersecurity in PDF only on Docsity!

CompTIA Cybersecurity Analyst (CySA+)

Mega Study Flashcards

SSRF -

Server-side request forgery

  • Security vulnerability in which a hacker tricks a server into accessing unintended resources on his behalf RCE Counters - Remote Code Execution Counters
  • Sanitize user input
  • Secure app memory management
  • Inspect network traffic XSS - Cross-site scripting - type of injection, in which malicious scripts are injected into otherwise benign and trusted websites XSS Counters - Cross-site scripting counters
  • Don't trust your users
  • Output encoding
  • HTML Sanitization/Java Sanitization
  • Input sanitization
  • WAF Clear, Purge, and Destroy (NIST) - Clear - Applies standard r/w commands, techniques, and tools to overwrite data found in all user-accessible storage locations
  • Only uses logical techniques Purge - Physical or logical techniques that renders target data recovery infeasible using state- of-the-art lab overwrite, block erase, and crypto erase methods
  • Higher level of sanitization than clear Destroy - Renders target data recovery infeasible using physical destruction techniques, shredding, smelting, pulverising, and incinerating Strings - File Analysis Tool
  • ASCII & Unicode - Printable sequence of characters embedded within a file
  • Linux Hashing - File Analysis Tool
  • Uniquely identifies the data in the file
  • "md5sum" or "sha256sum"

VirusTotal - File Analysis Tool

  • Analyzes files & URLS for viruses, worms, trojans, & other kinds of malicious content
  • Checks hashes against known malicious file hashes in a database EDR - Endpoint Detection and Response
  • Utilizes ML, behavioral analysis, and threat hunting to detect malicious/suspicious activiy
  • Detects sophisticated and targeted attacks
  • Also blocks and alerts
  • EDR detects and responds to malware that makes it past AV
  • AV prevents malware from infecting endpoints OSS TMM - Open Source Security Testing Methodology Manual
  • Structured approach across different areas like apps, networks, and systems OWASP - Open Web Application Security Project
  • Framework for web app security testing MITRE ATT&CK Framework - Adversarial Tactics, Techniques, and Common Knowledge - TTPs
  • Globally-accessible knowledge base of attack techniques
  • Useful for the development of specific threat models
  • Explicit detail regarding how to mitigate or detect a given threat
  • Attack frameworks are constantly updating Lockheed Martin Cyber Kill Chain -
    1. Reconnaissance
  1. Weaponization
  2. Delivery
  3. Exploitation
  4. Installation
  5. Command and control
  6. Actions on objectives
  • Describes the stages of a cyberattack
  • Makes no allowance for an adversary adversary retreat in its analysis UEBA - User and Entity Behavior Analytics
  • Used to detect compromised account credentials
  • Also help determine if real users pose a risk
  • Built-in function to many SIEM solutions - ex: splunk
  • Gathers info about "Normal" user activity (Baseline)
  • Uses ML to detect anomalies
  • Generate alerts IaaS, PaaS, SaaS -

Provides stats about all the active connections so you can find out which computers or networks a PC is connected to

  • May be combines with sub-commands or switches to alter the output Common Log Injection Concepts - Fatal - Crash ERROR - Something unexpected happened WARN - Something unexpected happened, but system was able to continue INFO - Standard log data DEBUG - Fine grained data TRACE - Most finely granulated data Tactics - High-level overview an attackers goals, examples:
  • Gain system access
  • Disrupt service of target
  • Steal target's data
  • Establish persistence Techniques - Specific methods &/or tools used to achieve attacker's goals, examples:
  • Use malware to gain system access
  • Perform DDoS attack to disrupt network service
  • Use social engineering to steal sensitive data
  • Use backdoor/RAT to establish persistence Procedures - Low-level, step-by-step description of a technique, examples:
  • Recon
  • OSINT
  • Phishing
  • Initial Access
  • Malware
  • Lateral Movement CTI Sources - Open Source - Don't pay no money
  • Social media
  • Blog/Forums
  • Government Bulletins
  • Deep/Dark Web Closed Source - Paid Feeds
  • Crowdstrike, FalconIntel, Mandiant threat intel, Anomali Threat Storm
  • Info sharing organizations
  • Internal Sources (SIEM, Honey Pots) CTI Sharing Tools - STIX - Structured Threat Info eXpression
  • Structured language for cyber threat intel
  • Designed to be shared with others TAXII - Trusted Automated eXchange of Intel Information
  • HTTPS/RESTful API source used for sharing CTI data
  • Transport mechanism for sharing cyber threat intel Yara - CTI Sharing Tool
  • Identify and classify malware samples Sigma - CTI Sharing Tool
  • Generic and open-source format
  • Allows you to describe relevant log events in a straight forward manner
  • Log files Snort - Network Traffic Tool API - Application Programming Interface
  • Virus Total Webhooks - Augmenting or altering the behavior of the web page or web app with custom callbacks Plugins - Allows for the customization of computer programs, apps, and web browsers
  • Customization of the content offered by the website Single Pane of Glass (SPOG) - Aggregate a bunch of info into a single dashboardd Web Application Scanners -
    • Burp Suite
  • ZAP - Zed Attack Proxy
  • Arachni
  • Nikto Vulnerability Scanners - Nessus (Paid) OpenVAS (Free) Debugger - Immunity Debugger GNU debugger (GDB) Multipurpose Vulnerability Scanners - Nmap

Fagan Inspection - A formal code review process that relies on specified entry and exit criteria for each phase Email Header - Provides important details about the sender, recipient, and routing of messages NIST Cyber Incident Response - Preparation -> Detection and Analysis -> Containment, Eradication, and Recovery -> Post-Incident Recovery Look up a visual, y'all Preventative - Compensating Control - Limit the possibility of an undesirable outcome

  • Segregation of duties/PW policy Managerial - Compensating Control - Policies and procedures to achieve security goals
  • AUP & onboarding procedures Corrective - Compensating Control - Correct undesirable outcome to reduce risk
  • Backups, system recovery tools, and IPs Operational - Compensating Control - Security controls implemented by humans instead of systems
  • Process review and security awareness training File Structures - C:\Windows/System32 - Crucial for OS to run properly /etc - where system config files live /var - Variable data files /root - superuser account /bin - contains binaries used by both ordinary users and system adminis /sbin - contains binaries needed only for managing the system /var/log - logs from the OS itself, services, and various apps running on the system SASE - Secure Access Service Edge - Provide secure access to network resources from anywhere SDN - Software Defined Network - Centralized software-based controller
  • Centralized software-based controller
  • Single point of control for the entire network --Admin defines policies and rules for how network should flow Windows Registry -

"The Hive" HKEY_CLASSES_ROOT - Config info about the app used to open files HKEY_CLASSES_USER - Profile of currently logged on user HKEY_LOCAL_MACHINE - Config info about computer hardware & software HKEY_USERS - All user profile config HKEY_CURRENT_CONFIG - System startup hardware profile Malicious Network Activity - Bandwidth consumption Beaconing Irregular peer-to-peer communication Rogue devices on the network Scans/sweeps Unusual traffic spiked -ICMP Activity on unexpected ports Malicious Host Activity - Processor consumption Memory consumption Drive capacity consumption Unauthorized software Malicious process Unauthorized changes/privileges Data exfiltration Malicious Application Activity - Anomalous activity Introduction of new accounts Unexpected output-Wireshark, procmon Unexpected outbound communication Service interruption Application logs Buffer Overflow - A technique for crashing by sending too much data to the buffer in a computer's memory Stack Canaries - When a return address is stored in a stack frame random canary value is written just before it. Any attempt to rewrite the address using buffer overflow will result in the canary being rewritten and an overflow will be detected. DEP - Data Execution Prevention - Windows

  • No execute (NX) - Linux
  • Counter to Buffer Overflow ASLR -
  • Incident response policy should identify
  • Potential escalation points in the process
  • Procedures for escalation
  • On-call info Attack Surface Management - Edge discovery - What is exposed? To the public? Passive discovery - Looking here & there --Use existing network traffic Sec Controls Testing Pen Testing & Adversary Emulation Bug Bounty - Payments for finding bugs Attack Surface Reduction - Close ports, ACLs, etc. Secure Coding Best Practices -
    • Input validation
  • Output Encoding
  • Session management
  • Authentication
  • Data protection
  • Parameterized queries Ping - Send a message from one computer to another to check whether it is reachable and active
  • DNS is action
  • You can ping a hostname as well
  • You can out the output into a text file
  • Test NICs
  • Test DNS resolution
  • General troubleshooting PKI Components -
    • Cert Management System (CMS) - Software that runs the whole thing
  • Digital Certs - the actual cert (used to verify)
  • Validation Authority - Issues digital certs --Validated, revokes, and deletes digital certs
  • End user - required certs --Managers
  • Registration Authority (RA) - "pre-screen" cert signing requests for initial enrollment and renewals System Processes for each OS -
    • Task Manager - Windows
  • Procmon - Windows
  • top/htop - Linux Task Manager Serverless - Servers are involved!
  • You don't have to do any of the provisioning!
  • Cloud services that work together --Service cooperation, facilitates your app's infrastructure -- You get charged for usage AI Data Posioning -
    • Bad data to incorrectly train AI -- Hinders Availability -- Hinders Integrity
  • Mitigations -- Standard security methods -- Outlier Detection/Data Sanitization/Anomaly Detection -- Human in the loop Cryptographic Failures - Classify all data
  • Prevent accidental exposure Ensure encryption of data
  • At rest, in motion, and in use (if possible) Use strongest encryption possible Qualitative Severity Rating Scale - None - 0. Low - 0.1-3. Med - 4.0-6. High - 7.0-8. Critical - 9.0-10. Network Segmentation - Logically &/or Physically Segmented
  • Limits attackers ability to laterally move
  • Access the critical systems and data are limited Poicies - Organization's rules of conduct
  • Info security policy
  • Email policy
  • Clean desk policy Governance - Refers to both corporate governance and external governance
  • such as a government controlling an organization
  • accountability, transparency, fairness, responsibility, and risk management SLO - Service Level Objective
  • Typically help build the SLA
  • SLI - Service-level indicator
  • SLA - Service-level agreement Wireshark Logical Operators -

Direct or indirect actions on the network Vulnerability Scanning - Static vs. Dynamic - Look at it while its running or just looking at the code

  • Reverse action
  • Critical scanning
  • Security baseline scanning SIEM - Security Information and Event Management
  • Log aggregation system -- Alerts generated based on conditions -- Auditing and Policy Exs: Splunk, AlienVault, Wazuh, etc. SOAR - Security Orchestration, Automation, Response
  • Integrates with security tools and techniques -- CTI, SIEM, EDR, Vulnerability Management, etc.
  • Helps team to detect, prioritize, and respond to threats
  • Goes beyond a SIEM Signed CA vs. Self-Signed - Either from a Certificate Authority (CA) or self-signed Zero Trust - Never trust, always verify!
  • Question everything! -- Internal & external Exs: IDS/IPS, user entity behavior analytics (UEBA), and traffic analysis on-prem - on-premises Cloud - Someone else's computer Hybrid - Little bit of both
  • Wired and wireless connections
  • Public and private networks
  • Cloud and on-prem resources SSL Inspection - Network Device - Can decrypt/re-encrypt traffic
  • Can inspect traffic --Looking for sensitive data &/or malicious traffic (NGFW)
  • Proxy
  • Network TAP (Terminal Access Point)

CA Servies - Certificate Authority Services - 3rd Party trusted

  • Someone might trust 3rd party more than you PKI Process -
    1. Subject, user/org, applies for cert from the RA
  1. RA processes the request
  2. CA processes request from RA
  3. User receives certificate and uses it
  4. Recipient, client, queries the VA
  5. VA verifies the cert PKI - Public Key Infrastructure
  • Create certs
  • Issue certs
  • Revoke certs
  • Manage certs CASB - Cloud Access Security Broker - Enables cloud admins to apply security to 3rd party cloud services
  • Gives granular control over: BYOD, cloud apps, and DLP
  • Other features - Encryption and key management, UEBA, malware detection, and config auditing CASB Four Pillars -
    • Visibility
  • Compliance
  • Data Security
  • Threat Protection Passwordless - Uses "Possession Factors," "Magic Links," and/or biometrics instead of PWs
  • Authenticator applications
  • Hardware tokens
  • OTPs via SMS PAM - Privileged Access Management
  • Least privilege
  • Control, Audit, and monitor ALL privileged identities & activities
  • Both Human and Non-Human SSO vs. Federation - Single sign-on - Enables user to login to multiple apps in the same domain Federation - Enables users to login to app across multiple domains
  • Desktop
  • Mobile
  • IoT
  • Networking Ports/Services - Asset Discovery & Mapping -
    • Angry IP Scanner
  • Maltego Streamlining Automation -
    • Automation & orchestration
  • SOAR -- Improve SIEM capabilities by integrating contextual info
  • Threat feed combination
  • Minimize human engagement Process Standardization -
    1. ID the task suitable for automation -- Repeatable/don't req human interaction -- High volume tasks -- Digital work flows
  1. Team coordinaton to Manage & Facilitate Automation -- Set Goals -- Requirements --- Regulatory Compliance -- Communication and Notifications CTI Sharing - Cyber Threat Intelligence - Better security through sharing CTI
  • Benefits us all during: -- Incident Response -- Vulnerability Management -- Risk Management -- Security Engineering -- Detection & Monitoring Active Defense - Wasting the attacker's time!
  • Increase the probability of detection
  • Fake website/page/directories/login portals/etc
  • Canary tokens -- Canaries in the mine! -- API keys, SSH keys, & encryption keys -- Sensitive looking docs, -creds.txt, & financial docs
  • Honeypot Compensation Control - Technical - Use of tech, logic controls, to reduce vulnerabilities EXs: Encryption & AV Software

Compensating Control - Detective - Seeking to identify risks and vulnerabilities EXs: SIEM & Trend Analysis Comepensating Control - Responsive - Control designed to respond to security event or flow EXs: Snapshot restore & incident response ALE Forumla - ALE = SLE * ARO ALE - Annualized Loss Expectancy SLE - Single Loss Expectancy ARO - Annualized Rate of Occurrence SLE Formula - SLE = AV * EF SLE - Single Loss Expectancy AV - Asset Value EF - Exposure Factor dig - Domain Information Groper Syntax - "dig (server) (name) (type)"

  • interrogating DNS name server
  • DNS lookup and displays the answers that are returned from the queried name server(s) TCPDump - Linus Interface -i Count -c Write -w filename.pcap Read -r filename.pcap Protocol arp, tcp, idp, tcmp Port: port 80 Host: host 10.0.0. Destination: dst 10.0.0. Source: src 10.0.0. Vulnerability Management Reporting -
    • Know the audience!
  • Report existing vulnerabilities
  • Classify of vulnerabilities -- Risk score
  • Prioritization of remediation
  • Communicate the remediation process
  • Patch management Forensic Analysis -

Common Vulnerability Metrics - Trend Analysis - Gartner - Study and predict cybersecurity trends

  • Respond to threats
  • Rethink technology
  • Must be communicated to stakeholders! Common Vulnerability Metrics - Critical Vulnerabilities and Zero-days - Crucial part of vulnerability management
  • Must be communicated to stakeholders! Common Vulnerability Metrics - SLOs - Service Level Objectives
  • Measurable characteristic of an SLA Must be communicated to stakeholders! RCA - Root cause analysis - investigation to discover the underlying cause(s) for security incidents
  • Identify vulnerabilities and/or contributing factors RCA Report - May be necessary for compliance reporting
  • 5 W's Can/cannot of "Whois" - Can be used to get the Name Service info for domain -Then you can check the response for the Name Servers --Talos Intel-CiscoIntel-IP & Domain Reputation Center Can be use dto abuse IP database Can't perform reputation lookup Sandboxing Tools - Safe place to run potentially malicious software Joe Sandbox - web-based sandbox analyzer
  • Upload files and spits out the results Cuckoo Sandbox - Automated Malware Analysis
  • Open source and free
  • Use docs page for how to use it! DNS Reputation - Focused on Domain Names associated with IPs
  • Determines if a domain name has been associated with suspicious or malicious behavior in the past -- Spam, phishing, and malware
  • Can be used to block access to websites or other online resources associated with the domain
  • Protect users from accessing potentially harmful websites Ip Reputation - Determines if an IP address has been associated with suspicious or malicious behavior in the past
  • Spam, phishing, and malware
  • Can be used to block access to websites or other online resources associated with the domain
  • Protect users from accessing potentially harmful websites Threat Hunting Analysis -
    • SAST
  • DAST
  • Memory Dumps
  • Strings
  • Metadata Threat Hunting Application -
    • Tracking threats
  • Attribution Threat Hunting Focus Area -
    • Config/misconfig
  • Isolate networks
  • Business-critical assets & processes Threat Hunting IoC - Indicators of Compromise
  • File hashes
  • IP addresses
  • Domain names
  • Anything associated with the breach Threat Hunting Obtaining IoCs -
    • Collection
  • Logs
  • Files CTI Types - Strategic - Long term planning Tactical - Short term planning Operational - Focuses on responding to active threats CTI Timeliness Levels - Historic/Past - Least relevant Current/Present - Most relevant Forecasted/Future - Moderately Relevant Indeterminate/Unknown - Limited Recovery CTI Relevancy LEvels -