4 ms·
git blame will only really help if the backdoor was inserted into the original code (and even then stolen credentials are possible) AFAIK. It's fairly easy to i
by stordoff 11y ago
git blame will only really help if the backdoor was inserted into the original code (and even then stolen credentials are possible) AFAIK. It's fairly easy to imagine a scenario where this is not the case:
* Compromised build script - probably under source control as well?
* Compromised compiler - If the attackers had this level of access, they probably had enough access to erase logs showing who/when the compiler was replaced
* Binary patch the compiler output - Not impossible (though I suspect unlikely?) that the original source and build system are clean, but the binary is tampered with after the fact.
- w_t_payne 11y agoSo ... my plan is to put the tuple (hash(source), hash(bin)) into the blockchain as a part of each build ... could this work?