Hacking Into Facial Recognition System Using Generative Ai
The author used an image-to-image generative AI tool to transfer facial features from Elon Musk onto his own photo, then submitted the modified image to several facial recognition and face search services. These services returned matches to Elon Musk's face, showing that the systems could be tricked into false identification.
I am Harish SG, a security researcher who studies Masters in Cybersecurity at UT Dallas and AI security intern at Cisco,previously hunted on the Microsoft Bug Bounty Program and Google VRP
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the facial recognition systems relied on similarity thresholds that were set too low and did not include liveness detection or 3D verification, allowing adversarially modified images to be accepted as matches.
Impact
The systems could be tricked into falsely identifying a person, which could undermine security if used for authentication without liveness detection or 3D checks.
What the attacker needed
Access to a generative AI image tool; a photo of the attacker's face; a photo of the target person
The fix
Facial recognition systems should use higher similarity thresholds and include liveness detection and 3D facial recognition to prevent spoofing with modified images.
How it was found
- Use an image-to-image generative AI tool to transfer facial features from a target person onto your own photo.
- Upload the modified image to face search engines and facial recognition services.
- Observe that the services return the target person's face as a match with high similarity scores.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Facial recognition systems compare a photo of a face to a database of known faces by measuring distances between features like eyes and nose. The author used an AI tool to blend his own facial measurements with those of Elon Musk, creating a hybrid face. When he uploaded this hybrid image to face search engines and Amazon's recognition service, they incorrectly matched it to Elon Musk, showing that the systems can be fooled by manipulated images.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.