SlideShare a Scribd company logo
H o w I c l o n e m y s e l f u s i n g A I
Tamaghna Basu, Co-Founder/CTO,
neoEYED Inc.
About Me
• CTO/Co-Founder, neoEYED Inc. with 15+ years of experience
• Startup Advisors, Mentor for Stanford cyber security course
• Cyber Security, Machine Learning, Python, java, .net, ruby
etc. in domains like Finance, Insurance, Casino Gaming,
eComm etc.
• Frequent speaker/trainer in international conferences like
NULLCON, C0C0N, OWASP, ISACA, ISC2 etc.
• Member of NULL, DSCI and other communities.
Agenda
Background/Inspiration
Demo – Text, Audio/Video
Architecture: What’s happening behind the scene
Code release – Notebook, Repository etc.
What’s next – other approaches, future enhancements
Our vision, invitation to contribute, support, learn
References and Credits
Inspiration
https://www4.pictures.zimbio.com/mp/5b2LRQ2ouwsl.jpg
Chat Demo
Conversation - 1
Conversation – 2, 3
Social Proof
Person 1
Person 3
Person 2
Video Demo
https://www.youtube.com/watch?v=-bhIL2qnXxc
Architecture – What’s
behind the scene
1. Flow Summary
The Voice The FaceThe Brain
Text Chat Engine
(TCE)
Audio Synthesis Engine
(ASE)
Video Synthesis Engine
(VSE)
The Brain
2. Text Chatbot Engine (TCE)
Predicted
Answer
My Conversations
Seq2Seq AI
model
Rule + Intent
based model
NMT AI ModelTRAIN
Trained model
InferenceEngine
Getthebestanswer
predictedbythemodels
Chat
Input https://google.github.io/seq2seq/
https://en.wikipedia.org/wiki/Neural_machine_translation
https://chatbotsmagazine.com/bot-talks-intent-based-vs-flow-base-conversations-798788dc9cf6
Categories of conversations
• Chit-chat (CAT - I)
• Historical (CAT – II)
• “Can I come to your house today”
• “Shall we meet tomorrow”
• “Are you coming for the X meetup tomorrow”
• Topical, factual, asking for specific information (CAT - III)
• How is the weather today?
• What is SQLi
• Pure generative, philosophical, anything else aka free flow chat (CAT – IV)
• What is love
• What is the purpose of life etc.
(CAT - I)
(CAT - II)
(CAT - II)
Custom Actions (CAT - III)
(CAT - IV)
ParlAI
(CAT - IV)
Role Response
User Does money buy happiness?
Bot Depends how much money you spend on it .
User What is the best way to buy happiness ?
Bot You just have to be a millionaire by your early 20s, then you can be happy .
User This is so difficult !
Bot
You have no idea how hard it is to be a millionaire and happy . There is a reason the rich have a lot of
money
CAT-I, CAT-III
CAT-II
CAT-IV
Make your own Rick Sanchez (bot) with
Transformers and DialoGPT fine-tuning
https://towardsdatascience.com/make-your-own-rick-sanchez-bot-with-transformers-and-dialogpt-fine-tuning-f85e6d1f4e30
The Voice
2. Audio Synthesis Engine (ASE)
Voice Output
My voice –
around 500
samples of
duration 5 – 15
seconds each
(NEED MORE
DATA)
Tacotron 2
AI Model
CYCLEGAN
VOICE
CONVERSION
TRAIN
Trained model
InferenceEngine
Getthebestvoice
responsewithlesserror
predictedbythemodels
Text
Input to
be
spoken https://ai.googleblog.com/2017/12/tacotron-2-generating-human-like-speech.html
https://github.com/CorentinJ/Real-Time-Voice-Cloning
Real Time Voice
Cloning (US
Accent)
https://github.com/TaiChunYen/Pytorch-CycleGAN-VC2
Voice Demo - CycleGAN
Original Generated
CycleGAN
VOICE
ENGINE
The Face
3. Video Synthesis Engine (VSE)
Victim’s
Video
My Video
TRAIN
Trained model
InferenceEngine
Getthebestvideo
predictedbythemodels
LipGAN
Audio-driven-
TalkingFace-
HeadPose
Talking video
Silent video
https://github.com/Rudrabha/LipGAN
https://github.com/yiranran/Audio-driven-TalkingFace-HeadPose
Video Demo – talking face
Video Demo – LipGAN
4. Cloning Engine
The Voice The FaceThe Brain
Text Chat Engine
(TCE)
Audio Synthesis Engine
(ASE)
Video Synthesis Engine
(VSE)
5. Entire Pipeline (In Action)
Cloning Engine
Video Demo
https://www.youtube.com/watch?v=-bhIL2qnXxc
Do you want
to try
yourself?
https://github.com/titanlambda/identity-cloning-toolkit-ICT
Road Ahead
• Add expressions to voice and video using
sentiment analysis of the questions asked
and the answers generated by the AI
• Use VoIP phone number to make fake
calls to victim’s friend and do social
engineering
• Bypass voice recognition and voice-based
OTP using the Voice Engine
• Bypass facial recognition and live
detection techniques like visual OTP, lip
reading etc. using Video Engine
Vision: create
futuristic
technologies
• Behavioral Analysis
• Conversational AI
• Bot detections and other kind of
preventive frameworks
Looking for angels to support us
to build futuristic technologies
References
• People/community who helped
• OWASP Seasides community members
• Prashant KV – Founder OWASP Seasides Community
• Alessio Mauro – Co-Founder, neoEYED
• Madhu Akula – Cloud Native Security Specialist
• Lavakumar Kuppan – Project Founder and Author of IronWASP. Security
• Anurag Priyadarshi – Founder Scientist Technologies
• Rudrabha Mukhopadhyay – Creator of LipGAN project
• Other projects on the similar line
• https://lionbridge.ai/articles/how-to-use-deep-learning-to-clone-yourself-as-a-chatbot-replika-review/
• https://www.reddit.com/r/artificial/comments/cqn1ho/how_to_use_deep_learning_to_clone_yourself_as_a/
• https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me
References
• https://chatbotslife.com/5-ways-to-add-empathy-to-a-digital-service-
952e46cc3c6c
• https://chatbotslife.com/how-to-teach-your-chatbot-with-training-data-
46c58b873c31
• https://chatbotslife.com/https-medium-com-hellohaptik-how-does-a-chatbot-
learn-on-its-own-e4e97ba946de
• https://chatbotslife.com/blender-vs-rasa-open-source-chatbots-efae383b9d33
• https://github.com/facebookresearch/ParlAI
• https://www.michaelnolting.com/cheating-my-wife-or-how-i-trained-a-chatbot-
to-be-me/
• https://towardsdatascience.com/recreating-myself-from-whatsapp-chats-
6dadfaff0d2b
• https://www.quora.com/Is-it-possible-to-build-a-chatbot-that-talks-like-me
• https://medium.com/the-mission/youll-need-to-clone-yourself-sooner-than-
you-think-6924262d6708
• https://github.com/icoxfog417/awesome-text-summarization
• https://github.com/dipanjanS/text-analytics-with-python
• https://github.com/Apress/text-analytics-w-python-2e
• https://github.com/Apress/text-analytics-w-python/tree/master/9781484223871
• https://lionbridge.ai/articles/how-to-use-deep-learning-to-clone-yourself-as-a-
chatbot-replika-review/
• https://medium.com/huggingface/how-to-build-a-state-of-the-art-
conversational-ai-with-transfer-learning-2d818ac26313
• https://convai.huggingface.co/persona/i-read-twenty-books-a-year-i-m-a-stunt-
double-as-my-second-job-i-never-broke-a-bone-in-my-body-ever-in-my-life-i-
was-raised-in-a-single-parent-household
• https://mbejda.github.io/
• https://www.kaggle.com/chaitanyapatil7/indian-names/data?select=Indian-
Female-Names.csv
• https://github.com/Belval/TextRecognitionDataGenerator
• https://github.com/geek-ai/Texygen/
• https://github.com/sagarmk/LSTM-text-generation
• https://github.com/minimaxir/textgenrnn
• https://github.com/iktina/neural-text-generation
• https://towardsdatascience.com/recreating-myself-from-whatsapp-chats-6dadfaff0d2b
• https://www.youtube.com/watch?v=xvqsFTUsOmc
• https://github.com/PoorvaRane/Emotion-Detector/blob/master/Emotion_Detector.ipynb
• https://chatbotsmagazine.com/how-to-make-your-chatbot-more-human-like-efd681746879
• https://lionbridge.ai/datasets/the-best-25-datasets-for-natural-language-processing/
• https://empythy.readthedocs.io/en/latest/
• https://medium.com/@onix_systems/how-to-design-a-chatbot-creating-a-conversational-
interface-d3cb87507936
• https://chatbotslife.com/how-to-build-a-conversational-chatbot-and-avoid-if-else-
statements-37b48ad11eae
• https://github.com/jddunn/emoter
• https://chatbotsmagazine.com/how-to-make-a-digital-personality-of-yourself-using-
chatbots-facebook-and-empathy-8b0c53afa9bd
• https://www.quora.com/Is-it-possible-to-build-a-chatbot-that-talks-like-me
• https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-
Me
• https://devblogs.microsoft.com/cse/2015/11/29/emotion-detection-and-recognition-from-
text-using-deep-learning/
• https://www.toptal.com/machine-learning/google-nlp-tutorial
• https://github.com/topics/sarcasm-detection
• Https://www.analyticsvidhya.com/blog/2020/01/3-important-nlp-libraries-indian-languages-
python
• https://arxiv.org/abs/2001.09977
• https://github.com/KeaganStokoe/WhatsApp-Text-Analysis
• https://www.ijert.org/research/sentiment-analysis-of-chat-application-IJERTV3IS080414.pdf
• https://cran.r-
project.org/web/packages/rwhatsapp/vignettes/Text_Analysis_using_WhatsApp_data.html
• https://medium.com/analytics-vidhya/whatsapp-chat-analysis-using-python-88123e63c8ae
• https://play.google.com/store/apps/details?id=com.julkrebs98.whatstats&hl=en
• https://neo4j.com/blog/a-conversation-with-graphs/
• https://stackoverflow.com/questions/41181728/best-way-to-store-chat-messages-graph-
database-neo4j
• https://official-joke-api.appspot.com/jokes/random
• https://github.com/15Dkatz/official_joke_api
• https://github.com/srichakradhar/Rasa-Joke-Bot
• https://medium.com/the-research-nest/building-yuki-a-level-3-conversational-ai-using-rasa-
1-0-and-python-493e163c7911
• https://medium.com/twyla-ai/how-to-make-em-laugh-chatbot-style-20-jokes-for-your-bot-
4e767f9b57b7
• https://uxplanet.org/having-a-laugh-humor-and-chatbot-user-experience-e6b7636a454d
• https://medium.com/ruuh-ai/how-to-hook-audience-to-your-bot-with-humourous-a-i-
a1925e451b4d
• Https://github.com/bfelbo/DeepMoji
• https://github.com/maelfabien/Multimodal-Emotion-Recognition
• https://medium.com/the-research-nest/applied-machine-learning-part-3-3fd405842a18
• https://github.com/aditya-xq/Text-Emotion-Detection-Using-NLP
• https://github.com/SenticNet/personality-detection
• https://towardsdatascience.com/a-practitioners-guide- to-natural-language-processing-part-
i-processing-understanding-text-9f4abfd13e72
• https://www.nltk.org/book/ch01.html
• https://github.com/ChenChengKuan/awesome-text-generation
• Application Security Testing
• Advanced Threat Modeling and Profiling
• Security Automation and Visualization
Trainings
tamaghna.basu@gmail.com

