差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| ja:documentation:pandorafms:cybersecurity:21_siem [2025/09/06 22:08] – [Case study] junichi | ja:documentation:pandorafms:cybersecurity:21_siem [2025/11/28 23:16] (現在) – [ケーススタディ] junichi | ||
|---|---|---|---|
| 行 188: | 行 188: | ||
| <wrap #ks5_1 /> | <wrap #ks5_1 /> | ||
| - | ==== Linux エージェント ==== | + | ==== Linux® |
| Log collection on Linux systems is mainly done by reading log files. This can be achieved by using module configurations with this minimal structure: | Log collection on Linux systems is mainly done by reading log files. This can be achieved by using module configurations with this minimal structure: | ||
| 行 220: | 行 220: | ||
| </ | </ | ||
| - | Entries collected from a log like the above would be normalized by <wrap :en> decoders</ | + | Entries collected from a log like the above would be normalized by, among others: |
| - | 上記のようなログから収集されたエントリは、'' | + | 上記のようなログから収集されたエントリは、次のような |
| - | The decoded logs of such a log could generate events | + | * <wrap :en> decoders</ |
| + | * '' | ||
| + | * '' | ||
| - | このようなログのデコードされたログでは、'' | + | * '' |
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | The decoded logs of such a log could generate events such as (among others): | ||
| + | |||
| + | このようなログのデコードされたログでは、次のようなイベントが生成されます。 | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| <wrap #ks5_2 /> | <wrap #ks5_2 /> | ||
| 行 297: | 行 313: | ||
| 上記のようなイベントから収集された入力は、< | 上記のようなイベントから収集された入力は、< | ||
| - | The decoded logs of events such as the above could generate events such as '' | + | The decoded logs of events such as the above could generate events such as, among others: |
| + | |||
| + | 上記のようなイベントのデコードされたログでは、次のようなイベントが生成されます。 | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| - | 上記のようなイベントのデコードされたログでは、'' | + | * '' |
| + | * '' | ||
| + | * '' | ||
| Using log file monitoring, the configuration is identical to that of Linux systems. A minimal configuration like this is required: | Using log file monitoring, the configuration is identical to that of Linux systems. A minimal configuration like this is required: | ||
| 行 664: | 行 688: | ||
| <wrap #ks8_1 /> | <wrap #ks8_1 /> | ||
| - | ==== 管理 ==== | + | ==== ルール管理 ==== |
| To include new <wrap : | To include new <wrap : | ||
| 行 701: | 行 725: | ||
| XMLファイルから読み取れなかった< | XMLファイルから読み取れなかった< | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | Once rules are active and enabled, if one rule needs to depend on the evaluation and result of another, **the first rule must have a lower numerical identifier than the second** | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | ルールを有効にし、あるルールが別のルールの評価と結果に依存する必要がある場合、**最初のルールの数値識別子は 2 番目のルールの数値識別子よりも小さくする必要があります** (つまり、数値の昇順で実行されます。[[# | ||
| + | |||
| + | </ | ||
| <wrap #ks8_2 /> | <wrap #ks8_2 /> | ||
| 行 1280: | 行 1316: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | <wrap #ks9_1 /> | ||
| + | |||
| + | ==== ルール評価順序 ==== | ||
| + | |||
| + | The following case study **with a negative result** | ||
| + | |||
| + | 次のケーススタディ (**否定的な結果**) は、ルールが他のルールを「照会」して一致が見つかったかどうかを確認し、一致自体を評価してイベントを生成する場合を示しています。 | ||
| + | |||
| + | There is a series of rules used to detect failed logins on a hardware firewall, in order to then create the corresponding alerts: | ||
| + | |||
| + | ハードウェアファイアウォールで失敗したログインを検出し、対応するアラートを作成するために使用される一連のルールがあります。 | ||
| + | |||
| + | <code xml> | ||
| + | <rule id=" | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | * ⍐ Rule 81641 matches decoded log to start retrieving data. | ||
| + | |||
| + | * ⍐ ルール 81641 はデコードされたログと一致し、データの取得を開始します。 | ||
| + | |||
| + | ---- | ||
| + | |||
| + | <code xml> | ||
| + | <rule id=" | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | * ⍐ Rule ID 81603 in turn depends on several rules, including the previous 81641. Since the latter 81641 is higher than 81603, **81603 is not executed**. | ||
| + | |||
| + | * ⍐ ルール ID 81603 は、前の 81641 を含む複数のルールに依存します。後者の 81641 は 81603 より大きいため、**81603 は実行されません**。 | ||
| + | |||
| + | ---- | ||
| + | |||
| + | <code xml> | ||
| + | <rule id=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | gdpr_IV_32.2, | ||
| + | gdpr_IV_35.7.d, | ||
| + | gpg13_7.1, | ||
| + | hipaa_164.312.b, | ||
| + | invalid_login, | ||
| + | nist_800_53_AC.7, | ||
| + | nist_800_53_AU.14, | ||
| + | pci_dss_10.2.4, | ||
| + | pci_dss_10.2.5, | ||
| + | tsc_CC6.1, | ||
| + | tsc_CC6.8, | ||
| + | tsc_CC7.2, | ||
| + | tsc_CC7.3,</ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | |||
| + | * ⍐ A rule with ID 100700 checks for a match in a rule with ID 81641, which in turn depends on rule ID 81603 (81614 is higher than 81603, so it is executed). | ||
| + | |||
| + | * ⍐ ID 100700 のルールは、ID 81641 のルールとの一致をチェックします。このルールは、ルール ID 81603 に依存します (81614 は 81603 より大きいため、実行されます)。 | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | The problem in this case study is that 81614 does not return a result to 100700 **because 81603 was not executed due to the numerical order by ID**. | ||
| + | |||
| + | </ | ||
| + | |||
| + | <WRAP center round info 90%> | ||
| + | |||
| + | このケーススタディの問題は、**ID による番号順で 81603 が実行されなかったため**、81614 が 100700 に結果を返さないことです。 | ||
| + | |||
| + | </ | ||
| <wrap #ks10 /> | <wrap #ks10 /> | ||
| - | ===== Regular expressions | + | ===== 正規表現 |
| Regular expressions are sequences of characters that define a pattern. | Regular expressions are sequences of characters that define a pattern. | ||
| + | |||
| + | 正規表現はパターンを定義する文字のシーケンスです。 | ||
| There are two types of regular expressions valid for <wrap : | There are two types of regular expressions valid for <wrap : | ||
| + | |||
| + | <wrap : | ||
| <wrap #ks10_1 /> | <wrap #ks10_1 /> | ||
| + | |||
| ==== OS Regex ==== | ==== OS Regex ==== | ||
| They are simple regular expressions based on a library made in C language. It is designed to be simple and at the same time support the most common regular expressions. | They are simple regular expressions based on a library made in C language. It is designed to be simple and at the same time support the most common regular expressions. | ||
| + | |||
| + | C言語で作成されたライブラリをベースにしたシンプルな正規表現です。シンプルでありながら、最も一般的な正規表現をサポートするように設計されています。 | ||
| <wrap #ks10_1_1 /> | <wrap #ks10_1_1 /> | ||
| - | === Acceptable expressions | + | |
| + | === 許容される表現 | ||
| ^Expression^Valid characters| | ^Expression^Valid characters| | ||
| 行 1307: | 行 1430: | ||
| |'' | |'' | ||
| |'' | |'' | ||
| + | |||
| + | ^式^有効な文字| | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| <wrap #ks10_1_2 /> | <wrap #ks10_1_2 /> | ||
| - | === Modifiers | + | |
| + | === 修飾子 | ||
| ^Expression^Behavior| | ^Expression^Behavior| | ||
| |'' | |'' | ||
| |'' | |'' | ||
| + | |||
| + | ^式^動作| | ||
| + | |'' | ||
| + | |'' | ||
| <wrap #ks10_1_3 /> | <wrap #ks10_1_3 /> | ||
| - | === Special characters | + | |
| + | === 特殊文字 | ||
| ^Expression^Behavior| | ^Expression^Behavior| | ||
| 行 1322: | 行 1462: | ||
| |''< | |''< | ||
| |''< | |''< | ||
| + | |||
| + | ^式^動作| | ||
| + | |''< | ||
| + | |''< | ||
| + | |''< | ||
| <wrap #ks10_1_4 /> | <wrap #ks10_1_4 /> | ||
| - | === Escaping characters | + | |
| + | === エスケープ文字 | ||
| To use the following characters you must escape them with '' | To use the following characters you must escape them with '' | ||
| + | |||
| + | 次の文字を使用するには、'' | ||
| ^ $ ^ ( ^ ) ^ < | ^ $ ^ ( ^ ) ^ < | ||
| 行 1332: | 行 1480: | ||
| <wrap #ks10_1_5 /> | <wrap #ks10_1_5 /> | ||
| - | === Limitations | + | |
| + | === 制限事項 | ||
| * The '' | * The '' | ||
| 行 1340: | 行 1489: | ||
| * '' | * '' | ||
| * There is no syntax to match a caret, asterisk or more literal (although '' | * There is no syntax to match a caret, asterisk or more literal (although '' | ||
| + | |||
| + | * 修飾子 '' | ||
| + | * 選択はグループ内では使用できません。例:'' | ||
| + | * 複雑なバックトラックはサポートされていません。例:'' | ||
| + | * '' | ||
| + | * '' | ||
| + | * キャレット、アスタリスク、またはそれ以上のリテラルに一致する構文はありません(ただし、'' | ||
| <wrap #ks10_2 /> | <wrap #ks10_2 /> | ||
| + | |||
| ==== PCRE2 ==== | ==== PCRE2 ==== | ||
| <wrap :en>Perl Compatible Regular Expression</ | <wrap :en>Perl Compatible Regular Expression</ | ||
| + | |||
| + | <wrap :ja>Perl 互換正規表現</ | ||
| For more details, see the [[https:// | For more details, see the [[https:// | ||
| + | |||
| + | 詳細については、[[https:// | ||
| <wrap #ks10_2_1 /> | <wrap #ks10_2_1 /> | ||
| - | === Acceptable expressions | + | |
| + | === 許容される表現 | ||
| ^Expression^Valid characters| | ^Expression^Valid characters| | ||
| 行 1361: | 行 1523: | ||
| |'' | |'' | ||
| |'' | |'' | ||
| + | |||
| + | ^式^有効な文字| | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| <wrap #ks10_2_2 /> | <wrap #ks10_2_2 /> | ||
| - | === Modifiers | + | |
| + | === 修飾子 | ||
| ^Expression | ^Expression | ||
| 行 1382: | 行 1556: | ||
| |'' | |'' | ||
| |'' | |'' | ||
| + | |||
| + | ^式 ^動作| | ||
| + | |''?'' | ||
| + | |''? | ||
| + | |''??'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| <wrap #ks10_2_3 /> | <wrap #ks10_2_3 /> | ||
| - | === Escape characters | + | |
| + | === エスケープ文字 | ||
| ^Expression | ^Expression | ||
| 行 1395: | 行 1588: | ||
| |'' | |'' | ||
| |'' | |'' | ||
| + | |||
| + | ^式 ^動作| | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| + | |'' | ||
| <wrap #ks11 /> | <wrap #ks11 /> | ||
| - | ===== SIEM alerts | + | |
| + | ===== SIEM アラート | ||
| See the topic [[: | See the topic [[: | ||
| + | |||
| + | トピック[[: | ||
| <wrap #ks12 /> | <wrap #ks12 /> | ||
| - | ===== SIEM reports | + | |
| + | ===== SIEM レポート | ||
| See the topic [[: | See the topic [[: | ||
| + | |||
| + | トピック[[: | ||
| [[ja: | [[ja: | ||