Add `AMSI` telemetry support via a new `AmsiScanBuffer` event type
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Go
- Sterne
- 2.6k
- Forks
- 222
- Ø Merge
- 16 Std. 23 Min.
- Gemergte PRs (30 T.)
- 11
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus rabbitstack/fibratus
-
Service crashes on Windows Server 2016: "panic: sub-authority index out of range" in RidToStringOffentype: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
rabbitstack/fibratus#761 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
CI: the test job has been red since September, and TestFsProcessor looks like a real mmap regressionOffenci
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
rabbitstack/fibratus#754 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
ci rules type: enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
rabbitstack/fibratus#715 ·
Maintainer antworten meist innerhalb von 1 Tag
-
scope: hardering type: enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 15/100
rabbitstack/fibratus#713 ·
Maintainer antworten meist innerhalb von 1 Tag
-
needs: config scope: events/telemetry type: feature
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
rabbitstack/fibratus#710 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in rabbitstack/fibratus
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
slavakurilyak/awesome-ai-agents#1041 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
goreleaser/nfpm#1199 ·
Maintainer antworten meist innerhalb von 1 Tag
-
edit fails on projects without a DockerfileEvtl. vergeben @weirong-ui hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
kubernetes-sigs/kubebuilder#6209 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 72/100
hiero-ledger/hiero-sdk-go#1911 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 4 Tagen