More Related Content

Similar to How I Cloned Myself Using AI - Next Gen Social Engineering

QuickLaunch Yoda - Personal Assistant for Higher Ed
QuickLaunch Yoda - Personal Assistant for Higher EdQuickLaunch Yoda - Personal Assistant for Higher Ed
QuickLaunch Yoda - Personal Assistant for Higher EdChristinaFelix5
 
Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014
Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014
Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014Mark Smalley
 
DevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable ProductsDevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable ProductsBen Hall
 
How Open Source / Open Technology Could Help On Your Project
How Open Source / Open Technology Could Help On Your ProjectHow Open Source / Open Technology Could Help On Your Project
How Open Source / Open Technology Could Help On Your ProjectWan Leung Wong
 
User Experience: Why should you care?
User Experience: Why should you care?User Experience: Why should you care?
User Experience: Why should you care?Nirish Shakya
 
Application Starter Kits for Developers - Building with Watson
Application Starter Kits for Developers - Building with WatsonApplication Starter Kits for Developers - Building with Watson
Application Starter Kits for Developers - Building with WatsonIBM Watson
 
Using oss at an internet company and hacker culture
Using oss at an internet company and hacker cultureUsing oss at an internet company and hacker culture
Using oss at an internet company and hacker cultureHiro Yoshioka
 
