Debian Security An overview of features and processes Debian - - PowerPoint PPT Presentation

debian security
SMART_READER_LITE
LIVE PREVIEW

Debian Security An overview of features and processes Debian - - PowerPoint PPT Presentation

Debian Security An overview of features and processes Debian Security Todd Troxell <ttroxell@debian.org> http://www.debian.org Who is this guy? Debian Security Todd Troxell <ttroxell@debian.org> http://www.debian.org Todd


slide-1
SLIDE 1

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian Security

An overview of features and processes

slide-2
SLIDE 2

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Who is this guy?

slide-3
SLIDE 3

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Todd Troxell

slide-4
SLIDE 4

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian Developer

slide-5
SLIDE 5

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“Security Enthusiast”

slide-6
SLIDE 6

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Logcheck maintainer

slide-7
SLIDE 7

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

What is Debian?

slide-8
SLIDE 8

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Linux Distribution

slide-9
SLIDE 9

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Free Operating System

slide-10
SLIDE 10

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Volunteer project

slide-11
SLIDE 11

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Based on Linux Kernel

slide-12
SLIDE 12

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

and 15,000+ free software packages

slide-13
SLIDE 13

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

12 Architectures

i386, m68k, sparc, alpha, powerpc, arm, mips, mipsel ,hppa, ia64, s/390, amd64

slide-14
SLIDE 14

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Universal

slide-15
SLIDE 15

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Freedom

slide-16
SLIDE 16

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian Security Team

http://www.debian.org/security

slide-17
SLIDE 17

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Review security problems

slide-18
SLIDE 18

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Upload pathced packages

slide-19
SLIDE 19

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Issue Advisories

slide-20
SLIDE 20

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Public Disclosure

slide-21
SLIDE 21

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Not security through

  • bscurity
slide-22
SLIDE 22

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Advisories: DSAs

slide-23
SLIDE 23

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Available in multiple formats

slide-24
SLIDE 24

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

debian-security-announce

slide-25
SLIDE 25

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

http://debian.org/security

slide-26
SLIDE 26

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

http://www.debian.org/security/dsa-long

(RSS)

slide-27
SLIDE 27

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Best format:

slide-28
SLIDE 28

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Easily installed verified patches

slide-29
SLIDE 29

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Updates: change as little as possible

slide-30
SLIDE 30

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Favor patching

slide-31
SLIDE 31

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Not upgrading

slide-32
SLIDE 32

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Secure-APT

slide-33
SLIDE 33

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Automated updating

slide-34
SLIDE 34

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Ideal: no security problems ever!

slide-35
SLIDE 35

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Not going to happen

slide-36
SLIDE 36

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Pro-active search for vulnerabilities

slide-37
SLIDE 37

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian Audit Project

http://www.debian.org/security/audit

slide-38
SLIDE 38

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Steve Kemp Ulf Härnhammar David A. Wheeler

slide-39
SLIDE 39

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

White hats, pen-testers

slide-40
SLIDE 40

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Discovered near 100 vulnerabilities

slide-41
SLIDE 41

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Audit as many packages as possible

slide-42
SLIDE 42

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Not a short

  • rder
slide-43
SLIDE 43

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

15,000 Packages

slide-44
SLIDE 44

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

20 CDs

slide-45
SLIDE 45

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

3 DVDs

slide-46
SLIDE 46

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Counting only i386 binary

slide-47
SLIDE 47

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Priority

slide-48
SLIDE 48

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Packages with setuid/setgid binaries

slide-49
SLIDE 49

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Anything providing a sevice over a network

slide-50
SLIDE 50

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Widely- distributed packages

slide-51
SLIDE 51

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Anything associated with CGI/PHP

slide-52
SLIDE 52

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Automated jobs running as root

slide-53
SLIDE 53

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

  • flawfinder
  • ITS4
  • RATS
  • pscan

(many more)

http://www.debian.org/security/audit/tools

slide-54
SLIDE 54

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Open code

slide-55
SLIDE 55

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

from boot loader

slide-56
SLIDE 56

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

to web browser.

slide-57
SLIDE 57

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Not “Trust me” code.

