acmpesuecc / acmpesuecc/ShatterLock

Timing analysis issue. Make all directories to be modified for each file to be shattered.

Đang mở
#2 49 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bounty: 250 enhancement hacknight-2025 hacktoberfest vulnerability fix
Ngôn ngữ chính
C
Star
0
Fork
10
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Overview
Currently, when content is encrypted and shattered and packets are written, only specific directories are modified based on the random seed.
However, this means an attacker can check the last modified timestamp of each directory in storage.
For example, if only 2 directories were modified within a minute when the file was encrypted, the attacker can know the packets are within those two directories and narrow his attack and search to those two directories only. The problem becomes bigger when there are many more subdirectories.
Even if you have a hundred subdirectories, if only 5-10 are modified, the system is easier to crack.

# Possible fixes
## 1. Touch all directories. You could either do this by writing a junk file atleast n numbers in each subdirectory in such a way that they are virtually identical to obscure which directories contain the files.
### *Bonus bounty points* for ensuring time obscurity while doing this (ensuring attacker cannot know which packets are junk and which are real by looking at timestamps of modifying/creation. )
## 2. Modify the system to distribute existing files across nearly/all directories in a reversible/retrievable manner. (not recommended)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.