Digital transformation; or how I learnt to stop worrying and love the bots!
Digital transformation; or how I learnt to stop worrying and love the bots!Digital transformation; or how I learnt to stop worrying and love the bots!
Digital transformation; or how I learnt to stop worrying and love the bots!Sayan Ghosh
 
PyData Texas 2015 Keynote
PyData Texas 2015 KeynotePyData Texas 2015 Keynote
PyData Texas 2015 KeynotePeter Wang
 
Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...
Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...
Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...TechSoup
 
Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...
Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...
Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...Eduardo Shiota Yasuda
 
Arquitetura de Informação em um E-commerce - Eduardo Shiota
Arquitetura de Informação em um E-commerce - Eduardo ShiotaArquitetura de Informação em um E-commerce - Eduardo Shiota
Arquitetura de Informação em um E-commerce - Eduardo ShiotaE-commerce Brasil
 
From TrainedMonkey to Google SoC mentor – How to become an OOo developer
From TrainedMonkey to Google SoC mentor – How to become an OOo developerFrom TrainedMonkey to Google SoC mentor – How to become an OOo developer
From TrainedMonkey to Google SoC mentor – How to become an OOo developerAlexandro Colorado
 
I Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API ProgramI Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API ProgramApigee | Google Cloud
 
How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015Andrew Mager
 
