SlideShare a Scribd company logo
1 of 19
Download to read offline
Witness Angel Initiative
PYCONFR 2019
Unsatisfying Society Invariants
●
Lies (often) overpower Truth
●
« It's your word against theirs »™
●
France:
– 2% of 75k yearly rapes obtain justice
– 20% of female employees were sexually harassed
– 30% of all employees were morally harassed
– Rise of #METOO & other Twitter Justices
●
Memories are incomplete, biased, alterable
"Solutions" bringing problems
●
Blind trust in forensic technicians
– See 1141 victims of Dookhan Scandal
●
Cameras, trackers & spies everywhere
– Watch live on www.insecam.org
●
Conflict: Privacy vs Security
– Weird results
●
Opacity for governments and global corporations
●
Transparency for harmless citizens
An appeal for subsidiarity
●
Smartphone recordings
●
Car dashcams (popular in Russia)
●
Body worn video (police, firefighters)
All still dangerous and one-sided
Beyond dilemmas
●
What do we really want?
– WRITE-ONLY recordings
●
How do we do it?
– Asymmetric cryptography & Trusted third-parties
●
When do we want it ?
– ASAP
New roles
●
Key Guardians
– Global, diverse & independant entities
– Provide unique padlocks for data containers
– Certify and timestamp the containers (blind signatures)
●
Witness Angel Devices
– Record data (gps, audio, video, heartbeats...)
– Encrypt data into write-only containers
●
Revelation Stations (at the tribunal)
– Query all parties for authorizations
– Decrypt only the officially requested chunk of data
RPG-Style Overview
Player’s Familiar
Neutral Divinities
So much work...
●
Technical:
– Cryptographic utilities everywhere
– Webservices and data storage
– Mobile apps with sensors/recorders
– Revelation station
– Container management and verification software (later)
●
Non-technical:
– Legal evolutions to regulate the system
– Partnerships with enterprises and associations
– Public awareness regarding "write-only" concept
... and so little workforce
●
Do not reinvent the wheel
●
Be robust as heck
●
Be cross-platform from the start
●
Explore and make Proofs of Concept
I choose you... PYTHON
●
Not a "by default" choice
●
Good interoperability
– With operating systems
– With other langages
●
Good for webservices
●
Good for cryptography
●
Good for… smartphones?
WA-Cryptolib
●
Pycryptodome has it (almost) all
– Symmetric ciphers: AES & Chacha20
– Asymmetric ciphers: RSA
– PSS & DSS signatures
– Shamir’s shared secrets (yummy!)
●
Compiled C/C++ extensions: FAST
●
We only need thin wrappers, to check
permissions and enforce high security settings
WA-Escrow (trusted third-party)
●
No time for SOAP/REST : Json-RPC all the way
– Use django-json-rpc bridge
– See « Rest is the new Soap » on the Web
●
No time for custom serialization of bytes, dates etc.
– PyMongo's Extended Json
●
No time for 0xab179e101 errors
– Error Slugs ("error->functional->unknown_uuid")
●
No time for handmade storage
– SQL tables with django-cryptography fields
WA-Client (mobile app)
●
Here begins the fun (and hazard)
●
No money for a custom smartwatch (yet)
●
What our prototype needs
– Native app on Android (but portable to iOS someday)
– Full access to sensors/media/web
– Compatible with C/C++ extensions
– Runnable as a background service
– Launchable at boot (someday)
– With a nice GUI to manage it
Meet Kivy
Kivy features
●
Cross-platform
– Windows/Linux/Mac/iOS/Android...
●
Widgets based on OpenGL (3D-enabled)
●
Access to native APIs
– Via Pyjnius (for Android) and Pyobjus (for iOS)
●
Access to C/C++ extensions
– Via Android NDK and iOS Objective-C
Kivy Limits & Challenges
●
Build complexity: ...acceptable
●
App size & launch time: OK
●
Accessibility: None for now
– Trick: use Gevent to mix tests and event loop in main thread
●
Call recording: Restricted by OS
●
Background sensors: ?
●
Performance & battery drain: ?
Some screenshots...
Thanks for your attention!
●
Any questions?
●
Feedbacks/advices/contributions are welcome
https://github.com/WitnessAngel/
●
More information in website and initial essay:
https://witness-angel.prolifik.net/
https://medium.com/@pakaldebonchamp/the-witness-angel-concept-17c5a5f70e5b

More Related Content

Similar to Witness Angel Initiative (PyConFr 2019)

