Or, even better, simultaneously put a silent drive-by browser zero-day in a website they visit regularly, like https://googleprojectzero.blogspot.com/2019/08/a-very-deep-d...
The attacker can drop/ exec files as they please, regardless of whether they're signed.
Anyone can feel free to correct me.
I know this can be done w/ Cat.
--Wow, so JAR files are read from bottom top so it literally masquerades.
That's interesting.
Zips can also be read from front to back, reading the header of each entry and skipping the compressed data to the next header, which is most of what zip repair utilities do (or did, not sure anyone repairs zips any more). But it's faster to read the index.
And to be clear, jars are zip files.
If they do claim it then they should properly verify signatures
Either way is wrong.
That's crazy the signature check wouldn't verify the file length.
1) Take MicrosoftSigned.Msi
2) Append Malway.jar to it
3) Take file and rename it as RunMe.Jar
# Now you have a jar file that appears to be signed by Microsoft but contains malways.
4. Give target RunMe.jar and ask then to dbl-click it.
# Usually this file would prompt the user with a "You shouldn't trust this arbitrary file from the internet" prompt, but it doesn't because Windows thinks this file is correctly signed
5. Target is now infected