Securing Debian Manual

Total Page:16

File Type:pdf, Size:1020Kb

Securing Debian Manual Securing Debian Manual Javier Fernández-Sanguino Peña <[email protected]> 2.6 10 octubre 2002Wed, 18 Sep 2002 14:09:35 +0200 Abstract This document describes the process of securing and hardening the default Debian installation. It covers some of the common tasks to set up a secure network environment using Debian GNU/Linux. It also gives additional information on the security tools available as well as the work done by the Debian security team. Copyright Notice Copyright © 2002 Javier Fernández-Sanguino Peña Copyright © 2001 Alexander Reelsen, Javier Fernández-Sanguino Peña Copyright © 2000 Alexander Reelsen Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 (http://www.fsf.org/copyleft/fdl. html) or any later version published by the Free Software Foundation. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. i Contents 1 Introduction 1 1.1 Download the manual .................................. 1 1.2 Organizational Notes/Feedback ............................ 2 1.3 Prior knowledge ...................................... 2 1.4 Things that need to be written (FIXME/TODO) .................... 2 1.5 Changelog/History .................................... 5 1.5.1 Version 2.6 (september 2002) .......................... 5 1.5.2 Version 2.5 (september 2002) .......................... 5 1.5.3 Version 2.5 (august 2002) ............................ 5 1.5.4 Version 2.4 ..................................... 9 1.5.5 Version 2.3 ..................................... 9 1.5.6 Version 2.3 ..................................... 9 1.5.7 Version 2.2 ..................................... 10 1.5.8 Version 2.1 ..................................... 10 1.5.9 Version 2.0 ..................................... 10 1.5.10 Version 1.99 .................................... 12 1.5.11 Version 1.98 .................................... 12 1.5.12 Version 1.97 .................................... 12 1.5.13 Version 1.96 .................................... 12 1.5.14 Version 1.95 .................................... 13 1.5.15 Version 1.94 .................................... 13 1.5.16 Version 1.93 .................................... 13 1.5.17 Version 1.92 .................................... 13 CONTENTS ii 1.5.18 Version 1.91 .................................... 13 1.5.19 Version 1.9 ..................................... 14 1.5.20 Version 1.8 ..................................... 14 1.5.21 Version 1.7 ..................................... 14 1.5.22 Version 1.6 ..................................... 15 1.5.23 Version 1.5 ..................................... 15 1.5.24 Version 1.4 ..................................... 15 1.5.25 Version 1.3 ..................................... 16 1.5.26 Version 1.2 ..................................... 16 1.5.27 Version 1.1 ..................................... 16 1.5.28 Version 1.0 ..................................... 16 1.6 Credits and Thanks! .................................... 16 2 Before you begin 19 2.1 What do you want this system for? ........................... 19 2.2 Be aware of general security problems ......................... 19 2.3 How does Debian handle security? ........................... 21 3 Before and during the installation 23 3.1 Choose a BIOS password ................................. 23 3.2 Partitioning the system .................................. 23 3.2.1 Choose an intelligent partition scheme .................... 23 3.3 Do not plug to the Internet until ready ......................... 25 3.4 Set a root password .................................... 25 3.5 Activate shadow passwords and MD5 passwords .................. 25 3.6 Run the minimum number of services required .................... 26 3.6.1 Disabling daemon services ........................... 27 3.6.2 Disabling inetd services ............................ 28 3.7 Install the minimum amount of software required .................. 28 3.7.1 Removing Perl .................................. 29 3.8 Read the debian security mailing lists ......................... 31 CONTENTS iii 4 After Installation 33 4.1 Change the BIOS (again) ................................. 33 4.2 Set a LILO or GRUB password ............................. 33 4.3 Remove root prompt on the kernel ........................... 34 4.4 Disallow floppy booting ................................. 35 4.5 Restricting console login access ............................. 36 4.6 Restricting system reboots through the console .................... 36 4.7 Mounting partitions the right way ........................... 36 4.7.1 Setting /tmp noexec ............................... 37 4.7.2 Setting /usr read-only .............................. 38 4.8 Execute a security update ................................ 38 4.9 Subscribe to the Debian Security Announce mailing List .............. 39 4.10 Providing secure user access ............................... 39 4.10.1 User authentication: PAM ............................ 39 4.10.2 Limiting resource usage: the limits.conf file ............... 42 4.10.3 User Login actions: edit /etc/login.defs ................. 42 4.10.4 Restricting ftp: editing /etc/ftpusers ................... 44 4.10.5 Using su ...................................... 44 4.10.6 Using sudo .................................... 44 4.10.7 Disallow remote adminitrative access ..................... 44 4.10.8 Restricting users’s access ............................ 44 4.10.9 Hand-made user auditing ............................ 45 4.10.10 Complete user audit ............................... 46 4.10.11 Reviewing user profiles ............................. 46 4.10.12 Setting users umasks ............................... 46 4.10.13 Limiting what users can see/access ...................... 47 4.10.14 Generating user passwords ........................... 48 4.10.15 Checking user passwords ............................ 48 4.10.16 Logging off idle users .............................. 49 4.11 Using tcpwrappers .................................... 49 4.12 The importance of logs and alerts ............................ 50 CONTENTS iv 4.12.1 Using and customising logcheck ....................... 51 4.12.2 Configuring where alerts are sent ....................... 52 4.12.3 Using a loghost .................................. 52 4.12.4 Log file permissions ............................... 53 4.13 Using chroot ....................................... 54 4.14 Adding kernel patches .................................. 54 4.15 Protecting against buffer overflows ........................... 55 4.16 Secure file transfers .................................... 56 4.17 File System limits and control .............................. 56 4.17.1 Using quotas ................................... 56 4.17.2 chattr/lsattr .................................... 57 4.17.3 Checking file system integrity .......................... 58 4.17.4 Setting up setuid check ............................. 59 4.18 Securing network access ................................. 59 4.18.1 Configuring kernel network features ...................... 59 4.18.2 Securing the network on boot-time ....................... 60 4.18.3 Configuring firewall features .......................... 62 4.18.4 Disabling weak-end hosts issues ........................ 62 4.18.5 Protecting against ARP attacks ......................... 63 4.19 Taking a snapshot of the system ............................. 64 4.20 Other recommendations ................................. 65 4.20.1 Do not use software depending on svgalib .................. 65 5 Securing services running on your system 67 5.1 Securing ssh ........................................ 68 5.1.1 Chrooting ssh ................................... 69 5.1.2 Ssh clients ..................................... 70 5.1.3 Disallowing file transfers ............................ 70 5.2 Securing Squid ...................................... 70 5.3 Securing FTP ........................................ 71 5.4 Securing access to the X Window System ....................... 71 CONTENTS v 5.4.1 Check your display manager .......................... 73 5.5 Securing printing access (The lpd and lprng issue) .................. 73 5.6 Securing the mail service ................................. 74 5.6.1 Configuring a Nullmailer ............................ 74 5.6.2 Providing secure access to mailboxes ..................... 76 5.6.3 Receiving mail securely ............................. 76 5.7 Securing BIND ....................................... 77 5.7.1 Changing BIND’s user .............................. 79 5.7.2 Chrooting the name server ........................... 81 5.8 Securing Apache ..................................... 83 5.8.1 Disabling users from publishing web contents ................ 83 5.8.2 Logfiles permissions ............................... 84 5.8.3 Published web files ................................ 84 5.9 Securing finger ...................................... 84 5.10 General chroot and suid paranoia ............................ 85 5.10.1 Automaking chrooting programs ........................ 85 5.11 General cleartext password paranoia .......................... 85 5.12 Disabling NIS ....................................... 86 5.13 Disabling RPC services .................................. 86 5.14 Adding firewall capabilities ............................... 87 5.14.1 Firewalling the local system ........................... 87 5.14.2 Using a firewall to protect other systems ................... 88 5.14.3 Configuring the firewall ............................. 88 6 Automatic
Recommended publications
  • On Trends in Low-Level Exploitation
    On trends in low-level exploitation Christian W. Otterstad Department of Informatics, University of Bergen Abstract Low-level computer exploitation and its mitigation counterpart has accumulated some noteworthy history. Presently, especially in academia, it features a plethora of mitigation techniques and also various possible modes of attack. It has seen numerous developments building upon basic methods for both sides and certain trends have emerged. This paper is primarily an overview paper, focusing especially on x86 GNU/Linux. The basic reasons inherent for allowing low-level exploitability are identified and explained to provide background knowledge. The paper furthermore describes the history, present state of the art and future developments that are topical and appear to be important in the field. Several attack and defense techniques have overlapping notions with not always obvious differences. Herein the notion of the bar being raised for both exploits and mitigation methods is examined and extrapolated upon based on the known relevant present state and history. The difference between academia and the industry is discussed especially where it relates to application of new mitigation techniques. Based on this examination some patterns and trends are identified and a conjecture for the likely future development of both is presented and justified. This paper was presented at the NIK-2016 conference; see http://www.nik.no/. 1 Introduction and earlier related work In 1972 the paper “Computer Security Technology Planning Study” was published [1]. Since then, research surrounding the main ideas in this paper has grown to become a ma- ture and complex field in its own right. There are many different exploitation techniques and mitigation techniques.
    [Show full text]
  • Detecting Exploit Code Execution in Loadable Kernel Modules
    Detecting Exploit Code Execution in Loadable Kernel Modules HaizhiXu WenliangDu SteveJ.Chapin Systems Assurance Institute Syracuse University 3-114 CST, 111 College Place, Syracuse, NY 13210, USA g fhxu02, wedu, chapin @syr.edu Abstract and pointer checks can lead to kernel-level exploits, which can jeopardize the integrity of the running kernel. Inside the In current extensible monolithic operating systems, load- kernel, exploitcode has the privilegeto interceptsystem ser- able kernel modules (LKM) have unrestricted access to vice routines, to modify interrupt handlers, and to overwrite all portions of kernel memory and I/O space. As a result, kernel data. In such cases, the behavior of the entire sys- kernel-module exploitation can jeopardize the integrity of tem may become suspect. the entire system. In this paper, we analyze the threat that Kernel-level protection is different from user space pro- comes from the implicit trust relationship between the oper- tection. Not every application-level protection mechanism ating system kernel and loadable kernel modules. We then can be applied directly to kernel code, because privileges present a specification-directed access monitoring tool— of the kernel environment is different from that of the user HECK, that detects kernel modules for malicious code ex- space. For example, non-executableuser page [21] and non- ecution. Inside the module, HECK prevents code execution executable user stack [29] use virtual memory mapping sup- on the kernel stack and the data sections; on the bound- port for pages and segments, but inside the kernel, a page ary, HECK restricts the module’s access to only those kernel or segment fault can lead to kernel panic.
    [Show full text]
  • Securing Debian HOWTO
    Securing Debian HOWTO Javier Fernández-Sanguino Peña <[email protected]> v1.92 6 noviembre 2001Tue Oct 23 00:59:57 CEST 2001 Abstract This document describes the process of securing and hardening the default Debian installation. It covers some of the common taks to setup a secure network environment using Debian GNU/Linux. Copyright Notice Copyright c 2001 Alexander Reelsen, Javier Fernández-Sanguino Peña Copyright c 2000 Alexander Reelsen however it is distributed under the terms of the GNU free documentation license. This document is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. i Contents 1 Introduction 1 1.1 Download the HOWTO ................................... 1 1.2 Organizational Notes/Feedback ............................... 2 1.3 Prior knowledge ....................................... 2 1.4 Things that need to be written (TODO) ........................... 2 1.5 Changelog .......................................... 4 1.5.1 Version 1.92 .................................... 4 1.5.2 Version 1.91 .................................... 4 1.5.3 Version 1.9 ..................................... 4 1.5.4 Version 1.8 ..................................... 5 1.5.5 Version 1.7 ..................................... 5 1.5.6 Version 1.6 ..................................... 5 1.5.7 Version 1.5 ..................................... 6 1.5.8 Version 1.4 ..................................... 6 1.5.9 Version 1.3 ..................................... 6 1.5.10 Version 1.2 ..................................... 6 1.5.11 Version 1.1 ..................................... 6 1.5.12 Version 1.0 ..................................... 6 1.6 Credits ............................................ 7 2 Before you begin 9 2.1 What do you want this system for? ............................. 9 2.2 Be aware of general security problems ........................... 9 2.3 How does Debian handle security? ............................. 11 CONTENTS ii 3 Before and during the installation 13 3.1 Choose a BIOS password .................................
    [Show full text]
  • Integrity Checking for Process Hardening
    Integrity Checking For Process Hardening by Kyung-suk Lhee B.A. Korea University, 1991 Graduate Diploma, Griffith University, 1993 M.A. Boston University, 1995 DISSERTATION Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer and Information Science in the Graduate School of Syracuse University May 2005 Advisor: Professor Steve J. Chapin Abstract Computer intrusions can occur in various ways. Many of them occur by exploiting program flaws and system configuration errors. Existing solutions that detects specific kinds of flaws are substantially different from each other, so aggregate use of them may be incompatible and require substantial changes in the current system and computing practice. Intrusion detection systems may not be the answer either, because they are inherently inaccurate and susceptible to false positives/negatives. This dissertation presents a taxonomy of security flaws that classifies program vulnerabilities into finite number of error categories, and presents a security mechanism that can produce accurate solutions for many of these error categories in a modular fashion. To be accurate, a solution should closely match the characteristic of the target error category. To ensure this, we focus only on error categories whose characteristics can be defined in terms of a violation of process integrity. The thesis of this work is that the proposed approach produces accurate solutions for many error categories. To prove the accuracy of produced solutions, we define the process integrity checking approach and analyze its properties. To prove that this approach can cover many error categories, we develop a classification of program security flaws and find error characteristics (in terms of a process integrity) from many of these categories.
    [Show full text]
  • Secure Programming for Linux HOWTO Secure Programming for Linux HOWTO
    Secure Programming for Linux HOWTO Secure Programming for Linux HOWTO Table of Contents Secure Programming for Linux HOWTO........................................................................................................1 David A. Wheeler, dwheeler@dwheeler.com.........................................................................................1 1.Introduction...........................................................................................................................................1 2.Background...........................................................................................................................................1 3.Summary of Linux Security Features...................................................................................................1 4.Validate All Input.................................................................................................................................1 5.Avoid Buffer Overflow.........................................................................................................................2 6.Structure Program Internals and Approach...........................................................................................2 7.Carefully Call Out to Other Resources.................................................................................................2 8.Send Information Back Judiciously......................................................................................................2 9.Special Topics.......................................................................................................................................2
    [Show full text]
  • EXPRESSSCOPE Engine 3 User's Guide
    EXPRESSSCOPE Engine 3 User’s Guide Scalable Modular Server DX2000 1. Overview 2. Configuring the Server Module 3. Configuring a Management PC 4. Networking 5. Using Remote Management 6. Troubleshooting 20.102.01-120-02 April, 2016 TRADEMARKS AND PATENTS EXPRESSSCOPE is registered trademarks of NEC Corporation. Microsoft, Windows and Windows Vista, Windows Media Player, Windows Server, Internet Explorer are registered trademarks of Microsoft Corporation in the United States and other countries. Firefox is registered trademarks of the Mozilla Foundation. Java is registered trademarks of Oracle and/or its affiliates. Red Hat is registered trademarks of Red Hat, Inc. in the United States and other countries. Active Directory is registered trademarks of Microsoft Corporation in the United States and other countries. NFS is registered trademarks of Sun Microsystems, Inc. in the United States and other countries. (Sun Microsystems is registered trademarks of Oracle and/or its affiliates) Linux is registered trademarks of Mr. Linus Torvalds in the United States and other countries. UNIX is registered trademarks of The Open Group in the United States and other countries. JavaScript is registered trademarks of Oracle and/or its affiliates. OpenLDAP is registered trademarks of the OpenLDAP Foundation. NOTES (1) No part of this manual may be reproduced in any form without the prior written permission of NEC Corporation. (2) The contents of this User’s Guide may be revised without prior notice. (3) The contents of this User's Guide shall not be copied or altered without the prior written permission of NEC Corporation. (4) All efforts have been made to ensure the accuracy of all information in this User's Guide.
    [Show full text]
  • EXPRESSSCOPE Engine 3 User's Guide
    EXPRESSSCOPE Engine 3 User’s Guide (for ft series) NEC Express Server Express5800 Series 1. Overview 2. Configuring the Server 3. Configuring a Management PC 4. Networking 5. Using Remote Management 6. Command Line Interface 7. WS-Management (Web Service for Management) 8. Troubleshooting 30.103.01-120.01 July, 2017 © NEC Corporation 2011-2017 TRADEMARKS AND PATENTS EXPRESSSCOPE is registered trademarks of NEC Corporation. EXPRESSBUILDER and ESMPRO are registered trademarks of NEC Corporation. Microsoft, Windows and Windows Vista, Windows Media Player, Windows Server, Internet Explorer are registered trademarks of Microsoft Corporation in the United States and other countries. Firefox is registered trademarks of the Mozilla Foundation. Java is registered trademarks of Oracle and/or its affiliates. Red Hat is registered trademarks of Red Hat, Inc. in the United States and other countries. Active Directory is registered trademarks of Microsoft Corporation in the United States and other countries. Linux is registered trademarks of Mr. Linus Torvalds in the United States and other countries. JavaScript is registered trademarks of Oracle and/or its affiliates. OpenLDAP is registered trademarks of the OpenLDAP Foundation. NOTES (1) No part of this manual may be reproduced in any form without the prior written permission of NEC Corporation. (2) The contents of this User’s Guide may be revised without prior notice. (3) The contents of this User's Guide shall not be copied or altered without the prior written permission of NEC Corporation. (4) All efforts have been made to ensure the accuracy of all information in this User's Guide. If you notice any part unclear, incorrect, or omitted in this User's Guide, contact the sales agent where you purchased this product.
    [Show full text]
  • Android™ Hacker's Handbook
    ffi rs.indd 01:50:14:PM 02/28/2014 Page ii Android™ Hacker’s Handbook ffi rs.indd 01:50:14:PM 02/28/2014 Page i ffi rs.indd 01:50:14:PM 02/28/2014 Page ii Android™ Hacker’s Handbook Joshua J. Drake Pau Oliva Fora Zach Lanier Collin Mulliner Stephen A. Ridley Georg Wicherski ffi rs.indd 01:50:14:PM 02/28/2014 Page iii Android™ Hacker’s Handbook Published by John Wiley & Sons, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2014 by John Wiley & Sons, Inc., Indianapolis, Indiana ISBN: 978-1-118-60864-7 ISBN: 978-1-118-60861-6 (ebk) ISBN: 978-1-118-92225-5 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or autho- rization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions. Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifi cally disclaim all warranties, including without limitation warranties of fi tness for a particular purpose.
    [Show full text]
  • Secure Programming for Linux and Unix HOWTO
    Secure Programming for Linux and Unix HOWTO David A. Wheeler v3.010 Edition Copyright © 1999, 2000, 2001, 2002, 2003 David A. Wheeler v3.010, 3 March 2003 This book provides a set of design and implementation guidelines for writing secure programs for Linux and Unix systems. Such programs include application programs used as viewers of remote data, web applications (including CGI scripts), network servers, and setuid/setgid programs. Specific guidelines for C, C++, Java, Perl, PHP, Python, Tcl, and Ada95 are included. For a current version of the book, see http://www.dwheeler.com/secure−programs This book is Copyright (C) 1999−2003 David A. Wheeler. Permission is granted to copy, distribute and/or modify this book under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation; with the invariant sections being ``About the Author'', with no Front−Cover Texts, and no Back−Cover texts. A copy of the license is included in the section entitled "GNU Free Documentation License". This book is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Secure Programming for Linux and Unix HOWTO Table of Contents Chapter 1. Introduction......................................................................................................................................1 Chapter 2. Background......................................................................................................................................4
    [Show full text]
  • Linux Security Modules: General Security Support for the Linux Kernel
    USENIX Association Proceedings of the 11th USENIX Security Symposium San Francisco, California, USA August 5-9, 2002 THE ADVANCED COMPUTING SYSTEMS ASSOCIATION © 2002 by The USENIX Association All Rights Reserved For more information about the USENIX Association: Phone: 1 510 528 8649 FAX: 1 510 548 5738 Email: [email protected] WWW: http://www.usenix.org Rights to individual papers remain with the author or the author's employer. Permission is granted for noncommercial reproduction of the work for educational or research purposes. This copyright notice must be included in the reproduced paper. USENIX acknowledges all trademarks herein. Linux Security Modules: General Security Support for the Linux Kernel Chris Wright and Crispin Cowan Stephen Smalley WireX Communications, Inc. NAI Labs, Network Associates, Inc. [email protected], [email protected] [email protected] James Morris Greg Kroah-Hartman Intercode Pty Ltd IBM Linux Technology Center [email protected] [email protected] Abstract mented [9, 1, 4, 41, 23, 10, 29, 37], mainstream oper- ating systems typically still lack support for these en- hancements. In part, the absence of such enhancements The access control mechanisms of existing mainstream is due to a lack of agreement within the security com- operating systems are inadequate to provide strong sys- munity on the right general solution. tem security. Enhanced access control mechanisms have failed to win acceptance into mainstream operating sys- Like many other general-purpose operating systems, the tems due in part to a lack of consensus within the se- Linux kernel only provides discretionary access controls curity community on the right solution.
    [Show full text]
  • Proceedings of the 11 USENIX Security Symposium
    USENIX Association Proceedings of the 11th USENIX Security Symposium San Francisco, California, USA August 5-9, 2002 THE ADVANCED COMPUTING SYSTEMS ASSOCIATION © 2002 by The USENIX Association All Rights Reserved For more information about the USENIX Association: Phone: 1 510 528 8649 FAX: 1 510 548 5738 Email: [email protected] WWW: http://www.usenix.org Rights to individual papers remain with the author or the author's employer. Permission is granted for noncommercial reproduction of the work for educational or research purposes. This copyright notice must be included in the reproduced paper. USENIX acknowledges all trademarks herein. Type-Assisted Dynamic Buffer Overflow Detection Kyung-suk Lhee and Steve J. Chapin Center for Systems Assurance Syracuse University g fklhee, chapin @ecs.syr.edu Abstract tack overflows a buffer to overwrite the return address of a function, so that the return address points to the at- tack code that is injected into the stack by the attacker, Programs written in C are inherently vulnerable to buffer rather than the legitimate call point. The control flow overflow attacks. Functions are frequently passed point- is directed to the attack code when the function returns. ers as parameters without any hint of their sizes. Since The stack smashing attack exploits the stack configura- their sizes are unknown, most run time buffer overflow tion and the function call mechanism. There are other detection techniques instead rely on signatures of known types of buffer overflow attacks that exploit data struc- attacks or loosely estimate the range of the referenced tures in the heap as well as in the stack.
    [Show full text]
  • Hardening Di Un Sistema Debian GNU/Linux
    HHararddeneniinngg ddii uunn sisistemstemaa DDebebiianan GGNNUU//LLiinnuuxx Principali passi per la configurazione e copia & incolla (molto) l'ottimizzazione in ottica di sicurezza commentato (poco) di (hardening) di un server basato su “Securing Debian Manual” Debian GNU/Linux per fornire i servizi apt-get install harden-doc più comuni. Verranno analizzate le principali modifiche da apportare rispetto ad un'installazione "by-default", espresse alcune 26 Novembre 2004 considerazioni e valutazioni in ottica di Security Day, Cesena sicurezza, analizzati alcuni strumenti utili per rafforzare le difese e monitorare lo stato 27 Novembre 2004 del sistema. Linux Day, Rimini IgIgoorr FFaalclcoommatàatà -- kokobba@[email protected] Hardening di un sistema Debian GNU/Linux – 26 Novembre 2004, Security Day, Cesena / 27 Novembre 2004, Linux Day, Rimini - [email protected] Tutti i brani citati sono di proprietà dei legittimi autori e soggetti ad eventuali restrizioni. Il resto(?) è liberamente distribuibile secondo la GNU FDL - Pagina 1 HHararddeneniningg FrFromom Wikipedia,Wikipedia, thethe frfreeee encyclopediaencyclopedia “In computing, hardening is the process of securing a system. This work is especially done to protect systems against attackers. This would typically include removal of unnecessary usernames or logins and the disabling or removal of unnecessary services. On a typical Windows server, one example would be the disabling of the "print spooler" as this may not be needed. There are various methods of hardening Unix and Linux systems. This may involve, among other measures, applying a patch to the kernel such as Exec Shield or PaX; closing open network ports; and setting up intrusion-detection systems (such as firewalls) and intrusion-prevention systems.
    [Show full text]