Cybersecurity Awareness Training Presentation v1.2
Cybersecurity Awareness Training Presentation v1.2Cybersecurity Awareness Training Presentation v1.2
Cybersecurity Awareness Training Presentation v1.2
DallasHaselhorst
 
ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...
ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...
ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...
Santhosh Tuppad
 
How you can become a hacker with no security experience
How you can become a hacker with no security experienceHow you can become a hacker with no security experience
How you can become a hacker with no security experience
Avădănei Andrei
 
Cybersecurity Awareness Training Presentation v1.1
Cybersecurity Awareness Training Presentation v1.1Cybersecurity Awareness Training Presentation v1.1
Cybersecurity Awareness Training Presentation v1.1
DallasHaselhorst
 
Negative Unemployment and Great Job Satisfaction? Why infosec is AWESEOME
Negative Unemployment and Great Job Satisfaction? Why infosec is AWESEOMENegative Unemployment and Great Job Satisfaction? Why infosec is AWESEOME
Negative Unemployment and Great Job Satisfaction? Why infosec is AWESEOME
jeffmcjunkin
 

Similar to Witness Angel Initiative (PyConFr 2019) (20)

IOTA Presentation - BlockchainHub Graz Meetup #5
IOTA Presentation - BlockchainHub Graz Meetup #5 IOTA Presentation - BlockchainHub Graz Meetup #5
IOTA Presentation - BlockchainHub Graz Meetup #5
 
Байки із пожежного депо або як працює Big Data в Sigma Software, Денис Пишьєв,
Байки із пожежного депо або як працює Big Data в Sigma Software, Денис Пишьєв,Байки із пожежного депо або як працює Big Data в Sigma Software, Денис Пишьєв,
Байки із пожежного депо або як працює Big Data в Sigma Software, Денис Пишьєв,
 
Cybersecurity Awareness Training Presentation v1.2
Cybersecurity Awareness Training Presentation v1.2Cybersecurity Awareness Training Presentation v1.2
Cybersecurity Awareness Training Presentation v1.2
 
Hyper Island - 2012
Hyper Island - 2012Hyper Island - 2012
Hyper Island - 2012
 
ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...
ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...
ExpoQA 2018 - Why software security has gotten worse? And what can we do abou...
 
Blockaudit Presentation
Blockaudit PresentationBlockaudit Presentation
Blockaudit Presentation
 
HotPets2022_PrivacyPreserving.pptx
HotPets2022_PrivacyPreserving.pptxHotPets2022_PrivacyPreserving.pptx
HotPets2022_PrivacyPreserving.pptx
 
Dec2018 istanbul-2
Dec2018 istanbul-2Dec2018 istanbul-2
Dec2018 istanbul-2
 
How you can become a hacker with no security experience
How you can become a hacker with no security experienceHow you can become a hacker with no security experience
How you can become a hacker with no security experience
 
Cybersecurity Awareness Training Presentation v1.0
Cybersecurity Awareness Training Presentation v1.0Cybersecurity Awareness Training Presentation v1.0
Cybersecurity Awareness Training Presentation v1.0
 
Security for Data Scientists
Security for Data ScientistsSecurity for Data Scientists
Security for Data Scientists
 
Cybersecurity Awareness Training Presentation v1.1
Cybersecurity Awareness Training Presentation v1.1Cybersecurity Awareness Training Presentation v1.1
Cybersecurity Awareness Training Presentation v1.1
 
Buenos Aires - CEMLA/G20 FinTech Experts
Buenos Aires - CEMLA/G20 FinTech ExpertsBuenos Aires - CEMLA/G20 FinTech Experts
Buenos Aires - CEMLA/G20 FinTech Experts
 
BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.
 
Introducing IoT Crusher (Open Source Version)
Introducing IoT Crusher (Open Source Version)Introducing IoT Crusher (Open Source Version)
Introducing IoT Crusher (Open Source Version)
 
Smart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized PlatformSmart Contract: QA Role for Decentralized Platform
Smart Contract: QA Role for Decentralized Platform
 
Algorithmic and technological transparency
Algorithmic and technological transparencyAlgorithmic and technological transparency
Algorithmic and technological transparency
 
IoT: Entering an Era of Perfect Information
IoT: Entering an Era of Perfect InformationIoT: Entering an Era of Perfect Information
IoT: Entering an Era of Perfect Information
 
Negative Unemployment and Great Job Satisfaction? Why infosec is AWESEOME
Negative Unemployment and Great Job Satisfaction? Why infosec is AWESEOMENegative Unemployment and Great Job Satisfaction? Why infosec is AWESEOME
Negative Unemployment and Great Job Satisfaction? Why infosec is AWESEOME
 
