3 ms·
One of the downsides of encrypting analog video you don't have to have the correct key to decrypt it just something good enough to get you in the ball park, the
by dogma1138 11y ago
One of the downsides of encrypting analog video you don't have to have the correct key to decrypt it just something good enough to get you in the ball park, the video quality will suffer greatly but you'll end up with more or less an image you can view (this also quite commonly affects steganography with poor keys you can brute force it in seconds you won't get a good image but if it's text it will be immediately readable).
- tptacek 11y agoCan you go into more detail about this "analog encryption" you're talking about? You might be talking about some kind of Spectravision-style video scrambling, but that's not really "encryption" in the modern sense --- in the modern sense, encryption, with an actual cipher, must necessarily take digital inputs.
- dogma1138 11y agoIt is still encryption it's like calling a caesar cipher not encryption. It still uses a key and some sort of an encryption algorithm the problem with all of these encryption (or call it scrambling algorithms) is that the persevere the integrity of the video frame so basically you are still getting a video frame which can be broadcast and received as any standard video signal while only the image it self will be "encrypted/scrambled". Because of this there are several brute force methods that can reconstruct the image without having to even know which algorithm was actually used in the encryption because the elements are always the as the video frame maintains the scan lines and even if you use pixels it's not that big of a deal. Live sensory image from drones is still fairly low res usually in the 400-600 scan lines range (interlaced video is still quite often used because then for example you can multiplex 2 sensory images e.g. FLIR/SWIR and normal visible elctrooptical sensor into a single channel and switch between them without any delay or without any sync issues). Because every frame is scrambled on it's own and is still a valid frame we know 3 things 1) all of the data to reconstruct the image is present within the frame 2) all of the data to reconstruct the image is still in the same basic format as the encrypted frame is still a valid video frame 3) we know exactly how many possible combinations there can be based on the resolution of the image. Combine that knowledge with a basic brute force algorithms without knowing anything about how the encryption actually works you usually tie it with something like Fast Fourier transform to detect edges in the frequency domain (because in our case high frequency = edge) because once you get enough of them you know that you actually have a valid image. This results in a relatively very fast algorithm that can produce images (even if not perfect) from any raw scrambled/encrypted video.
- tptacek 11y agoSure. But a Caesar Cipher is also not encryption "in the modern sense". I was wondering whether you were talking about a property of some input domain to a modern cipher, or some hacky scrambling system used in lieu of a modern cipher --- and it's the latter, right?
- dogma1138 11y agoYep pretty much it shreds the image and builds a new valid frame from it, some quite often do some separate things to the chroma and luminescence carriers with drones really depends because some times if you are transmitting multiple black and white images you can cheat an multiplex them together and basically instead of extrapolating the correct color from each field you can extrapolate 2 different images. Because it's analogue data you always getting an image regardless if you have the correct key or not, and because of the limitations of the encryption/scrambling it self once you get a key which is close enough you being to reconstruct various parts of the correct image even in a form of artifacts so things like edges become apparent very quickly.
- jallmann 11y ago> You might be talking about some kind of Spectravision-style video scrambling I think that's exactly what he means. You're right, it's not intended to be cryptographically strong encryption in the modern sense. Scrambling (as I believe the term is being used here) prior to transmission often has practical purposes other than obfuscation, eg eliminating patterns in the signal that could interfere with the modulation scheme (for clock recovery). That it prevents casual eavesdropping is usually a side benefit, even though pay TV has tried to pass it off as a protection scheme. https://en.wikipedia.org/wiki/Scrambler https://en.wikipedia.org/wiki/Scrambler Here is an interesting report (attached in TFA) on how they cracked one of the transmissions containing digital video: https://www.documentcloud.org/documents/2699848-S455N-Redacted.html https://www.documentcloud.org/documents/2699848-S455N-Redact...
- gherkin0 11y agoIf the encryption is done badly, it's also sometimes possible to recover a shadow of an encrypted image from the cyphertext without actually decrypting it: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Electronic_Codebook_.28ECB.29 https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation...
- dogma1138 11y agoClose enough it's even worse since with video you have to preserve the frame structure so even less of the "data" is actually encrypted. The scrambling/encryption it self is not ECB but when you brute force the keys you get the same effect as ECB encryption and images, you basically then run some basic analysis usually FFT which alerts you that a candidate image has been reconstructed if it's good enough you can take it, if it's not the correct value usually can be then guesstimated based on the key that has generated an image that cam close enough. This is how these systems tend to work https://en.wikipedia.org/wiki/Conditional_access https://en.wikipedia.org/wiki/Conditional_access
- tptacek 11y agoMuch worse things than that happen if you use ECB mode, for whatever it's worth. But yeah, I was trying to figure out if he was talking about some property of the cipher or some property of "encrypting analog video".
- rasz_pl 11y ago>in the modern sense, encryption, with an actual cipher, must necessarily take digital inputs. thats the thing - you cant go digital on lossy analog channel without sacrificing bandwidth (for FEC).