acmpesuecc / acmpesuecc/ShatterLock

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

オープン
#2 コメント 49 件 リアクション 0 件 担当者 0 名 GitHub で見る
Bounty: 250 enhancement hacknight-2025 hacktoberfest vulnerability fix
主要言語
C
スター
0
フォーク
10
PR マージ指標
30日以内にマージされた PR はありません

説明

# 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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。