6 ms·
> The company claimed that the patches had “been released to address a recently identified security vulnerability. The security patch strengthens the protection
by wolverine876 6y ago
> The company claimed that the patches had “been released to address a recently identified security vulnerability. The security patch strengthens the protections of the solutions.” However, Vice also reports that the company did not “specifically say whether the addressed vulnerability is one and the same as the one disclosed by Marlinspike.”
IIRC Marlinspike didn't disclose one vulnerability, but a massive class of them: Cellebrite must process media in every possible format and thus relies on components from outside sources, FFmpeg being just one example. Cellebrite inherits security vulnerabilities from all those components, and doesn't appear to be diligent in keeping them patched (not that a perfect record of patching would protect them - the attack surface is enormous and probably most component developers don't provide sufficient security).
Integrating insecure code is likely a necessary decision for Cellebrite: Writing, maintaining, and updating their own code to process all types of media, and keep up-to-date with all changes to all those types of the media, seems impossible and certainly uneconomical. What could they do? Maybe they could sandbox each component but then they'd need a lot of horsepower in their device.
- kijin 6y ago> they'd need a lot of horsepower in their device. Googling "cellebrite forensic extraction device" shows a rugged laptop-like device in a case the size of a desktop PC. I'm not sure if that's the real thing or not, but in any case it doesn't look like space is a concern. There's plenty of room in that suitcase for a modern CPU, lots and lots RAM, and as much battery power as you need.
- masklinn 6y agoThe « rugged » part usually translates to thermal and reliability concerns, which are traded for raw performances.
- VRay 6y agoThe friggin device probably costs over $100,000 and comes with a full-time support contract. They could add an extra $500 worth of CPU and RAM to the device, assuming they can find a competent evil kernel dev to do the work
- t0mas88 6y agoThe parent comment means that hardware that runs in a rugged container thingy is typically limited by thermal constraints. It's not the $ 500 that's the problem, but a faster CPU could overheat with that packaging.
- polar 6y agoIt costs around $10k.
- masklinn 6y agoYou'll find that dollars don't actually override physics. If you can't cool your extra fasty CPU, it's not going to be vey fasty. For reference look at panasonic's "fully rugged" toughbooks. A baseline 31 will cost you $3700 for a 7300U, 16GB RAM, a 256GB SSD, and a 13.1 1024x768 display. On base spec it'd be a $800 laptop if you could find one with a screen that bad, and that outdated a CPU. Except you can drop the 31 from 6ft, you can literally hose it down, you can rub it in a dirt pit, you can drive on it with a truck, and it's expected to survive and work fine. It also has a baseline 20h battery. That resistance, that ruggedness, comes with limitations. And it's not very useful to have an indestructible laptop if a gentle shake kills the electronics either. Hence "thermal and reliability concerns". You look for parts you can cool with a relatively low thermal budget — which limits your performances — and you look for parts which have been designed and manufactured for industrial resistances, which also limits your performances. No matter how you slice it, a GTK Boxer won't outrace a Bugatti Chiron.
- saddlerustle 6y agoSandboxed code is not slower than unsandboxed code
- yjftsjthsd-h 6y agoReally? It seems like there should be some overhead ex. to verify whether each operation is allowed. Or does it not work like that?
- vngzs 6y agoThe modern Linux kernel allows you to sandbox applications natively. There are tools that make this easy to set up, for instance [1]. [0]: https://blog.cloudflare.com/sandboxing-in-linux-with-zero-lines-of-code/ https://blog.cloudflare.com/sandboxing-in-linux-with-zero-li... [1]: https://firejail.wordpress.com/ https://firejail.wordpress.com/
- junon 6y agoThose sandboxes are certainly not free to set up (internal kernel locking) fwiw.
- rjzzleep 6y agoI use firejail and have the standard redirects in /usr/local/bin for most firejail supported applications, but the performance hit is definitely noticeable. I'm on an i7-8650U on my laptop with 16G ram. Sandboxing _can_ be without overhead, but in the case of firejail it's definitely not the case.
- rfoo 6y ago> performance hit is definitely noticeable Could you please name which application, and how do you notice it?
- rjzzleep 6y agoI notice it by how long it takes to start applications when I run them through firejail vs. when I run them directly. I don't know if it also makes a difference during execution. EDIT: it's kinda amusing to get downvoted on this. a) There's no performance issue. Just use linux sandboxes b) There are these possible performance hits c) I use those sandboxes and I have observe X performance issues. a) Your performance issues are not valid performance issues, because I say so. Ok, gotcha
- boomboomsubban 6y ago>Writing, maintaining, and updating their own code to process all types of media, and keep up-to-date with all changes to all those types of the media, seems impossible and certainly uneconomical. What could they do? There is a middle ground of "force update software on the device more than once a decade." Yes, FFmpeg will always have vulnerabilities, and recreating their work would cost an enormous amount and be less secure. Properly distributing security patches is an affordable alternative.
- numpad0 6y agoThere is no abstract security benefit from updating some software, updates just changes things. Software security is like a bubbly shell with holes and no thickness, patching a random hole means nothing.
- boomboomsubban 6y agoIt changes whether I could exploit the device. I have realistically no way of developing a new hole in their software, but I'm capable of becoming a script kiddie if I wanted to.
- unionpivo 6y agoAnd because Marlinspike specifically mentioned FFMPEG by name, I think vulnerability was not in there. At least that's what I would do.
- pornel 6y agoAn interesting problem is that even if you sandbox everything perfectly, you still need to get accurate information out of the sandbox. If a sandboxed parser was compromised, you still can't trust that it reported true information to you. Sandbox prevents malicious code from escaping, but not from lying to you.
- wolverine876 6y agoAgreed - it just limits the damage.
- t0mas88 6y agoThe "patch" is to not use the physical extraction thingy on iPhones anymore: https://www.google.com/amp/s/9to5mac.com/2021/04/27/cellebrite-physical-analyzer-iphone/amp/ https://www.google.com/amp/s/9to5mac.com/2021/04/27/cellebri...
- roflc0ptic 6y agoWow, that seems really obfuscatory. It's implausible that they only have a vulnerability to iPhone devices, but I guess that's the line of argumentation they'd use to limit the fallout. Sucks to be cellebrite.
- t0mas88 6y agoI think it's related to the stolen Apple DLLs in their product. Any competent legal department would tell them to remove those immediately, because you don't want to get in a lawsuit with Apple over such a clear case.
- ikeboy 6y agoIt does seem very clearly a permissible use. Corellium beat Apple's copyright claims and they did far more than just embed a DLL.
- willstrafach 6y agoThat is incorrect, Corellium does not ship Apple code.
- ikeboy 6y agoMy understanding was that the copyright portion of the suit was over them doing exactly that? Maybe running it in the cloud vs shipping it, but e.g. https://techcrunch.com/2020/12/29/apples-lawsuit-against-corellium-has-been-partly-thrown-out/ https://techcrunch.com/2020/12/29/apples-lawsuit-against-cor... mentions iOS IPSW files. Edit: it seems like they downloaded the file from Apple's site. The order says using the IPSW file was fair use, and that doesn't appear to depend on them downloading it vs shipping it. I don't think that makes a different. The cellebrite usage is also fair use for the same reasons (doesn't compete with Apple, transformative usage, etc)