/[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 2906 - (show annotations) (download) (as text)
Sun Mar 6 02:49:17 2005 UTC (8 years, 2 months ago) by jseidel
File MIME type: text/x-sgml
File size: 40850 byte(s)
added missing tags
1 <!-- CVS revision of this document "$Revision: 1.14 $" -->
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.1 (january 2005)
349 <p>Changes by Javier Fernández-Sanguino Peña
350 <list>
351 <item>Added clarification to ro /usr with patch from Joost van Baal
352 <item>Apply patch from Jens Seidel fixing many typos.
353 <item>FreeSWAN is dead, long live OpenSWAN.
354 <item>Added information on restricting access to RPC services (when
355 they cannot be disabled) also included patch provided by Aarre Laakso.
356 <item>Update aj's apt-check-sigs script.
357 <item>Apply patch Carlo Perassi fixing URLs.
358 <item>Apply patch from Davor Ocelic fixing many errors, typos, urls, grammar
359 and FIXMEs. Also adds some additional information to some sections.
360 <item>Rewrote the section on user auditing, highlight the usage of script
361 which does not have some of the issues associated to shell history.
362 </list>
363
364 <sect1>Version 3.0 (december 2004)
365 <p>Changes by Javier Fernández-Sanguino Peña
366 <list>
367 <item>Rewrote the user-auditing information and include examples on how
368 to use script.
369 </list>
370
371 <sect1>Version 2.99 (march 2004)
372
373 <p>Changes by Javier Fernández-Sanguino Peña
374 <list>
375 <item>Added information on references in DSAs and CVE-Compatibility.
376 <item>Added information on apt 0.6 (apt-secure merge in experimental)
377 <item>Fixed location of Chroot daemons HOWTO as suggested by Shuying Wang.
378 <item>Changed APACHECTL line in the Apache chroot example (even if its
379 not used at all) as suggested by Leonard Norrgard.
380 <item>Added a footnote regarding hardlink attacks if partitions are
381 not setup properly.
382 <item>Added some missing steps in order to run bind as named as
383 provided by Jeffrey Prosa.
384 <item>Added notes about Nessus and Snort out-of-dateness in woody
385 and availability of backported packages.
386 <item>Added a chapter regarding periodic integrity test checks.
387 <item>Clarified the status of testing regarding security updates.
388 (Debian bug 233955)
389 <item>Added more information regarding expected contents in securetty
390 (since it's kernel specific).
391 <item> Added pointer to snoopylogger (Debian bug 179409)
392 <item> Added reference to guarddog (Debian bug 170710)
393 <item> Apt-ftparchive is in apt-utils, not in apt (thanks to
394 Emmanuel Chantreau for pointing this out)
395 <item>Removed jvirus from AV list.
396 </list>
397 </sect1>
398
399 <sect1>Version 2.98 (December 2003)
400 <p>Changes by Javier Fernández-Sanguino Peña
401 <list>
402 <item>Fixed URL as suggested by Frank Lichtenheld.
403 <item>Fixed PermitRootLogin typo as suggested by Stefan Lindenau.
404 </list>
405
406 </sect1>
407 <sect1>Version 2.97 (september 2003)
408 <p>Changes by Javier Fernández-Sanguino Peña
409 <list>
410
411 <item>Added those that have made the most significant contributions to
412 this manual (please mail me if you think you should be in the list and
413 are not).
414
415 <item>Added some blurb about FIXME/TODOs
416
417 <item>Moved the information on security updates to the beginning of
418 the section as suggested by Elliott Mitchell.
419
420 <item>Added grsecurity to the list of kernel-patches for security but
421 added a footnote on the current issues with it as suggested by Elliott
422 Mitchell.
423
424 <item>Removed loops (echo to 'all') in the kernel's network security
425 script as suggested by Elliott Mitchell.
426
427 <item>Added more (up-to-date) information in the antivirus section.
428
429 <item>Rewrote the buffer overflow protection section and added more
430 information on patches to the compiler to enable this kind of
431 protection.
432
433 </list>
434
435
436 <sect1>Version 2.96 (august 2003)
437 <p>Changes by Javier Fernández-Sanguino Peña
438 <list>
439 <item>Removed (and then re-added) appendix on chrooting Apache. The appendix
440 is now dual-licensed.
441 </list>
442
443 <sect1>Version 2.95 (June 2003)
444 <p>Changes by Javier Fernández-Sanguino Peña
445 <list>
446 <item>Fixed typos spotted by Leonard Norrgard.
447 <item>Added a section on how to contact CERT for incident handling
448 (<url id="#after-compromise">)
449 <item>More information on setting up a Squid proxy.
450 <item>Added a pointer and removed a FIXME thanks to Helge H. F.
451 <item>Fixed a typo (save_inactive) spotted by Philippe Faes.
452 <item>Fixed several typos spotted by Jaime Robles.
453 </list>
454
455 <sect1>Version 2.94 (April 2003)
456 <p>Changes by Javier Fernández-Sanguino Peña
457 <list>
458 <item>Following Maciej Stachura's suggestions I've expanded the section on
459 limiting users.
460 <item>Fixed typo spotted by Wolfgang Nolte.
461 <item>Fixed links with patch contributed by Ruben Leote Mendes.
462 <item>Added a link to David Wheeler's excellent document on the footnote
463 about counting security vulnerabilities.
464 </list>
465
466 <sect1>Version 2.93 (march 2003)
467 <p>Changes made by Frédéric Schütz.
468 <list>
469 <item>rewrote entirely the section of ext2 attributes
470 (lsattr/chattr)
471 </list>
472
473 <sect1>Version 2.92 (February 2003)
474 <p>Changes by Javier Fernández-Sanguino Peña and
475 Frédéric Schütz.
476 <list>
477 <item>Merge section 9.3 ("useful kernel patches") into section 4.13 ("Adding
478 kernel patches"), and added some content.
479 <item>Added a few more TODOs
480 <item>Added information on how to manually check for updates and also about
481 cron-apt. That way Tiger is not perceived as the only way to do automatic
482 update checks.
483 <item>Slightly rewrite of the section on executing a security updates due
484 to Jean-Marc Ranger comments.
485 <item>Added a note on Debian's installation (which will suggest the user
486 to execute a security update right after installation)
487 </list>
488
489 <sect1>Version 2.91 (January/February 2003)
490 <p>Changes by Javier Fernández-Sanguino Peña (me).
491 <list>
492 <item>Added a patch contributed by Frédéric Schütz.
493 <item>Added a few more references on capabilities thanks to Frédéric.
494 <item>Slight changes in the bind section adding a reference to BIND's 9
495 online documentation and proper references in the first area (Hi Pedro!)
496 <item>Fixed the changelog date - new year :-)
497 <item>Added a reference to Colin's articles for the TODOs.
498 <item>Removed reference to old ssh+chroot patches.
499 <item>More patches from Carlo Perassi.
500 <item>Typo fixes (recursive in Bind is recursion), pointed out by
501 Maik Holtkamp.
502 </list>
503
504 <sect1>Version 2.9 (December 2002)
505 <p>Changes by Javier Fernández-Sanguino Peña (me).
506 <list>
507 <item>Reorganized the information on chroot (merged two sections, it
508 didn't make much sense to have them separated)
509 <item>Added the notes on chrooting Apache provided by Alexandre Ratti.
510 <item>Applied patches contributed by Guillermo Jover.
511 </list>
512
513 <sect1>Version 2.8 (November 2002)
514 <p>Changes by Javier Fernández-Sanguino Peña (me).
515 <list>
516 <item>Applied patches from Carlo Perassi, fixes include: re-wrapping the
517 lines, URL fixes, and fixed some FIXMEs
518 <item>Updated the contents of the Debian security team FAQ.
519 <item>Added a link to the Debian security team FAQ and the Debian Developer's
520 reference, the duplicated sections might (just might) be removed in the future.
521 <item>Fixed the hand-made auditing section with comments from Michal Zielinski.
522 <item>Added links to wordlists (contributed by Carlo Perassi)
523 <item>Fixed some typos (still many around).
524 <item>Fixed TDP links as suggested by John Summerfield.
525 </list>
526
527 <sect1>Version 2.7 (October 2002)
528 <p>Changes by Javier Fernández-Sanguino Peña (me). Note: I still
529 have a lot of pending changes in my mailbox (which is currently
530 about 5 Mbs in size).
531 <list>
532 <item>Some typo fixes contributed by Tuyen Dinh, Bartek Golenko and
533 Daniel K. Gebhart.
534 <item>Note regarding /dev/kmem rootkits contributed by Laurent Bonnaud
535 <item>Fixed typos and FIXMEs contributed by Carlo Perassi.
536 </list>
537
538 <sect1>Version 2.6 (september 2002)
539 <p>Changes by Chris Tillman, tillman@voicetrak.com.
540 <list>
541 <item>Changed around to improve grammar/spelling.
542 <item>s/host.deny/hosts.deny/ (1 place)
543 <item>Applied Larry Holish's patch (quite big, fixes a lot of FIXMEs)
544 </list>
545
546 <sect1>Version 2.5 (september 2002)
547 <p>Changes by Javier Fernández-Sanguino Peña (me).
548 <list>
549 <item>Fixed minor typos submitted by Thiemo Nagel.
550 <item>Added a footnote suggested by Thiemo Nagel.
551 <item>Fixed an URL link.
552 </list>
553
554 <sect1>Version 2.5 (august 2002)
555
556 <p>Changes by Javier Fernández-Sanguino Peña (me). There were many
557 things waiting on my inbox (as far back as February) to be included,
558 so I'm going to tag this the <em>back from honeymoon</em> release :)
559
560 <list>
561
562 <item>Applied a patch contributed by Philipe Gaspar regarding the
563 Squid which also kills a FIXME.
564
565 <item>Yet another FAQ item regarding service banners taken from the
566 debian-security mailing list (thread "Telnet information" started 26th
567 July 2002).
568
569 <item>Added a note regarding use of CVE cross references in the
570 <em>How much time does the Debian security team...</em> FAQ item.
571
572
573 <item>Added a new section regarding ARP attacks contributed by Arnaud
574 "Arhuman" Assad.
575
576 <item>New FAQ item regarding dmesg and console login by the kernel.
577
578 <item>Small tidbits of information to the signature-checking issues in
579 packages (it seems to not have gotten past beta release).
580
581 <item>New FAQ item regarding vulnerability assessment tools false
582 positives.
583
584 <item>Added new sections to the chapter that contains information on
585 package signatures and reorganized it as a new <em>Debian Security
586 Infrastructure</em> chapter.
587
588 <item>New FAQ item regarding Debian vs. other Linux distributions.
589
590 <item>New section on mail user agents with GPG/PGP functionality in the
591 security tools chapter.
592
593 <item>Clarified how to enable MD5 passwords in woody, added a pointer
594 to PAM as well as a note regarding the max definition in PAM.
595
596 <item>Added a new appendix on how to create chroot environments (after
597 fiddling a bit with makejail and fixing, as well, some of its bugs),
598 integrated duplicate information in all the appendix.
599
600 <item>Added some more information regarding <PRGN>SSH</PRGN> chrooting and its
601 impact on secure file transfers. Some information has been retrieved
602 from the debian-security mailing list (June 2002 thread: <em>secure
603 file transfers</em>).
604
605 <item>New sections on how to do automatic updates on Debian systems as
606 well as the caveats of using testing or unstable regarding security updates.
607
608 <item>New section regarding keeping up to date with security patches
609 in the <em>Before compromise</em> section as well as a new section
610 about the debian-security-announce mailing list.
611
612 <item>Added information on how to automatically generate strong passwords.
613
614 <item>New section regarding login of idle users.
615
616 <item>Reorganized the securing mail server section based on the
617 <em>Secure/hardened/minimal Debian (or "Why is the base system the way
618 it is?")</em> thread on the debian-security mailing list (May 2002).
619
620 <item>Reorganized the section on kernel network parameters, with
621 information provided in the debian-security mailing list (May 2002,
622 <em>syn flood attacked?</em> thread) and added a new FAQ item as well.
623
624 <item>New section on how to check users passwords and which packages
625 to install for this.
626
627 <item>New section on PPTP encryption with Microsoft clients discussed
628 in the debian-security mailing list (April 2002).
629
630 <item>Added a new section describing what problems are there when binding any
631 given service to a specific IP address, this information was written based on
632 the bugtraq mailing list in the thread: <em>Linux kernel 2.4 "weak end host"
633 issue (previously discussed on debian-security as "arp problem")</em> (started
634 on May 9th 2002 by Felix von Leitner).
635
636 <item>Added information on <prgn>ssh</prgn> protocol version 2.
637
638 <item>Added two subsections related to Apache secure configuration
639 (the things specific to Debian, that is).
640
641 <item>Added a new FAQ related to raw sockets, one related to /root, an
642 item related to users' groups and another one related to log and
643 configuration files permissions.
644
645 <item>Added a pointer to a bug in libpam-cracklib that might still be
646 open... (need to check)
647
648 <item>Added more information regarding forensics analysis (pending more
649 information on packet inspection tools such as <prgn>tcpflow</prgn>).
650
651 <item>Changed the "what should I do regarding compromise" into a bullet
652 list and included some more stuff.
653
654 <item>Added some information on how to set up the Xscreensaver to lock
655 the screen automatically after the configured timeout.
656
657 <item>Added a note related to the utilities you should not install in
658 the system. Included a note regarding Perl and why it cannot be
659 easily removed in Debian. The idea came after reading Intersect's
660 documents regarding Linux hardening.
661
662 <item>Added information on lvm and journalling file systems, ext3
663 recommended. The information there might be too generic, however.
664
665 <item>Added a link to the online text version (check).
666
667 <item>Added some more stuff to the information on firewalling the
668 local system, triggered by a comment made by Hubert Chan in the mailing list.
669
670 <item>Added more information on PAM limits and pointers to Kurt
671 Seifried's documents (related to a post by him to bugtraq on April 4th
672 2002 answering a person that had ``discovered'' a vulnerability in
673 Debian GNU/Linux related to resource starvation).
674
675 <item>As suggested by Julián Muñoz, provided more information on the
676 default Debian umask and what a user can access if he has been given a
677 shell in the system (scary, huh?)
678
679 <item>Included a note in the BIOS password section due to a comment
680 from Andreas Wohlfeld.
681
682 <item>Included patches provided by Alfred E. Heggestad fixing many of
683 the typos still present in the document.
684
685 <item>Added a pointer to the changelog in the Credits section since
686 most people who contribute are listed here (and not there).
687
688 <item>Added a few more notes to the chattr section and a new section
689 after installation talking about system snapshots. Both ideas were
690 contributed by Kurt Pomeroy.
691
692 <item>Added a new section after installation just to remind users to
693 change the boot-up sequence.
694
695 <item>Added some more TODO items provided by Korn Andras.
696
697 <item>Added a pointer to the NIST's guidelines on how to secure DNS
698 provided by Daniel Quinlan.
699
700 <item>Added a small paragraph regarding Debian's SSL certificates
701 infrastructure.
702
703 <item>Added Daniel Quinlan's suggestions regarding <prgn>ssh</prgn>
704 authentication and exim's relay configuration.
705
706 <item>Added more information regarding securing bind including changes
707 suggested by Daniel Quinlan and an appendix with a script to make some of the
708 changes commented on in that section.
709
710 <item>Added a pointer to another item regarding Bind chrooting (needs to be
711 merged).
712
713 <item>Added a one liner contributed by Cristian Ionescu-Idbohrn to
714 retrieve packages with tcpwrappers support.
715
716 <item>Added a little bit more info on Debian's default PAM setup.
717
718 <item>Included a FAQ question about using PAM to provide services without
719 shell accounts.
720
721 <item>Moved two FAQ items to another section and added a new FAQ
722 regarding attack detection (and compromised systems).
723
724 <item>Included information on how to set up a bridge firewall
725 (including a sample Appendix). Thanks to Francois Bayart who sent
726 this to me in March.
727
728 <item>Added a FAQ regarding the syslogd's <em>MARK</em>
729 <em>heartbeat</em> from a question answered by Noah Meyerhans and
730 Alain Tesio in December 2001.
731
732 <item>Included information on buffer overflow protection as well as
733 some information on kernel patches.
734
735 <item>Added more information (and reorganized) the firewall
736 section. Updated the information regarding the iptables package and
737 the firewall generators available.
738
739 <item>Reorganized the information regarding log checking, moved
740 logcheck information from host intrusion detection to that section.
741
742 <item>Added some information on how to prepare a static package for
743 bind for chrooting (untested).
744
745 <item>Added a FAQ item regarding some specific servers/services
746 (could be expanded with some of the
747 recommendations from the debian-security list).
748
749 <item>Added some information on RPC services (and when it's necessary).
750
751 <item>Added some more information on capabilities (and what lcap does).
752 Is there any good documentation on this? I haven't found any documentation on
753 my 2.4 kernel.
754
755 <item>Fixed some typos.
756
757 </list>
758
759 <sect1>Version 2.4
760 <p>Changes by Javier Fernández-Sanguino Peña.
761 <list>
762 <item>Rewritten part of the BIOS section.
763 </list>
764
765 <sect1>Version 2.3
766 <p>Changes by Javier Fernández-Sanguino Peña.
767 <list>
768 <item>Wrapped most file locations with the file tag.
769 <item>Fixed typo noticed by Edi Stojicevi.
770 <item>Slightly changed the remote audit tools section.
771 <item>Added some todo items.
772 <item>Added more information regarding printers and cups config file
773 (taken from a thread on debian-security).
774 <item>Added a patch submitted by Jesus Climent regarding access of
775 valid system users to Proftpd when configured as anonymous server.
776 <item>Small change on partition schemes for the special case of mail
777 servers.
778 <item>Added Hacking Linux Exposed to the books section.
779 <item>Fixed directory typo noticed by Eduardo Pérez Ureta.
780 <item>Fixed /etc/ssh typo in checklist noticed by Edi Stojicevi.
781 </list>
782 <sect1>Version 2.3
783 <p>Changes by Javier Fernández-Sanguino Peña.
784 <list>
785 <item>Fixed location of dpkg conffile.
786 <item>Remove Alexander from contact information.
787 <item>Added alternate mail address.
788 <item>Fixed Alexander mail address (even if commented out).
789 <item>Fixed location of release keys (thanks to Pedro Zorzenon for pointing
790 this out).
791 </list>
792 <sect1>Version 2.2
793 <p>Changes by Javier Fernández-Sanguino Peña.
794 <list>
795 <item>Fixed typos, thanks to Jamin W. Collins.
796 <item>Added a reference to apt-extracttemplate manpage
797 (documents the APT::ExtractTemplate config).
798 <item>Added section about restricted SSH. Information based on that
799 posted by Mark Janssen, Christian G. Warden and Emmanuel Lacour on
800 the debian-security mailing list.
801 <item>Added information on antivirus software.
802 <item>Added a FAQ: su logs due to the cron running as root.
803 </list>
804 <sect1>Version 2.1
805 <p>Changes by Javier Fernández-Sanguino Peña.
806 <list>
807 <item>Changed FIXME from lshell thanks to Oohara Yuuma.
808 <item>Added package to sXid and removed comment since it *is* available.
809 <item>Fixed a number of typos discovered by Oohara Yuuma.
810 <item>ACID is now available in Debian (in the acidlab package)
811 thanks to Oohara Yuuma for noticing.
812 <item>Fixed LinuxSecurity links (thanks to Dave Wreski for telling).
813 </list>
814 <sect1>Version 2.0
815 <p>Changes by Javier Fernández-Sanguino Peña. I wanted to
816 change to 2.0 when all the FIXMEs were fixed but I ran out
817 of 1.9X numbers :(
818 <list>
819 <item>Converted the HOWTO into a Manual (now I can properly say RTFM)
820
821 <item>Added more information regarding tcp wrappers and Debian (now
822 many services are compiled with support for them so it's no longer
823 an <prgn>inetd</prgn> issue).
824
825 <item>Clarified the information on disabling services to make it more
826 consistent (rpc info still referred to update-rc.d)
827
828 <item>Added small note on lprng.
829
830 <item>Added some more info on compromised servers (still very rough)
831
832 <item>Fixed typos reported by Mark Bucciarelli.
833
834 <item>Added some more steps in password recovery to cover the cases
835 when the admin has set paranoid-mode=on.
836
837 <item>Added some information to set paranoid-mode=on when login in
838 console.
839
840 <item>New paragraph to introduce service configuration.
841
842 <item>Reorganized the <em>After installation</em> section so it is
843 more broken up into several issues and it's easier to read.
844
845 <item>Wrote information on how to set up firewalls with the standard
846 Debian 3.0 setup (iptables package).
847
848 <item>Small paragraph explaining why installing connected to the
849 Internet is not a good idea and how to avoid this using Debian tools.
850
851 <item>Small paragraph on timely patching referencing to IEEE paper.
852
853 <item>Appendix on how to set up a Debian snort box, based on what Vladimir
854 sent to the debian-security mailing list (September 3rd 2001)
855
856 <item>Information on how logcheck is set up in Debian and how it can be
857 used to set up HIDS.
858
859 <item>Information on user accounting and profile analysis.
860
861 <item>Included apt.conf configuration for read-only /usr copied from Olaf
862 Meeuwissen's post to the debian-security mailing list
863
864 <item>New section on VPN with some pointers and the packages available
865 in Debian (needs content on how to set up the VPNs and Debian-specific
866 issues), based on Jaroslaw Tabor's and Samuli Suonpaa's post to
867 debian-security.
868
869 <item>Small note regarding some programs to automatically build chroot jails
870
871 <item>New FAQ item regarding identd based on a discussion in the
872 debian-security mailing list (February 2002, started by Johannes Weiss).
873
874 <item>New FAQ item regarding <prgn>inetd</prgn> based on a discussion in the
875 debian-security mailing list (February 2002).
876
877 <item>Introduced note on rcconf in the "disabling services" section.
878
879 <item>Varied the approach regarding LKM, thanks to Philipe Gaspar
880
881 <item>Added pointers to CERT documents and Counterpane resources
882 </list>
883
884 <sect1>Version 1.99
885 <p>Changes by Javier Fernández-Sanguino Peña.
886 <list>
887 <item>Added a new FAQ item regarding time to fix security vulnerabilities.
888 <item>Reorganized FAQ sections.
889 <item>Started writing a section regarding firewalling in Debian GNU/Linux
890 (could be broadened a bit)
891 <item>Fixed typos sent by Matt Kraai
892 <item>Fixed DNS information
893 <item>Added information on whisker and nbtscan to the auditing section.
894 <item>Fixed some wrong URLs
895 </list>
896 <sect1>Version 1.98
897 <p>Changes by Javier Fernández-Sanguino Peña.
898 <list>
899 <item>Added a new section regarding auditing using Debian GNU/Linux.
900 <item>Added info regarding finger daemon taken from the security mailing list.
901 </list>
902 <sect1>Version 1.97
903 <p>Changes by Javier Fernández-Sanguino Peña.
904 <list>
905 <item>Fixed link for Linux Trustees
906 <item>Fixed typos (patches from Oohara Yuuma and Pedro Zorzenon)
907 </list>
908
909 <sect1>Version 1.96
910 <p>Changes by Javier Fernández-Sanguino Peña.
911 <list>
912
913 <item>Reorganized service installation and removal and added some new notes.
914
915 <item>Added some notes regarding using integrity checkers as intrusion
916 detection tools.
917
918 <item>Added a chapter regarding package signatures.
919
920 </list>
921
922 <sect1>Version 1.95
923 <p>Changes by Javier Fernández-Sanguino Peña.
924 <list>
925
926 <item>Added notes regarding Squid security sent by Philipe Gaspar.
927
928 <item>Fixed rootkit links thanks to Philipe Gaspar.
929
930 </list>
931
932 <sect1>Version 1.94
933 <p>Changes by Javier Fernández-Sanguino Peña.
934 <list>
935
936 <item>Added some notes regarding Apache and Lpr/lpng.
937
938 <item>Added some information regarding noexec and read-only partitions.
939
940 <item>Rewrote how users can help in Debian security issues (FAQ item).
941 </list>
942
943 <sect1>Version 1.93
944 <p>Changes by Javier Fernández-Sanguino Peña.
945 <list>
946
947 <item>Fixed location of mail program.
948
949 <item>Added some new items to the FAQ.
950 </list>
951
952 <sect1>Version 1.92
953 <p>Changes by Javier Fernández-Sanguino Peña.
954 <list>
955
956 <item>Added a small section on how Debian handles security
957
958 <item>Clarified MD5 passwords (thanks to `rocky')
959
960 <item>Added some more information regarding harden-X from Stephen van Egmond
961
962 <item>Added some new items to the FAQ
963
964 </list>
965
966 <sect1>Version 1.91
967 <p>Changes by Javier Fernández-Sanguino Peña.
968 <list>
969
970 <item>Added some forensics information sent by Yotam Rubin.
971
972 <item>Added information on how to build a honeynet using Debian GNU/Linux.
973
974 <item>Added some more TODOS.
975
976 <item>Fixed more typos (thanks Yotam!)
977
978 </list>
979
980 <sect1>Version 1.9
981 <p>Changes by Javier Fernández-Sanguino Peña.
982 <list>
983
984 <item>Added patch to fix misspellings and some new information (contributed
985 by Yotam Rubin)
986
987 <item>Added references to other online (and offline) documentation both in a
988 section (see <ref id="references">) by itself and inline in some sections.
989
990 <item>Added some information on configuring Bind options to restrict
991 access to the DNS server.
992
993 <item>Added information on how to automatically harden a Debian system
994 (regarding the harden package and bastille).
995
996 <item>Removed some done TODOs and added some new ones.
997
998 </list>
999
1000 <sect1>Version 1.8
1001 <p>Changes by Javier Fernández-Sanguino Peña.
1002 <list>
1003
1004 <item>Added the default user/group list provided by Joey Hess to the
1005 debian-security mailing list.
1006
1007 <item>Added information on LKM root-kits (<ref id="LKM">)
1008 contributed by Philipe Gaspar.
1009
1010 <item>Added information on Proftp contributed by Emmanuel Lacour.
1011
1012 <item>Recovered the checklist Appendix from Era Eriksson.
1013
1014 <item>Added some new TODO items and removed other fixed ones.
1015
1016 <item>Manually included Era's patches since they were not all included in
1017 the previous version.
1018
1019 </list>
1020 <sect1>Version 1.7
1021 <p>Changes by Era Eriksson.
1022 <list>
1023 <item>Typo fixes and wording changes
1024 </list>
1025 <p>Changes by Javier Fernández-Sanguino Peña.
1026 <list>
1027 <item>Minor changes to tags in order to keep on removing the tt tags
1028 and substitute prgn/package tags for them.
1029 </list>
1030
1031 <sect1>Version 1.6
1032 <p>Changes by Javier Fernández-Sanguino Peña.
1033 <list>
1034 <item>Added pointer to document as published in the DDP (should
1035 supersede the original in the near future)
1036 <item>Started a mini-FAQ
1037 (should be expanded) with some questions recovered from my mailbox.
1038 <item>Added general information to consider while securing.
1039 <item>Added a paragraph regarding local (incoming) mail delivery.
1040 <item>Added some pointers to more information.
1041 <item>Added information regarding the printing service.
1042 <item>Added a security hardening checklist.
1043 <item>Reorganized NIS and RPC information.
1044 <item>Added some notes taken while reading this document on my new
1045 Visor :)
1046 <item>Fixed some badly formatted lines.
1047 <item>Fixed some typos.
1048 <item>Added a Genius/Paranoia idea contributed by Gaby
1049 Schilders.
1050 </list>
1051 <sect1>Version 1.5
1052
1053 <p>Changes by Josip Rodin and Javier Fernández-Sanguino Peña.
1054
1055 <list>
1056 <item>Added paragraphs related to BIND and some FIXMEs. <!-- Removed
1057 this because I found no evidence for it in the diffs. // era Rewrote
1058 style in order to make it more formal. -->
1059 </list>
1060 <sect1>Version 1.4
1061 <p>
1062 <list>
1063 <item>Small setuid check paragraph <item>Various minor cleanups
1064 <item>Found out how to use <tt>sgml2txt -f</tt> for the txt
1065 version</item>
1066 </list>
1067 <sect1>Version 1.3
1068 <p>
1069 <list>
1070 <item>Added a security update after installation paragraph
1071 <item>Added a proftpd paragraph
1072 <item>This time really wrote something about XDM, sorry for last time
1073 </list>
1074 <sect1>Version 1.2
1075 <p>
1076 <list>
1077 <item>Lots of grammar corrections by James Treacy, new XDM
1078 paragraph
1079 </list>
1080 <sect1>Version 1.1
1081 <p>
1082 <list>
1083 <item>Typo fixes, miscellaneous additions
1084 </list>
1085 <sect1>Version 1.0
1086 <p>
1087 <list>
1088 <item>Initial release
1089 </list>
1090
1091
1092
1093 <sect>Credits and Thanks!
1094 <p>
1095 <list>
1096 <item>Alexander Reelsen wrote the original document.
1097
1098 <item>Javier Fernández-Sanguino added more info to the original doc.
1099
1100 <item>Robert van der Meulen provided the quota paragraphs and many good ideas.
1101
1102 <item>Ethan Benson corrected the PAM paragraph and had some good ideas.
1103
1104 <item>Dariusz Puchalak contributed some information to several
1105 chapters.
1106
1107 <item>Gaby Schilders contributed a nice Genius/Paranoia idea.
1108
1109 <item>Era Eriksson smoothed out the language in a lot of
1110 places and contributed the checklist appendix.
1111
1112 <item>Philipe Gaspar wrote the LKM information.
1113
1114 <item>Yotam Rubin contributed fixes for many typos as well
1115 as information regarding bind versions and md5 passwords.
1116
1117 <item>All the people who made suggestions for improvement that
1118 (eventually) got included here (see <ref id="changelog">)
1119
1120 <item>(Alexander) All the folks who encouraged me to write this HOWTO
1121 (which was later turned into a Manual).
1122
1123 <item>The whole Debian project.
1124 </list>
1125

  ViewVC Help
Powered by ViewVC 1.1.5