microsoft / microsoft/SysmonForLinux

Add BPF_MAP_FREEZE to perf_event output maps to prevent easily blinding of sysmon

Aperta
#180 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@MarioHewardt ci sta già lavorando.

Dal 17/6/2024.

investigate
Lingua principale
C
Stelle
2.2k
Fork
220
Merge medio
11g 22h
PR unite (30g)
2

Descrizione

Currently Sysmon uses a BPF_MAP_TYPE_PERF_EVENT_ARRAY map to send output from eBPF programs back to the user mode Sysmon process. This map can easily be either updated or cleared from other user mode programs, leaving Sysmon unable to see the eBPF programs outputs and makes process activities invisible.

Sysmon can use the BPF_MAP_FREEZE syscall option to freeze these output maps to prevent easily disabling of the map from userspace. However, loaded eBPF programs could still delete the map elements and has no known mitigation yet.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.