[BUG] Windows New EventLog ChannelAccess Registry Value Set: second path has single backslashes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- security
調査の方向性
問題のパターンは detections/endpoint/windows_new_eventlog_channelaccess_registry_value_set.yml の search フィールド、Registry.registry_path IN (...) 句にあります。2番目のパスのバックスラッシュを、正しく書かれている1番目のパスと比較してください。修正を確認するには、issue に記載されている tstats クエリを datasets/attack_techniques/T1562.002/eventlog_sddl_tampering/eventlog_sddl_tampering_sysmon.log の Sysmon ログに対して再実行します。Policies\Microsoft\Windows\EventLog\Setup\ChannelAccess の行が一致すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
detections/endpoint/windows_new_eventlog_channelaccess_registry_value_set.yml (id 16eb11bc-ef42-42e8-9d0c-d21e0fa15725, version 8) has this path list in its search:
Registry.registry_path IN ("*\\Microsoft\\Windows\\CurrentVersion\\WINEVT\\Channels\\*", "*\Microsoft\Windows\EventLog\*")
The first pattern has doubled backslashes. The second has single backslashes. In a tstats WHERE value, the second pattern matches nothing.
I loaded the test recording of the rule, datasets/attack_techniques/T1562.002/eventlog_sddl_tampering/eventlog_sddl_tampering_sysmon.log in attack_data (9 Sysmon events, 3 of them ChannelAccess), into Splunk Enterprise 9.3.14 and ran tstats on the Endpoint.Registry data model with Registry.registry_value_name=ChannelAccess:
| Pattern | Distinct registry paths matched |
|---|---|
*\\Microsoft\\Windows\\CurrentVersion\\* |
2 |
*\Microsoft\Windows\CurrentVersion\* |
0 |
*MicrosoftWindowsCurrentVersion* (the same text without the backslashes) |
0 |
*\\Microsoft\\Windows\\EventLog\\* |
1 |
*\Microsoft\Windows\EventLog\* |
0 |
The three ChannelAccess events (Sysmon event 13) are:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\Microsoft-Windows-TaskScheduler/Operational\ChannelAccess (regedit.exe)
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels\AMSI/Debug\ChannelAccess (regedit.exe)
HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog\Setup\ChannelAccess (svchost.exe, Details O:SYG:SYD:(D;;0x1;;;WD))
The search of the rule, as it is in release v6.10.0 and unchanged, returns the two WINEVT\Channels rows and not the Policies\Microsoft\Windows\EventLog\Setup\ChannelAccess row. With the backslashes of the second pattern doubled, "*\\Microsoft\\Windows\\EventLog\\*", the same search returns all three. The search returns rows in both cases, so a test that needs at least one result does not show the gap.
Expected behavior
The second pattern matches the Group Policy location of the same value (...\Policies\Microsoft\Windows\EventLog\<channel>\ChannelAccess), as the third event above shows. It should be written like the first pattern.
Suggested change: "*\\Microsoft\\Windows\\EventLog\\*".
Screenshots
None.
App Version:
- ESCU: 6.10.0 (the search text is the same in release v6.10.0 and on
develop) - Splunk Security Essentials: Not applicable
Additional context
None.
- 主要言語
- Python
- スター
- 1.7k
- フォーク
- 507
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
splunk/security_content のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
splunk/security_content#4418 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]Linux Change File Owner To Root: detection bypass using "chown root: <file>"対応中かも @thegreatmhn が 1 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
splunk/security_content#4413 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
splunk/security_content#4401 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
splunk/security_content#4400 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
splunk/security_content#4409 ·
メンテナーはふだん 1 日以内に返信
splunk/security_content の issue をすべて見る
似ている issue
-
[Bug / Enhancement]: Improve teleop_robot CLI with configurable timeout, robust input validation, and clean ROS shutdown対応中かも @muskan-creates352 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 3 日以内に返信
-
bug(pipelines): shortcode stripping deletes text between a {{< >}} shortcode and the next {{% %}}対応中かも @Ashborne-lab が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
kubeflow/docs-agent#293 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Imbad0202/academic-research-skills#1093 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pierreaubert/gpui-toolkit#114 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Lightricks/LTX-2#336 · コメント 1 件 ·