From the DV FAQs:
The Department of State uses sophisticated technology to detect multiple entries. Individuals with more than one entry will be ineligible for a DV.
Based on this statement, you can rest assured that the technology used by the DOS looks at much more than just the photo submitted with the DV application, including your full name, mailing address, email address, date of birth, place of birth, names of spouse, children, etc., all very unique and confidential information that only you as the applicant should know. The DOS receives millions of applications each year for a very small number of "winners" selected randomly. There are always scammers but those would be detected if selected, at the visa interview. Good luck!
https://travel.state.gov/content/travel/en/us-visas/visa-information-resources/fraud.html