Unit 4: Network, Endpoint, and Application Security Capabilities - Subjective Questions
CSC302 — Securing Computing Systems • Practice Questions with Detailed Answers
20 questions
Define Network Security Capability Enhancement. Explain why organizations need to continuously enhance their network security capabilities.
Network Security Capability Enhancement refers to the ongoing process of improving an organization's ability to detect, prevent, respond to, and recover from network-based threats by adding, upgrading, or optimizing security controls, tools, and processes.
Why organizations need continuous enhancement:
- Evolving threat landscape: Attackers constantly develop new techniques (zero-days, advanced persistent threats), so static defenses become obsolete.
- Expanding attack surface: Adoption of cloud, IoT, mobile, and remote work increases entry points.
- Regulatory compliance: Standards like PCI-DSS, HIPAA, and GDPR require up-to-date controls.
- Technology upgrades: New protocols and architectures (e.g., Zero Trust) demand updated capabilities.
- Reducing dwell time: Enhanced detection reduces the time attackers remain undetected.
Key enhancement areas:
- Next-generation firewalls (NGFW) and IPS/IDS tuning
- Network segmentation and micro-segmentation
- Encrypted traffic inspection
- Continuous monitoring and SIEM integration
- Automation and orchestration (SOAR)
Explain the concept of Network Security Baselines. Describe the steps involved in establishing a security baseline.
A Network Security Baseline is a documented, standardized minimum set of security configurations, controls, and settings that all devices and systems in a network must comply with. It represents the accepted secure state against which deviations are measured.
Importance:
- Provides a consistent security posture across the organization
- Enables detection of unauthorized changes (deviation analysis)
- Simplifies auditing and compliance
Steps to establish a baseline:
- Inventory assets: Identify all devices, systems, and network components.
- Define requirements: Determine security needs based on policy, risk, and compliance.
- Reference standards: Use frameworks such as CIS Benchmarks, NIST SP 800-series, or vendor hardening guides.
- Document configurations: Specify approved settings (ports, protocols, services, patch levels).
- Implement controls: Apply the baseline across all applicable systems.
- Monitor and audit: Continuously compare current state with the baseline.
- Review and update: Periodically revise the baseline to address new threats.
Example baseline items:
- Disable unused ports and services
- Enforce strong authentication
- Apply latest security patches
- Enable logging and monitoring
What is Endpoint Security? Describe the major components used to implement endpoint security in an organization.
Endpoint Security is the practice of protecting end-user devices—such as laptops, desktops, servers, and mobile devices—from cyber threats. Each endpoint is a potential entry point for attacks, making its protection critical.
Major components of endpoint security:
- Antivirus/Anti-malware: Detects and removes malicious software using signatures and heuristics.
- Endpoint Detection and Response (EDR): Provides continuous monitoring, threat detection, and automated response at the endpoint level.
- Host-based Firewall: Controls inbound/outbound traffic on individual devices.
- Host Intrusion Prevention System (HIPS): Monitors and blocks suspicious activities.
- Data Loss Prevention (DLP): Prevents unauthorized data exfiltration.
- Disk Encryption: Protects data at rest (e.g., BitLocker, FileVault).
- Patch Management: Keeps software updated to close vulnerabilities.
- Application Whitelisting: Allows only approved applications to run.
- Device Control: Restricts USB and peripheral usage.
Best practices:
- Centralized management console
- Least privilege access
- Regular updates and policy enforcement
Distinguish between traditional Antivirus and Endpoint Detection and Response (EDR) solutions.
Both protect endpoints but differ significantly in capability and approach.
| Feature | Traditional Antivirus | Endpoint Detection and Response (EDR) |
|---|---|---|
| Detection method | Signature-based, known malware | Behavioral analysis, heuristics, ML |
| Scope | Prevention of known threats | Detection, investigation, and response |
| Visibility | Limited | Deep, continuous endpoint telemetry |
| Response | Quarantine/delete files | Automated containment, isolation, remediation |
| Threat hunting | Not supported | Supports proactive threat hunting |
| Zero-day defense | Weak | Strong (anomaly detection) |
| Forensics | Minimal | Detailed incident timeline and root cause |
Summary:
- Antivirus is reactive and focuses on blocking known malware.
- EDR is proactive, providing visibility, detection of advanced threats, and the ability to respond and investigate incidents.
Modern environments often combine both, with EDR increasingly incorporating next-gen antivirus (NGAV) capabilities.
Explain Mobile Device Hardening. Describe at least six techniques used to harden mobile devices.
Mobile Device Hardening is the process of securing mobile devices (smartphones, tablets) by reducing their attack surface and enforcing security controls to protect data and prevent unauthorized access.
Hardening techniques:
- Strong authentication: Enforce PINs, passwords, biometrics, and multi-factor authentication.
- Encryption: Enable full-device and storage encryption to protect data at rest.
- OS and app updates: Keep the operating system and applications patched.
- Mobile Device Management (MDM): Centrally enforce policies, remote wipe, and configuration.
- App control: Restrict installation to trusted app stores and whitelist approved apps.
- Disable unnecessary features: Turn off Bluetooth, NFC, location services when not needed.
- Remote wipe/lock: Enable the ability to erase data if the device is lost or stolen.
- Containerization: Separate corporate and personal data (BYOD environments).
- VPN usage: Secure communications over untrusted networks.
- Jailbreak/root detection: Block compromised devices from accessing corporate resources.
Benefits:
- Reduced risk of data breaches
- Compliance with security policies
- Protection against malware and theft
What is Mobile Device Management (MDM)? Explain its role in enterprise mobile security.
Mobile Device Management (MDM) is a centralized software solution that allows organizations to manage, monitor, secure, and enforce policies on mobile devices used within the enterprise.
Core functions:
- Enrollment: Register devices into the management system.
- Policy enforcement: Apply password rules, encryption, and restrictions.
- Configuration management: Push Wi-Fi, VPN, email, and certificate settings.
- Application management: Distribute, update, and remove apps remotely.
- Remote actions: Lock, locate, or wipe lost/stolen devices.
- Compliance monitoring: Detect jailbroken/rooted devices and policy violations.
Role in enterprise security:
- Enables secure BYOD (Bring Your Own Device) and COPE (Corporate-Owned, Personally Enabled) models.
- Protects corporate data through containerization, separating work and personal data.
- Ensures regulatory compliance by enforcing consistent policies.
- Reduces risk from lost/stolen devices via remote wipe.
Related concepts:
- MAM (Mobile Application Management): Focuses on app-level control.
- UEM (Unified Endpoint Management): Extends MDM to all endpoints including desktops and IoT.
Describe Application Protocol Security Baselines. Why is securing application-layer protocols important?
Application Protocol Security Baselines define the minimum security configurations and standards for application-layer protocols (such as HTTP, FTP, DNS, SMTP, SNMP) to ensure confidentiality, integrity, and availability of communications.
Importance of securing application-layer protocols:
- Application protocols often carry sensitive data (credentials, personal data).
- Many legacy protocols transmit data in plaintext, exposing them to interception.
- They are frequent targets for attacks (injection, spoofing, man-in-the-middle).
Common insecure protocols and secure alternatives:
| Insecure | Secure Replacement |
|---|---|
| HTTP | HTTPS (TLS) |
| FTP | SFTP / FTPS |
| Telnet | SSH |
| SNMPv1/v2 | SNMPv3 |
| DNS | DNSSEC / DNS over HTTPS (DoH) |
| SMTP | SMTP with STARTTLS |
Baseline recommendations:
- Enforce encryption (TLS 1.2/1.3) for data in transit.
- Disable deprecated/insecure protocols and ciphers.
- Use strong authentication mechanisms.
- Validate certificates and enable integrity checks.
- Apply regular patching and configuration reviews.
Explain the differences between HTTP and HTTPS. How does TLS secure web communications?
HTTP (HyperText Transfer Protocol) is the standard protocol for transferring web content but transmits data in plaintext, making it vulnerable to eavesdropping and tampering.
HTTPS (HTTP Secure) is HTTP layered over TLS (Transport Layer Security), providing a secure channel.
Key differences:
| Aspect | HTTP | HTTPS |
|---|---|---|
| Port | 80 | 443 |
| Encryption | None | TLS encryption |
| Data integrity | No | Yes |
| Authentication | No | Server (and optionally client) via certificates |
| Security | Vulnerable to MITM | Protected |
How TLS secures communications:
- Handshake: Client and server negotiate TLS version and cipher suites.
- Authentication: Server presents a digital certificate validated against a trusted CA.
- Key exchange: Asymmetric cryptography (e.g., RSA, ECDHE) establishes a shared session key.
- Encryption: Symmetric encryption (e.g., AES) protects the actual data.
- Integrity: Message Authentication Codes (MAC/HMAC) ensure data is not altered.
Result: TLS provides confidentiality, integrity, and authentication, preventing interception and tampering.
Describe the Cloud Shared Responsibility Model. Explain how security responsibilities differ across IaaS, PaaS, and SaaS.
The Cloud Shared Responsibility Model defines the division of security responsibilities between the cloud service provider (CSP) and the customer. The provider secures the cloud infrastructure, while the customer secures what they put in the cloud.
General principle:
- Provider responsibility: Security of the cloud (physical hardware, networking, virtualization).
- Customer responsibility: Security in the cloud (data, access, configuration).
Responsibility distribution across service models:
| Layer | IaaS | PaaS | SaaS |
|---|---|---|---|
| Data | Customer | Customer | Customer |
| Application | Customer | Customer | Provider |
| Runtime | Customer | Provider | Provider |
| OS | Customer | Provider | Provider |
| Virtualization | Provider | Provider | Provider |
| Hardware/Network | Provider | Provider | Provider |
Explanation:
- IaaS (e.g., AWS EC2): Customer manages OS, applications, and data; most responsibility lies with the customer.
- PaaS (e.g., App Engine): Provider manages OS and runtime; customer handles applications and data.
- SaaS (e.g., Office 365): Provider manages almost everything; customer mainly manages data and access controls.
Key takeaway: Regardless of the model, the customer always remains responsible for their data and identity/access management.
Explain the OWASP Top 10 and its significance in web application security. Describe any four common web application vulnerabilities.
The OWASP Top 10 is a standard awareness document published by the Open Web Application Security Project that lists the ten most critical web application security risks. It serves as a baseline for developers and security teams to prioritize mitigation efforts.
Significance:
- Provides industry-recognized guidance
- Helps prioritize the most impactful vulnerabilities
- Used as a compliance and training reference
Four common web application vulnerabilities:
-
Injection (e.g., SQL Injection): Untrusted input is interpreted as part of a command/query, allowing attackers to manipulate databases. Mitigation: parameterized queries, input validation.
-
Broken Authentication: Weak session or credential management allows attackers to impersonate users. Mitigation: MFA, strong session handling.
-
Cross-Site Scripting (XSS): Malicious scripts injected into web pages execute in users' browsers. Mitigation: output encoding, Content Security Policy (CSP).
-
Security Misconfiguration: Default settings, open ports, or verbose errors expose systems. Mitigation: hardening, secure defaults, regular audits.
Other notable risks: Insecure Design, Vulnerable Components, Cryptographic Failures, SSRF, and Insufficient Logging & Monitoring.
What is Network Segmentation? Explain how micro-segmentation improves network security.
Network Segmentation is the practice of dividing a network into smaller, isolated segments or zones to control traffic flow and limit the spread of threats.
Benefits of segmentation:
- Containment: Limits lateral movement of attackers.
- Reduced attack surface: Isolates critical systems.
- Improved performance: Reduces congestion.
- Compliance: Isolates regulated data (e.g., PCI zones).
Types of segmentation:
- Physical segmentation: Separate hardware/networks.
- Logical segmentation: VLANs, subnets, firewalls.
Micro-segmentation:
Micro-segmentation extends segmentation down to the individual workload or application level, applying granular security policies to each segment, often in data centers and cloud environments.
How it improves security:
- Enforces least privilege at the workload level.
- Prevents east-west (lateral) movement within the data center.
- Policies follow workloads even as they move (dynamic).
- Enables a Zero Trust architecture where no traffic is implicitly trusted.
Example: Even if an attacker compromises one web server, micro-segmentation prevents them from directly reaching the database server unless explicitly permitted.
Define Zero Trust Architecture (ZTA). Explain its core principles and how it differs from the traditional perimeter-based security model.
Zero Trust Architecture (ZTA) is a security model based on the principle "never trust, always verify." It assumes no user, device, or network is inherently trustworthy, regardless of location.
Core principles:
- Verify explicitly: Authenticate and authorize every request based on all available data (identity, device, location).
- Least privilege access: Grant minimum necessary permissions.
- Assume breach: Design as if attackers are already inside; segment and monitor continuously.
- Continuous verification: Trust is never permanent; it is re-evaluated continuously.
Key components:
- Strong identity and access management (IAM, MFA)
- Micro-segmentation
- Device compliance checks
- Continuous monitoring and analytics
Comparison with traditional perimeter model:
| Aspect | Perimeter (Castle-and-Moat) | Zero Trust |
|---|---|---|
| Trust | Inside = trusted | No implicit trust |
| Focus | Network boundary | Identity & resources |
| Lateral movement | Easy once inside | Restricted |
| Suitability | On-premise | Cloud, remote, hybrid |
Summary: Traditional models trust internal traffic, making them vulnerable to insider threats and lateral movement. ZTA continuously verifies every access attempt, improving security for modern distributed environments.
Compare IDS (Intrusion Detection System) and IPS (Intrusion Prevention System). Explain their deployment and detection methods.
Both IDS and IPS monitor network/host activity for malicious behavior but differ in their response.
IDS (Intrusion Detection System):
- Function: Detects and alerts on suspicious activity.
- Mode: Passive (out-of-band), monitors a copy of traffic.
- Response: Generates alerts/logs; does not block.
IPS (Intrusion Prevention System):
- Function: Detects and actively blocks threats.
- Mode: Inline (in-band), traffic passes through it.
- Response: Drops malicious packets, blocks connections.
Comparison table:
| Feature | IDS | IPS |
|---|---|---|
| Placement | Out-of-band | Inline |
| Action | Alert only | Alert + block |
| Latency impact | None | Possible |
| Risk | Misses active blocking | False positive may block legit traffic |
Detection methods (both):
- Signature-based: Matches known attack patterns; effective for known threats but misses zero-days.
- Anomaly-based: Compares against a normal baseline; detects unknown threats but may cause false positives.
- Heuristic/behavioral: Uses rules and behavior analysis.
Deployment: IDS is often placed on a SPAN/mirror port; IPS is placed inline at network choke points. Modern NGFWs integrate both as IDPS.
Explain the concept of a Web Application Firewall (WAF). How does it protect web applications, and how does it differ from a traditional firewall?
A Web Application Firewall (WAF) is a security device/service that monitors, filters, and blocks HTTP/HTTPS traffic to and from a web application. It operates at Layer 7 (application layer) of the OSI model.
How a WAF protects web applications:
- Inspects HTTP requests and responses for malicious patterns.
- Blocks common attacks such as SQL injection, XSS, CSRF, and file inclusion.
- Enforces rules based on OWASP Top 10 threats.
- Provides rate limiting and bot mitigation.
- Can operate in detection or prevention mode.
Deployment models:
- Network-based (hardware)
- Host-based (server module)
- Cloud-based (e.g., AWS WAF, Cloudflare)
Difference from traditional firewall:
| Aspect | Traditional Firewall | WAF |
|---|---|---|
| OSI layer | Layers 3-4 (network/transport) | Layer 7 (application) |
| Focus | IP, port, protocol filtering | HTTP content and web attacks |
| Protection | Network traffic | Web application-specific threats |
| Awareness | No application context | Understands web requests |
Summary: A traditional firewall controls network access, while a WAF specifically understands and defends web application traffic. They are complementary, not replacements.
Describe the key security considerations and best practices for securing cloud environments.
Securing cloud environments requires addressing unique challenges arising from shared infrastructure, dynamic scaling, and distributed access.
Key security considerations:
- Shared responsibility: Understand provider vs. customer obligations.
- Data protection: Encryption at rest and in transit.
- Identity and access management (IAM): Strong authentication and least privilege.
- Misconfiguration: A leading cause of cloud breaches (e.g., public S3 buckets).
- Compliance and data residency: Meet legal/regulatory requirements.
- Visibility and monitoring: Lack of visibility can hide threats.
Best practices:
- Enforce MFA and role-based access control (RBAC).
- Encrypt data using strong keys and manage keys securely (KMS).
- Enable logging and monitoring (e.g., CloudTrail, SIEM integration).
- Use CSPM (Cloud Security Posture Management) to detect misconfigurations.
- Apply network controls: security groups, NACLs, micro-segmentation.
- Automate patching and compliance checks.
- Implement backup and disaster recovery.
- Adopt a Zero Trust model.
Related tools/concepts:
- CASB (Cloud Access Security Broker): Enforces policies between users and cloud services.
- CWPP (Cloud Workload Protection Platform): Protects workloads.
Explain SQL Injection attacks in detail. Provide an example and describe mitigation techniques.
SQL Injection (SQLi) is a web application vulnerability where an attacker inserts or "injects" malicious SQL code into input fields, manipulating the backend database to bypass authentication, extract data, or alter records.
How it works:
When user input is directly concatenated into SQL queries without validation, attackers can alter the query logic.
Example:
Consider a login query:
SELECT * FROM users WHERE username = 'input_user' AND password = 'input_pass';If the attacker enters the username as:
' OR '1'='1
The query becomes:
SELECT * FROM users WHERE username = '' OR '1'='1' AND password = '';Since '1'='1' is always true, authentication is bypassed.
Impacts:
- Unauthorized data access
- Data modification/deletion
- Authentication bypass
- Complete database compromise
Mitigation techniques:
- Parameterized queries / prepared statements: Separate code from data.
- Stored procedures with safe parameters.
- Input validation and sanitization.
- Least privilege database accounts.
- Web Application Firewall (WAF).
- Escaping special characters and using ORM frameworks.
Best defense: Use parameterized queries as the primary control.
Distinguish between Cross-Site Scripting (XSS) and Cross-Site Request Forgery (CSRF) attacks.
Both are client-side web application attacks but differ in mechanism and target.
Cross-Site Scripting (XSS):
- Attacker injects malicious scripts into web pages viewed by other users.
- Exploits the trust a user has in a website.
- Can steal cookies, session tokens, or deface pages.
- Types: Stored, Reflected, DOM-based.
Cross-Site Request Forgery (CSRF):
- Tricks an authenticated user into unknowingly submitting a malicious request.
- Exploits the trust a website has in a user's browser.
- Can perform actions like changing passwords or transferring funds.
Comparison table:
| Aspect | XSS | CSRF |
|---|---|---|
| Exploits | Trust of user in site | Trust of site in user |
| Attack vector | Malicious script execution | Forged authenticated request |
| Requires auth session | Not necessarily | Yes |
| Target | User's browser/data | Server actions on behalf of user |
Mitigations:
- XSS: Output encoding, input validation, Content Security Policy (CSP), HttpOnly cookies.
- CSRF: Anti-CSRF tokens, SameSite cookies, re-authentication for sensitive actions.
Note: XSS can be used to bypass CSRF protections, so defending against XSS is foundational.
Explain the importance of patch management and configuration management in maintaining endpoint and network security baselines.
Patch Management and Configuration Management are foundational processes for maintaining a secure baseline across endpoints and networks.
Patch Management:
The process of acquiring, testing, and installing software updates (patches) to fix vulnerabilities and bugs.
Importance:
- Closes known security vulnerabilities before exploitation.
- Reduces risk from malware and exploits (e.g., WannaCry exploited unpatched systems).
- Maintains compliance.
Process:
- Inventory assets.
- Identify available patches.
- Test in a controlled environment.
- Deploy and verify.
- Document and monitor.
Configuration Management:
The process of establishing and maintaining consistent, secure settings across systems.
Importance:
- Prevents security misconfigurations (a top vulnerability).
- Ensures systems conform to the defined security baseline.
- Enables detection of unauthorized changes (configuration drift).
- Supports auditing and rollback.
Tools:
- Patch: WSUS, SCCM, automated patch managers.
- Configuration: Ansible, Puppet, Chef, Group Policy, CIS-CAT.
Combined benefit: Together they keep systems hardened, consistent, and resilient against evolving threats, forming the operational backbone of security baselines.
Describe the security challenges of BYOD (Bring Your Own Device) policies and the strategies used to mitigate the associated risks.
BYOD (Bring Your Own Device) allows employees to use personal devices for work. While it increases flexibility and productivity, it introduces significant security challenges.
Security challenges:
- Data leakage: Corporate data mixed with personal data on unmanaged devices.
- Lost/stolen devices: Risk of exposing sensitive information.
- Lack of control: Difficult to enforce patching and security policies.
- Malware: Personal apps may introduce malware into the corporate network.
- Mixed usage: Privacy concerns when monitoring personal devices.
- Diverse platforms: Many OS versions complicate standardization.
- Insecure networks: Devices connect over untrusted public Wi-Fi.
Mitigation strategies:
- MDM/UEM solutions: Enforce policies, remote wipe, and compliance checks.
- Containerization: Separate corporate and personal data into secure containers.
- MAM (Mobile Application Management): Control only corporate apps and data.
- Strong authentication: MFA and device compliance before access.
- Encryption: Protect corporate data at rest and in transit.
- VPN access: Secure connections to corporate resources.
- Acceptable Use Policy (AUP): Clear BYOD usage rules.
- Network Access Control (NAC): Validate device posture before granting access.
Balance: Policies must protect corporate data while respecting user privacy.
Explain the role of Secure Email Protocols and DNS security mechanisms in application protocol security.
Email and DNS are critical application-layer services frequently targeted by attackers. Securing them is essential to a strong application protocol security baseline.
Secure Email Protocols:
Traditional email protocols (SMTP, POP3, IMAP) were designed without security, transmitting data in plaintext.
Security mechanisms:
- STARTTLS: Upgrades SMTP/IMAP/POP3 connections to encrypted TLS.
- SMTPS/IMAPS/POP3S: Encrypted versions using TLS.
- SPF (Sender Policy Framework): Verifies that email originates from authorized servers.
- DKIM (DomainKeys Identified Mail): Adds a digital signature to verify authenticity and integrity.
- DMARC: Builds on SPF and DKIM to specify handling of failed messages and prevent spoofing.
- S/MIME & PGP: End-to-end email encryption and signing.
DNS Security Mechanisms:
DNS is vulnerable to spoofing, cache poisoning, and hijacking.
- DNSSEC (DNS Security Extensions): Uses digital signatures to ensure DNS response authenticity and integrity.
- DNS over HTTPS (DoH) / DNS over TLS (DoT): Encrypt DNS queries for confidentiality.
- DNS filtering: Blocks access to malicious domains.
Importance:
- Prevents phishing and spoofing (email).
- Protects against man-in-the-middle and cache poisoning (DNS).
- Ensures confidentiality, integrity, and authenticity of communications.
Define Network Security Capability Enhancement. Explain why organizations need to continuously enhance their network security capabilities.
Network Security Capability Enhancement refers to the ongoing process of improving an organization's ability to detect, prevent, respond to, and recover from network-based threats by adding, upgrading, or optimizing security controls, tools, and processes.
Why organizations need continuous enhancement:
- Evolving threat landscape: Attackers constantly develop new techniques (zero-days, advanced persistent threats), so static defenses become obsolete.
- Expanding attack surface: Adoption of cloud, IoT, mobile, and remote work increases entry points.
- Regulatory compliance: Standards like PCI-DSS, HIPAA, and GDPR require up-to-date controls.
- Technology upgrades: New protocols and architectures (e.g., Zero Trust) demand updated capabilities.
- Reducing dwell time: Enhanced detection reduces the time attackers remain undetected.
Key enhancement areas:
- Next-generation firewalls (NGFW) and IPS/IDS tuning
- Network segmentation and micro-segmentation
- Encrypted traffic inspection
- Continuous monitoring and SIEM integration
- Automation and orchestration (SOAR)
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →