49

This question might be better suited for Skeptics, but I guess that those who can really answer this might hang around here.

In the second episode of the fourth season of the french spy series The Bureau (see around 0:36 in this clip), one hacker (A) demonstrated how when someone else (B) is taking a picture of him with a smartphone, the picture is not captured and instead a message "Do not do that motherf...!" is shown.

A claims that it works thanks to an app that he has on his own smartphone, interacting with B's smartphone to prevent it from taking pictures.

My question is if this really is doable. Of course if A previously hacked B's phone then there is nothing particularly special about it, but could this be achieved so that no random person showing app can take a picture of A with their smartphone?

rrauenza
  • 103
  • 2
bangnab
  • 641
  • 1
  • 5
  • 5
  • 16
    It probably would've been off-topic at Skeptics as it's not held to be a true claim in the original. – WBT Aug 09 '19 at 19:26
  • 25
    I also heard you can cover your face with lemon juice to prevent security cameras from getting a picture of you. This guy tried it, and got caught. https://qz.com/986221/what-know-it-alls-dont-know-or-the-illusion-of-competence/ You might now want to believe everything you see on TV/Internet. – Steve Sether Aug 09 '19 at 20:54
  • 8
    Reminds me of this... https://www.youtube.com/watch?v=5rdXvtdSIF8 – barbecue Aug 09 '19 at 21:10
  • hacking all smartphones in the world to stop people taking photos? still easier than blocking people having eidetic memory from drawing portraits :-) – szulat Aug 10 '19 at 13:38
  • 5
    Use a tin-foil burka ... – Hagen von Eitzen Aug 10 '19 at 14:48
  • 11
    Hang on, your smartphone uses 256-bit encryption. This is going to take a few seconds to hack. There, I'm in. – Damon Aug 10 '19 at 19:06
  • @szulat Not really. It would cheaper to slip something in someone's drink to make them forget or question the experience than to develop a universal phone virus. – jpaugh Aug 11 '19 at 08:14
  • 1
    @jpaugh the real problem is detection, you have no way of knowing that someone is going to take a "photo" of you just by looking at you. – szulat Aug 11 '19 at 09:40
  • 4
    I've heard speculation that the EURion pattern and other anti-forgery features could be used for this purpose. If you print the right patterns on your shirt then image processing software and printers will refuse to produce pictures of you. – Oscar Cunningham Aug 11 '19 at 10:01
  • You could prevent people from taking a picture of you by jamming the part of the electromagnetic spectrum which maximizes their phone lens+CCD sensitivity and minimizes human eye sensitivity. Or, if you don't mind completely disabling all electronics around you, an EMP. – Michael Aug 11 '19 at 22:09
  • @SteveSether, Lemon-juice-guy actually thought that idea up entirely on his own. Fact: You can use lemon juice as an "invisible" ink. The stain left by lemon juice on paper will be hard or impossible to notice until you heat the paper to a certain temperature, and then the stain will darken. Lemon juice guy told the cops that he'd heard about the invisible-ink thing, and assumed therefore, that anything covered with lemon juice would be invisible to a surveillance camera. – Solomon Slow Aug 12 '19 at 14:35
  • @szulat Hadn't thought about that aspect; but maintaining body guardswould be comparable in expense to maintaining a hack against all phones that come to market. It might even be much cheaper. Or, just wear a comfortable mask. Non-technical problems are often easier to solve without technology :-) – jpaugh Aug 12 '19 at 14:40
  • @OscarCunningham My android 8 phone can take a picture of EURion without issues... so maybe other security features could work. – beppe9000 Sep 21 '19 at 17:42

10 Answers10

100

tl;dr

No, this completely falls within the realms of fiction!

The longer explanation

For something like this to work, Alice would need to find an exploit in the camera of Bob, which would then prevent Bob from taking a picture. The only ways of Alice to exploit Bob's camera is for her to send some kind of information to it.

Possible ways for her to do this would either be via what the camera "sees" or via some other channel (Bluetooth, Ad-Hoc Wi-Fi, etc.).

The first way is, to be frank, absolutely nuts. There are exploits related to images and specific image formats, but all those exploit the specifications of how image files are read, rather than the pixels on it.