Ux design 101 crb 2
Ux design 101 crb 2Ux design 101 crb 2
Ux design 101 crb 2oddrey246
 
Distributed: Reinventing the Workplace
Distributed: Reinventing the WorkplaceDistributed: Reinventing the Workplace
Distributed: Reinventing the WorkplaceYoav Farhi
 

Similar to How I Cloned Myself Using AI - Next Gen Social Engineering (20)

QuickLaunch Yoda - Personal Assistant for Higher Ed
QuickLaunch Yoda - Personal Assistant for Higher EdQuickLaunch Yoda - Personal Assistant for Higher Ed
QuickLaunch Yoda - Personal Assistant for Higher Ed
 
Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014
Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014
Bitcoin is Still Technology - Presented at Bitcoin World Conference KL - 2014
 
DevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable ProductsDevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable Products
 
How Open Source / Open Technology Could Help On Your Project
How Open Source / Open Technology Could Help On Your ProjectHow Open Source / Open Technology Could Help On Your Project
How Open Source / Open Technology Could Help On Your Project
 
User Experience: Why should you care?
User Experience: Why should you care?User Experience: Why should you care?
User Experience: Why should you care?
 
Application Starter Kits for Developers - Building with Watson
Application Starter Kits for Developers - Building with WatsonApplication Starter Kits for Developers - Building with Watson
Application Starter Kits for Developers - Building with Watson
 
SXSW 2019 VR Takeaways
SXSW 2019 VR Takeaways SXSW 2019 VR Takeaways
SXSW 2019 VR Takeaways
 
Using oss at an internet company and hacker culture
Using oss at an internet company and hacker cultureUsing oss at an internet company and hacker culture
Using oss at an internet company and hacker culture
 
Digital transformation; or how I learnt to stop worrying and love the bots!
Digital transformation; or how I learnt to stop worrying and love the bots!Digital transformation; or how I learnt to stop worrying and love the bots!
Digital transformation; or how I learnt to stop worrying and love the bots!
 
PyData Texas 2015 Keynote
PyData Texas 2015 KeynotePyData Texas 2015 Keynote
PyData Texas 2015 Keynote
 
Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...
Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...
Webinar - Connecting Workforce and Business Initiatives with Lifelong Learnin...
 
Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...
Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...
Baby.com.br: Analisando, adaptando e melhorando a arquitetura da informação e...
 
Arquitetura de Informação em um E-commerce - Eduardo Shiota
Arquitetura de Informação em um E-commerce - Eduardo ShiotaArquitetura de Informação em um E-commerce - Eduardo Shiota
Arquitetura de Informação em um E-commerce - Eduardo Shiota
 
Rfc.key
Rfc.keyRfc.key
Rfc.key
 
Maker Boot Camp
Maker Boot CampMaker Boot Camp
Maker Boot Camp
 
From TrainedMonkey to Google SoC mentor – How to become an OOo developer
From TrainedMonkey to Google SoC mentor – How to become an OOo developerFrom TrainedMonkey to Google SoC mentor – How to become an OOo developer
From TrainedMonkey to Google SoC mentor – How to become an OOo developer
 
I Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API ProgramI Love APIs 2015: How to Grow and Measure your API Program
I Love APIs 2015: How to Grow and Measure your API Program
 
How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015How to Grow and Measure Your API Program - I ♥ APIs 2015
How to Grow and Measure Your API Program - I ♥ APIs 2015
 
Ux design 101 crb 2
Ux design 101 crb 2Ux design 101 crb 2
Ux design 101 crb 2
 
Distributed: Reinventing the Workplace
Distributed: Reinventing the WorkplaceDistributed: Reinventing the Workplace
Distributed: Reinventing the Workplace
 

Recently uploaded

Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationZilliz
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka DoktorováCzechDreamin
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxJennifer Lim
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeCzechDreamin
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 

Recently uploaded (20)

Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 

