Chapter 1: Security and Information Technology Study Notes
Learning Objectives for Database Security
Define the Nature of Security: Understand the core characteristics of database and information systems security.
Identify Security Objectives: Recognize the three main objectives required to protect information systems.
Identify Security Threats: Catalog various agents and conditions that pose risks to data.
Analyze Viruses: Define viruses, identify their characteristics, and understand how they infiltrate systems.
Operational Security: Identify specific types of operational security and describe implementation strategies.
Information Security Life Cycle: Describe the cyclical phases involved in maintaining system security.
Security Architecture: Describe the multilayered nature of designing secure data environments.
The Importance of Database Security
Global Connectivity: Most modern databases provide access that spans multiple networks across the entire world.
Economic Impact: The majority of online transactions involve a database at some point in the process.
Critical Infrastructure: Essential services such as water supplies, electricity grids, and gas and oil production depend on computer networks to function.
Potential for Disaster: A security breach in critical infrastructure or financial databases can have disastrous real-world impacts.
Sophisticated Adversaries: Network intruders are increasingly well-trained and grow more sophisticated over time.
Creating a Secure Data Environment
Multilayered Approach: Utilizing multiple layers of security is the most effective approach to minimizing the risk of a data breach.
Example: Protecting Against Malicious E-mail Attachments:
Layer 1: User Awareness Training: Educating employees to recognize suspicious content.
Layer 2: Exchange Server Filter: Automated removal of known malicious attachments at the server level.
Layer 3: Firewall Configuration: Setting rules to deny specific types of dangerous traffic.
Database Security Specifics:
Consists of a set of established procedures, standards, policies, and tools.
Goal is to protect against theft, misuse, and malicious attacks.
Focuses heavily on permissions and access to the data structure.
Common Database Vendor Features:
Database-level access control.
Database-level authentication.
Data storage encryption.
Computer Security:
A necessary element of database security, typically defined and managed by the operating system (OS).
Includes OS-level access control and authentication.
Application Security: Focuses on hardware and software monitors and logs to track application-level behavior.
Network Security:
The outermost layer of the database environment and arguably the biggest security concern.
Utilizes hardware and software devices: firewalls, antivirus (AV) programs, network monitors, intrusion detection systems (IDS), proxy servers, and authentication servers.
The Database Security Objectives (C.I.A. Triangle)
Objective 1: Confidentiality
Requirement: Ensure information remains private by limiting authorized access to resources and blocking unauthorized access.
Protection Mechanisms: Primarily achieved through authentication and access controls.
Legal Context: State and federal laws may apply to confidentiality measures.
Breach Consequences: Can result in stolen identity or the exposure of business trade secrets.
Objective 2: Integrity
Requirement: Ensure data stored in and retrieved from the database is reliable, accurate, and consistent.
Protection Mechanisms: Preventing accidental or deliberate modifications. Integrity is the most difficult security item to measure.
Methods: Auditing is used to compare current data with older, backed-up versions.
Breach Consequences: Results in unreliable data, flawed programs, and system failures.
Objective 3: Availability
Requirement: Maintaining accessible network or database resources so the business can continue to operate.
Assessment Process: Identify potential threats (e.g., technical failures, natural disasters, intrusions, user-caused harm), assess the threat level, and plan appropriate interventions.
Online Intruder Types and Threats
Hackers vs. Crackers:
Hacker: A person who has mastered firmware/software and enjoys exploratory analysis without intending harm.
Cracker: A person who breaks into a network specifically to destroy or steal information.
Classification of Intruders:
White Hat (Ethical Hacker): Uses experience to test systems and provide security consultation. They pose no threat to the network. Example: A consultant hired to test environment security.
Grey Hat: Operates between a hacker and a cracker. They may act in goodwill (alerting a team to a flaw) or malice (stealing data for personal gain).
Black Hat: Breaks into networks without authorization and with malicious intent to steal or destroy. Example: Breaking into a point-of-sale system to steal credit card data.
Hactivist: Uses hacking skills to share ideologies regarding social, political, or economic topics. Can be malicious. Example: Hijacking a news website to display disparaging messages.
Script Kiddie: An amateur cracker who uses pre-written scripts and programs created by others. Often inexperienced and experimental. Example: Downloading a tool to haphazardly gain access to a network.
Social Engineers: People who manipulate users through deception and trickery to gain unauthorized access to systems or confidential information (e.g., tricking a user into revealing a password).
Human Vulnerabilities in Security
Computer Users: Over half () of security breaches are caused by network users.
Factors: Lack of education and disregard of policy.
Common Errors: Leaving computers unlocked/unattended, writing passwords on sticky notes, downloading unauthorized software, opening unknown email attachments, inappropriate disclosure of info over the phone, and procrastinating when reporting issues.
Administrators (Network and Database):
Their mistakes have high consequences for integrity, availability, and reliability.
The dynamic nature of data environments can cause administrators to create new security flaws accidentally.
Common Mistake: Failing to remove a user's rights and account credentials after they leave the organization.
The Internet and Web-Based Threats
Global Statistics:
In 2011, there were websites; by 2021, there were ( are active).
active internet users globally (approximately of the world population).
Online education market size is projected to reach by 2025.
Social networking was valued at in 2021.
Estimated malware programs currently exist.
Attacks and Vulnerabilities:
Hijacking: Rewriting web pages to distribute malicious code or redirect users to an attacker's site.
Spoofing: Creating a fraudulent website identical to a legitimate one (e.g., misspellings like "Gogle") to gather Personally Identifiable Information (PII).
SQL Injection: Appending malicious code onto a database-directed URL to force the database to send confidential information.
DNS Poisoning: A cracker gains control of a Domain Name Server (DNS) and substitutes their site IP address for a legitimate domain's IP address.
Dangerous Web Site Characteristics:
Illegal/Moral Suspect Sites: Darknets, pornography, and warez sites. Owners are unlikely to report hacking incidents.
Social Sites: Platforms like MySpace, Facebook, Blogger, and Twitter. High volume of inexperienced users leads to judgment errors.
Newsgroups/Technical Forums: Usenet and BinSearch. Perceived as credible, making users more likely to click malicious links.
Communication Channels and Malware
Email Threats:
The biggest threat to network and database environments.
Phishing: Using spoofed addresses and URLs to "fish" for PII.
Web-embedded HTML: Allows formatting but can also hide malicious scripts that execute simply by reading the email.
Instant Messages (IM): Data is often unencrypted during file transfers or peer dialog, allowing for spoofed "buddy names."
Tweets: Accounts are susceptible to phishing and redirection via included images and links.
Common Malware Types:
Computer Viruses: Form of malware designed to spread between computers.
Characteristics: Self-encryption (disguising appearance), Stealth (intercepting AV requests), Polymorphism (changing signature each time it infects), and Residence (installing in main system memory).
Classes: Logic bombs (triggered by conditions), Time bombs (delayed), Spyware (monitoring), Adware (marketing).
Types: Boot sector (loads on hard drive boot), Macro (replaces document macros), File-infected (attaches to executables), Multipartite (combined boot and file infection).
Worms: Self-replicating malware that does not need a user to travel. Path: Find weak target take control interrogate test new target.
Types: Email, IM, Internet, IRC, and File-sharing network worms.
Trojans: Disguises harmful code within games, movies, or updates.
Types: Remote Access Trojan (RAT), Data-sending Trojan (uses Keyloggers), Destructive Trojan (deletes files/registry), Proxy Trojan (uses victim's IP for crimes), FTP Trojan (downloads victim's files).
Bots: Software robots performing automated tasks (spam, Denial of Service/DoS attacks). A group of controlled bots is a Botnet.
The Security Architecture Life Cycle
Phase 1: Assessment and Analysis
Determine security needs, identify vulnerabilities, threats, and assets.
Security Audit: Identifies threats; can be internal or third-party.
Rule: Security costs should never exceed the value of the assets they protect.
Risk Assessment Steps: List all resources identify vulnerabilities/assets define asset value/damage cost create counter-measures prioritize.
Phase 2: Design and Modeling
Create policies (what to do) and procedures (how to do it).
Define baselines for success and plan user training.
Phase 3: Deployment
Purchasing and testing firmware/software in a controlled simulation (test environment) before full deployment.
Phase 4: Management and Support
Continuous performance monitoring and re-evaluation after failures or minor policy revisions.
Operational Security and Backup Management
Scope: Includes change management, update management, and disaster recovery plans.
Update vs. Upgrade:
Update: A small change/patch to software to fix a vulnerability.
Upgrade: A significant replacement of a software version (e.g., OS upgrade). It is riskier and often requires waiting for stability.
Backup Management Plan:
Media Storage Types:
CDs/DVDs: Optical technology ( to ). Low automation, high supervision.
Tape Backups: Magnetic tape, fully automated. Can store up to .
External/Jump Drives: Flash memory/USB ( to ). Little automation, minimal supervision.
Disaster Recovery Sites:
Cold Site: Provides only basic necessities for rebuilding.
Warm Site: Provides basic necessities plus hardware and software devices.
Hot Site: An exact replica of the organization's network for immediate reinstatement.