3 ms·
This must be a blacklist, since it doesn't block my own random scripts which it has never seen before. If it's a global blacklist on apple servers, it should i
by londons_explore 7y ago
This must be a blacklist, since it doesn't block my own random scripts which it has never seen before.
If it's a global blacklist on apple servers, it should instead be downloaded to the client, and be a local blacklist.
Too big? Use a bloom filter. Now you only end up keeping less than one byte per blacklisted item. Update the bloom filter with an autoupdater. Any positive hit you can check against the server just incase it's a false positive.
- daneel_w 7y agoBloom filters are probability-based and come with inaccuracy problems. If you're going to double-check with Apple anyway what does a bloom filter solve compared to the current response caching after querying Apple? How will you protect the locally cached blacklist from being tampered with?
- w-j-w 7y agoBloomington filters have probabilistic false positives, making it perfect for blacklisting. A negative means that the program can be run immediately, because it is guaranteed to not be on the list. A positive needs to be double checked, though.
- JackC 7y agoThe k-anonymity scheme used by the haveibeenpwned api seems like a good fit here.
- caf 7y agoDoesn't a blacklist also work only until the malware authors figure out how to randomize 8 junk bytes every time they serve an executable?
- therein 7y agoWhich they already do.
- dimator 7y agoThat's the crazy thing about this. There's already obfuscation techniques against hash blacklists, so what is this even for? There's no earthly way apple security engineers didn't know that. So what is actually happening? My guess is that it's strictly for banning app store apps that they pull from the app store, but would like also to cripple retroactively on installed machines. But that doesn't explain why it had to run against random shell scripts? This is all still confusing. We don't have all the info.