slide-58
SLIDE 58

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

possible to audit from top to bottom

slide-59
SLIDE 59

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

rarely possible in proprietary software

slide-60
SLIDE 60

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Security related packages

slide-61
SLIDE 61

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Intrusion Detection

slide-62
SLIDE 62

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Snort, Ntop

+ modules for My/Pg SQL logging and analysis applications: acidlab, ethereal

slide-63
SLIDE 63

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Integrit, AIDE, Tripwire, Fcheck

slide-64
SLIDE 64

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Logcheck, Logwatch, Epylog

slide-65
SLIDE 65

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

debsigs, dpkg-sig

slide-66
SLIDE 66

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Encryption

slide-67
SLIDE 67

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

GNU Privacy Guard (GPG)

slide-68
SLIDE 68

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

OpenSSL/SSH

slide-69
SLIDE 69

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

CFS, EncFS, loop-aes

slide-70
SLIDE 70

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Gaim-OTR

slide-71
SLIDE 71

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

OpenVPN, Racoon/ipsec, stunnel, OpenSWAN

slide-72
SLIDE 72

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Kerberos

slide-73
SLIDE 73

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

OpenAFS

slide-74
SLIDE 74

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Various libraries, APIs

slide-75
SLIDE 75

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Cryptographic algorithms already written and tested.

slide-76
SLIDE 76

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Penetration Testing

slide-77
SLIDE 77

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

NMAP

slide-78
SLIDE 78

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Nikito, Airsnort, Aircrack

slide-79
SLIDE 79

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

smb-nat, tiger, irpas

slide-80
SLIDE 80

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Anti-virus

slide-81
SLIDE 81

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Typically referring to Windows AV

slide-82
SLIDE 82

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

ClamAV, amavis

slide-83
SLIDE 83

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

PAM

slide-84
SLIDE 84

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Allows for a wide array of auth/sesssion

  • ptions
slide-85
SLIDE 85

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

libpam-chroot

slide-86
SLIDE 86

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

libpam-cracklib

slide-87
SLIDE 87

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

libpam-krb5

slide-88
SLIDE 88

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

libpam-ldap

slide-89
SLIDE 89

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

PAM Smartcard modules, SecureID

slide-90
SLIDE 90

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

libpam-ccreds - Pam module to cache authentication credentials libpam-chroot - Chroot Pluggable Authentication Module for PAM libpam-cracklib - PAM module to enable cracklib support. libpam-devperm - PAM module to change device ownership on login libpam-doc - Documentation of PAM libpam-dotfile - A PAM module which allows users to have more than one password libpam-encfs - PAM module to automatically mount encfs filesystems on login libpam-foreground - create lockfiles describing which users own which console libpam-heimdal - PAM module for Heimdal Kerberos 5 libpam-http - a PAM module to authenticate via http/https libpam-krb5 - PAM module for MIT Kerberos libpam-ldap - Pluggable Authentication Module allowing LDAP interfaces libpam-modules - Pluggable Authentication Modules for PAM libpam-mount - PAM module that can mount volumes for a user session libpam-musclecard - PAM module for MuscleCard Framework libpam-mysql - PAM module allowing authentication from a MySQL server libpam-ncp - PAM module allowing authentication from a NetWare server libpam-openafs-kaserver - AFS distributed filesystem kaserver PAM module libpam-openafs-session - PAM Module to get AFS tokens and set up PAG libpam-opie - Use OTPs for PAM authentication libpam-p11 - PAM module for using PKCS#11 smart cards libpam-passwdqc - replacement for the pam_cracklib module libpam-pgsql - PAM module to authenticate using a PostgreSQL database libpam-poldi - PAM module allowing authentication using a OpenPGP smartcard libpam-pwdfile - PAM module allowing authentication via an /etc/passwd-like filelibpam-pwgen - a password generator libpam-radius-auth - The PAM RADIUS authentication module libpam-runtime - Runtime support for the PAM library libpam-shishi - PAM module for Shishi Kerberos v5 libpam-smbpass - pluggable authentication module for SMB/CIFS password database libpam-ssh - enable SSO behavior for ssh and pam libpam-tmpdir - automatic per-user temporary directories libpam-umask - adjust users' default umask using PAM libpam-unix2 - Blowfish-capable PAM module