As far as Bluetooth or Wi-Fi goes, this is a little bit more believable, but just barely above "Zoom and Enhance". If Alice could connect to Bob's phone via Bluetooth, there may be an exploit she could use that would disable the camera app.

However, if Bob used a dedicated camera instead of his phone, then Alice is out of luck and her picture will be taken.

How could I protect myself from having my picture taken?

There are, however, creative ways to hide yourself from cameras. After all, reality can be so much cooler than fiction if you get a bit creative.

Infrared LEDs emit infrared light. This light is not visible to our eyes, but to cameras. This difference is something that hackers can exploit.

By attaching many, high-powered infrared LEDs to your clothing in a way that they shine on your face (e.g. through LED strips on the inside of your hoodie, on your baseball cap, etc.), your face will receive much more light than the surroundings, causing your face to be extremely overexposed.

This will probably stop security cameras, since they will try to set their exposure in a way that most of the picture (i.e. your surroundings) are illuminated correctly.

Somebody taking pictures manually of you may be able to set the exposure correctly, showing your face, but making the rest of the picture very dark. With some clever image manipulation tricks, and multiple pictures taken at different exposure levels, you can be shown in your surroundings, even with such LEDs in place.

Cool, can I see how that looks like?

Here you can see a picture of glasses with just a few LEDs:

Picture of a man with infrared LED glasses
Attribution: Tokyo National Institute of Informatics

The two pictures on the top are with the LEDs turned off. This is how a person would see it. The green frame shows that a camera has detected a face.

The two pictures down below show the LEDs turned on. It's much harder to detect details of the person, but it's still doable, especially if you have some reference image. The camera, in this case, failed to identify a person.

With more and/or stronger LEDs, the effect will be much stronger.

Here is also a video, showing them in action with a typical webcam. Again, with some reference, a person is still identifiable.

What about the downsides to this?

