Security Policy for CAcert Systems

CAcert Security Policy Status == wip
Creation date: 2009-02-16
Status: work-in-progress

1. INTRODUCTION

1.1. Motivation and Scope

This Security Policy sets out the policy for the secure operation of the CAcert critical computer systems. These computer systems include:

  1. Physical hardware mounting the logical services
  2. Webserver + database (core server(s))
  3. Signing service (signing server)
  4. Support interface
  5. Source code (changes and patches)

1.1.1. Effected Personnel

These roles and teams are effected:

1.1.2. Out of Scope

Non-critical systems are not covered by this manual, but may be guided by it, and impacted where they are found within the security context. Architecture is out of scope, see CPS#6.2.

1.2. Principles

Important principles of this Security Policy are:

Each task or asset is covered by a variety of protections deriving from the above principles.

1.3. Definition of Terms

Access Engineer
A Member who manages the critical hardware, including maintenance, access control and physical security. See §1.1.
Software Developer
A Member who reviews patches for security and workability, signs-off on them, and incorporates them into the repository. See §7.
Support ??? noun needed here
A Member who mans the support list, and has access to restricted data through the online interface. See §8.
Systems Administrator
A Member who manages a critial system, and has access to security-sensitive functions or data.

1.4. Documents and Version control

1.4.1. The Security Policy Document

This Security Policy is part of the configuration-control specification for audit purposes (DRC). It is under the control of Policy on Policy for version purposes.

This policy document says what is done, rather than how to do it.

1.4.2. The Security Manual (Practices) Document

This Policy explicitly defers detailed security practices to the Security Manual ("SM"), The SM says how things are done. As practices are things that vary from time to time, including between each event of practice, the SM is under the direct control of the Systems Administration team. It is located and version-controlled on the CAcert wiki.

1.4.3. The Security Procedures

The team leaders may from time to time explicitly defer single, cohesive components of the security practices into separate procedures documents. Each procedure should be managed in a wiki page under their control, probably at SystemAdministration/Procedures. Each procedure must be referenced explicitly in the Security Manual.

2. PHYSICAL SECURITY

2.1. Facility

CAcert shall host critical servers in a highly secure facility. There shall be independent verification of the physical and access security.

2.2. Physical Assets

2.2.1. Computers

Computers shall be inventoried before being put into service. Inventory list shall be available to all Access Engineeers and all Systems Administrators. List must be subject to change control.

Units shall have nickname clearly marked on front and rear of chassis. Machines shall be housed in secured facilities (cages and/or locked racks).

2.2.1.1 Acquisition

Acquisition of new equipment that is subject to a pre-purchase security risk must be done from a vendor that is regularly and commercially in business. Precautions must be taken to prevent equipment being prepared in advance.

2.2.2. Cables

Cabling to all equipment shall be labeled at both ends with identification of end points.

2.2.3. Media

2.2.3.1 Provisioning

Storage media (disk drives, tapes, removable media) are inventoried upon acquisition and tracked in their use.

New storage media (whether disk or removable) shall be securely wiped and reformatted before use.

2.2.3.2 Storage

Removable media shall be securely stored at all times, including when not in use. Drives that are kept for reuse are wiped securely before storage. Reuse can only be within critical systems.

When there is a change to status of media, a report is made to the log specifying the new status.

2.2.3.3 Retirement

Storage media that is exposed to critical data and is to be retired from service shall be destroyed or otherwise secured. The following steps are to be taken:

  1. The media is to be securely erased, and
  2. The media is securely destroyed.

Records of secure erasure and method of final disposal shall be tracked in the asset inventory. Where critical data is involved, 2 system administrators must sign-off on each step.

2.3. Physical Access

In accordance with the principle of dual control, at least two persons authorized for access must be on-site at the same time for physical access to be granted.

2.3.1. Access Authorisation

Access to physical equipment must be authorised.

2.3.2. Access Profiles

The Security Manual must present the different access profiles. At least one CAcert systems administrator will be present for logical access to CAcert critical servers. Only the most basic and safest of accesses should be done with one CAcert systems administrator present.

Only Systems Administrators are authorised to access the data. All others must not access the data. All are responsible for protecting the data from access by those not authorised.

