News for hackers. Stuff that matters.
Re:Announcing the first SHA-1 collision by makomk on Thursday February 23, 2017 @12:41PM (#13715847)
Or, if you're really clever - and Ange Albertini is quite good at this kind of trick - you can design the PDF so that the different garbage in the middle causes the other, unchanged content to be interpreted differently in the two PDF files, possibly even designing it so that the intended contents of each PDF is treated as garbage and ignored entirely in the other PDF.
Re:Announcing the first SHA-1 collision by stcredzero on Thursday February 23, 2017 @04:13PM (#13717824)
With many image formats, you can just concatenate whatever you want at the end of the file, and the OS and programs will obliviously read and copy the whole file, while the image libraries will happily ignore the extra data.
Re:Announcing the first SHA-1 collision by cestith on Thursday February 23, 2017 @05:58PM (#13718698)
And then you put PHP tags in that content at the end, and change the .htaccess file to process *.jpeg as PHP scripts, and your webshell looks benign until someone has that in mind looking through the account.
Re:Announcing the first SHA-1 collision by dogma1138 on Thursday February 23, 2017 @07:17PM (#13719389)
You don't need to find a collision to do that :)