Isa Final Notes
Isa Final Notes
Concept:
Understanding the basics of how software is made and the difference between the old way and
the new secure way.
Simple Explanation:
What is SDLC? SDLC stands for Software Development Life Cycle. It is simply the process
used to design, develop, and test software1.
The Old Problem: In the past, people only checked for security issues at the very end of the
project. This was a big mistake because it left security as an afterthought2.
The Solution (DevSecOps): The solution is DevSecOps. This means adding security steps at
every single stage of making the software, not just the end3.
Real-Life Example:
Imagine building a house. If you build the whole house and forget to put locks on the doors until
the very end, it is hard to fix. DevSecOps is like planning the locks and security cameras before
and during construction4.
Concept:
Simple Explanation:
Moving security checks to the beginning of the project to save money and time.
Simple Explanation:
Meaning: In a project timeline (from left to right), "Shift Left" means moving security checks to
the start (Left) of the timeline8.
Why do we do it? (The Cost Factor):
o If you fix a bug during the planning phase, it might cost around $109.
o If you wait and fix that same bug after the software is released, it can cost around $10,00010.
Key Takeaway: We catch errors early. This saves a huge amount of money and time11.
Concept:
Comparing the old "Waterfall" method with the modern DevSecOps method.
Simple Explanation:
What happens: Before writing any code, the team tries to guess how hackers might attack the
software16.
Threat Modeling: This is a brainstorming session to list potential security risks17.
Example: Planning exactly how to protect user passwords before you even build the login
screen18.
Role of Developers: Developers must write code that is clean and secure19.
Guidelines: They should follow safety rules, such as the OWASP Top 10, which is a list of the
biggest security risks20.
Tools: Developers use plugins in their coding tools (IDEs) that act like a "spell check," but for
security errors instead of spelling mistakes21.
Automation: We use tools (robots) to check the code because they are faster and more accurate
than humans22.
SAST (Static Testing): This scans the code to find errors while the application is not running23.
DAST (Dynamic Testing): This tries to "hack" the application while it is running to see if it
breaks24.
Infrastructure as Code (IaC): This means using code to set up servers automatically instead of
doing it manually25.
Golden Image: This is using a software version that is already approved and secure26.
Benefit: This prevents human mistakes when setting up servers27.
Continuous Monitoring: This involves watching the software 24 hours a day, 7 days a week
after it is released28.
Logging: The system keeps a record (log) of who does what inside the software29.
Example: If a hacker tries to guess a password 100 times, the system sees this in the logs and
blocks them immediately30.
4 Major Benefits:
Summary:
LECTURE #15
Here are your complete final exam notes based on the lecture slides "Application Security
Threats." These notes are structured to help you answer long questions in your exam.
Concept:
Understanding what security threats are and how they harm software.
Simple Explanation:
Real-Life Example:
Concept:
Simple Explanation:
What is it? An attacker inserts (injects) malicious code into the application5.
Why does it happen? The application runs this code without knowing it is bad6. This usually
happens because the application has poor input validation (it doesn't check if the user's input is
safe)7.
Real-Life Example:
A login form that accepts raw, unchecked input from a user instead of blocking strange
characters8.
You must know the difference between these three specific examples for the exam:
1. SQL Injection
Malicious Input Example: The attacker types ' OR '1'='1 into a login box9.
Result:
o Login Bypass: The system is tricked into letting the attacker in10.
o Database Access: The attacker gets access to the database without needing a real password11.
2. Command Injection
Malicious Input Example: The user input runs system commands directly on the server12.
Result:
o The attacker can delete files13.
o Server Takeover: The attacker gains control of the server14.
Concept:
Simple Explanation:
Concept:
When the system fails to verify who the user actually is.
Simple Explanation:
Real-Life Example:
A system that uses the same default password for all users, making it easy to guess25.
What happens: The attacker tries thousands of different passwords one by one26.
Result: Account Takeover (the attacker eventually guesses right and takes the account)27.
2. Credential Stuffing
What happens: The attacker tries using passwords that were leaked or stolen from other
websites28.
Why it works: Many people use the same password for different sites.
3. Session Hijacking
What happens: The attacker steals the session ID directly from the user's browser29.
Result: The attacker can act as the logged-in user without knowing the password30.
Concept:
The damage caused when login systems fail.
Simple Explanation:
Real-Life Example:
Topic 8: Conclusion
Summary:
Concept:
Understanding how modern applications are built to fully utilize the cloud.
Simple Explanation:
Real-Life Example:
Netflix uses cloud-native design to serve millions of users all over the world3.
Topic 2: Containers
Concept:
Simple Explanation:
Definition: Containers are lightweight units. They package an application together with its
libraries and dependencies4.
Benefit: They ensure that the application runs consistently (the exact same way) across different
environments5.
Real-Life Example:
A Docker container runs the same app on a laptop and on the cloud without any changes6.
Topic 3: Microservices
Concept:
Simple Explanation:
Real-Life Example:
An online store has separate services for different tasks: one for login, one for payment, and one
for orders9.
Concept:
Goal: Security protects applications, data, and users from cyber threats10.
Risk Factor: Because cloud systems use multiple components, there are increased chances of an
attack11.
Real-Life Example:
Concept:
The specific risks associated with using containers and how to fix them.
Challenges:
Shared OS: Containers share the host Operating System (OS). This increases the risk if the
system is misconfigured13.
Untrusted Images: If you use images from unknown sources, they may contain vulnerabilities14.
o Example: Using a public image that is infected with malware15.
Measures:
Scanning & Control: Container security focuses on scanning images for problems and
controlling who has access16.
Least Privilege: Following the "least privilege principle" reduces the damage from attacks 17.
o Example: Restricting a container's access to the file system18.
Concept:
The specific risks associated with breaking apps into microservices and how to protect them.
Challenges:
Attack Surface: Because there is a large number of services, the "attack surface" (areas that can
be attacked) increases19.
Communication Risks: The communication between different services can be targeted by
attackers20.
o Example: An attacker intercepts data that is unencrypted21.
Measures:
Concept:
Simple Explanation:
Network Security: This controls the internal traffic moving between different services25.
Access Security: This limits permissions so services only can do what they need to26.
Real-Life Example:
Concept:
Simple Explanation:
Real-Life Example:
Topic 9: Conclusion
Summary:
Cloud-native systems need security at every single layer31.
Both containers and microservices require proper controls32.
Strong security is the only way to ensure safe cloud applications33.
Concept:
Simple Explanation:
Overview: Cloud computing is widely used by many organizations today. However, as cloud
usage grows, security risks also increase1.
Definition: Cloud threats are possible dangers or risks to cloud systems2.
What is a Threat? Anything that can harm cloud security is considered a threat3.
Nature of Threats: They can be intentional (done on purpose) or accidental (done by
mistake)4.
Targets: These threats can damage data, applications, and cloud services5.
Concept:
There are four main types of threats that endanger cloud systems. You must explain each one.
1. Data Breaches
2. Account Hijacking
Explanation: Hackers steal login credentials (username and password) to gain control of cloud
accounts11.
Consequences: Attackers can misuse cloud resources12.
Cause: This is often caused by using weak passwords13.
Prevention: Use strong passwords and multi-factor authentication14.
3. Malware Attacks
4. Insider Threats
Explanation: This happens when employees misuse their access to the system17.
Types: It can be intentional (on purpose) or accidental (by mistake)18.
Risk: Both malware and insider threats are serious risks to cloud security19.
Concept:
Understanding where attackers can enter the system and how to close those doors.
Simple Explanation:
Definition: An attack surface means all the possible entry points where an attacker can enter a
cloud system20.
Size Matters: Larger systems have larger attack surfaces21. Cloud environments naturally
increase the attack surface because they have more access points, which means more chances for
attacks22.
Concept:
Simple Explanation:
Definition: A multi-cloud environment means using more than one cloud provider at the same
time32.
Strategy: Organizations do not depend on just a single provider33.
Real-Life Example:
Concept:
Managing security becomes harder when using multiple clouds, so specific strategies are needed.
Security Challenges:
Conclusion
WEEK #9
Here are the complete final exam notes for Week 9: Incident Response and Forensics. These
notes cover Lectures 17 and 18, structured for easy revision and long-form answer writing.
Concept:
This is a planned method to handle cyber attacks effectively. It is not just about fixing things
after they break, but preparing beforehand. 1
Simple Explanation:
Goal:
It ensures the business can keep running, data is protected, and laws are followed. 8
2. Objectives of Advanced Incident Response
Concept:
Key Objectives:
Concept:
Step 1: Preparation
Using security monitoring tools like SIEM (Security Information and Event Management) and
IDS/IPS (Intrusion Detection Systems). 17
Analyzing logs and using threat intelligence to find problems. 18
Containment: Isolating the affected systems so the infection does not spread. 19
Eradication: Removing the malicious artifacts (viruses or bad files). 20
Recovery: Restoring systems and data securely to get back to normal. 21
Concept:
Definition:
CERT is a specialized cybersecurity team responsible for handling and responding to cyber
incidents. 23
Types of CERTs:
Concept:
Key Activities:
Why Coordinate?
Challenges:
Concept:
The science of finding and analyzing digital evidence for legal or security purposes.
Definition:
Digital Forensics is the process of identifying, collecting, preserving, analyzing, and presenting
digital evidence. 46
Where is it used?
Objectives:
Concept:
The standard steps investigators must follow to make sure evidence is valid.
1. Identification:
2. Collection:
Acquiring (gathering) the data using methods that are sound (reliable). 55
3. Preservation:
4. Analysis:
Reporting the findings clearly for both technical people and lawyers. 59
Key Principle:
Evidence must remain unchanged and verifiable throughout the entire process. 60
Concept:
4. Legal Considerations
Concept:
5. Ethical Considerations
Concept:
Benefits:
Digital forensics is critical for security assurance. 86Success requires proper techniques, legal
compliance, and skilled professionals. 87
Concept:
Building privacy into the system from the very beginning rather than adding it later.
Simple Explanation:
Definition: Privacy by Design is a proactive approach. It means privacy and data protection are
built (embedded) into systems, processes, and technologies right from the start1.
Goal: It ensures user data is protected by default throughout its entire life. It maintains full
functionality, transparency, and user control2.
1. Proactive not Reactive: It prevents privacy issues before they happen, rather than fixing them
after (Preventive not remedial)3.
2. Privacy as the Default Setting: The user does not need to change settings to be safe; privacy is
automatic4.
3. Privacy Embedded into Design: Privacy is a core part of the design, not an add-on5.
4. Full Functionality: This is a "positive-sum" approach, not "zero-sum." It means you can have
both privacy and security without trading one for the other6.
5. End-to-End Security: Data is protected throughout its full lifecycle7.
6. Visibility and Transparency: Operations remain visible and transparent to users and
stakeholders8.
7. Respect for User Privacy: The design must be user-centric (focused on the user's needs)9.
Concept:
Simple Explanation:
Article 25: This part of the GDPR explicitly requires "Data protection by design and by
default"10.
Implementation: This means companies must implement technical and organizational safety
measures at two times:
1. When deciding how to process data11.
2. At the time the data is actually processed12.
Lawfulness, Fairness, Transparency: There must be clear communication with users about
their data13.
Purpose Limitation: Data should be collected only for specific and explicit purposes14.
Data Minimization: Collect only the data that is strictly necessary15.
Storage Limitation: Data must be deleted when it is no longer needed16.
Concept:
A law focusing on the rights of residents in California to control their personal info.
Simple Explanation:
Definition: The CCPA gives California residents control over their personal information23.
Personal Information: This includes any data that identifies or links to a consumer (e.g., names,
IP addresses, purchase history)24.
Who it applies to: It applies to businesses that meet specific requirements regarding revenue,
the amount of data processed, or revenue earned from selling data25.
The CCPA focuses heavily on the "Right to Opt-Out" of the sale or sharing of personal
information26.
Requirement: Businesses must display a clear link on their homepage that says "Do Not
Sell/Share My Personal Information"27.
Concept:
Purpose:
These models provide methodologies and tools to identify, access, and mitigate privacy risks
throughout the system lifecycle32.
Important Models:
1. LINDDUN Framework:
o A systematic methodology for privacy threat modeling33.
o It is designed to integrate privacy considerations into the early stages of software development 34.
o Acronym meaning: Linkability, Identifiability, Non-repudiation, Detectability, Disclosure of
Information, Unawareness, Non-compliance35.
2. NIST Privacy Framework:
o A voluntary tool to help organizations manage privacy risk36.
o Core Functions: Identify, Govern, Control, Communication, Protect37.
3. PMRM (Privacy Management Reference Model):
o Focuses on data flow and services38.
Concept:
Best Practices:
Shift Left: Privacy should start at the "whiteboard" (design phase), not the week before launch42.
Cross-Functional Collaboration: Legal, Product, and Engineering teams must all speak the
same language and work together43.
Automation is Key: Manual privacy checks do not work well in fast "Agile" environments, so
automation is necessary44.
Concept:
Changing data permanently so that nobody can tell who it belongs to.
Simple Explanation:
Definition: Data anonymization is the process of modifying personal data so that individuals
cannot be identified1.
How it works: It removes both direct and indirect identifiers from the data2.
Key Feature: Once the data is anonymized, the original data cannot be recovered3.
Importance:
Healthcare organizations often need to share patient data for research purposes9.
To do this safely, they remove names, IDs, and contact details10.
Only non-identifiable data like age, symptoms, and results are kept11.
Result: Even if this data is leaked to the public, the identities of the patients remain protected 12.
Topic 2: Tokenization
Concept:
Swapping sensitive data for a random code so the real data stays safe in a vault.
Simple Explanation:
Definition: Tokenization replaces sensitive data with a random value called a token13.
The Token: This token has absolutely no meaning outside of the specific system it was created
for14.
Key Feature: Unlike anonymization, the original data is stored securely elsewhere and can be
retrieved when needed15.
Importance:
Data Anonymization:
Advantages:
o It is best for data sharing and analysis25.
o It offers strong privacy protection26.
Disadvantage:
o The data cannot be recovered once changed27.
Tokenization:
Advantages:
o The data can be restored securely when needed28.
o It gives high control over sensitive data29.
Disadvantage:
o It requires a secure token management system to work30.
WEEK 10
Here are your complete final exam notes based on the lecture slides "Security Auditing and
Compliance." These notes are structured to help you answer long questions in your exam.
Topic 1: Security Auditing Overview and the Need for Advanced Methods
Concept:
Security auditing is the "check-up" process for an organization's security health, while advanced
methods are needed to keep up with modern dangers.
Continuous Auditing8.
Automated Auditing Tools9.
Real-time analysis and reporting10.
Concept:
Instead of checking security once a year, Continuous Auditing checks it all the time, non-stop.
Benefits:
Challenges (Disadvantages):
Cost: It has a high implementation cost21.
Integration: Integrating it with existing complex systems is difficult22.
Skills: It requires skilled professionals to manage23.
Privacy: It raises data privacy concerns24.
Concept:
Using software robots to do the boring and difficult work of auditing faster and better.
Concept:
Overview:
Definition: An assessment to see if the organization meets legal and regulatory standards31.
Accountability: It ensures the organization is held accountable for its actions32.
Prevention: It prevents legal and financial penalties33.
You must know these four specific laws and what they focus on for the exam.
Overview: An EU regulation focused on privacy and data rights for organizations handling EU
citizens’ data 38.
Key Audit Areas:
o User consent management39.
o Data protection policies40.
o Breach reporting mechanisms41.
Overview: A security standard for payment card data that applies to merchants and service
providers42.
Audit Focus:
o Secure network configuration43.
o Encryption of cardholder data44.
o Regular security testing45.
Overview: A US law for financial transparency in public companies to prevent financial fraud 51.
Key Compliance Areas:
o Internal controls52.
o Financial reporting accuracy53.
o IT general controls (ITGC)54.
o Audit trails55.