iPhone zero day+zero click hak — preko iMessagea, GIF-ova i PDF-a do kontrole telefona

https://googleprojectzero.blogspot.com/2021/12/a-d... link-img
avatar

Solidno tehnički članak, pre svega za ekipu koja se bavi bezbednošću, ali je čitljivo i za deo power usera. Na momente je osećaj kao da čitaš triler.

The initial entry point for Pegasus on iPhone is iMessage. This means that a victim can be targeted just using their phone number or AppleID username.

iMessage has native support for GIF images, the typically small and low quality animated images popular in meme culture. You can send and receive GIFs in iMessage chats and they show up in the chat window. Apple wanted to make those GIFs loop endlessly rather than only play once, so very early on in the iMessage parsing and processing pipeline (after a message has been received but well before the message is shown), iMessage calls the following method in the IMTranscoderAgent process (outside the “BlastDoor” sandbox), passing any image file received with the extension .gif:

[IMGIFUtils copyGifFromPath:toDestinationPath:error]

Looking at the selector name, the intention here was probably to just copy the GIF file before editing the loop count field, but the semantics of this method are different. Under the hood it uses the CoreGraphics APIs to render the source image to a new GIF file at the destination path. And just because the source filename has to end in .gif, that doesn’t mean it’s really a GIF file.

NSO uses the “fake gif” trick to target a vulnerability in the CoreGraphics PDF parser.

PDF was a popular target for exploitation around a decade ago, due to its ubiquity and complexity. Plus, the availability of javascript inside PDFs made development of reliable exploits far easier. The CoreGraphics PDF parser doesn’t seem to interpret javascript, but NSO managed to find something equally powerful inside the CoreGraphics PDF parser…

1

ULOGUJ SE I DODAJ KOMENTAR


Registruj ili prijavi.

VIDI POPULARNE POSTOVE


1
avatar Vukašin pre 13 sati
1
avatar Vukašin pre 13 sati
2
avatar Vukašin pre 15 sati
2
avatar Nevenka pre 18 sati
1
2
avatar Stefan pre 4 dana
1
avatar Vukašin pre 4 dana
1
4
avatar Vukašin pre 6 dana
1
avatar Vukašin pre 8 dana