Roadmap
11141
Comment:
|
11185
add bug reference for automated Debian-security fetch/try/build system
|
Deletions are marked like this. | Additions are marked like this. |
Line 141: | Line 141: |
* https://bugs.launchpad.net/bugs/382945 |
Karmic
Blueprints
Documentation
The Security Team FAQ needs to be filled with answers to the various questions Ubuntu gets about security.
The Security Team KnowledgeBase need more to be written. Many ideas have already been listed there.
Investigations
Several ideas for possible work come from investigating existing the installed set of packages.
setuid: which programs are setuid and what may be needed to improve them.
- measure how many bits of randomness are actually being used in kernel ASLR, compared to other ASLR implementations.
review ideas from brainstorm.
AppArmor Confinement
The following profiles have been identified and prioritized as targets for AppArmor confinement. Please note that a high priority does not indicate a committment to develop the profile during the current development cycle.
- Top priority
- postgresql
- tomcat (a third party changehat plugin is rumored to exist)
apache2 (see blueprint)
evince (in progress, https://bugs.launchpad.net/bugs/382913)
firefox (See AppArmorFirefoxProfile, https://bugs.launchpad.net/bugs/382917)
dovecot (in progress, see blueprint)
amavisd (see blueprint)
postfix (see blueprint)
- Secondary priority
- nmbd
- winbind
- spamassassin (spamd)
- acroread (likely not possible due to constraints of agreement with Adobe)
- Tertiary priority
- dnsmasq (possibly P2 due to libvirt (talk to soren))
- squid (possibly P2 (talk to elmo))
- awstats
analog (in progress)
- mailman
- asterisk (universe)
- exim4
- nagios/nrpe
- openssh-server (not easy, as users can spawn anything)
- pidgin
- mail clients (thunderbird, kmail, evolution) -- difficult
- eog
- totem
- skype (likely not possible due to constraints of agreement)
- ekiga
- rhythmbox
- Unspecified priority
- portmap (low-effort)
- rpc.statd (low-effort)
- scripts that people tend to give sudo access. For example: apache2ctl, initscripts
- munin
Unscheduled Wishlist Items
This area can be used to list ideas for future security work, or link to bugs that describe "Wishlist" issues.
- more PIE applications
- xulrunner-1.9, firefox, evince, totem, xserver-xorg, pidgin
- avoid CPU bound apps
- Clamav is already contained and is too cpu-bound to use PIE
- Sasl?
- Cyrus is too cpu-bound
- Totem (Gstreamer) - very cpu-bound - needs testing to determine if performance impact is acceptable
- Vlc (not in main), cpu-bound, but riddled with problems and little maintenance within Ubuntu
- review MySQL progress on regressions
proper PIE-handling in GDB (current patch barely works, upstream wants more correct approach, https://bugs.launchpad.net/bugs/382940)
- Security team could make available a PPA for PIE testing, and the community could do performance testing
- possibly add comment in the binary that won't get stripped
- xulrunner-1.9, firefox, evince, totem, xserver-xorg, pidgin
- get default Private home directory set up, even if ecryptfs not in use:
- internationalization issues, would need to be added to the list of folders that are already translated (xdg)
- user confusion: Is the private directory encrypted or not?
- switch (with backward compat) to filesystem capabilities:
- find origin of random "screen does not lock" bugs:
- block execution of things lacking execute bit:
- investigate soft nx patch (last remaining execshield feature not in mainline yet)
- non-exec stack bugs (there are still some programs that have executable stack regions). doing this is only useful when either softnx or PAE-nx are used on 32bit, since 64bit already defaults to a non-exec stack.
- "readelf -l $BIN" shows GNU_STACK with "E".
Gentoo write-up of what to do: http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
- Get Fedora patches upstream where they belong
http://cvs.fedoraproject.org/viewcvs/devel/bogl/bogl-0.1.18-noexecstack.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/gdk-pixbuf/gtk+-2.2.2-noexecstack.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/libdv/libdv-0.104-no-exec-stack.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/lightning/lightning-1.2-execstack.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/net-tools/net-tools-1.60-execshield.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/net-tools/netplug-1.2.9-execshield.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/zip/exec-shield.patch?view=markup
http://cvs.fedoraproject.org/viewcvs/devel/mlton/mlton-20070826-no-execmem.patch?view=markup
- ufw improvements
support egress filtering (https://bugs.launchpad.net/bugs/382932)
support filtering by interface (https://bugs.launchpad.net/bugs/247450)
enable ufw by default (https://bugs.launchpad.net/bugs/382938)
- new application profiles open by default, but configurable
- look into things like port 25 if mail-transport-agent is installed
- network-manager integration (create a new network, open it up)
- dynamically detect outbound connections and somehow prompt (be careful with desktop DoS!) gui to turn on and off, turn on off and application selectors (location? control center applets). Talk to gufw about this
- D-Bus/policykit integration
- unified method to ask security questions
openjdk-6 testsuite cleanup from default compiler flags (https://bugs.launchpad.net/bugs/330713)
- approach upstream glibc about futility of fwrite checks when lacking fprintf and fclose checks
- automated Debian-security fetch/try/build system (mom, ubuntuwire (rcbugs), pitti may have some)
- Get a report with some debdiffs the security team could review
- At least open a bug with a failed/fuzzed debdiff that could be used as a starting point for community work
have sudo warn if it is prompting on a non-terminal fd (Debian said won't fix-- investigate, https://bugs.launchpad.net/bugs/56755). Should be forwarded upstream and Ubuntu should not carry a separate patch.
sort out bad vt interaction between usplash and other applications (https://bugs.launchpad.net/bugs/104602)
- corner-case: sulogin with root password and usplash starts
- other cases?
apparmor initscript is too slow (https://bugs.launchpad.net/bugs/382944)
- more profiles added to apparmor-profiles
- look into chrooted-packages (as in apt-get install apache-chroot). Special attention on virtual hosting, updating and adding packages and modules. Another option would be to develop an apparmor profile and/or selinux policy.
- Modify debsecan package to grab CVE reports from USN
Extract useful /Grsecurity patches for the kernel.
- Modify apt-listbugs package to check package CVE's from USN.
- Improved use of cryptography integrated well with Ubuntu
- Encrypted swap by default on all installations
- eCryptfs + SELinux/AppArmor integration, to protect encrypted data from root
- Sweeping, static analysis of all of main (then universe)
something like bogosec (http://bogosec.sourceforge.net/) to provide numeric source code quality metrics, track over time, use for code review
- Security Certification / Documentation
- IBM presentation on work it did certifying RHEL/SLES, stresses open sourced efforts:
- RHEL High Level Design document, rewrite for Ubuntu?
Implement more useful SAK that does not kill a running X server/session (Secure Attention Key: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=blob;f=Documentation/SAK.txt;hb=HEAD). The current SAK implementation closes everything that has /dev/console open, including entire tty7 (graphical display), while the Windows implementation is more useful because there is an option to require Ctrl-Alt-Del prior to entering any log on password (initial log on, re-log on after returning from screensaver, etc.).
Not Interested
hardened default config (Bastille-like). Check the compatibility of debian-bastille. Status: reviewed. what can be done in a default install is already being done
SecurityTeam/Roadmap (last edited 2022-01-04 22:38:06 by rodrigo-zaiden)