Add `AMSI` telemetry support via a new `AmsiScanBuffer` event type
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the ParamDecoder and how an existing ETW provider is subscribed to and its events decoded, then compare that with the Microsoft-Antimalware-Scan-Interface manifest linked in the issue to work out the AmsiScanBuffer field layout. Done means the provider is enabled, AmsiScanBuffer events are parsed into a new event type with the buffer content and process correlation fields, and a test covers decoding a sample payload.
索引モデルが issue の本文から書いたものです。
説明
Motivation
Extend Fibratus's detection capabilities by obtaining AMSI (Antimalware Scan Interface) telemetry, which captures buffers submitted for scanning by AMSI-aware hosts (most notably PowerShell) before they're executed.
Expectation
Fibratus gains a new AmsiScanBuffer event type, sourced from the Microsoft-Antimalware-Scan-Interface ETW provider, that can be used to detect PowerShell cmdlet execution and any other activity surfaced through AMSI scanning (e.g. obfuscated/deobfuscated script content, dynamic code execution via Invoke-Expression, in-memory .NET assembly loading).
Proposal
- Enable/attach to the
Microsoft-Antimalware-Scan-InterfaceETW provider and handle itsAmsiScanBufferevent - Parse the event's binary payload via the
ParamDecoder, consistent with how other ETW events are decoded in Fibratus - Reference schema: see the Microsoft-Antimalware-Scan-Interface manifest (nasbench/EVTX-ETW-Resources) for the field layout of
AmsiScanBufferevent
Additional context
The scanned buffer/content itself is the highest-value field for detection (e.g. matching known malicious PowerShell patterns), so decoding it correctly, including any length/session/correlation fields tying scans to a process, should be a priority
- 主要言語
- Go
- スター
- 2.6k
- フォーク
- 222
- 平均マージ
- 16時間 23分
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rabbitstack/fibratus のほかの issue
-
Service crashes on Windows Server 2016: "panic: sub-authority index out of range" in RidToStringオープンtype: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
rabbitstack/fibratus#761 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CI: the test job has been red since September, and TestFsProcessor looks like a real mmap regressionオープンci
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
rabbitstack/fibratus#754 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ci rules type: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
rabbitstack/fibratus#715 ·
メンテナーはふだん 1 日以内に返信
-
scope: hardering type: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
rabbitstack/fibratus#713 ·
メンテナーはふだん 1 日以内に返信
-
needs: config scope: events/telemetry type: feature
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
rabbitstack/fibratus#710 ·
メンテナーはふだん 1 日以内に返信
rabbitstack/fibratus の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
unbound-force/replicator#193 ·
メンテナーはふだん 2 日以内に返信
-
A Gemini stream that fails partway completes the call with the partial text対応中かも @bnaylor が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
go-steer/core-agent#1600 ·
メンテナーはふだん 1 日以内に返信
-
bug raised-by:reviewer
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
medici-finance/assay#7655 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Edwin-metcalf/MetCode#67 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信