How I Cloned Myself Using AI - Next Gen Social Engineering

  • 1. H o w I c l o n e m y s e l f u s i n g A I Tamaghna Basu, Co-Founder/CTO, neoEYED Inc.
  • 2. About Me • CTO/Co-Founder, neoEYED Inc. with 15+ years of experience • Startup Advisors, Mentor for Stanford cyber security course • Cyber Security, Machine Learning, Python, java, .net, ruby etc. in domains like Finance, Insurance, Casino Gaming, eComm etc. • Frequent speaker/trainer in international conferences like NULLCON, C0C0N, OWASP, ISACA, ISC2 etc. • Member of NULL, DSCI and other communities.
  • 3.
  • 4. Agenda Background/Inspiration Demo – Text, Audio/Video Architecture: What’s happening behind the scene Code release – Notebook, Repository etc. What’s next – other approaches, future enhancements Our vision, invitation to contribute, support, learn References and Credits
  • 8.
  • 10.
  • 15. 1. Flow Summary The Voice The FaceThe Brain Text Chat Engine (TCE) Audio Synthesis Engine (ASE) Video Synthesis Engine (VSE)
  • 17. 2. Text Chatbot Engine (TCE) Predicted Answer My Conversations Seq2Seq AI model Rule + Intent based model NMT AI ModelTRAIN Trained model InferenceEngine Getthebestanswer predictedbythemodels Chat Input https://google.github.io/seq2seq/ https://en.wikipedia.org/wiki/Neural_machine_translation https://chatbotsmagazine.com/bot-talks-intent-based-vs-flow-base-conversations-798788dc9cf6
  • 18. Categories of conversations • Chit-chat (CAT - I) • Historical (CAT – II) • “Can I come to your house today” • “Shall we meet tomorrow” • “Are you coming for the X meetup tomorrow” • Topical, factual, asking for specific information (CAT - III) • How is the weather today? • What is SQLi • Pure generative, philosophical, anything else aka free flow chat (CAT – IV) • What is love • What is the purpose of life etc.
  • 24. (CAT - IV) Role Response User Does money buy happiness? Bot Depends how much money you spend on it . User What is the best way to buy happiness ? Bot You just have to be a millionaire by your early 20s, then you can be happy . User This is so difficult ! Bot You have no idea how hard it is to be a millionaire and happy . There is a reason the rich have a lot of money
  • 26. Make your own Rick Sanchez (bot) with Transformers and DialoGPT fine-tuning https://towardsdatascience.com/make-your-own-rick-sanchez-bot-with-transformers-and-dialogpt-fine-tuning-f85e6d1f4e30
  • 28. 2. Audio Synthesis Engine (ASE) Voice Output My voice – around 500 samples of duration 5 – 15 seconds each (NEED MORE DATA) Tacotron 2 AI Model CYCLEGAN VOICE CONVERSION TRAIN Trained model InferenceEngine Getthebestvoice responsewithlesserror predictedbythemodels Text Input to be spoken https://ai.googleblog.com/2017/12/tacotron-2-generating-human-like-speech.html https://github.com/CorentinJ/Real-Time-Voice-Cloning Real Time Voice Cloning (US Accent) https://github.com/TaiChunYen/Pytorch-CycleGAN-VC2
  • 29. Voice Demo - CycleGAN Original Generated CycleGAN
  • 32. 3. Video Synthesis Engine (VSE) Victim’s Video My Video TRAIN Trained model InferenceEngine Getthebestvideo predictedbythemodels LipGAN Audio-driven- TalkingFace- HeadPose Talking video Silent video https://github.com/Rudrabha/LipGAN https://github.com/yiranran/Audio-driven-TalkingFace-HeadPose
  • 33.
  • 34. Video Demo – talking face
  • 35. Video Demo – LipGAN
  • 36. 4. Cloning Engine The Voice The FaceThe Brain Text Chat Engine (TCE) Audio Synthesis Engine (ASE) Video Synthesis Engine (VSE)
  • 37. 5. Entire Pipeline (In Action) Cloning Engine
  • 40. Do you want to try yourself? https://github.com/titanlambda/identity-cloning-toolkit-ICT
  • 41. Road Ahead • Add expressions to voice and video using sentiment analysis of the questions asked and the answers generated by the AI • Use VoIP phone number to make fake calls to victim’s friend and do social engineering • Bypass voice recognition and voice-based OTP using the Voice Engine • Bypass facial recognition and live detection techniques like visual OTP, lip reading etc. using Video Engine
  • 42. Vision: create futuristic technologies • Behavioral Analysis • Conversational AI • Bot detections and other kind of preventive frameworks Looking for angels to support us to build futuristic technologies
  • 43. References • People/community who helped • OWASP Seasides community members • Prashant KV – Founder OWASP Seasides Community • Alessio Mauro – Co-Founder, neoEYED • Madhu Akula – Cloud Native Security Specialist • Lavakumar Kuppan – Project Founder and Author of IronWASP. Security • Anurag Priyadarshi – Founder Scientist Technologies • Rudrabha Mukhopadhyay – Creator of LipGAN project • Other projects on the similar line • https://lionbridge.ai/articles/how-to-use-deep-learning-to-clone-yourself-as-a-chatbot-replika-review/ • https://www.reddit.com/r/artificial/comments/cqn1ho/how_to_use_deep_learning_to_clone_yourself_as_a/ • https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like-Me
  • 44. References • https://chatbotslife.com/5-ways-to-add-empathy-to-a-digital-service- 952e46cc3c6c • https://chatbotslife.com/how-to-teach-your-chatbot-with-training-data- 46c58b873c31 • https://chatbotslife.com/https-medium-com-hellohaptik-how-does-a-chatbot- learn-on-its-own-e4e97ba946de • https://chatbotslife.com/blender-vs-rasa-open-source-chatbots-efae383b9d33 • https://github.com/facebookresearch/ParlAI • https://www.michaelnolting.com/cheating-my-wife-or-how-i-trained-a-chatbot- to-be-me/ • https://towardsdatascience.com/recreating-myself-from-whatsapp-chats- 6dadfaff0d2b • https://www.quora.com/Is-it-possible-to-build-a-chatbot-that-talks-like-me • https://medium.com/the-mission/youll-need-to-clone-yourself-sooner-than- you-think-6924262d6708 • https://github.com/icoxfog417/awesome-text-summarization • https://github.com/dipanjanS/text-analytics-with-python • https://github.com/Apress/text-analytics-w-python-2e • https://github.com/Apress/text-analytics-w-python/tree/master/9781484223871 • https://lionbridge.ai/articles/how-to-use-deep-learning-to-clone-yourself-as-a- chatbot-replika-review/ • https://medium.com/huggingface/how-to-build-a-state-of-the-art- conversational-ai-with-transfer-learning-2d818ac26313 • https://convai.huggingface.co/persona/i-read-twenty-books-a-year-i-m-a-stunt- double-as-my-second-job-i-never-broke-a-bone-in-my-body-ever-in-my-life-i- was-raised-in-a-single-parent-household • https://mbejda.github.io/ • https://www.kaggle.com/chaitanyapatil7/indian-names/data?select=Indian- Female-Names.csv • https://github.com/Belval/TextRecognitionDataGenerator • https://github.com/geek-ai/Texygen/ • https://github.com/sagarmk/LSTM-text-generation • https://github.com/minimaxir/textgenrnn • https://github.com/iktina/neural-text-generation • https://towardsdatascience.com/recreating-myself-from-whatsapp-chats-6dadfaff0d2b • https://www.youtube.com/watch?v=xvqsFTUsOmc • https://github.com/PoorvaRane/Emotion-Detector/blob/master/Emotion_Detector.ipynb • https://chatbotsmagazine.com/how-to-make-your-chatbot-more-human-like-efd681746879 • https://lionbridge.ai/datasets/the-best-25-datasets-for-natural-language-processing/ • https://empythy.readthedocs.io/en/latest/ • https://medium.com/@onix_systems/how-to-design-a-chatbot-creating-a-conversational- interface-d3cb87507936 • https://chatbotslife.com/how-to-build-a-conversational-chatbot-and-avoid-if-else- statements-37b48ad11eae • https://github.com/jddunn/emoter • https://chatbotsmagazine.com/how-to-make-a-digital-personality-of-yourself-using- chatbots-facebook-and-empathy-8b0c53afa9bd • https://www.quora.com/Is-it-possible-to-build-a-chatbot-that-talks-like-me • https://adeshpande3.github.io/How-I-Used-Deep-Learning-to-Train-a-Chatbot-to-Talk-Like- Me • https://devblogs.microsoft.com/cse/2015/11/29/emotion-detection-and-recognition-from- text-using-deep-learning/ • https://www.toptal.com/machine-learning/google-nlp-tutorial • https://github.com/topics/sarcasm-detection • Https://www.analyticsvidhya.com/blog/2020/01/3-important-nlp-libraries-indian-languages- python • https://arxiv.org/abs/2001.09977 • https://github.com/KeaganStokoe/WhatsApp-Text-Analysis • https://www.ijert.org/research/sentiment-analysis-of-chat-application-IJERTV3IS080414.pdf • https://cran.r- project.org/web/packages/rwhatsapp/vignettes/Text_Analysis_using_WhatsApp_data.html • https://medium.com/analytics-vidhya/whatsapp-chat-analysis-using-python-88123e63c8ae • https://play.google.com/store/apps/details?id=com.julkrebs98.whatstats&hl=en • https://neo4j.com/blog/a-conversation-with-graphs/ • https://stackoverflow.com/questions/41181728/best-way-to-store-chat-messages-graph- database-neo4j • https://official-joke-api.appspot.com/jokes/random • https://github.com/15Dkatz/official_joke_api • https://github.com/srichakradhar/Rasa-Joke-Bot • https://medium.com/the-research-nest/building-yuki-a-level-3-conversational-ai-using-rasa- 1-0-and-python-493e163c7911 • https://medium.com/twyla-ai/how-to-make-em-laugh-chatbot-style-20-jokes-for-your-bot- 4e767f9b57b7 • https://uxplanet.org/having-a-laugh-humor-and-chatbot-user-experience-e6b7636a454d • https://medium.com/ruuh-ai/how-to-hook-audience-to-your-bot-with-humourous-a-i- a1925e451b4d • Https://github.com/bfelbo/DeepMoji • https://github.com/maelfabien/Multimodal-Emotion-Recognition • https://medium.com/the-research-nest/applied-machine-learning-part-3-3fd405842a18 • https://github.com/aditya-xq/Text-Emotion-Detection-Using-NLP • https://github.com/SenticNet/personality-detection • https://towardsdatascience.com/a-practitioners-guide- to-natural-language-processing-part- i-processing-understanding-text-9f4abfd13e72 • https://www.nltk.org/book/ch01.html • https://github.com/ChenChengKuan/awesome-text-generation
  • 45. • Application Security Testing • Advanced Threat Modeling and Profiling • Security Automation and Visualization Trainings tamaghna.basu@gmail.com