slide-91
SLIDE 91

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Kernel Features

slide-92
SLIDE 92

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

NetFilter

slide-93
SLIDE 93

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

SELinux

slide-94
SLIDE 94

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Xen Hypervisor

slide-95
SLIDE 95

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

GRSecurity ACL patches

slide-96
SLIDE 96

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

GR PAX Patches (address space)

slide-97
SLIDE 97

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Other GR Patches

http://www.grsecurity.net/features.php

slide-98
SLIDE 98

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian “harden” packages...

slide-99
SLIDE 99

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

harden-clients - Avoid clients that are known to be insecure harden-development - Development tools for creating more secure programs harden-environment - Hardened system environment harden-nids - Harden a system by using a network intrusion detection system harden-remoteaudit - Audit your remote systems from this host harden-servers - Avoid servers that are known to be insecure harden-surveillance - Check services and/or servers automatically harden-tools - Tools to enhance or analyze the security of the local system

slide-100
SLIDE 100

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Harden packages make clever use

  • f Debian's

packaging system

slide-101
SLIDE 101

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Package: harden-servers Conflicts: telnetd, ftpd, lukemftpd, muddleftpd, wu-ftpd, oftpd, pyftpd, vsftpd, proftpd, bsd-ftpd, talkd, fingerd, xfingerd, ffingerd, cfingerd, efingerd, sendmail, netkit-rpc, nfs-kernel-server, nfs- user-server, rwalld, rusersd, portmap, rsh-server, uw-imapd, cyrus-imapd, rstartd, bidentd, pidentd, midentd, oidentd, gidentd, mdidentd, remstats-servers, pawserv

slide-102
SLIDE 102

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

...too many packages to mention

slide-103
SLIDE 103

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

checksecurity - basic system security checks libapache2-mod-security - Tighten web applications security for Apache 2.x libnasl-dev - Nessus Attack Scripting Language, static library and headers libnasl2 - Nessus Attack Scripting Language, shared library libnessus-dev - Nessus static libraries and headers libnessus2 - Nessus shared libraries libpcap0.7 - System interface for user-level packet capture libpcap0.7-dev - Development library and header files for libpcap 0.7 libpcap0.8 - System interface for user-level packet capture libpcap0.8-dev - Development library and header files for libpcap 0.8 libsasl2 - Authentication abstraction library libselinux1 - SELinux shared libraries libselinux1-dev - SELinux development headers libsepol1 - Security Enhanced Linux policy library for changing policy binaries libsepol1-dev - Security Enhanced Linux policy library and development files libwrap0 - Wietse Venema's TCP wrappers library libwrap0-dev - Wietse Venema's TCP wrappers library, development files libxmlsec1 - XML security library libxmlsec1-dev - Development files for the XML security library libxmlsec1-nss - Nss engine for the XML security library libxmlsec1-openssl - Openssl engine for the XML security library logcheck - mails anomalies in the system logfiles to the administrator mod-security-common - Tighten web applications security - common files nessus - Remote network security auditor, the client nessus-dev - Nessus development header files nessus-plugins - Nessus plugins nessusd - Remote network security auditor, the server nmap - The Network Mapper tcpd - Wietse Venema's TCP wrapper utilities unattended-upgrades - Install security upgrades automatically vsftpd - The Very Secure FTP Daemon apticron - cron-script to mail impending apt updates bastille - Security hardening tool bfbtester - Brute Force Binary Tester ccrypt - secure encryption and decryption of files and streams cfs - Cryptographic Filesystem checkpolicy - SELinux policy compiler

slide-104
SLIDE 104

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

