Obtain process token privileges

Aperta
#207 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go
Ambito
security

Direzione di ricerca

Read the process state and filter implementation to find where process attributes are collected and exposed to filters. The issue names the Windows GetTokenInformation and LookupPrivilegeName APIs as the source of privilege data. Done means privileges are included in process state and available to filters; the payload does not name specific files or tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue needs: docs needs: filters scope: filters scope: process
Description

To get the list of privileges held by the process, we can use the GetTokenInformation API passing the TokenPrivileges token information class. After the list of available privileges is retrieved, they can be resolved to human-readable strings by using the LookupPrivilegeName API function.
The privileges should be part of the process state and can be used in filters to determine what privileges the process has.

References

https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-lookupprivilegenamew
https://learn.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-gettokeninformation

Lingua principale
Go
Stelle
2.6k
Fork
222
Merge medio
16h 23m
PR unite (30g)
11

Preparare l'ambiente

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.

Altre issue di rabbitstack/fibratus

Tutte le issue di rabbitstack/fibratus

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.