2.3.3. Access Logging

All physical accesses are logged and reported to all.

2.3.4. Emergency Access

There is no procedure for emergency access. If emergency access is gained, this must be reported and justified immediately. See DPR.

2.3.5. Physical Security codes & devices

All personel who are in possession of physical security codes and devices (keys) are to be authorised and documented.

3. LOGICAL SECURITY

3.1. Network

3.1.1. Infrastructure

Current and complete diagrams of the physical and logical CAcert network infrastructure shall be maintained by systems administration team leader. These diagrams should include cabling information, physical port configuration details, and expected/allowed data flow directions, as applicable. Diagrams should be revision controlled, and must be updated when any change is made.

3.1.1.1. External connectivity

Only such services as are required for normal operation should be visible externally; systems and servers which do not require access to the Internet for their normal operation must not be granted that access.

3.1.1.2. Internal connectivity

System and server connections internal to the CAcert infrastructure should be kept to the minimum required for routine operations. Any new connectivity desired must be requested and approved by CAcert system administration team leader and then must be reflected in the appropriate infrastructure diagram(s).

3.1.2. Operating Configuration

3.1.2.1. Ingress

All ports on which incoming traffic is expected shall be documented; traffic to other ports must be blocked. Unexpected traffic must be logged as an exception.

3.1.2.2. Egress

All ports to which outbound traffic is initiated shall be documented; traffic to other ports must be blocked. Unexpected traffic must be logged as an exception.

3.1.3. Intrusion detection

Logs should be examined regularly (by manual or automatic means) for unusual patterns and/or traffic; anomalies should be investigated as they are discovered and should be reported to appropriate personnel in near-real-time (e.g. text message, email) and investigated as soon as possible. Suspicious activity which may indicate an actual system intrusion or compromise should trigger the incident response protocol described in section 5.1.

3.2. Operating System

Any operating system used for critical server machines must be available under an OSI-approved open source software license.

3.2.1. Disk Encryption

Any operating system used for critical server machines must support software full-disk or disk volume encryption, and this encryption option must be enabled for all relevant disks/volumes when the operating system is first installed on the machine.

3.2.2. Operating configuration

Servers must enable only the operating system functions required to support the necessary services. Options and packages chosen at OS install shall be documented, and newly-installed systems must be inspected to ensure that only required services are active, and their functionality is limited through configuration options. Any required application software must follow similar techniques to ensure minimal exposure footprint.

Documentation for installing and configuring servers with the appropriate software packages and configurations will be maintained by the system administrators in the wiki.

3.2.3. Patching

A.1.i, A.1.k:

Software used on production servers must be kept current with respect to patches affecting software security. Patch application is governed by CCS and must be approved by the systems administration team leader, fully documented in the logs and reported by email to the systems administration list on completion (see §4.2).

3.2.3.1. “emergency” patching

Application of a patch is deemed an emergency when a remote exploit for a weakness in the particular piece of software has become known (on servers allowing direct local user access, an emergent local exploit may also be deemed to be an emergency). Application of patches in this case may occur as soon as possible, bypassing the normal configuration-change process. The systems administration team leader must either approve the patch, instruct remedial action, or refer the case to dispute resolution.

Declaration of an emergency patching situation should not occur with any regularity. Emergency patch events must be documented within the regular summaries to Board.

3.3. Application

Software development takes place on various test systems (not a critical system). See §7. Once offered by Software Development (team), system administration team leader has to approve the installation of each release or patch.

Any changes made to source code must be referred back to software development.

3.4. Access control

General user access to CAcert services shall normally be conducted through a web-based application interface. Features are made available according to Assurance Points and direct permissions.

Direct Permissions are managed by the Application to enable special online administrators from the Support Team access to certain functions.

3.4.1. Authorisation

The access control lists are:

All changes to the above lists are approved by the board of CAcert.

3.4.2. Authentication

A strong method of authentication is used and documented.

3.4.3. Removing access

Termination actions must be documented, including resignation, arbitration, or determination by team or board.

4. OPERATIONAL SECURITY

4.1. System administration

Primary systems administration tasks shall be conducted under four eyes principle. These shall include backup performance verification, log inspection, software patch identification and application, account creation and deletion, and hardware maintenance.