Before you go online and order a 500 pack of infrared LED strips, there are some downsides to this technique.

  • A battery or some other power source is required. This may be the least of your worries, since LEDs don't draw that much power, but running around with a 9v in your pocket may become annoying.
  • You don't see if it's not working. Unless you regularly take selfies of your overexposed face, you don't know if your security system has failed.
  • Since you quite literally look like a shining ball of light on pictures, people reviewing security camera footage will probably start investigating why Jesus is casually walking through the mall. It does attract unwanted attention, is what I am trying to say.
  • You depend on your clothing. Depending on where you go, it might not be feasible to wear clothing close to your face, such as a swimming pool. You may be able to wear a baseball cap, but then you run into the problem of a power source.
  • 8
  • Perhaps one carefully aimed LED, or weak IR laser pointed directly at the offending camera, any time you suspect you're being photographed, would be enough. – dwizum Aug 09 '19 at 17:39
  • And then, with enough point LEDs, you can spell whatever expletive you prefer on the back of your hacker coat. – svavil Aug 09 '19 at 17:59
  • 2
    DSLRs/MILCs universally have IR filters, and any camera more dedicated than a smartphone is likely to. – chrylis -cautiouslyoptimistic- Aug 09 '19 at 18:25
  • 5
    @chrylis, iPhones have IR filters, which make them useless for checking battery quality on old IR remote controls. – Nathan Goings Aug 09 '19 at 19:04
  • Rather simpler just to wear dark glasses or a motorcycle helmet? – abligh Aug 10 '19 at 07:42
  • There are exploits related to images and specific image formats, but all those exploit the specifications of how image files are read, rather than the pixels on it. => In theory, one could target a vulnerability in the image format encoder; a specially crafted "raw" RGB file could for example trigger some form of catastrophic cancellation in the algorithm wiping out part of the image, or trigger some out-of-bounds access, etc... still quite more likely to get garbage than anything readable, of course. In practice, I have high doubts that a photo allows such fine crafting of the RGB values. – Matthieu M. Aug 10 '19 at 10:42
  • 52
    "Since you quite literally look like a shining ball of light on pictures, people reviewing security camera footage will probably start investigating why Jesus is casually walking through the mall." – Coldblackice Aug 10 '19 at 11:55
  • @chrylis Yes, you can circumvent it. I am not an expert in photography, just casually repeating what I read a while ago. –  Aug 10 '19 at 12:57
  • 5
    Vaguely related: for flash photography, you don't need your own energy source, reflective materials can be useful enough ("paparazzi scarf"). And I wonder if smartphone cameras (need to) test for the EURion constellation these days. – Ulrich Schwarz Aug 10 '19 at 16:13
  • 1
    I'd be a little worried about the thermal effects of this much IR radiation bouncing off your face (and even worse, into the eyeball, though I'm not entirely sure about the transmission spectrum of the human lens). On the upside though, if my worries prove to be fruitful, you would definitely know when the system malfunctions. – John Dvorak Aug 10 '19 at 19:45
  • 3
    Your best bet targeting image encoders would be to shine a QR code with malicious payload onto your face. The eye won't see it, but a smartphone will pick it up, try to decode it, and run your code. One QR code for Android phones and one for Apples should do the trick beautifully. Gives an entirely new meaning to the phrase "turn the other cheek" because that's where the two QR codes are. – John Dvorak Aug 10 '19 at 19:50
  • Here's a better photo example, since it's both more effective and less intrusive (i.e. unnoticable). (Source article: https://odditymall.com/justice-caps-hide-your-face-from-surveillance-cameras) – jpaugh Aug 11 '19 at 08:16
  • The work on led-glasses referenced, is not to mask your identity from a human observer, but to throw off old face-recognition methods (cascaded ada-boost to be specific). The interpretation of this is totally off, and it is also a rather irrelevant work, because todays face-recognition is done by deep learning. You can, as is mentioned, have near infrared transmitters that can be very strong... but most camera systems on phones have a proper IR cut-off filters. Why is this upvoted? – Stefan Karlsson Aug 11 '19 at 19:11
  • 1
    @jpaugh I saw this example, but in all honesty, it looks more like the picture has been edited in post, rather than showing something working. For once, the two pictures are identical in shape, so clearly not a "before/after" picture (look at the background). It seems more as if it was desaturated in color, and had a perfect white circle added in the middle. It just works too well, if you see what I mean. –  Aug 12 '19 at 07:31
  • The approach of using Leds to hide your face from mobile phones does not work. For surveillance cameras, it may rarely work but not during day time. There is quite a bit of dis-information being upvoted here. Sad. – Stefan Karlsson Aug 12 '19 at 10:59
  • @StefanKarlsson Care to elaborate? I am aware IR filters exist, but there is plenty of old equipment out there that doesn't use those. Because as it stands now, your comment is nothing more than "You're wrong". –  Aug 12 '19 at 11:31
  • Many, maybe even all android phones also have IR filters but they're not completely blocking. High power LEDs will still get through enough to dominate reflected light. Shorter wavelengths (closer to 750nm) may be better, though they may be faintly visible to the naked eye – Chris H Aug 12 '19 at 12:20
  • @MechMK1 That's a shame. A solution which only prevents auto-focus doesn't work at all, I'm afraid. – jpaugh Aug 12 '19 at 14:35
  • @MechMK, here follows 3 reasons for why this does not work. Im sure there are more reasons, but I wont waste more time on it. If you want to argue for old equipment, then sure. Maybe there is a stack-exchange for that. History of technology or likewise? – Stefan Karlsson Aug 13 '19 at 07:19
  • @MechMK, 1) IR-cut off filters will do enough of a job to reduce the incoming wavelengths of all NIR. This means a led emitting visual light will do a better job when IR-cut off filters are present. Take into account that the energy in the scene will render the effect of the leds totally neglible. 2) leds are point sources, they will reduce their irradiance of the sensor elements with 1/r^2, r being distance to the camera. This can be compensated for by dircectional leds, but that would mean you need to constantly face the camera. – Stefan Karlsson Aug 13 '19 at 07:19
  • Even if you can get the overexposure effect that you say is possible, modern cameras capture at reasonably high dynamic range. 10 or 12 color depth is standard on phones these days, and then use automatic tone-mapping. Because your intensity range will not be far outside of the depth of the camera, modern cameras can compensate for this effect.
  • – Stefan Karlsson Aug 13 '19 at 07:19
  • @StefanKarlsson That might all be true, and perhaps from the way I have written it, it may sound like I am advocating that IR- (or near-IR)-LEDs are a perfect solution. I am aware that they are not, and I included them more for the sake of "Here's some other cool thing that tries to solve the same problem", rather than anything else. Perhaps I should edit the answer to state the problems more clearly. –  Aug 13 '19 at 09:31