ai
play

AI iThome CYBERSEC 2019 - PowerPoint PPT Presentation

AI iThome CYBERSEC 2019 Turkey & Melody ABOUT US Turkey Melody HITCON GIRLS HITCON


  1. 眼⾒見廓真的為憑嗎? AI 的逆襲, 台灣資安⼤夨會 iThome CYBERSEC 2019 
 Turkey & Melody 


  2. ABOUT US Turkey Melody 台灣駭客協會 秘書長 台灣駭客協會 專案經理痢 HITCON GIRLS 共同創辦⼈亻 HITCON GIRLS 成員 2

  3. OUTLINE • Deepfakes • Lyrebirds • 應⽤甩 • 反制技術 3

  4. DEEPFAKES MAKES IT POSSIBLE TO CREATE FAKE VIDEOS OF ALMOST EVERYONE. 4

  5. LET’S TALK ABOUT DEEPFAKES! 1. In December 2017, a user named “DeepFakes” announce the tool on Reddit Community of developers. 2. DeepFakes is a tool that utilizes deep learning to recognize and swap faces in pictures and videos. 5 5

  6. HOW DEEPFAKES WORK? 6

  7. HOW DEEPFAKES WORK? https://github.com/iperov/DeepFaceLab 7

  8. HOW DEEPFAKES WORK? >DeepFakes Tools 1. Fakeapp 2. DeepFaceLab 3. Fakeswap 4. Openfaceswap 5. Myfakeapp 8

  9. HOW DEEPFAKES WORK? >DeepFakes Tools 1. Fakeapp > 2.DeepFaceLab 3. Fakeswap 4. Openfaceswap 5. Myfakeapp 9

  10. Source Target 10

  11. 4 2 3 1 5 6 HOW DEEPFAKES WORK? >Steps for: DeepFaceLab Extract faces Extract image Extract image from source from source from target and target video. video. image. Manually Debug & Convert Model remove image to mp4 Training error image. 11

  12. HOW DEEPFAKES WORK? >Extract image from source & target video. FFmpeg FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. ffmpeg -i clipname -vf fps=framerate -qscale:v 2 "imagename%04d.jpg" Command_ 12

  13. HOW DEEPFAKES WORK? >Extract faces from source and target image Divided a face into the following areas: 1. eyes(left/right) 2. eyebrows(left/right) 3. nose 4. chin ( Ref: Facial landmarks with dlib, OpenCV, and Python ) 13

  14. HOW DEEPFAKES WORK? >Extract faces from source and target image ( Ref: Real-Time Face Pose Estimation ) 14

  15. HOW DEEPFAKES WORK? >Extract faces from source and target image 15

  16. HOW DEEPFAKES WORK? >Extract faces from source and target image ( Ref: One Millisecond Face Alignment with an Ensemble of Regression Trees ) 16

  17. HOW DEEPFAKES WORK? >Manually remove error image 17

  18. HOW DEEPFAKES WORK? >Manually remove error image 18

  19. HOW DEEPFAKES WORK? >Manually remove error image 19

  20. HOW DEEPFAKES WORK? >Model Training (Ref: https://deepfakes.com.cn/) 20

  21. HOW DEEPFAKES WORK? >Model Training (Ref: https://deepfakes.com.cn/) 21

  22. HOW DEEPFAKES WORK? >Model Training (Ref: https://deepfakes.com.cn/) 22

  23. HOW DEEPFAKES WORK? >Model Training Models Types: 1. H64 2. H128 3. DF 4. LIAEF 5. LIAEF128YAW 6. MIAEF128 7. AVATAR 8. SAE H128 23

  24. Train 越久效果越好! HOW DEEPFAKES WORK? >Model Training Models Types: 1. H64 2. H128 3. DF 4. LIAEF 5. LIAEF128YAW 6. MIAEF128 7. AVATAR 8. SAE H128 24

  25. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 25

  26. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 26

  27. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 27

  28. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 28

  29. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 29

  30. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 30

  31. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 Debug Mode Use predicted mask? 1 Erosion (-100 to +100): (default = 0) 1 Seamless Erosion (0 to 40): (default = 0) 20 Blur (-200 to +200): (default = 0) 40 Hist-match threshold (0 to 255): (default = 255) default Face Scale (-50 to +50): (default = 0) default Transfer Color from predicted face? (LCT/RCT/no): (default = no) RCT Degrade Color Power of Final Image: (default = 0) default 31

  32. HOW DEEPFAKES WORK? >Debug & Convert image to mp4 ffmpeg -f image2 -i imagename%04d.jpg -vcodec libx264 -crf 15 -pix_fmt yuv420p Command_ 32

  33. HOW DEEPFAKES WORK? >Download DeepFaceLab (Downlink: https://github.com/iperov/DeepFaceLab) 33

  34. LET’S DEMO ! 34

  35. HOW DEEPFAKES WORK? > ⼩尐插曲 作者跪求 RTX 2080 Ti 中 XD 實測跑評: RTX 2080 ⼤夨約需跑 6 個⼩尐時以上會有不錯的成果 35

  36. HOW DEEPFAKES WORK? > 不要讓貧窮限制你的 AI #讓 AI 聰明前 先飽滿你的⼝古袋 36

  37. Source Target 37

  38. ( Link:https://youtu.be/yfsdZ5gLuOo ) 38

  39. CAN AI MIMIC YOUR VOICE? 39

  40. CAN YOU TELL A FAKE VOICE FROM A REAL ONE? ( Ref: https://lyrebird.ai/ ) 40

  41. What is Lyrebird? • create a digitized version of your own voice. • Uses deep learning frameworks on AWS to develop and train its AI models Record & Upload Train by DL Framework Digital Voice Optput audio of voice samples on AWS EC2 P3 Generated requested dialog ( Ref: https://lyrebird.ai/ ) 41

  42. LYREBIRD LIVE DEMO This is my honored to talk to everyone here. However, can you trust your eyes and ears to perceive reality? Machine learning can artificially mimic natural sounds to create digital voice. Just like me! 42

  43. W hy my voice sounds awful? ( Ref: https://lyrebird.ai/ ) 43

  44. Voice Cloning Market Generation Is Coming 44

  45. CHALLENGES FOR OUR FUTURE 45

  46. NEGATIVE EFFECTS Why do you believe what I am telling you now? 46

  47. ( Ref:Fast & Furious 6 ) POSITIVE EFFECTS ( Ref:apple ) Create images and voices from the past. 47

  48. ( Ref:https://www.youtube.com/watch?v=5iZuffHPDAw )

  49. FIGHT AGAINST FAKE VIDEOS! 49

  50. FAKE VIDEO DETECT SOLUTION >Detect malicious alterations with AI •abnormal compression signatures •lip sync analysis •Video metadata analysis •noise patterns analysis 50

  51. FAKE VIDEO DETECT SOLUTION > Fingerprint source videos & track provenance with blockchain smart contracts Create Hashing Blackchan record submitt 51

  52. REFERENCE • https://deepfakes.com.cn/ • https://www.youtube.com/watch?v=K98nTNjXkq8 • ttps://github.com/Fabsqrt/BitTigerLab • https://github.com/iperov/DeepFaceLab • https://www.youtube.com/watch?v=CR5Jr6Z1KI • https://lyrebird.ai/ • https://www.darpa.mil/ • https://medium.com/amber-video 52

  53. THANKS! 53

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend