Restrict access to config/log files

Đang mở
#568 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
security

Hướng nghiên cứu

Start by locating where the application creates or sets permissions for Config/fibratus.yml and Logs/fibratus.txt. Check how those permissions are tested or configured on Windows. Done means low privileged users cannot read either file while administrators retain access; the issue provides no test or source file names to start from.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

scope: config scope: hardering type: enhancement

Problem

Normal (low privileged) users can read:

  • Config/fibratus.yml
  • Logs/fibratus.txt
Image Image

A local attacker is able to gain access to potentially sensitive information (confidentiality).

Solution

Remove read permissions for users (non-admins) for the mentioned files.

Additional context

While not necessarily a security vulnerability, it is best practice to not give the attacker access to EDR logs
. E.g. Defender will only show alert summaries in its UI, but need admin to look at the details. Defender Log files are not readable (C:\ProgramData\Microsoft\Windows Defender\Support).

Note that Defender Windows Events are also user-readable for some reason (Application and Service Logs/Microsoft/Windows/Windows Defender/operational). So placing fibratus events in Windows Logs/Application is okish.

Ngôn ngữ chính
Go
Star
2.6k
Fork
222
Merge trung bình
16 giờ 23 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rabbitstack/fibratus

Tất cả issue của rabbitstack/fibratus

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.