Chapter 12: Assessing System Security
Foundations of System Security Assessment
Core Purpose of Security Assessment
Assessing the current operational state of system security is fundamental to determining which defenses, countermeasures, and policies must be implemented.
Fundamental operational principle: If vulnerabilities, configurations, and unknown assets are not actively discovered, they cannot be remediated or improved.
Key Assessment Objectives
Accurately evaluate an individual system's security posture.
Scan endpoints and infrastructure for latent software and configuration vulnerabilities.
Evaluate the overarching security of an enterprise network environment.
Implement and execute the "Six Ps" security assessment framework.
Manage, deploy, and verify system and application patches.
Establish and maintain exhaustive security documentation.
Quantitative Risk Assessment Methodologies
Single Loss Expectancy (SLE)
Definition: Calculates the total monetary or operational impact caused by a single security occurrence or incident.
Key Components:
Asset Value (): The monetary valuation or replacement cost of the target asset.
Exposure Factor (): The specific percentage of the asset's total value that is compromised, damaged, or lost during an incident.
Formula:
Practical Example:
Base parameter: An enterprise laptop valued at , one year old, subject to a depreciation rate of per year.
Asset Value ():
Exposure Factor (): Accounted at () remaining worth.
Calculation: \800 \times 0.9 = \
Single Loss Expectancy ():
Annualized Loss Expectancy (ALE)
Definition: Quantifies the total financial loss an organization must anticipate from a specific threat or issue over an entire year.
Key Components:
Annual Rate of Occurrence (): The estimated frequency or probability of the event occurring within a twelve-month timeframe.
Formula:
Practical Example:
Base parameter: Organization estimates losing laptops per year () with an of .
Calculation: \720 \times 6 = \
Annualized Loss Expectancy ():
Risk Management and Security Rating Models
Residual Risk and Risk Response Categories
Residual Risk: The quantifiable security risk that remains active after all reasonable safeguards, mitigations, and countermeasures have been established.
Four Recognized Categories of Risk Response:
Mitigation: Implementing defensive controls and countermeasures to reduce the severity or likelihood of the risk.
Avoidance: Completely altering processes or eliminating activities to bypass the risk entirely.
Transference: Offloading financial or operational risk to an external third party (e.g., purchasing cybersecurity insurance or outsourcing services).
Acceptance: Consciously acknowledging and tolerating the risk when the cost of countermeasure implementation exceeds the potential damage.
Mathematical System Security Risk Rating Formula
Systems are scored on a scale from to across three distinct operational variables:
Attractiveness () to attackers or hackers ( to )
Information Content () / sensitivity of stored or processed data ( to )
Security Measures () currently implemented ( to )
Formula:
System Security Threshold: A lower numerical rating value () designates a substantially more secure system, whereas a higher score indicates critical vulnerability.
Data Valuation Classification Scale
Values to categorize data sensitivity, operational impact, and descriptive classes:
Value (Negligible Impact): Causes at most minor personal embarrassment. Represents non-sensitive public or consumer data such as video rental logs or retail book purchase records.
Value to (Slight Loss of Competitive Advantage): Low-level business data encompassing operational process and procedure documentation, basic customer contact directories, and general employee directories.
Value to (Significant Loss of Competitive Advantage): High-level commercial or military sensitivity, including enterprise strategic plans, corporate research findings, and fundamental military logistical data.
Value to (Significant Financial Loss and Reputation Damage): Severe operational disruption involving regulated personal and financial records: Social Security numbers, credit card data, banking credentials, detailed military logistics, personnel files, and confidential health records.
Value to (Significant Business Profit Loss and Operational Impact): Severe strategic compromise involving proprietary research and development data, patented technical blueprints, and classified military intelligence.
Value (Catastrophic Impact / Danger to National Security): Critical compromise that may result in loss of human life. Encompasses Top Secret national security data, active weapons design specifications, real-time troop locations, and operational intelligence agent identities.
Security Countermeasures Implementation Levels
Progressive defense levels applied across enterprise and institutional environments:
Level (No Security): System completely unguarded. Typically found among basic home computer users.
Level (Basic Antivirus): Baseline signature antivirus installed. Typical of standard home environments.
Level (Basic Perimeter and Host Filtering): Antivirus running alongside secure browser configurations and a basic packet-filtering firewall. Standard for small office/home office (SOHO) setups.
Level (Managed Patching and Endpoint Tools): Incorporates Level safeguards, routine patching workflows, anti-spyware engines, and strict browser hardening. Standard for small commercial businesses and educational institutions.
Level (Network Administration Hardening): Incorporates Level plus hardened router configs, enforced complex password policies, host-level server hardening, acceptable usage policies (AUP), download restrictions, and optional Intrusion Detection Systems (IDS). Standard for enterprises with full-time network administrators.
Level to (Enterprise Security Engineering): Incorporates Level plus dual IDS/anti-spyware protection, disabled unnecessary networking ports, subnet filtering, rigorous access policies, physical room controls, data encryption at rest, secure media disposal, stateful packet inspection firewalls, Demilitarized Zones (DMZ) for public servers, and comprehensive security documentation. Standard for organizations with specialized IT teams and dedicated security analysts.
Level to (High-Assurance Hardening): Incorporates Level to plus biometrics (e.g., fingerprint scanners), routine internal and external vulnerability audits, full-disk volume encryption (e.g., Windows Encrypting File System [EFS]), central audit logging, formal IT background investigations, hardened client/server configurations, encrypted network transit, and mandatory ID badge enforcement. Standard for large-scale enterprise environments with dedicated security teams.
Level (Maximum Security / Defense Installations): Incorporates Level to plus required government security clearances for IT personnel, continuous penetration testing, scheduled monthly audit/patch cycles, total removal or strict isolation of Internet access, disabled portable external media (USB storage, optical media), and armed physical security detachments. Standard for military headquarters, defense contractors, and advanced research facilities.
The Six Ps of Security Assessment
Patches
Evaluation Priority: Patch auditing must always serve as the initial step during a comprehensive system evaluation.
Patch Policy: Organizations must enforce a codified, mandatory written patch management policy.
Scope: Verification must extend past operating system kernels to every third-party application, driver, and utility installed.
Staged Deployment Rule: Never deploy security patches or configuration updates to all production systems concurrently; updates must follow segmented testing to prevent catastrophic infrastructure outages.
Automated Patch Management Solutions:
Windows Update (guided by official Microsoft technical documentation and FAQs)
HFNetChkPro
ZenWorks Patch Management
McAfee ePolicy Orchestrator
Ports
Attack Vector Context: Network viruses, worms, and remote exploits leverage known, unmonitored ports to gain initial footholds.
Countermeasure: Systematically disable and close every port not explicitly mandated by documented business services.
Role: Fundamental architectural component of defense-in-depth and layered network isolation.
Protect
Network Defense Verification: Assess that core protective appliances and services are deployed, active, and properly calibrated:
Perimeter and host firewalls
Antivirus platforms
Anti-spyware engines
Intrusion Detection Systems (IDS)
Proxy servers and Network Address Translation (NAT) devices
Strong cryptographic protocols for data transmission in transit
Proxy/NAT Configuration Risk: Misconfigured proxy or NAT gateways can be repurposed by unauthorized attackers to "bounce" malicious connection attempts through enterprise hardware, obscuring origin points during external attacks.
Policies
Formal security documentation establishing acceptable system usage, password parameters, and behavioral guidelines across all organizational tiers.
Probe
Systematic reconnaissance methods aimed at identifying weaknesses prior to exploitation:
Port Scanning: Analyzing well-known and dynamic ports to determine listening protocols and network entry points.
Enumeration: Querying target networks to identify user accounts, active network shares, connected printers, and host directories.
Vulnerability Assessment: Deploying specialized scanners or executing manual testing routines to cross-reference targets against known CVE records.
Physical
Direct physical hardware access protections across data centers and user workspaces:
Access restriction protocols encompassing server rooms, end-user desktop terminals, network patch panels, and storage media archives.
Maintenance of real-time, verified physical equipment and serial number inventories.
Advanced Physical Defense Measures:
Biometric physical locks at security perimeters.
Mandatory visitor sign-in logs accompanied by continuous employee escort policies.
Physical inspection of all incoming and outgoing bags at checkpoints.
Complete prohibition of personal or portable electronic recording devices within sensitive facilities.
Comprehensive audit logging of all printer tasks.
Rigorous audit logging of physical document reproduction and photocopier usage.
Vulnerability Assessment and Network Probing Tools
Port Scanners and Network Discovery Utilities
NetCop (Network Common Operational Picture):
Accessible, entry-level network discovery tool.
Scans single IP addresses or wide address ranges to identify open listening ports.
Maps discovered port numbers directly to common underlying network daemons.
NetBrute:
Scans for open network ports and maps accessible shared storage directories across hosts.
Analyzes remote web server hosts to extract operating system and HTTP server software metadata (similar to Netcraft).
Active Ports:
Freeware Windows monitoring utility.
Monitors all active TCP and UDP sockets on the local operating system.
Correlates local and remote IP addresses with local port numbers and allows direct, real-time termination of running malicious or unauthorized processes.
Supplementary Lightweight Scanners: Fport, TCPView, and SuperScan.
Nmap:
Industry-standard network discovery and security scanning utility utilized by offensive and defensive security teams.
Capable of performing robust command-line operations as well as graphical interactions via Zenmap.
Advanced Vulnerability and Protocol Analyzers
Cerberus:
Free downloadable vulnerability scanner operating across target IP addresses and URLs.
Flags insecure Windows Registry keys and provides specific configuration guidance for remediation.
Generates comprehensive inventory reports covering running services and known OS flaws.
Security Administrator Tool for Analyzing Networks (SATAN):
Legacy, UNIX-exclusive auditing suite requiring the Perl interpreter.
Analyzes setup and configuration errors within remote network daemons.
Tests system defenses by launching targeted attacks across three selectable intensity levels: Light attack, Normal attack, or Heavy attack.
Identifies running network services, maps hardware architectures, identifies operating systems, and models network topologies.
Security Administrator's Integrated Network Tool (SAINT):
High-performance vulnerability assessment engine derived from SATAN principles.
Scans network hosts, pinpoints configuration oversights, and prioritizes critical vulnerabilities.
Features rapid scan generation, customizable reporting interfaces, and automatic engine update checks during execution.
Nessus:
Robust, commercial network and vulnerability analysis scanner supporting Windows, Linux, and UNIX variants.
Utilizes a large library of modular plug-ins designed to evaluate specific CVEs and service configurations.
Provides highly detailed diagnostic reporting and remediation suggestions without altering or modifying the assessed target.
Microsoft Baseline Security Analyzer (MBSA):
Free diagnostic utility supplied by Microsoft to assess single hosts or enterprise domains using hostnames or IP ranges.
Scans for missing security updates, administrative misconfigurations, and OS-level vulnerabilities.
NSAuditor:
Windows enterprise reconnaissance tool used for network discovery and asset enumeration.
Can target the entire enterprise subnet or filter specifically against Domain Controllers (DC), network servers, and Microsoft SQL Server database instances.
Exports audit results natively into structured XML formats.
NetStat and NetStat Live (NSL):
Standard
netstatcomes native across Windows installations for evaluating active sockets.NetStat Live (NSL) provides an enhanced TCP/IP protocol monitoring interface displaying incoming/outgoing throughput and real-time CPU usage graphs.
Monitored Metrics: Local Machine, Remote Machine, Incoming Data, Incoming Totals, Outgoing Data, Outgoing Totals, System Threads, and CPU Usage.
Command-Line Contrast:
netstat -rdisplays the active kernel routing table, which functions comparably to the standalone Windows networking commandroute.
Industry Vulnerability Standards and Catalogs
Common Vulnerabilities and Exposures (CVE)
Standardized dictionary of publicly known cybersecurity flaws and hardware/software exposures.
Maintained and governed by the Mitre Corporation to provide a universal reference for security tools.
National Institute of Standards and Technology (NIST)
Houses the National Vulnerability Database (NVD).
Natively synchronizes with and organizes its repository using the standard CVE format.
Open Web Application Security Project (OWASP)
Global open community establishing standards, architectures, and guidelines for application layer security.
Renowned for publishing educational benchmarks and developer standards, notably the periodic OWASP Top 10 list of critical web application flaws.
The McCumber Cube Architecture