Perfect Information - How IoT empowers you to know anything, anytime, anywhere
Perfect Information - How IoT empowers you to know anything, anytime, anywherePerfect Information - How IoT empowers you to know anything, anytime, anywhere
Perfect Information - How IoT empowers you to know anything, anytime, anywhere
 

Recently uploaded

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
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Witness Angel Initiative (PyConFr 2019)

  • 2. Unsatisfying Society Invariants ● Lies (often) overpower Truth ● « It's your word against theirs »™ ● France: – 2% of 75k yearly rapes obtain justice – 20% of female employees were sexually harassed – 30% of all employees were morally harassed – Rise of #METOO & other Twitter Justices ● Memories are incomplete, biased, alterable
  • 3.
  • 4. "Solutions" bringing problems ● Blind trust in forensic technicians – See 1141 victims of Dookhan Scandal ● Cameras, trackers & spies everywhere – Watch live on www.insecam.org ● Conflict: Privacy vs Security – Weird results ● Opacity for governments and global corporations ● Transparency for harmless citizens
  • 5. An appeal for subsidiarity ● Smartphone recordings ● Car dashcams (popular in Russia) ● Body worn video (police, firefighters) All still dangerous and one-sided
  • 6. Beyond dilemmas ● What do we really want? – WRITE-ONLY recordings ● How do we do it? – Asymmetric cryptography & Trusted third-parties ● When do we want it ? – ASAP
  • 7. New roles ● Key Guardians – Global, diverse & independant entities – Provide unique padlocks for data containers – Certify and timestamp the containers (blind signatures) ● Witness Angel Devices – Record data (gps, audio, video, heartbeats...) – Encrypt data into write-only containers ● Revelation Stations (at the tribunal) – Query all parties for authorizations – Decrypt only the officially requested chunk of data
  • 9. So much work... ● Technical: – Cryptographic utilities everywhere – Webservices and data storage – Mobile apps with sensors/recorders – Revelation station – Container management and verification software (later) ● Non-technical: – Legal evolutions to regulate the system – Partnerships with enterprises and associations – Public awareness regarding "write-only" concept
  • 10. ... and so little workforce ● Do not reinvent the wheel ● Be robust as heck ● Be cross-platform from the start ● Explore and make Proofs of Concept
  • 11. I choose you... PYTHON ● Not a "by default" choice ● Good interoperability – With operating systems – With other langages ● Good for webservices ● Good for cryptography ● Good for… smartphones?
  • 12. WA-Cryptolib ● Pycryptodome has it (almost) all – Symmetric ciphers: AES & Chacha20 – Asymmetric ciphers: RSA – PSS & DSS signatures – Shamir’s shared secrets (yummy!) ● Compiled C/C++ extensions: FAST ● We only need thin wrappers, to check permissions and enforce high security settings
  • 13. WA-Escrow (trusted third-party) ● No time for SOAP/REST : Json-RPC all the way – Use django-json-rpc bridge – See « Rest is the new Soap » on the Web ● No time for custom serialization of bytes, dates etc. – PyMongo's Extended Json ● No time for 0xab179e101 errors – Error Slugs ("error->functional->unknown_uuid") ● No time for handmade storage – SQL tables with django-cryptography fields
  • 14. WA-Client (mobile app) ● Here begins the fun (and hazard) ● No money for a custom smartwatch (yet) ● What our prototype needs – Native app on Android (but portable to iOS someday) – Full access to sensors/media/web – Compatible with C/C++ extensions – Runnable as a background service – Launchable at boot (someday) – With a nice GUI to manage it
  • 16. Kivy features ● Cross-platform – Windows/Linux/Mac/iOS/Android... ● Widgets based on OpenGL (3D-enabled) ● Access to native APIs – Via Pyjnius (for Android) and Pyobjus (for iOS) ● Access to C/C++ extensions – Via Android NDK and iOS Objective-C
  • 17. Kivy Limits & Challenges ● Build complexity: ...acceptable ● App size & launch time: OK ● Accessibility: None for now – Trick: use Gevent to mix tests and event loop in main thread ● Call recording: Restricted by OS ● Background sensors: ? ● Performance & battery drain: ?
  • 19. Thanks for your attention! ● Any questions? ● Feedbacks/advices/contributions are welcome https://github.com/WitnessAngel/ ● More information in website and initial essay: https://witness-angel.prolifik.net/ https://medium.com/@pakaldebonchamp/the-witness-angel-concept-17c5a5f70e5b