/[ddp]/manuals/trunk/securing-howto/en/intro.sgml
ViewVC logotype

Contents of /manuals/trunk/securing-howto/en/intro.sgml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2971 - (show annotations) (download) (as text)
Thu Apr 14 22:35:49 2005 UTC (8 years, 1 month ago) by jfs
File MIME type: text/x-sgml
File size: 41421 byte(s)
Added patch from Simon Brandmair and updated changelog
1 <!-- CVS revision of this document "$Revision: 1.19 $" -->
2
3 <chapt>Introduction
4 <p>
5 One of the hardest things about writing security documents is that every case
6 is unique. Two things you have to pay attention to are the threat environment
7 and the security needs of the individual site, host, or network. For instance,
8 the security needs of a home user are completely different from a network in a
9 bank. While the primary threat a home user needs to face is the script kiddie
10 type of cracker, a bank network has to worry about directed attacks.
11 Additionally, the bank has to protect their customer's data with arithmetic
12 precision. In short, every user has to consider the trade-off between
13 usability and security/paranoia.
14 <!-- Is this metaphor really appropriate? Sounds like rounding errors to me,
15 era -->
16 <p>
17 Note that this manual only covers issues relating to software.
18 The best software in the world can't protect you if someone can physically
19 access the machine. You can place it under your desk, or you can place
20 it in a hardened bunker with an army in front of it. Nevertheless the
21 desktop computer can be much more secure (from a software point of view)
22 than a physically protected one if the desktop is configured properly and
23 the software on the protected machine is full of security holes.
24 Obviously, you must consider both issues.
25
26 <p>This document just gives an overview of what you can do
27 to increase the security of your Debian GNU/Linux
28 system. If you have read other documents regarding Linux security, you
29 will find that there are common issues which might overlap with this
30 document. However, this document does not try to be the ultimate source
31 of information you will be using, it only tries to adapt this same
32 information so that it is meaningful to a Debian GNU/Linux system.
33 Different distributions do some things in different ways (startup of
34 daemons is one example); here, you will find material which is
35 appropriate for Debian's procedures and tools.
36 <!--
37 # Does this approximate the intent of the original author? (FIXME: check)
38 # Original text said: "you will find here [sic] a different approach,
39 # using Debian's tools, regarding security." era
40 -->
41 <!-- IMHO yes, jfs -->
42
43 <sect id="authors">Authors
44
45 <p>The current maintainer of this document is <url name="Javier
46 Fernández-Sanguino Peña" id="mailto:jfs@debian.org"> . Please forward him
47 any have comments, additions or suggestions, and they will be
48 considered for inclusion in future releases of this manual.
49
50 <p>This manual was started as a <em>HOWTO</em> by <url name="Alexander
51 Reelsen" id="mailto:ar@rhwd.de">. After it was published on the
52 Internet, <url name="Javier Fernández-Sanguino Peña"
53 id="mailto:jfs@debian.org"> incorporated it into the <url name="Debian
54 Documentation Project" id="http://www.debian.org/doc">. A number of
55 people have contributed to these manual (all contributions are listed
56 in the changelog) but the following deserve special mention since they
57 have provided significant contributions (full sections, chapters or
58 appendices):
59
60 <list>
61 <item>Stefano Canepa
62 <item>Era Eriksson
63 <item>Carlo Perassi
64 <item>Alexandre Ratti
65 <item>Jaime Robles
66 <item>Yotam Rubin
67 <item>Frederic Schutz
68 <item>Pedro Zorzenon Neto
69 <item>Oohara Yuuma
70 <item>Davor Ocelic
71 </list>
72
73 <sect>Download the manual
74 <p>
75 You can download or view the newest version of the Securing Debian
76 Manual from the <url name="Debian Documentation Project"
77 id="http://www.debian.org/doc/manuals/securing-debian-howto/">. Feel
78 free to check out the version control system through its <url
79 name="CVS server"
80 id="http://cvs.debian.org/ddp/manuals.sgml/securing-howto/?cvsroot=debian-doc">.
81
82 <!-- Note to translators: adjust the en.txt to XX.txt where XX is your
83 language code -->
84 <p>You can download also a <url
85 id="http://www.debian.org/doc/manuals/securing-debian-howto/securing-debian-howto.en.txt"
86 name="text version"> from the Debian Documentation's Project site.
87 Other formats, like PDF, are not (yet) provided. However, you can
88 download or install the <url
89 id="http://packages.debian.org/harden-doc" name="harden-doc"> package
90 which provides this same document in HTML, txt and PDF formats. Notice,
91 however, that the package maybe not be completely up to date with the
92 document provided on the Internet (but you can always use the source
93 package to build an updated version yourself!)
94
95 <!--
96 <p>
97 Previous (out of date) versions of this HOWTO can be found here:
98
99 <list>
100 <item><url name="Text-only"
101 id="http://joker.rhwd.de/doc/Securing-Debian-HOWTO/Securing-Debian-HOWTO.txt">
102 <item><url name="HTML"
103 id="http://joker.rhwd.de/doc/Securing-Debian-HOWTO/Securing-Debian-HOWTO.html">
104 <item><url name="HTML, tarred and gzipped"
105 id="http://joker.rhwd.de/doc/Securing-Debian-HOWTO/Securing-Debian-HOWTO.tar.gz">
106 <item><url name="SGML"
107 id="http://joker.rhwd.de/doc/Securing-Debian-HOWTO/Securing-Debian-HOWTO.sgml">
108 </list>
109 -->
110 <!-- TODO: remove these stale links rather than leave references to -->
111 <!-- the old versions hanging around? era -->
112
113
114 <sect>Organizational Notes/Feedback
115 <p>
116 Now to the official part. At the moment I (Alexander Reelsen) wrote
117 most paragraphs of this manual, but in my opinion this should not stay
118 the case. I grew up and live with free software, it is part of my
119 everyday use and I guess yours, too. I encourage everybody to send me
120 feedback, hints, additions or any other suggestions you might have.
121
122 <p>
123 If you think, you can maintain a certain section or paragraph better,
124 then write to the document maintainer and you are welcome to do it.
125 Especially if you find a section marked as FIXME, that means the
126 authors did not have the time yet or the needed knowledge about the
127 topic, drop them a mail immediately.
128
129 <p>
130 The topic of this manual makes it quite clear that it is important to
131 keep it up to date, and you can do your part. Please contribute.
132
133 <sect>Prior knowledge
134 <p>
135 The installation of Debian GNU/Linux is not very difficult and you
136 should have been able to install it. If you already have some
137 knowledge about Linux or other Unices and you are a bit familiar with
138 basic security, it will be easier to understand this manual, as this
139 document cannot explain every little detail of a feature (otherwise
140 this would have been a book instead of a manual). If you are not that
141 familiar, however, you might want to take a look at <ref
142 id="references"> for where to find more in-depth information.
143
144
145 <sect>Things that need to be written (FIXME/TODO)
146
147 <p>This section describes all the things that need to be fixed in this
148 manual. Some paragraphs include <em>FIXME</em> or <em>TODO</em> tags
149 describing what content is missing (or what kind of work needs to be
150 done). The purpose of this section is to describe all the things that
151 could be included in the future in the Manual, or enhancements that
152 need to be done (or would be interesting to add).
153
154 <p>If you feel you can provide help in contributing content fixing any
155 element of this list (or the inline annotations), contact the main
156 author (<ref id="authors">
157
158
159 <list>
160
161 <item>Expand the incident response information, maybe add some ideas
162 derived from Red Hat's Security Guide's
163 <url id="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/ch-response.html" name="chapter on incident response">.
164
165 <item>Write about remote monitoring tools (to check for system
166 availability) such as <package>monit</package>, <package>daemontools</package>
167 and <package>mon</package>. See <url
168 id="http://linux.oreillynet.com/pub/a/linux/2002/05/09/sysadminguide.html">.
169
170 <item>Consider writing a section on how to build Debian-based network
171 appliances (with information such as the base system,
172 <package>equivs</package> and FAI).
173
174 <item>Check if
175 <url id="http://www.giac.org/practical/gsec/Chris_Koutras_GSEC.pdf"> has
176 relevant info not yet covered here.
177
178 <item>Add Information on how to set up a laptop with Debian
179 <url id="http://www.giac.org/practical/gcux/Stephanie_Thomas_GCUX.pdf">
180
181 <item>Add information on how to set up a firewall using Debian
182 GNU/Linux. The section regarding firewalling is oriented currently
183 towards a single system (not protecting others...) also talk on how
184 to test the setup.
185
186 <item>Add information on setting up a proxy firewall with Debian GNU/Linux
187 stating specifically which packages provide proxy services (like
188 <package>xfwp</package>, <package>xproxy</package>,
189 <package>ftp-proxy</package>, <package>redir</package>,
190 <package>smtpd</package>, <package>nntp-cache</package>,
191 <package>dnrd</package>, <package>jftpgw</package>, <package>oops</package>,
192 <package>pdnsd</package>, <package>perdition</package>,
193 <package>transproxy</package>, <package>tsocks</package>). Should point to the
194 manual for any other info. Note that <package>zorp</package> is now
195 available as a Debian package and <em>is</em> a proxy firewall
196 (they also provide Debian packages upstream).
197
198 <item>Information on service configuration with file-rc
199
200 <item>Check all the reference URLs and remove/fix those no longer available.
201
202 <item>Add information on available replacements (in Debian) for common
203 servers which are useful for limited functionality. Examples:
204
205 <list>
206 <item>local lpr with cups (package)?
207
208 <item>remote lrp with lpr
209
210 <item>bind with dnrd/maradns
211
212 <item>apache with dhttpd/thttpd/wn (tux?)
213
214 <item>exim/sendmail with ssmtpd/smtpd/postfix
215
216 <item>squid with tinyproxy
217
218 <item>ftpd with oftpd/vsftp
219
220 <item>...
221
222 </list>
223
224
225 <item>More information regarding security-related kernel patches in
226 Debian, including the ones shown above and
227 specific information on how to enable these patches in a Debian system.
228
229 <list>
230
231 <item>Linux Intrusion Detection (<package>lids-2.2.19</package>)
232
233 <item>Linux Trustees (in package <package>trustees</package>)
234
235 <item><url name="NSA Enhanced Linux"
236 id="http://www.coker.com.au/selinux/">
237
238 <item><url name="kernel-patch-2.2.18-openwall"
239 id="http://packages.debian.org/kernel-patch-2.2.18-openwall">
240
241 <item><package>kernel-patch-2.2.19-harden</package>
242
243 <item><package>kernel-patch-freeswan</package>, <package>kernel-patch-int</package>
244
245 </list>
246
247 <item>Details of turning off unnecessary network services (besides
248 <prgn>inetd</prgn>), it is partly in the hardening procedure but could be
249 broadened a bit.
250
251 <item>Information regarding password rotation which is closely related
252 to policy.
253
254 <item>Policy, and educating users about policy.
255
256 <item>More about tcpwrappers, and wrappers in general?
257
258 <item><file>hosts.equiv</file> and other major security holes.
259
260 <item>Issues with file sharing servers such as Samba and NFS?
261
262 <item>suidmanager/dpkg-statoverrides.
263
264 <item>lpr and lprng.
265
266 <item>Switching off the gnome IP things.
267
268 <item>Talk about pam_chroot (see <url id="http://lists.debian.org/debian-security/2002/debian-security-200205/msg00011.html">)
269 and its usefulness to limit users. Introduce information related to
270 <url id="http://online.securityfocus.com/infocus/1575">.
271 <package>Pdmenu</package>, for example is available in Debian (while as
272 flash is not).
273
274 <item>Talk about chrooting services, some more info on
275 <url id="http://www.linuxfocus.org/English/January2002/article225.shtml">,
276 <url id="http://www.nuclearelephant.com/papers/chroot.html"> and
277 <url id="http://www.linuxsecurity.com/feature_stories/feature_story-99.html">
278
279 <item>Talk about programs to make chroot jails. <package>Compartment</package>
280 and <package>chrootuid</package> are waiting in incoming. Some others
281 (makejail, jailer) could also be introduced.
282
283 <!-- No longer available in that URL
284 <item>Add information provided by Karl Hegbloom regarding chrooting
285 Bind 9, see <url id="http://people.pdxlinux.org/~karlheg/Secure_Bind9_uHOWTO/Secure_Bind_9_uHOWTO.xhtml">.
286 -->
287
288 <item>Add information provided by Pedro Zornenon to chrooting Bind 8 only for
289 potato though :(, see
290 <url id="http://people.debian.org/~pzn/howto/chroot-bind.sh.txt"> (include the
291 whole script?).
292
293 <item>More information regarding log analysis software (i.e. logcheck
294 and logcolorise).
295
296 <item>'advanced' routing (traffic policing is security related)
297
298 <item>limiting <prgn>ssh</prgn> access to running certain commands.
299
300 <item>using dpkg-statoverride.
301
302 <item>secure ways to share a CD burner among users.
303
304 <item>secure ways of providing networked sound in addition to network
305 display capabilities (so that X clients' sounds are played on the X
306 server's sound hardware)
307
308 <item>securing web browsers.
309
310 <item>setting up ftp over <prgn>ssh</prgn>.
311
312 <item>using crypto loopback file systems.
313
314 <item>encrypting the entire file system.
315
316 <item>steganographic tools.
317
318 <item>setting up a PKA for an organization.
319
320 <item>using LDAP to manage users. There is a HOWTO of ldap+kerberos
321 for Debian at www.bayour.com written by Turbo Fredrikson.
322
323 <item>How to remove information of reduced utility in production systems
324 such as <file>/usr/share/doc</file>, <file>/usr/share/man</file> (yes, security by obscurity).
325
326 <item>More information on lcap based on the packages README file
327 (well, not there yet, see
328 <url id="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=169465"
329 name="Bug #169465">) and from the article from LWN:
330 <url id="http://lwn.net/1999/1202/kernel.php3"
331 name="Kernel development">.
332
333 <item>Add Colin's article on how to setup a chroot environment for a full
334 Sid system (<url id="http://people.debian.org/~walters/chroot.html">)
335
336 <item>Add information on running multiple snort sensors in a given
337 system (check bug reports sent to snort)
338
339 <item>Add information on setting up a honeypot (<package>honeyd</package>)
340
341 <item>Describe situation wrt to FreeSwan (orphaned) and OpenSwan.
342 VPN section needs to be rewritten.
343
344 </list>
345
346 <sect id="changelog">Changelog/History
347
348 <sect1>Version 3.2 (March 2005)
349 <p>Changes by Javier Fernández-Sanguino Peña
350 <list>
351 <item>Expanded the PAM configuration limits section.
352 <item>Added information on how to use pam_chroot for openssh (based on
353 pam_chroot's README)
354 <item>Fixed some minor issues reported by Dan Jacobson.
355 <item>Updated the kernel patches information partially based on a patch
356 from Carlo Perassi and also by adding deprecation notes and new kernel
357 patches available (adamantix)
358 <item>Included patch from Simon Brandmair that fixes a sentence related
359 to login failures in terminal.
360 </list>
361
362 <sect1>Version 3.1 (January 2005)
363 <p>Changes by Javier Fernández-Sanguino Peña
364 <list>
365 <item>Added clarification to ro /usr with patch from Joost van Baal
366 <item>Apply patch from Jens Seidel fixing many typos.
367 <item>FreeSWAN is dead, long live OpenSWAN.
368 <item>Added information on restricting access to RPC services (when
369 they cannot be disabled) also included patch provided by Aarre Laakso.
370 <item>Update aj's apt-check-sigs script.
371 <item>Apply patch Carlo Perassi fixing URLs.
372 <item>Apply patch from Davor Ocelic fixing many errors, typos, urls, grammar
373 and FIXMEs. Also adds some additional information to some sections.
374 <item>Rewrote the section on user auditing, highlight the usage of script
375 which does not have some of the issues associated to shell history.
376 </list>
377
378 <sect1>Version 3.0 (December 2004)
379 <p>Changes by Javier Fernández-Sanguino Peña
380 <list>
381 <item>Rewrote the user-auditing information and include examples on how
382 to use script.
383 </list>
384
385 <sect1>Version 2.99 (March 2004)
386
387 <p>Changes by Javier Fernández-Sanguino Peña
388 <list>
389 <item>Added information on references in DSAs and CVE-Compatibility.
390 <item>Added information on apt 0.6 (apt-secure merge in experimental)
391 <item>Fixed location of Chroot daemons HOWTO as suggested by Shuying Wang.
392 <item>Changed APACHECTL line in the Apache chroot example (even if its
393 not used at all) as suggested by Leonard Norrgard.
394 <item>Added a footnote regarding hardlink attacks if partitions are
395 not setup properly.
396 <item>Added some missing steps in order to run bind as named as
397 provided by Jeffrey Prosa.
398 <item>Added notes about Nessus and Snort out-of-dateness in woody
399 and availability of backported packages.
400 <item>Added a chapter regarding periodic integrity test checks.
401 <item>Clarified the status of testing regarding security updates.
402 (Debian bug 233955)
403 <item>Added more information regarding expected contents in securetty
404 (since it's kernel specific).
405 <item> Added pointer to snoopylogger (Debian bug 179409)
406 <item> Added reference to guarddog (Debian bug 170710)
407 <item> Apt-ftparchive is in apt-utils, not in apt (thanks to
408 Emmanuel Chantreau for pointing this out)
409 <item>Removed jvirus from AV list.
410 </list>
411 </sect1>
412
413 <sect1>Version 2.98 (December 2003)
414 <p>Changes by Javier Fernández-Sanguino Peña
415 <list>
416 <item>Fixed URL as suggested by Frank Lichtenheld.
417 <item>Fixed PermitRootLogin typo as suggested by Stefan Lindenau.
418 </list>
419
420 </sect1>
421 <sect1>Version 2.97 (September 2003)
422 <p>Changes by Javier Fernández-Sanguino Peña
423 <list>
424
425 <item>Added those that have made the most significant contributions to
426 this manual (please mail me if you think you should be in the list and
427 are not).
428
429 <item>Added some blurb about FIXME/TODOs
430
431 <item>Moved the information on security updates to the beginning of
432 the section as suggested by Elliott Mitchell.
433
434 <item>Added grsecurity to the list of kernel-patches for security but
435 added a footnote on the current issues with it as suggested by Elliott
436 Mitchell.
437
438 <item>Removed loops (echo to 'all') in the kernel's network security
439 script as suggested by Elliott Mitchell.
440
441 <item>Added more (up-to-date) information in the antivirus section.
442
443 <item>Rewrote the buffer overflow protection section and added more
444 information on patches to the compiler to enable this kind of
445 protection.
446
447 </list>
448
449
450 <sect1>Version 2.96 (August 2003)
451 <p>Changes by Javier Fernández-Sanguino Peña
452 <list>
453 <item>Removed (and then re-added) appendix on chrooting Apache. The appendix
454 is now dual-licensed.
455 </list>
456
457 <sect1>Version 2.95 (June 2003)
458 <p>Changes by Javier Fernández-Sanguino Peña
459 <list>
460 <item>Fixed typos spotted by Leonard Norrgard.
461 <item>Added a section on how to contact CERT for incident handling
462 (<url id="#after-compromise">)
463 <item>More information on setting up a Squid proxy.
464 <item>Added a pointer and removed a FIXME thanks to Helge H. F.
465 <item>Fixed a typo (save_inactive) spotted by Philippe Faes.
466 <item>Fixed several typos spotted by Jaime Robles.
467 </list>
468
469 <sect1>Version 2.94 (April 2003)
470 <p>Changes by Javier Fernández-Sanguino Peña
471 <list>
472 <item>Following Maciej Stachura's suggestions I've expanded the section on
473 limiting users.
474 <item>Fixed typo spotted by Wolfgang Nolte.
475 <item>Fixed links with patch contributed by Ruben Leote Mendes.
476 <item>Added a link to David Wheeler's excellent document on the footnote
477 about counting security vulnerabilities.
478 </list>
479
480 <sect1>Version 2.93 (March 2003)
481 <p>Changes made by Frédéric Schütz.
482 <list>
483 <item>rewrote entirely the section of ext2 attributes
484 (lsattr/chattr)
485 </list>
486
487 <sect1>Version 2.92 (February 2003)
488 <p>Changes by Javier Fernández-Sanguino Peña and
489 Frédéric Schütz.
490 <list>
491 <item>Merge section 9.3 ("useful kernel patches") into section 4.13 ("Adding
492 kernel patches"), and added some content.
493 <item>Added a few more TODOs
494 <item>Added information on how to manually check for updates and also about
495 cron-apt. That way Tiger is not perceived as the only way to do automatic
496 update checks.
497 <item>Slightly rewrite of the section on executing a security updates due
498 to Jean-Marc Ranger comments.
499 <item>Added a note on Debian's installation (which will suggest the user
500 to execute a security update right after installation)
501 </list>
502
503 <sect1>Version 2.91 (January/February 2003)
504 <p>Changes by Javier Fernández-Sanguino Peña (me).
505 <list>
506 <item>Added a patch contributed by Frédéric Schütz.
507 <item>Added a few more references on capabilities thanks to Frédéric.
508 <item>Slight changes in the bind section adding a reference to BIND's 9
509 online documentation and proper references in the first area (Hi Pedro!)
510 <item>Fixed the changelog date - new year :-)
511 <item>Added a reference to Colin's articles for the TODOs.
512 <item>Removed reference to old ssh+chroot patches.
513 <item>More patches from Carlo Perassi.
514 <item>Typo fixes (recursive in Bind is recursion), pointed out by
515 Maik Holtkamp.
516 </list>
517
518 <sect1>Version 2.9 (December 2002)
519 <p>Changes by Javier Fernández-Sanguino Peña (me).
520 <list>
521 <item>Reorganized the information on chroot (merged two sections, it
522 didn't make much sense to have them separated)
523 <item>Added the notes on chrooting Apache provided by Alexandre Ratti.
524 <item>Applied patches contributed by Guillermo Jover.
525 </list>
526
527 <sect1>Version 2.8 (November 2002)
528 <p>Changes by Javier Fernández-Sanguino Peña (me).
529 <list>
530 <item>Applied patches from Carlo Perassi, fixes include: re-wrapping the
531 lines, URL fixes, and fixed some FIXMEs
532 <item>Updated the contents of the Debian security team FAQ.
533 <item>Added a link to the Debian security team FAQ and the Debian Developer's
534 reference, the duplicated sections might (just might) be removed in the future.
535 <item>Fixed the hand-made auditing section with comments from Michal Zielinski.
536 <item>Added links to wordlists (contributed by Carlo Perassi)
537 <item>Fixed some typos (still many around).
538 <item>Fixed TDP links as suggested by John Summerfield.
539 </list>
540
541 <sect1>Version 2.7 (October 2002)
542 <p>Changes by Javier Fernández-Sanguino Peña (me). Note: I still
543 have a lot of pending changes in my mailbox (which is currently
544 about 5 Mbs in size).
545 <list>
546 <item>Some typo fixes contributed by Tuyen Dinh, Bartek Golenko and
547 Daniel K. Gebhart.
548 <item>Note regarding /dev/kmem rootkits contributed by Laurent Bonnaud
549 <item>Fixed typos and FIXMEs contributed by Carlo Perassi.
550 </list>
551
552 <sect1>Version 2.6 (September 2002)
553 <p>Changes by Chris Tillman, tillman@voicetrak.com.
554 <list>
555 <item>Changed around to improve grammar/spelling.
556 <item>s/host.deny/hosts.deny/ (1 place)
557 <item>Applied Larry Holish's patch (quite big, fixes a lot of FIXMEs)
558 </list>
559
560 <sect1>Version 2.5 (September 2002)
561 <p>Changes by Javier Fernández-Sanguino Peña (me).
562 <list>
563 <item>Fixed minor typos submitted by Thiemo Nagel.
564 <item>Added a footnote suggested by Thiemo Nagel.
565 <item>Fixed an URL link.
566 </list>
567
568 <sect1>Version 2.5 (August 2002)
569
570 <p>Changes by Javier Fernández-Sanguino Peña (me). There were many
571 things waiting on my inbox (as far back as February) to be included,
572 so I'm going to tag this the <em>back from honeymoon</em> release :)
573
574 <list>
575
576 <item>Applied a patch contributed by Philipe Gaspar regarding the
577 Squid which also kills a FIXME.
578
579 <item>Yet another FAQ item regarding service banners taken from the
580 debian-security mailing list (thread "Telnet information" started 26th
581 July 2002).
582
583 <item>Added a note regarding use of CVE cross references in the
584 <em>How much time does the Debian security team...</em> FAQ item.
585
586
587 <item>Added a new section regarding ARP attacks contributed by Arnaud
588 "Arhuman" Assad.
589
590 <item>New FAQ item regarding dmesg and console login by the kernel.
591
592 <item>Small tidbits of information to the signature-checking issues in
593 packages (it seems to not have gotten past beta release).
594
595 <item>New FAQ item regarding vulnerability assessment tools false
596 positives.
597
598 <item>Added new sections to the chapter that contains information on
599 package signatures and reorganized it as a new <em>Debian Security
600 Infrastructure</em> chapter.
601
602 <item>New FAQ item regarding Debian vs. other Linux distributions.
603
604 <item>New section on mail user agents with GPG/PGP functionality in the
605 security tools chapter.
606
607 <item>Clarified how to enable MD5 passwords in woody, added a pointer
608 to PAM as well as a note regarding the max definition in PAM.
609
610 <item>Added a new appendix on how to create chroot environments (after
611 fiddling a bit with makejail and fixing, as well, some of its bugs),
612 integrated duplicate information in all the appendix.
613
614 <item>Added some more information regarding <PRGN>SSH</PRGN> chrooting and its
615 impact on secure file transfers. Some information has been retrieved
616 from the debian-security mailing list (June 2002 thread: <em>secure
617 file transfers</em>).
618
619 <item>New sections on how to do automatic updates on Debian systems as
620 well as the caveats of using testing or unstable regarding security updates.
621
622 <item>New section regarding keeping up to date with security patches
623 in the <em>Before compromise</em> section as well as a new section
624 about the debian-security-announce mailing list.
625
626 <item>Added information on how to automatically generate strong passwords.
627
628 <item>New section regarding login of idle users.
629
630 <item>Reorganized the securing mail server section based on the
631 <em>Secure/hardened/minimal Debian (or "Why is the base system the way
632 it is?")</em> thread on the debian-security mailing list (May 2002).
633
634 <item>Reorganized the section on kernel network parameters, with
635 information provided in the debian-security mailing list (May 2002,
636 <em>syn flood attacked?</em> thread) and added a new FAQ item as well.
637
638 <item>New section on how to check users passwords and which packages
639 to install for this.
640
641 <item>New section on PPTP encryption with Microsoft clients discussed
642 in the debian-security mailing list (April 2002).
643
644 <item>Added a new section describing what problems are there when binding any
645 given service to a specific IP address, this information was written based on
646 the bugtraq mailing list in the thread: <em>Linux kernel 2.4 "weak end host"
647 issue (previously discussed on debian-security as "arp problem")</em> (started
648 on May 9th 2002 by Felix von Leitner).
649
650 <item>Added information on <prgn>ssh</prgn> protocol version 2.
651
652 <item>Added two subsections related to Apache secure configuration
653 (the things specific to Debian, that is).
654
655 <item>Added a new FAQ related to raw sockets, one related to /root, an
656 item related to users' groups and another one related to log and
657 configuration files permissions.
658
659 <item>Added a pointer to a bug in libpam-cracklib that might still be
660 open... (need to check)
661
662 <item>Added more information regarding forensics analysis (pending more
663 information on packet inspection tools such as <prgn>tcpflow</prgn>).
664
665 <item>Changed the "what should I do regarding compromise" into a bullet
666 list and included some more stuff.
667
668 <item>Added some information on how to set up the Xscreensaver to lock
669 the screen automatically after the configured timeout.
670
671 <item>Added a note related to the utilities you should not install in
672 the system. Included a note regarding Perl and why it cannot be
673 easily removed in Debian. The idea came after reading Intersect's
674 documents regarding Linux hardening.
675
676 <item>Added information on lvm and journalling file systems, ext3
677 recommended. The information there might be too generic, however.
678
679 <item>Added a link to the online text version (check).
680
681 <item>Added some more stuff to the information on firewalling the
682 local system, triggered by a comment made by Hubert Chan in the mailing list.
683
684 <item>Added more information on PAM limits and pointers to Kurt
685 Seifried's documents (related to a post by him to bugtraq on April 4th
686 2002 answering a person that had ``discovered'' a vulnerability in
687 Debian GNU/Linux related to resource starvation).
688
689 <item>As suggested by Julián Muñoz, provided more information on the
690 default Debian umask and what a user can access if he has been given a
691 shell in the system (scary, huh?)
692
693 <item>Included a note in the BIOS password section due to a comment
694 from Andreas Wohlfeld.
695
696 <item>Included patches provided by Alfred E. Heggestad fixing many of
697 the typos still present in the document.
698
699 <item>Added a pointer to the changelog in the Credits section since
700 most people who contribute are listed here (and not there).
701
702 <item>Added a few more notes to the chattr section and a new section
703 after installation talking about system snapshots. Both ideas were
704 contributed by Kurt Pomeroy.
705
706 <item>Added a new section after installation just to remind users to
707 change the boot-up sequence.
708
709 <item>Added some more TODO items provided by Korn Andras.
710
711 <item>Added a pointer to the NIST's guidelines on how to secure DNS
712 provided by Daniel Quinlan.
713
714 <item>Added a small paragraph regarding Debian's SSL certificates
715 infrastructure.
716
717 <item>Added Daniel Quinlan's suggestions regarding <prgn>ssh</prgn>
718 authentication and exim's relay configuration.
719
720 <item>Added more information regarding securing bind including changes
721 suggested by Daniel Quinlan and an appendix with a script to make some of the
722 changes commented on in that section.
723
724 <item>Added a pointer to another item regarding Bind chrooting (needs to be
725 merged).
726
727 <item>Added a one liner contributed by Cristian Ionescu-Idbohrn to
728 retrieve packages with tcpwrappers support.
729
730 <item>Added a little bit more info on Debian's default PAM setup.
731
732 <item>Included a FAQ question about using PAM to provide services without
733 shell accounts.
734
735 <item>Moved two FAQ items to another section and added a new FAQ
736 regarding attack detection (and compromised systems).
737
738 <item>Included information on how to set up a bridge firewall
739 (including a sample Appendix). Thanks to Francois Bayart who sent
740 this to me in March.
741
742 <item>Added a FAQ regarding the syslogd's <em>MARK</em>
743 <em>heartbeat</em> from a question answered by Noah Meyerhans and
744 Alain Tesio in December 2001.
745
746 <item>Included information on buffer overflow protection as well as
747 some information on kernel patches.
748
749 <item>Added more information (and reorganized) the firewall
750 section. Updated the information regarding the iptables package and
751 the firewall generators available.
752
753 <item>Reorganized the information regarding log checking, moved
754 logcheck information from host intrusion detection to that section.
755
756 <item>Added some information on how to prepare a static package for
757 bind for chrooting (untested).
758
759 <item>Added a FAQ item regarding some specific servers/services
760 (could be expanded with some of the
761 recommendations from the debian-security list).
762
763 <item>Added some information on RPC services (and when it's necessary).
764
765 <item>Added some more information on capabilities (and what lcap does).
766 Is there any good documentation on this? I haven't found any documentation on
767 my 2.4 kernel.
768
769 <item>Fixed some typos.
770
771 </list>
772
773 <sect1>Version 2.4
774 <p>Changes by Javier Fernández-Sanguino Peña.
775 <list>
776 <item>Rewritten part of the BIOS section.
777 </list>
778
779 <sect1>Version 2.3
780 <p>Changes by Javier Fernández-Sanguino Peña.
781 <list>
782 <item>Wrapped most file locations with the file tag.
783 <item>Fixed typo noticed by Edi Stojicevi.
784 <item>Slightly changed the remote audit tools section.
785 <item>Added some todo items.
786 <item>Added more information regarding printers and cups config file
787 (taken from a thread on debian-security).
788 <item>Added a patch submitted by Jesus Climent regarding access of
789 valid system users to Proftpd when configured as anonymous server.
790 <item>Small change on partition schemes for the special case of mail
791 servers.
792 <item>Added Hacking Linux Exposed to the books section.
793 <item>Fixed directory typo noticed by Eduardo Pérez Ureta.
794 <item>Fixed /etc/ssh typo in checklist noticed by Edi Stojicevi.
795 </list>
796 <sect1>Version 2.3
797 <p>Changes by Javier Fernández-Sanguino Peña.
798 <list>
799 <item>Fixed location of dpkg conffile.
800 <item>Remove Alexander from contact information.
801 <item>Added alternate mail address.
802 <item>Fixed Alexander mail address (even if commented out).
803 <item>Fixed location of release keys (thanks to Pedro Zorzenon for pointing
804 this out).
805 </list>
806 <sect1>Version 2.2
807 <p>Changes by Javier Fernández-Sanguino Peña.
808 <list>
809 <item>Fixed typos, thanks to Jamin W. Collins.
810 <item>Added a reference to apt-extracttemplate manpage
811 (documents the APT::ExtractTemplate config).
812 <item>Added section about restricted SSH. Information based on that
813 posted by Mark Janssen, Christian G. Warden and Emmanuel Lacour on
814 the debian-security mailing list.
815 <item>Added information on antivirus software.
816 <item>Added a FAQ: su logs due to the cron running as root.
817 </list>
818 <sect1>Version 2.1
819 <p>Changes by Javier Fernández-Sanguino Peña.
820 <list>
821 <item>Changed FIXME from lshell thanks to Oohara Yuuma.
822 <item>Added package to sXid and removed comment since it *is* available.
823 <item>Fixed a number of typos discovered by Oohara Yuuma.
824 <item>ACID is now available in Debian (in the acidlab package)
825 thanks to Oohara Yuuma for noticing.
826 <item>Fixed LinuxSecurity links (thanks to Dave Wreski for telling).
827 </list>
828 <sect1>Version 2.0
829 <p>Changes by Javier Fernández-Sanguino Peña. I wanted to
830 change to 2.0 when all the FIXMEs were fixed but I ran out
831 of 1.9X numbers :(
832 <list>
833 <item>Converted the HOWTO into a Manual (now I can properly say RTFM)
834
835 <item>Added more information regarding tcp wrappers and Debian (now
836 many services are compiled with support for them so it's no longer
837 an <prgn>inetd</prgn> issue).
838
839 <item>Clarified the information on disabling services to make it more
840 consistent (rpc info still referred to update-rc.d)
841
842 <item>Added small note on lprng.
843
844 <item>Added some more info on compromised servers (still very rough)
845
846 <item>Fixed typos reported by Mark Bucciarelli.
847
848 <item>Added some more steps in password recovery to cover the cases
849 when the admin has set paranoid-mode=on.
850
851 <item>Added some information to set paranoid-mode=on when login in
852 console.
853
854 <item>New paragraph to introduce service configuration.
855
856 <item>Reorganized the <em>After installation</em> section so it is
857 more broken up into several issues and it's easier to read.
858
859 <item>Wrote information on how to set up firewalls with the standard
860 Debian 3.0 setup (iptables package).
861
862 <item>Small paragraph explaining why installing connected to the
863 Internet is not a good idea and how to avoid this using Debian tools.
864
865 <item>Small paragraph on timely patching referencing to IEEE paper.
866
867 <item>Appendix on how to set up a Debian snort box, based on what Vladimir
868 sent to the debian-security mailing list (September 3rd 2001)
869
870 <item>Information on how logcheck is set up in Debian and how it can be
871 used to set up HIDS.
872
873 <item>Information on user accounting and profile analysis.
874
875 <item>Included apt.conf configuration for read-only /usr copied from Olaf
876 Meeuwissen's post to the debian-security mailing list
877
878 <item>New section on VPN with some pointers and the packages available
879 in Debian (needs content on how to set up the VPNs and Debian-specific
880 issues), based on Jaroslaw Tabor's and Samuli Suonpaa's post to
881 debian-security.
882
883 <item>Small note regarding some programs to automatically build chroot jails
884
885 <item>New FAQ item regarding identd based on a discussion in the
886 debian-security mailing list (February 2002, started by Johannes Weiss).
887
888 <item>New FAQ item regarding <prgn>inetd</prgn> based on a discussion in the
889 debian-security mailing list (February 2002).
890
891 <item>Introduced note on rcconf in the "disabling services" section.
892
893 <item>Varied the approach regarding LKM, thanks to Philipe Gaspar
894
895 <item>Added pointers to CERT documents and Counterpane resources
896 </list>
897
898 <sect1>Version 1.99
899 <p>Changes by Javier Fernández-Sanguino Peña.
900 <list>
901 <item>Added a new FAQ item regarding time to fix security vulnerabilities.
902 <item>Reorganized FAQ sections.
903 <item>Started writing a section regarding firewalling in Debian GNU/Linux
904 (could be broadened a bit)
905 <item>Fixed typos sent by Matt Kraai
906 <item>Fixed DNS information
907 <item>Added information on whisker and nbtscan to the auditing section.
908 <item>Fixed some wrong URLs
909 </list>
910 <sect1>Version 1.98
911 <p>Changes by Javier Fernández-Sanguino Peña.
912 <list>
913 <item>Added a new section regarding auditing using Debian GNU/Linux.
914 <item>Added info regarding finger daemon taken from the security mailing list.
915 </list>
916 <sect1>Version 1.97
917 <p>Changes by Javier Fernández-Sanguino Peña.
918 <list>
919 <item>Fixed link for Linux Trustees
920 <item>Fixed typos (patches from Oohara Yuuma and Pedro Zorzenon)
921 </list>
922
923 <sect1>Version 1.96
924 <p>Changes by Javier Fernández-Sanguino Peña.
925 <list>
926
927 <item>Reorganized service installation and removal and added some new notes.
928
929 <item>Added some notes regarding using integrity checkers as intrusion
930 detection tools.
931
932 <item>Added a chapter regarding package signatures.
933
934 </list>
935
936 <sect1>Version 1.95
937 <p>Changes by Javier Fernández-Sanguino Peña.
938 <list>
939
940 <item>Added notes regarding Squid security sent by Philipe Gaspar.
941
942 <item>Fixed rootkit links thanks to Philipe Gaspar.
943
944 </list>
945
946 <sect1>Version 1.94
947 <p>Changes by Javier Fernández-Sanguino Peña.
948 <list>
949
950 <item>Added some notes regarding Apache and Lpr/lpng.
951
952 <item>Added some information regarding noexec and read-only partitions.
953
954 <item>Rewrote how users can help in Debian security issues (FAQ item).
955 </list>
956
957 <sect1>Version 1.93
958 <p>Changes by Javier Fernández-Sanguino Peña.
959 <list>
960
961 <item>Fixed location of mail program.
962
963 <item>Added some new items to the FAQ.
964 </list>
965
966 <sect1>Version 1.92
967 <p>Changes by Javier Fernández-Sanguino Peña.
968 <list>
969
970 <item>Added a small section on how Debian handles security
971
972 <item>Clarified MD5 passwords (thanks to `rocky')
973
974 <item>Added some more information regarding harden-X from Stephen van Egmond
975
976 <item>Added some new items to the FAQ
977
978 </list>
979
980 <sect1>Version 1.91
981 <p>Changes by Javier Fernández-Sanguino Peña.
982 <list>
983
984 <item>Added some forensics information sent by Yotam Rubin.
985
986 <item>Added information on how to build a honeynet using Debian GNU/Linux.
987
988 <item>Added some more TODOS.
989
990 <item>Fixed more typos (thanks Yotam!)
991
992 </list>
993
994 <sect1>Version 1.9
995 <p>Changes by Javier Fernández-Sanguino Peña.
996 <list>
997
998 <item>Added patch to fix misspellings and some new information (contributed
999 by Yotam Rubin)
1000
1001 <item>Added references to other online (and offline) documentation both in a
1002 section (see <ref id="references">) by itself and inline in some sections.
1003
1004 <item>Added some information on configuring Bind options to restrict
1005 access to the DNS server.
1006
1007 <item>Added information on how to automatically harden a Debian system
1008 (regarding the harden package and bastille).
1009
1010 <item>Removed some done TODOs and added some new ones.
1011
1012 </list>
1013
1014 <sect1>Version 1.8
1015 <p>Changes by Javier Fernández-Sanguino Peña.
1016 <list>
1017
1018 <item>Added the default user/group list provided by Joey Hess to the
1019 debian-security mailing list.
1020
1021 <item>Added information on LKM root-kits (<ref id="LKM">)
1022 contributed by Philipe Gaspar.
1023
1024 <item>Added information on Proftp contributed by Emmanuel Lacour.
1025
1026 <item>Recovered the checklist Appendix from Era Eriksson.
1027
1028 <item>Added some new TODO items and removed other fixed ones.
1029
1030 <item>Manually included Era's patches since they were not all included in
1031 the previous version.
1032
1033 </list>
1034 <sect1>Version 1.7
1035 <p>Changes by Era Eriksson.
1036 <list>
1037 <item>Typo fixes and wording changes
1038 </list>
1039 <p>Changes by Javier Fernández-Sanguino Peña.
1040 <list>
1041 <item>Minor changes to tags in order to keep on removing the tt tags
1042 and substitute prgn/package tags for them.
1043 </list>
1044
1045 <sect1>Version 1.6
1046 <p>Changes by Javier Fernández-Sanguino Peña.
1047 <list>
1048 <item>Added pointer to document as published in the DDP (should
1049 supersede the original in the near future)
1050 <item>Started a mini-FAQ
1051 (should be expanded) with some questions recovered from my mailbox.
1052 <item>Added general information to consider while securing.
1053 <item>Added a paragraph regarding local (incoming) mail delivery.
1054 <item>Added some pointers to more information.
1055 <item>Added information regarding the printing service.
1056 <item>Added a security hardening checklist.
1057 <item>Reorganized NIS and RPC information.
1058 <item>Added some notes taken while reading this document on my new
1059 Visor :)
1060 <item>Fixed some badly formatted lines.
1061 <item>Fixed some typos.
1062 <item>Added a Genius/Paranoia idea contributed by Gaby
1063 Schilders.
1064 </list>
1065 <sect1>Version 1.5
1066
1067 <p>Changes by Josip Rodin and Javier Fernández-Sanguino Peña.
1068
1069 <list>
1070 <item>Added paragraphs related to BIND and some FIXMEs. <!-- Removed
1071 this because I found no evidence for it in the diffs. // era Rewrote
1072 style in order to make it more formal. -->
1073 </list>
1074 <sect1>Version 1.4
1075 <p>
1076 <list>
1077 <item>Small setuid check paragraph <item>Various minor cleanups
1078 <item>Found out how to use <tt>sgml2txt -f</tt> for the txt
1079 version</item>
1080 </list>
1081 <sect1>Version 1.3
1082 <p>
1083 <list>
1084 <item>Added a security update after installation paragraph
1085 <item>Added a proftpd paragraph
1086 <item>This time really wrote something about XDM, sorry for last time
1087 </list>
1088 <sect1>Version 1.2
1089 <p>
1090 <list>
1091 <item>Lots of grammar corrections by James Treacy, new XDM
1092 paragraph
1093 </list>
1094 <sect1>Version 1.1
1095 <p>
1096 <list>
1097 <item>Typo fixes, miscellaneous additions
1098 </list>
1099 <sect1>Version 1.0
1100 <p>
1101 <list>
1102 <item>Initial release
1103 </list>
1104
1105
1106
1107 <sect>Credits and Thanks!
1108 <p>
1109 <list>
1110 <item>Alexander Reelsen wrote the original document.
1111
1112 <item>Javier Fernández-Sanguino added more info to the original doc.
1113
1114 <item>Robert van der Meulen provided the quota paragraphs and many good ideas.
1115
1116 <item>Ethan Benson corrected the PAM paragraph and had some good ideas.
1117
1118 <item>Dariusz Puchalak contributed some information to several
1119 chapters.
1120
1121 <item>Gaby Schilders contributed a nice Genius/Paranoia idea.
1122
1123 <item>Era Eriksson smoothed out the language in a lot of
1124 places and contributed the checklist appendix.
1125
1126 <item>Philipe Gaspar wrote the LKM information.
1127
1128 <item>Yotam Rubin contributed fixes for many typos as well
1129 as information regarding bind versions and md5 passwords.
1130
1131 <item>All the people who made suggestions for improvement that
1132 (eventually) got included here (see <ref id="changelog">)
1133
1134 <item>(Alexander) All the folks who encouraged me to write this HOWTO
1135 (which was later turned into a Manual).
1136
1137 <item>The whole Debian project.
1138 </list>
1139

  ViewVC Help
Powered by ViewVC 1.1.5