Overview of the Framework
Established by John McCumber to construct and evaluate information assurance and security architectures.
Models security across three intersecting, mutually dependent dimensions.
Dimension 1: The Core Goals (Security Objectives)
Confidentiality: Ensuring that information remains inaccessible and undisclosed to unauthorized systems or individuals.
Integrity: Protecting systems and data from improper, unauthorized modification or intentional deletion.
Availability: Guaranteeing authenticated users authorized, timely, and reliable access to systems and information assets.
Dimension 2: The Information States
Transmission: Data traversing internal network segments, WAN connections, or public internet routes (Data in Transit).
Storage: Inactive digital information residing on hard drives, optical disks, SANs, or database backups (Data at Rest).
Processing: Information loaded in dynamic RAM or CPU registers during system execution (Data in Use).
Dimension 3: Safeguards and Measures
Policy and Practices: Operational rules, administrative guidelines, regulatory policies, and acceptable usage mandates.
Human Factors / Education, Training, and Awareness: Mitigating human-centric risk via formal user security awareness, role-based technical training, and administrative accountability.
Technology: Hardware- and software-driven security controls, including firewalls, cryptographic engines, anti-malware utilities, and biometrics.
Enterprise Security Documentation Protocols
Physical Security Documentation
Maintain an exhaustive inventory of all physical access controls active across corporate facilities.
Document the precise physical floor, rack, and room location for every deployed hardware asset.
Maintain detailed, up-to-date access rosters enumerating every individual possessing physical keys, fobs, or combinations to secured server enclosures.
Archive physical entry ledger records, visitor sign-in documents, and security badge access logs alongside primary physical documentation files.
Policy and Personnel Documentation
Archive master copies of every enterprise policy, ensuring version-control tracking logs document all historical revisions.
Maintain signed copies of employee security agreements confirming that users have received, reviewed, and agreed to adhere to corporate security policies.
Maintain a detailed, up-to-date access matrix of all personnel, explicitly mapping user credentials to specific roles, groups, and authorization rights.
Probe and Vulnerability Documentation
Mandatory archiving of all internal audit reports, vulnerability scan logs, and architectural reviews.
Secure retention of third-party external penetration testing reports and third-party audit findings.
Document all follow-up vulnerability reports demonstrating that discovered flaws were patched, hardened, or remediated.
Compile thorough incident response reports detailing the chronology of security events, the extent of compromise, and the corrective actions taken to close exploit vectors.
Network Protection Documentation
Maintain specific make, model, software version, and configuration rulesets for all perimeter and interior firewalls.
Document all Intrusion Detection Systems (IDS) and Intrusion Prevention Systems (IPS), detailing sensor topologies and rule definitions.
Record enterprise deployments of antivirus and anti-spyware engines, engine signature schedules, and host endpoint coverage.
Track the operational status, location, and network purpose of all deployed honeypot monitoring assets.
Detail all endpoint-hardening configurations applied to individual servers, workstations, and network appliances across the enterprise.