chiark-really - really - a tool for gaining privilege (simple, realistic sudo) chpax - user-space utility to control PaX flags clamassassin - simple virus filter wrapper for ClamAV cron-apt - automatic update of packages using apt-get cvsd - chroot wrapper to run `cvs pserver' more securely dcfldd - enhanced version of dd for forensics and security debsecan - Debian Security Analyzer elfsh - The ELF shell flawfinder - examines source code and looks for security weaknesses gnunet - Secure, trust-based peer-to-peer framework gradm - Administration program for the GrSecurity ACL system gradm2 - Administration program for the grsecurity2 RBAC based ACL system gsasl - GNU SASL commandline utility guarddog - firewall configuration utility for KDE harden - Makes your system hardened harden-development - Development tools for creating more secure programs harden-tools - Tools to enhance or analyze the security of the local system ipkungfu - iptables-based Linux firewall isakmpd - The Internet Key Exchange protocol openbsd implementation kernel-patch-skas - Separate Kernel Address Space patch kernel-patch-vserver - context switching virtual private servers - kernel patch knocker - a simple and easy to use TCP security port scanner lcap - Removes 'capabilities' in the kernel, making the system more secure libapache-mod-ssl - Strong cryptography (HTTPS support) for Apache libapache-mod-ssl-doc - Documentation for Apache module mod_ssl libcrypt-ecb-perl - Perl library to encrypt data using ECB mode libcryptokit-ocaml - cryptographic algorithm library for OCaml - runtime libcryptokit-ocaml-dev - cryptographic algorithm library for OCaml - development libdigest-md2-perl - MD2 Message Digest for Perl libdigest-md4-perl - MD4 Message Digest for Perl libelfsh0 - The ELF shell library libelfsh0-dev - The ELF shell library libetoken - PC/SC Driver for Aladdin's eToken usb plug libgsasl7 - GNU SASL library libgsasl7-dev - Development files for the GNU SASL library libopensc2 - SmartCard library with support for PKCS#15 compatible smart cards

slide-105
SLIDE 105

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

libpam-tmpdir - automatic per-user temporary directories libroxen-ntuserauth - WinNT/SMB user authentication module for the Roxen Challenger web server libroxen-referrerdeny - File deny module for the Roxen Challenger web server libsemanage1 - shared libraries used by SELinux policy manipulation tools libsemanage1-dev - Header files and libraries for SELinux policy manipulation tools libxmlsec1-gnutls - Gnutls engine for the XML security library makepasswd - Generate and encrypt passwords maradns - Simple security-aware Domain Name Service server mew - mail reader supporting PGP/MIME for Emacs mew-beta - mail reader supporting PGP/MIME for Emacs (development version) nikto - web server security scanner

  • pensc - SmartCard utilities with support for PKCS#15 compatible cards
  • penswan - IPSEC utilities for Openswan
  • penvpn - Virtual Private Network daemon
  • tp - Generator for One Time Passwords

paxctl - user-space utility to control PaX flags - new major upstream version paxtest - Test suite for the PaX kernel patch popa3d - A tiny POP3 daemon, designed with security as the primary goal pscan - Format string security checker for C files. python2.4-selinux - Python2.4 bindings to SELinux shared libraries python2.4-semanage - Python2.4 bindings for SELinux policy manipulation tools raccess - Security Tool to audit remote systems rats - Rough Auditing Tool for Security realtime-lsm - Scripts for handling the realtime Linux security module realtime-lsm-source - Source for the realtime Linux security module rssh - Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist sanitizer - The Anomy Mail Sanitizer - an email virus scanner schroot - Execute commands in a chroot environment secpolicy - KDE PAM security policy configuration tool selinux-doc - documentation for Security-Enhanced Linux selinux-policy-default - Policy config files and management for NSA Security Enhanced Linux

slide-106
SLIDE 106

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

selinux-utils - SELinux utility programs sepol-utils - Security Enhanced Linux policy utility programs slat - Tools for information flow analysis of SELinux policies smb-nat - Netbios Auditing Tool smtp-refuser - Simple spam-block with refusal message spikeproxy - Web application security testing proxy splint - A tool for statically checking C programs for bugs splint-doc - Documentation for splint: a tool for statically checking C programs for bugs systraq - monitor your system and warn when system files change tcpspy - Incoming and Outgoing TCP/IP connections logger tiger - Report system security vulnerabilities tiger-otheros - Scripts to run Tiger in other operating systems xmlsec1 - XML security command line processor xprobe - Remote OS identification xsu - Allow users to run commands as root, after prompting for password. irpas - Internetwork Routing Protocol Attack Suite uae-suid - The Ubiquitous Amiga Emulator: Suid root binaries libgnutls-dev - the GNU TLS library - development files libgnutls12 - the GNU TLS library - runtime library libnss-dev - Network Security Service Libraries - development libnss3 - Network Security Service Libraries - runtime gnutls-bin - the GNU TLS library - commandline utilities libgnutls11 - GNU TLS library - runtime library libgnutls11-dbg - GNU TLS library - debugger symbols libgnutls11-dev - GNU TLS library - development files libgnutls12-dbg - GNU TLS library - debugger symbols

slide-107
SLIDE 107

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Secure Development of Debian

slide-108
SLIDE 108

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“If it's volunteer project, what stops someone from uploading a trojan?”

slide-109
SLIDE 109

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Cryptographic Web of trust

slide-110
SLIDE 110

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Verify identies, Exchange GPG key signatures

slide-111
SLIDE 111

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“Key signing parties”

slide-112
SLIDE 112

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

A DD must have a key in debian keyring to upload.

slide-113
SLIDE 113

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Uploads are also hand screened by ftpmasters

slide-114
SLIDE 114

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Voting in Debian: GPG signed email

slide-115
SLIDE 115

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Same type of keys are used to sign:

slide-116
SLIDE 116

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Pacakges

slide-117
SLIDE 117

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Releases

slide-118
SLIDE 118

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Advisories

slide-119
SLIDE 119

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

No (known) trojans uploaded to date.

slide-120
SLIDE 120

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian Policy enhances security

http://www.debian.org/doc/debian-policy/

slide-121
SLIDE 121

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Clearly defined rules for how things should work

slide-122
SLIDE 122

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Section 3.1: “Every package must have a unique name”

slide-123
SLIDE 123

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Section 10.9: “Files should be owned by root.root, and made writable only by the owner and universally readable (and executable, if appropriate), that is mode 644 or 755.”

slide-124
SLIDE 124

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Breaking policy is considered a very serious bug.

slide-125
SLIDE 125

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian stable release cycle

slide-126
SLIDE 126

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“Relaxed”

slide-127
SLIDE 127

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“Laid Back”

slide-128
SLIDE 128

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

By which I mean

slide-129
SLIDE 129

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Notoriously slow

slide-130
SLIDE 130

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

While software is a bit older,

slide-131
SLIDE 131

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian packages are time-tested

slide-132
SLIDE 132

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Fewer security vulnerabilities

slide-133
SLIDE 133

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

  • Stable
  • Testing
  • Unstable
slide-134
SLIDE 134

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Testing: rigorous peer overview

slide-135
SLIDE 135

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

If you want newer code: run testing!

slide-136
SLIDE 136

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Testing even has a security team.

slide-137
SLIDE 137

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Debian Developers and Community

slide-138
SLIDE 138

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Schneier: “Security is a process.”

slide-139
SLIDE 139

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Our users and developers include many enthusiasts

slide-140
SLIDE 140

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

  • -folks interested

in the technology

slide-141
SLIDE 141

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Security nerds rabidly tracking down vulnerabilities

slide-142
SLIDE 142

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Google: don't force anyone to work on anything

slide-143
SLIDE 143

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Huge user-base means vulnerabilities matter

slide-144
SLIDE 144

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

  • pen code ==

secure code

slide-145
SLIDE 145

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“Given enough eyeballs, all bugs are shallow”

slide-146
SLIDE 146

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

"Commercial software typically has 20 to 30 bugs for every 1,000 lines of code, according to Carnegie Mellon University's CyLab Sustainable Computing Consortium. This would be equivalent to 114,000 to 171,000 bugs in 5.7 million lines of code. The study identified 0.17 bugs per 1,000 lines of code in the Linux kernel."

  • Wired
slide-147
SLIDE 147

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

“15,000 packages! How can that possibly be secure?”

slide-148
SLIDE 148

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

A tiny subset form a solid base install.

slide-149
SLIDE 149

http://www.debian.org

Debian Security Todd Troxell <ttroxell@debian.org>

Thanks!