System administrators must pass a background check and comply with all applicable policies in force.

4.1.1. Privileged accounts and passwords

Access to Accounts (root and user via SSH or console) must be strictly controlled. Passwords and passphrases entered into the systems will be kept private to CAcert sysadmins in all cases.

4.1.1.1. Authorized users

Only system administrators designated on the Access List shall be authorized to access accounts.

Assumes above that there is no reason to have access to a Unix-level account on the critical machines unless on the Access List.

4.1.1.2. Access to Systems

All remote communications for systems administration purposes is encrypted, logged and monitored.

4.1.1.3. Changing

Passwords must be kept secure. The procedure for changing passwords should be documented.

4.1.2. Required staff response time

Response times should be documented.

4.1.3. Change management procedures

All changes made to system configuration must be recorded.

4.2. Logging

4.2.1. Coverage

Logs shall be maintained for:

4.2.2. Access and Security

Access to logs must be restricted. The security of the logs should be documented. The records retention should be documented.

4.2.3. Automated logs

Logging should be automated, and use should be made of appropriate system-provided automated tools. Automated logs should be reviewed periodically; suspicious events should be flagged and investigated in a timely fashion.

4.2.4. Operational (manual) logs

Configuration changes, no matter how small, must be logged. Access to this log shall be restricted.

All physical visits will be logged and a report provided by the accessor.

4.3. Backup

The procedure for all backups must be documented, according to the following sub-headings.

4.3.1. Type

Backups must be taken for operational and for disaster recovery purposes ("offline"). Disaster recovery backups must be offline and remote. Operational backups may be online and local.

4.3.2. Frequency

Document.

4.3.3. Storage

Backups must be protected to the same level as the critical systems themselves. Offline backups should be distributed.

4.3.4. Retention period and Re-use

Document.

4.3.5. Encryption

Backups must be encrypted and must only be transmitted via secured channels. Off-site backups must be dual-encrypted using divergent methods.

4.3.6. Verifying Backups

Two CAcert system administrators must be present for verification of a backup. Four eyes principle must be maintained when the key and backup are together. For any other purpose than verification of the success of the backup, see next.

4.3.7. Key Management

The encryption keys must be stored securely by the CAcert systems administrators. Paper documentation must be stored with manual backups.

4.3.8. Reading Backups

Conditions and procedures for examining the backups for purposes other than for verification must be documented and must be under Arbitrator control.

4.4. Data retention

4.4.1. User data

Termination of user data is under direction of the Arbitrator. See CCA.

4.4.2. System logs

Document.

4.4.3. Incident reports

The systems administration team leader is to maintain incident reports securely. Access to incident reports is restricted.

4.5. Cycling

Document.

5. INCIDENT RESPONSE

5.1. Incidents

Incidents and sources of important events and logging should be documented.

5.2. Detection

The standard of monitoring, alerting and reporting must be documented.

5.3. Immediate Action

5.2.1. Severity and Priority

On discovery of an incident, an initial assessment of severity and priority must be made.

5.2.2. Communications

An initial report should be sent to systems administrators and wider interested parties.

A communications forum should be established for direct support of high priority or high severity incidents.

5.2.3. Oversight

A process of escalation of oversight should be eastablished.

5.4. Investigation

Incidents must be investigated. The investigation must be documented. Evidence must be secured if the severity is high.

5.5. Response

Document.

5.6. Report

A report should be appended to the documentation of the investigation, and distributed in the act of closing the investigation.

Incidents are not normally kept secret or confidential. Ony under a defined exception under policy, or under the oversight of the Arbitrator, may confidentiality be maintained. The knowledge of the existence of the event must not be kept secret, nor the manner in which it is kept confidential.

6. DISASTER RECOVERY

Disaster Recovery is the responsibility of the Board of CAcert Inc.

6.1. Business Processes

Board must develop and maintain documentation on Business Processes. From this list, Core Processes for business continuity / disaster recovery purposes must be identified.

6.2. Recovery Times

Board should identify standard process times for all processes, and must designate Maximum Acceptable Outages and Recovery Time Objectives for the Core Processes.

