SlideShare a Scribd company logo
1 of 45
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
 
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
 
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
 
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
 
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
 
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
 
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...
 
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
 
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...
 
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
 
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
 
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
 
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

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 

Recently uploaded (20)

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 

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