6.3. Plan

Board must have a basic plan to recover.

6.4. Key Persons List

Board must maintain a key persons List with all the contact information needed.

7. SOFTWARE DEVELOPMENT

8. SUPPORT

9. ADMINISTRATIVE

9.1. Staffing

9.1.1. Roles and responsibilities

9.1.2. Staffing levels

Each team should have a minimum of 2 members available at any time. Individuals should be active in only one team at any one time, but may be observers on any number of teams.

One individual in each team is designated leader and reports to Board.

9.1.3. Process of new Team Members

New team members need:

The team supports the process of adding new team members.

9.1.4. Background Check Procedures

Background checks are carried out with full seriousness. Background checks must be conducted under the direction of the Arbitrator, with a separate Case Manager to provide four eyes.

9.1.4.1. Scope

An investigation should include examination of:

9.1.4.2. Coverage

A background check is to be done for all critical roles. The background check should be done on all of:

9.1.4.3. Documentation

The process of the background check should be documented as a procedure.

Documentation of each individual check should be preserved and should be reviewable under any future Arbitration. It must include:

9.1.4.4. Privacy for Hard Roles

The following privacy considerations exist:

CAcert trusted roles give up some privacy for the privacy of others.

9.1.5. Authorisation

Individuals and access (both) must be authorised by the Board. Only the Board may approve new individuals or any access to the systems. Each Individual should be proposed to the Board, with the relevant supporting information as above.

The Board should deliberate directly and in full. Board members who are also active in the area should recuse from the vote, but should support the deliberations. Deliberations and decisions should be documented. All conflicts of interest should be examined.

9.1.6. Security

It is the responsibility of all individuals to observe and report on security issues. All of CAcert observes all where possible. It is the responsibility of each individual to resolve it satisfactorily, or to ensure that it is reported fully.

Only information subject to a specific and documented exception may be kept secret or confidential. The exception itself must not be secret or confidential. All secrets and confidentials are reviewable under Arbitration, and may be reversed.

9.1.7. Termination of staff

Termination of access may be for resignation, Arbitration ruling, or decision of Board or team leader. On termination (for any reason), access and information must be secured.

9.1.8. HR and Training

It is the responsibility of the team leaders to coordinate technical testing and training, especially of new team members.

9.2. Key changeover

what goes in here? Non-root keys?

9.3. Key generation/transfer

9.3.1. Root Key generation

Root keys should be generated on a machine built securely for that purpose only and cleaned/wiped/destroyed immediately afterwards.

9.3.2. Backup and escrow

Root keys must be kept on reliable removable media used for that purpose only. Private Keys must be encrypted and should be dual-encrypted. Passphrase must be strong and must be separately escrowed from media. Dual control must be maintained.

The top-level root must be escrowed under Board control. Subroots may be escrowed by either Board or Systems Administration Team.

9.3.3. Recovery

Recovery must only be conducted under Board or Arbitrator direction. A recovery exercise should be conducted approximately every year.

9.4. Root certificate changes

9.4.1. Creation

Document.

9.4.2. Revocation

Document.

9.4.3. Public notification

Board has responsibility for formal advisory to the public.

9.5. Legal

9.5.1. Responsibility

The board is responsible for the CA at the executive level.

9.5.2. Response to external (legal) inquiry

All external inquiries of security import are filed as disputes and placed before the Arbitrator under DRP.

Only the Arbitrator has the authority to deal with external requests and/or create a procedure. Systems administrators, board members and other key roles do not have the authority to answer legal inquiry. The Arbitrator's ruling may instruct individuals, and becomes your authority to act.

9.6. Outsourcing

CAcert may at its option outsource critical components to other organisations, however this must not be a barrier to security. Outsourced arrangements must be transparent.

Any outsourcing arrangements must be documented. All arrangements must be:

Specifically, all involved personnel must be CAcert Assurers. Contracts should be written with the above in mind.

10. REFERENCES

10.1 Contacts

Contact information for all key people and teams must be documented.

10.2 Documents

All incorporated Documents must be documented.

10.3 Related Documents

Relevant and helpdul Documents should be referenced for convenience.


Valid HTML 4.01

This is the end of the Security Policy.