SlideShare ist ein Scribd-Unternehmen logo
1 von 139
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Brain Waves Surfing: (In)security in
EEG (Electroencephalography)
Technologies
Alejandro HernĂĄndez (@nitr0usmx)
Senior Consultant
IOActive, Inc. Copyright Š2015. All Rights Reserved.
About me
• Senior Security Consultant at IOActive
• Fuzzing & programming enthusiast
• Computer systems engineer (not neuroscientist)
• Passionate about security (~12 years now)
• From Chiapas, Mexico
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Agenda
• Why this talk?
• Neuroscience 101
• EEG / Brain Waves
• (In)security aspects
– Design
– Encryption
– Authentication
– Resilience
– The "Tower of Babel" of EEG file formats
– Misc
• Regulatory compliance / best practices for digital EEG
• Conclusion / further research
IOActive, Inc. Copyright Š2015. All Rights Reserved.
This is NOT an invasive-BCI talk to
become Johnny Mnemonic
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Why this talk?
• Nowadays we mostly care about
– Computer/Network/Information security
– Mobile security
– ICS/SCADA security
– Car security
– IoT security
– What about our biosignals?
• Any signal generated by our bodies
• EKG, EMG, MMG, MEG, EOG
• EEG (brain signals)
– Acquisition, storage, processing and
transmission
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Why this talk?
• EEG tech is being adopted more and more
• Brain stuff is cool, specially in
– Cyberpunk movies
– Sci-Fi literature
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
• Cerebral cortex
– The outer layer
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
• Lobes
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
• Neurons
– Electrically excitable cells
– Processes and transmits information through
chemical and electrical signals
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
• Synapse
– The pass of chemical or electrical signal to another cell
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
The Effects of Drugs and Disease on Synaptic Transmission
http://outreach.mcb.harvard.edu/animations/synapse.swf
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
• Want more?
– Google hint: “human brain is so complex”
– http://www.med.harvard.edu/AANLIB/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Neuroscience 101
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Invasive vs Non-invasive
Schalk, Gerwin, Mellinger, Jürgen. (2010). A Practical Guide to Brain–
Computer Interfacing with BCI2000. General-Purpose Software for Brain-
Computer Interface Research, Data Acquisition, Stimulus Presentation,
and Brain Monitoring. 1st Edition. Springer-Verlag London.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Invasive vs Non-invasive
– Invasive
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Invasive vs Non-invasive
– Invasive
• E.g. BrainGate
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Invasive vs Non-invasive
– Non-invasive: EEG is the most used non-invasive
method
• EEG (Electroencephalography)
– Electrodes on the scalp
• Not MRI (Magnetic Resonance Imaging)
• Not TMS (Transcranial Magnetic Stimulation)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• What is EEG?
– “Representation over time of the voltage generated by
electrodes recorded at different regions of the brain.
The EEG is produced by synaptic activity of cortical
neurons.”
Krauss, G., Fisher, R., Kaplan, P. (September 1st, 2011). The Johns Hopkins
Atlas of Digital EEG: An Interactive Training Guide. 2nd Edition. Johns
Hopkins University Press.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• What is EEG?
– Ease of use non-invasive method to measure the brain
activity over time
– Susceptible to noise
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• What is EEG?
– “The current brain technologies are like trying to
listen to a conversation in a football stadium from a
blimp” -- John Donoghue
Disruptions: Brain Computer Interfaces Inch Closer to Mainstream
http://bits.blogs.nytimes.com/2013/04/28/disruptions-no-words-no-gestures-
just-your-brain-as-a-control-pad/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Brain waves / Frequencies
– EEG activity is quite small, measured in microvolts
(ÂľV) with the main frequencies of interest up to
approximately 30 Hertz (Hz).
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Electrodes / Montages
– 10-20 System (Internationally recognized method)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Electrodes / Montages
– 10-20 System (Internationally recognized method)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• ADC (Analog to Digital conversion)
– Brain Waves = Analog Signals
– Digital EEG = Digital Signals
• Filters and amplifiers in between
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Sampling
Gotman, J. Digital EEG - From Basics to Advanced Analysis.
Montreal Neurological Institute. McGill University.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Patterns / Artifacts
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Patterns / Artifacts
– E.g. Stages of sleep
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Patterns / Artifacts
– Artifacts: EEG recording events not due brain activity
• Eye movement / fluttering
• Blinking
• Sweating
• Muscle movements
• Electrode shake
• Etc. etc. etc.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Patterns / Artifacts
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Acquisition
– Commercial
• Clinical use
– Expensive hardware
(thousands of USD)
• Cheap hardware
– NeuroSky MindWave
– EMOTIV EPOC
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Acquisition
– Non-commercial
• OpenEEG
• OpenBCI
• Many open
source software
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Acquisition
– Demo: Visualization of brain waves with
NeuroSky MindWave
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– The importance of security
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Clinical
• “The EEG is perhaps most useful in the diagnosis and
classification of seizure disorders… EEGs can be
focally abnormal even in the absence of visible change on
an MRI… Sleep disorders include narcolepsy, sleep
apnea, various parasomnias, and several other
conditions. Narcolepsy can be diagnosed by a
combination of clinical history and EEG showing rapid
descent into rapid eye movement (REM) sleep.”
Krauss, G., Fisher, R., Kaplan, P. (September 1st, 2011). The Johns Hopkins
Atlas of Digital EEG: An Interactive Training Guide. 2nd Edition. Johns
Hopkins University Press.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Clinical
• Demo: EEG recording synchronized with video of a
patient suffering a seizure
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
• Clinical research
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3900211/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
http://tbme.embs.org/2014/07/27/closed-loop-brain-computer-interface-triggering-active-ankle-foot-
orthosis-inducing-cortical-neural-plasticity/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
http://learn.parallax.com/inspiration/arduino-prosthesis-using-neurosky-mindwave
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
• B2B - Brain-to-Brain Interface
http://www.kurzweilai.net/first-human-brain-to-brain-interface
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
• B2B - Brain-to-Brain Interface
http://www.kurzweilai.net/first-human-brain-to-brain-interface
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
• Babylab Research Centre
http://www.wired.co.uk/magazine/archive/2013/03/start/this-little-piggy-went-to-the-lab
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
• Controlling stuff
with mind waves
http://www.forbes.com/sites/leoking/2015/02/25/mind-controlled-drone-scientists-work-on-groundbreaking-flight/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Research
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Security
• Biometric
WHAT COULD
POSSIBLY GO
WRONG ?!
http://mashable.com/2013/04/09/passwords-thoughts/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Security
http://amestrib.com/news/researchers-studying-brain-activity-determine-cybersecurity-threats
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Military
http://defensetech.org/2015/08/07/translating-
soldier-thoughts-to-computer-commands/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Military
http://www.executivegov.com/2015/05/jean-vettel-army-research-lab-technology-seeks-to-detect-
battlefield-threats-via-brain-waves/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Neurofeedback
• MUSE headband for relaxation
http://www.choosemuse.com
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Neurofeedback + Art
• Environmental Disturbances by Anni Garza Lau
http://annigarzalau.com/anni-garza-lau--environmental-disturbances.html
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Art
• Music created with Brainwaves
http://thecreatorsproject.vice.com/blog/eunoia-seeking-enlightenment-by-tracking-brainwaves
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
http://www.tampabay.com/news/courts/brain-scan-delays-
sentencing-hearing-for-convicted-murderer-in-brooksville/2233777
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
• NeuroGaming
http://www.neurogamingconf.com
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
• NeuroMarketing
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
http://www.livescience.com/50092-brain-waves-movie-
success.html
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
• Neurowear
http://www.neurowear.com
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
http://neurogadget.com/2015/02/14/eeg-dating-matches-people-based-brainwave-data
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– Others
http://spectrum.ieee.org/tech-talk/biomedical/imaging/neuroscience-gets-radical-how-to-study-surfers-brain-waves
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– The Cloud
• Neuroelectrics’ NUBE
IOActive, Inc. Copyright Š2015. All Rights Reserved.
EEG / Brain Waves
• Uses EEG
– The Cloud
• Neuromore
http://www.neuromore.com
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Attack scenarios
– Reply attacks with saved EEG data to
• Control things
– Drones
– Prosthesis
– Etc.
• Bypass authentication
– Unauthorized update of EEG data from a criminal patient in
a hospital network
– Trade of EEG data for behavior analysis in neuromarketing
– Client-side attacks on doctors/physicians’ computers with
malicious EEG (meta)data
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Design
– Some of them include security
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Design
– Some of them include security
• Neuromore
– E.g Biodata to the cloud
through a SSL channel
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Design
– However, no security keywords
• 'secur', 'crypt', 'auth', 'passw‘, etc.
• In 90% of the reviewed
– Manuals
– Technical specs
– Brochures
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
WHAT COULD
POSSIBLY GO
WRONG ?!
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
– Google dorks:
Âť +<product_name> +tcp +port
Âť neuro acquisition +tcp +port
Âť +eeg +tcp
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Brain waves on the wire: Digital streaming over TCP/IP
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: Neuroelectrics NIC
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: Neuroelectrics NIC
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: Neuroelectrics NIC
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: LabStreamingLayer
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: LabStreamingLayer
https://github.com/sccn/labstreaminglayer/wiki/
SupportedDevices.wiki
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: LabStreamingLayer
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Case: LabStreamingLayer
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Demo: Sniffing raw brain signals through a MITM
attack between the acquisition device (NeuroSky
MindWave) and a remote NeuroServer
– NeuroServer: EEG signal transceiver using TCP/IP
and EDF format
– Old and unmaintained
– Still in use
– Included in BrainBay
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Demo: Sniffing raw brain signals through a MITM
attack between the acquisition device (NeuroSky
MindWave) and a remote NeuroServer
EEG Server
192.168.241.149
(@daria)
Acquisition device
192.168.241.1
(NeuroSky MindWave
@win7)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Demo: Sniffing raw brain signals through a MITM
attack between the acquisition device (NeuroSky
MindWave) and a remote NeuroServer
EEG Server
192.168.241.149
(@daria)
Acquisition device
192.168.241.1
(NeuroSky MindWave
@win7)
Attacker
192.168.241.60
(@exiled)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Transit
• Demo: Sniffing raw brain signals through a MITM
attack between the acquisition device (NeuroSky
MindWave) and a remote NeuroServer
EEG Server
192.168.241.149
(@daria)
Acquisition device
192.168.241.1
(NeuroSky MindWave
@win7)
Attacker
192.168.241.60
(@exiled)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Rest
• File formats, as common
files, no encryption
• What about the cloud?
How are they protecting
your brain waves?
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Rest
• SHODAN + NetBIOS shares
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Encryption
– In Rest
• SHODAN + NetBIOS shares
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Authentication
– The process of determining whether someone or
something is who or what it is declared to be
– Auth mechanism needed before
• Read/Update an EEG stream/record
• Start/Stop EEG
– Auth mechanism between the acquisition device,
EEG middleware and the endpoints
• E.g.:
EEG device <-> EGG Server
<-> Drone/Prosthesis/Etc.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Authentication
– Case: Neuroelectrics NIC
– Same issue described previously (no auth to receive EEG data)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Authentication
– Demo: Patient's name is changed in a MITM attack
before it reaches NeuroServer
• NeuroServer: EEG signal transceiver using TCP/IP and
EDF format
• Old and unmaintained
• Still in use
• Included in BrainBay
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Authentication
– Demo: Patient's name is changed in a MITM attack
before it reaches NeuroServer
EEG Server
192.168.241.149
(@daria)
Acquisition device
192.168.241.1
(NeuroSky MindWave
@win7)
Alejandro Hernandez
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Authentication
– Demo: Patient's name is changed in a MITM attack
before it reaches NeuroServer
EEG Server
192.168.241.149
(@daria)
Acquisition device
192.168.241.1
(NeuroSky MindWave
@win7)
Attacker
192.168.241.60
(@exiled)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Ability to support or recover from adversity
(Denial of Service attacks)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– 90’s techniques still killing 21st century tech
#define NCONNS 10000
for(k = 0; k < NCONNS; k++){
sock = socket();
connect();
send(“foon”);
sleep();
}
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Some EEG (TCP) servers
• SPoF
EEG Server
Clients
crash
Acquisition device
192.168.241.1
(NeuroSky MindWave
@win7)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Demo: OpenViBE Acquisition Server Remote DoS
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Demo: Neuroelectrics NIC TCP Server Remote DoS
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Demo: NeuroServer Daemon Multiple Remote DoS
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Demo: NeuroServer Daemon Multiple Remote DoS
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Demo: NeuroServer Daemon Multiple Remote DoS
#define MAXCLIENTS 16
...
struct Client clients[MAXCLIENTS];
...
int makeNewClient(sock_t fd) {
int myIndex = clientCount;
clientCount += 1;
memset(&clients[myIndex], 0, sizeof(clients[0]));
clients[myIndex].fd = fd;
clients[myIndex].role = Unknown;
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Resilience
– Demo: NeuroServer Daemon Multiple Remote DoS
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– File Formats
• “A major difficulty with current commercial EEG systems is that
they use proprietary file formats, which require dedicated
reader systems.”
• “In some instances, different generation of a single vendor’s
system generate incompatible file formats”
• “Some vendors of EEG systems do provide an option to save
EEG data in a standard format such as the European Data
Format (EDF) for biosignals… In addition, some vendors do not
strictly adhere to the EDF specification, causing problems for
some EDF reader programs.”
Krauss, G., Fisher, R., Kaplan, P. (September 1st, 2011). The Johns Hopkins
Atlas of Digital EEG: An Interactive Training Guide. 2nd Edition. Johns
Hopkins University Press.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– File Formats
• Many old specifications and implementations
– EDF: 1992
– EDF+: 2003
• Many new specs and formats, though
• Biomedical signals (time series)
– https://en.wikipedia.org/wiki/List_of_file_formats#Biomedical_signals_.28time_series.29
• List of Scientific Data Formats
– http://pub.ist.ac.at/~schloegl/matlab/eeg/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– File Formats
• Matrix of formats supported in different
software / hardware
– Took me weeeeeks…
Âť Brochures
Âť Manuals
Âť Specs
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– File Formats
• Examples
– Neuroscan
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– File Formats
• Examples
– EDF
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Parsing
• Parsing is parsing !
– Bytes in data structures
• As any other file format
– PDF, JPG, GIF, PE, ELF, etc. etc.
• EEG data and its metadata
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Parsing
• Memory corruption / Buffer overflows
• Boundary checking problems (e.g. indexes in arrays)
• Loops copying data more times than expected
• Invalid memory derefs
• Arithmetic calculations
• Unexplored file formats
– A new terrain to play
• Attack surface reduced
– Specialized formats, not mainstream
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Parsing
• (Perhaps) developers with different backgrounds
– Not fully aware of (in)secure programming
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• (In)secure programming
$ egrep -nr "strcpy|sprintf" ~/labstreaminglayer/LSL/ | wc -l
63
$ egrep -nr "memcpy|memset|bzero" ~/labstreaminglayer/LSL/ | wc -l
519
$ egrep -nr "strcpy|sprintf" ~/biosig4c++-1.6.4/ | wc -l
361
$ egrep -nr "memcpy|memset|bzero" ~/biosig4c++-1.6.4/ | wc -l
254
$ egrep -nr "strcpy|sprintf" ~/NeuroServer-0.7.4/src/ | wc -l
47
$ egrep -nr "memcpy|memset|bzero" ~/NeuroServer-0.7.4/src/ | wc -l
20
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• (In)secure programming
$ flawfinder --quiet --minlevel=3 --falsepositive ~/labstreaminglayer/LSL/
...
ANALYSIS SUMMARY:
Hits = 329
Lines analyzed = 1115455 in approximately 47.91 seconds (23281
lines/second)
Physical Source Lines of Code (SLOC) = 958265
Hits@level = [0] 0 [1] 0 [2] 0 [3] 306 [4] 20 [5] 3
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• (In)secure programming
$ flawfinder --quiet --minlevel=3 --falsepositive ~/biosig4c++-1.6.4/
...
ANALYSIS SUMMARY:
Hits = 117
Lines analyzed = 95048 in approximately 3.63 seconds (26188 lines/second)
Physical Source Lines of Code (SLOC) = 71225
Hits@level = [0] 0 [1] 0 [2] 0 [3] 4 [4] 113 [5] 0
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• (In)secure programming
$ flawfinder --quiet --minlevel=3 --falsepositive ~/NeuroServer-0.7.4/src/
...
ANALYSIS SUMMARY:
Hits = 17
Lines analyzed = 2938 in approximately 0.08 seconds (35282 lines/second)
Physical Source Lines of Code (SLOC) = 2481
Hits@level = [0] 0 [1] 0 [2] 0 [3] 0 [4] 17 [5] 0
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• Fuzzing
– Only the EDF format was approached
Âť Most supported amongst EEG software/hardware
– Trivial fuzzing
Âť mangle.c
by Ilja van Sprundel
Âť Microsoft MiniFuzz
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• Fuzzing
– Sample EDF
recordings
Âť My own
brain waves
in EDF
Âť PhysioNet
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• Demos: Flaws discovered in well-known EEG analysis
software
– Unhandled exceptions / Seg faults
– Potential memory corruption bugs
– Still in the bug discovery phase
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• The "Tower of Babel" of EEG File Formats
– Bug hunting
• Demos: Flaws discovered in well-known EEG analysis
software
– Persyst Advanced Review (Insight II)
– Natus Stellate Harmonie Viewer
– BrainBay
– SigViewer (uses libbiosig)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Misc
https://www.usenix.org/system/files/conference/usenixsecurity
12/sec12-final56.pdf
IOActive, Inc. Copyright Š2015. All Rights Reserved.
(In)security Aspects
• Misc
– “We use inexpensive electroencephalography (EEG)
based BCI devices to test the feasibility of simple, yet
effective, attacks. The captured EEG signal could
reveal the user’s private information about, e.g.,
bank cards, PIN numbers, area of living, the
knowledge of the known persons. This is the
first attempt to study the security implications of
consumer grade BCI devices. We show that the
entropy of the private information is decreased
on the average by approximately 15 % - 40 %
compared to random guessing attacks.”
https://www.usenix.org/system/files/conference/usenixsecurity12/sec12-final56.pdf
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Regulatory Compliance / Best Practices for digital EEG
• Privacy
http://searchsecurity.techtarget.com/opinion/McGraw-asks-whos-in-charge-of-medical-device-security
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Regulatory Compliance / Best Practices for digital EEG
• Privacy
http://searchsecurity.techtarget.com/opinion/McGraw-asks-whos-in-charge-of-medical-device-security
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Regulatory Compliance / Best Practices for digital EEG
• Privacy
http://searchsecurity.techtarget.com/opinion/McGraw-asks-whos-in-charge-of-medical-device-security
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Regulatory Compliance / Best Practices for digital EEG
• Privacy
http://blogs.fda.gov/fdavoice/index.php/tag/collaborative-approaches-for-medical-device-and-healthcare-cybersecurity/
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Regulatory Compliance / Best Practices for digital EEG
• Guidelines by the ACNS (American Clinical Neurophysiology Society)
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Regulatory Compliance / Best Practices for digital EEG
• Guidelines by the ACNS (American Clinical Neurophysiology Society)
– (2008) Standard for Transferring Digital Neurophysiological Data
Between Independent Computer Systems
– (2006) Guideline 8: Guidelines for Recording Clinical EEG on
Digital Media
• Magnetic storage and CD-ROMs
– Clinical Practice Guideline 1: Recording and Analysis of
Spontaneous Cerebral Activity
• “Long-term storage should be of sufficient capacity to handle the
projected annual volume of data with appropriate information
security, backup, and data recovery.”
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Conclusion / Further Research
• We need more security "in mind" for brain signals
treatment
• Efforts in file format standardization
• More secure programming practices
• Create or update the guidelines / best practices
• A new terrain to play: Networking + parsing
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Conclusion / Further Research
• Test your medical devices and software
• Brain signals exposed on the Internet?
– Zmap scannings of ports used by known EEG
acquisition software / hardware (who is in? )
• By now, security could be improved by implementing
controls surrounding the EEG tech
– SSL tunnels
– Like in ICS/SCADA networks… Bio-signals firewalls /
IPSs with DPI in L7? In the near future perhaps?
IOActive, Inc. Copyright Š2015. All Rights Reserved.
Thanks !
Alejandro HernĂĄndez
http://www.brainoverflow.org
http://chatsubo-labs.blogspot.mx
@nitr0usmx

Weitere ähnliche Inhalte

Was ist angesagt?

Brain computing or Brain Computer Interface
Brain computing or Brain Computer InterfaceBrain computing or Brain Computer Interface
Brain computing or Brain Computer Interfaceshivanshis4
 
Brainwave starter Kit- Brain computer interface
Brainwave starter Kit- Brain computer interfaceBrainwave starter Kit- Brain computer interface
Brainwave starter Kit- Brain computer interfacePantech ProLabs India Pvt Ltd
 
Brain technology
Brain technologyBrain technology
Brain technologyAkhil Kumar
 
Brain gate ppt prem (5010)
Brain gate  ppt prem (5010)Brain gate  ppt prem (5010)
Brain gate ppt prem (5010)Pothapragada Harsha
 
Brain Gate
Brain GateBrain Gate
Brain GateAnuj Kumar
 
BRAIN GATE (in nutshell)
BRAIN GATE (in nutshell)BRAIN GATE (in nutshell)
BRAIN GATE (in nutshell)darshann
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technologysai supraja
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technologyPadmaja Dash
 
Martin's Seminar on Brain Control Interface(BCI)
Martin's Seminar on Brain Control Interface(BCI)Martin's Seminar on Brain Control Interface(BCI)
Martin's Seminar on Brain Control Interface(BCI)itsmartin
 
Brain Gate Technology (By HasanAli Nodoliya NRI)
Brain Gate Technology (By HasanAli Nodoliya NRI)Brain Gate Technology (By HasanAli Nodoliya NRI)
Brain Gate Technology (By HasanAli Nodoliya NRI)HasanAli Nodoliya (NRI)
 
Brain-computer interface
Brain-computer interfaceBrain-computer interface
Brain-computer interfaceSri Neela
 
brain gate technology
brain gate technologybrain gate technology
brain gate technologyAnurag Chitti
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer InterfaceNinad Bhate
 
Braingate technology
Braingate technologyBraingate technology
Braingate technologyPraneeth IPz
 
Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interfacemrudu5
 

Was ist angesagt? (20)

Braingate seminar
Braingate seminarBraingate seminar
Braingate seminar
 
Brain computing or Brain Computer Interface
Brain computing or Brain Computer InterfaceBrain computing or Brain Computer Interface
Brain computing or Brain Computer Interface
 
Brainwave starter Kit- Brain computer interface
Brainwave starter Kit- Brain computer interfaceBrainwave starter Kit- Brain computer interface
Brainwave starter Kit- Brain computer interface
 
Brain technology
Brain technologyBrain technology
Brain technology
 
Brain Gate Technology
Brain Gate TechnologyBrain Gate Technology
Brain Gate Technology
 
Brain gate ppt prem (5010)
Brain gate  ppt prem (5010)Brain gate  ppt prem (5010)
Brain gate ppt prem (5010)
 
Brain Gate
Brain GateBrain Gate
Brain Gate
 
BRAIN GATE (in nutshell)
BRAIN GATE (in nutshell)BRAIN GATE (in nutshell)
BRAIN GATE (in nutshell)
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technology
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technology
 
Martin's Seminar on Brain Control Interface(BCI)
Martin's Seminar on Brain Control Interface(BCI)Martin's Seminar on Brain Control Interface(BCI)
Martin's Seminar on Brain Control Interface(BCI)
 
Brain Gate Technology (By HasanAli Nodoliya NRI)
Brain Gate Technology (By HasanAli Nodoliya NRI)Brain Gate Technology (By HasanAli Nodoliya NRI)
Brain Gate Technology (By HasanAli Nodoliya NRI)
 
Brain-computer interface
Brain-computer interfaceBrain-computer interface
Brain-computer interface
 
brain gate technology
brain gate technologybrain gate technology
brain gate technology
 
Brainwave robotics
Brainwave roboticsBrainwave robotics
Brainwave robotics
 
Brain gate
Brain gateBrain gate
Brain gate
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Braingate technology
Braingate technologyBraingate technology
Braingate technology
 
Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interface
 
Brain gate ppt1
Brain gate ppt1Brain gate ppt1
Brain gate ppt1
 

Andere mochten auch

In the lands of corrupted elves - Breaking ELF software with Melkor fuzzer
In the lands of corrupted elves - Breaking ELF software with Melkor fuzzerIn the lands of corrupted elves - Breaking ELF software with Melkor fuzzer
In the lands of corrupted elves - Breaking ELF software with Melkor fuzzerAlejandro HernĂĄndez
 
ELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHY
ELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHYELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHY
ELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHYRoxanneMae Birador
 
EEGSynth pitch for brainhack@paris
EEGSynth pitch for brainhack@parisEEGSynth pitch for brainhack@paris
EEGSynth pitch for brainhack@parisRobert Oostenveld
 
The First Seminar
The First SeminarThe First Seminar
The First SeminarAhmedMahany
 
Breast Cancer Screening
Breast Cancer ScreeningBreast Cancer Screening
Breast Cancer ScreeningAsha Reddy
 
LASIK REFRACTIVE SURGERY DEMYSTIFIED
LASIK REFRACTIVE SURGERY DEMYSTIFIEDLASIK REFRACTIVE SURGERY DEMYSTIFIED
LASIK REFRACTIVE SURGERY DEMYSTIFIEDDINESH and SONALEE
 
Brain controlled-car-for-disabled
Brain controlled-car-for-disabledBrain controlled-car-for-disabled
Brain controlled-car-for-disabledshahnaazmd
 
Oculus Rift Presentation
Oculus Rift PresentationOculus Rift Presentation
Oculus Rift Presentationbroomall
 
Music & Emotions
Music & EmotionsMusic & Emotions
Music & Emotionsjokavuos
 
Approach to the patients with brain metastases
Approach to the patients with brain metastasesApproach to the patients with brain metastases
Approach to the patients with brain metastasesVenkata pradeep babu koyyala
 
Oculus Rift
Oculus RiftOculus Rift
Oculus RiftAakarsh Raj
 
Electroencephalography
ElectroencephalographyElectroencephalography
ElectroencephalographyParidhi Singhal
 
Hacking Brain Computer Interfaces
Hacking Brain Computer InterfacesHacking Brain Computer Interfaces
Hacking Brain Computer InterfacesMike Schäkermann
 
Virtual Reality, Oculus Rift, Business Model
Virtual Reality, Oculus Rift, Business ModelVirtual Reality, Oculus Rift, Business Model
Virtual Reality, Oculus Rift, Business ModelJeffrey Funk Business Models
 
Applications of Emotions Recognition
Applications of Emotions RecognitionApplications of Emotions Recognition
Applications of Emotions RecognitionFrancesco Bonadiman
 
Neuromarketing Examples - Neuromarketing Overview
Neuromarketing Examples - Neuromarketing Overview Neuromarketing Examples - Neuromarketing Overview
Neuromarketing Examples - Neuromarketing Overview True Impact
 

Andere mochten auch (20)

EEG: Basics
EEG: BasicsEEG: Basics
EEG: Basics
 
EEG artifacts
EEG artifactsEEG artifacts
EEG artifacts
 
In the lands of corrupted elves - Breaking ELF software with Melkor fuzzer
In the lands of corrupted elves - Breaking ELF software with Melkor fuzzerIn the lands of corrupted elves - Breaking ELF software with Melkor fuzzer
In the lands of corrupted elves - Breaking ELF software with Melkor fuzzer
 
ELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHY
ELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHYELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHY
ELECTROENCEPHALOGRAM/ ELECTROENCEPHALOGRAPHY
 
EEGSynth pitch for brainhack@paris
EEGSynth pitch for brainhack@parisEEGSynth pitch for brainhack@paris
EEGSynth pitch for brainhack@paris
 
Vois april2015
Vois april2015Vois april2015
Vois april2015
 
The First Seminar
The First SeminarThe First Seminar
The First Seminar
 
Breast Cancer Screening
Breast Cancer ScreeningBreast Cancer Screening
Breast Cancer Screening
 
Neurofeedback
NeurofeedbackNeurofeedback
Neurofeedback
 
LASIK REFRACTIVE SURGERY DEMYSTIFIED
LASIK REFRACTIVE SURGERY DEMYSTIFIEDLASIK REFRACTIVE SURGERY DEMYSTIFIED
LASIK REFRACTIVE SURGERY DEMYSTIFIED
 
Brain controlled-car-for-disabled
Brain controlled-car-for-disabledBrain controlled-car-for-disabled
Brain controlled-car-for-disabled
 
Oculus Rift Presentation
Oculus Rift PresentationOculus Rift Presentation
Oculus Rift Presentation
 
Music & Emotions
Music & EmotionsMusic & Emotions
Music & Emotions
 
Approach to the patients with brain metastases
Approach to the patients with brain metastasesApproach to the patients with brain metastases
Approach to the patients with brain metastases
 
Oculus Rift
Oculus RiftOculus Rift
Oculus Rift
 
Electroencephalography
ElectroencephalographyElectroencephalography
Electroencephalography
 
Hacking Brain Computer Interfaces
Hacking Brain Computer InterfacesHacking Brain Computer Interfaces
Hacking Brain Computer Interfaces
 
Virtual Reality, Oculus Rift, Business Model
Virtual Reality, Oculus Rift, Business ModelVirtual Reality, Oculus Rift, Business Model
Virtual Reality, Oculus Rift, Business Model
 
Applications of Emotions Recognition
Applications of Emotions RecognitionApplications of Emotions Recognition
Applications of Emotions Recognition
 
Neuromarketing Examples - Neuromarketing Overview
Neuromarketing Examples - Neuromarketing Overview Neuromarketing Examples - Neuromarketing Overview
Neuromarketing Examples - Neuromarketing Overview
 

Ähnlich wie Brain Waves Surfing Security Risks in EEG Tech

Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interfaceAnkit Kumar
 
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave Vishal Aditya
 
Brain computer interfaces 12
Brain computer interfaces 12Brain computer interfaces 12
Brain computer interfaces 12Mustahid Ali
 
Brain computer interfaces
Brain computer interfacesBrain computer interfaces
Brain computer interfacesMustahid Ali
 
Brain Computer Interface ppt
Brain Computer Interface pptBrain Computer Interface ppt
Brain Computer Interface pptAman Kumar
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technologysweeti sah
 
Emotiv Analysis
Emotiv AnalysisEmotiv Analysis
Emotiv AnalysisHayato Waki
 
Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...
Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...
Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...HCI Lab
 
Mobile and Wearable Applications at UWF iTenWired2015
Mobile and Wearable Applications at UWF iTenWired2015Mobile and Wearable Applications at UWF iTenWired2015
Mobile and Wearable Applications at UWF iTenWired2015Janusz Chudzynski
 
Human Brain Simulation for Robotic Applications
Human Brain Simulation for Robotic ApplicationsHuman Brain Simulation for Robotic Applications
Human Brain Simulation for Robotic ApplicationsDR.P.S.JAGADEESH KUMAR
 
Brain port device
Brain port deviceBrain port device
Brain port devicesayalipatil528
 
Brain frequency based handicap wheelchair
Brain frequency based handicap wheelchairBrain frequency based handicap wheelchair
Brain frequency based handicap wheelchairDhanuaravinth K
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer InterfaceSantoshi Gouru
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interfacekiran Patel
 
Brain Computer Interfaces(BCI)
Brain Computer Interfaces(BCI)Brain Computer Interfaces(BCI)
Brain Computer Interfaces(BCI)Dr. Uday Saikia
 
Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interfaceIntekhab Alam Khan
 
1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)
1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)
1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)jyothsna sajja
 
Password system that are mind control
Password system that are mind controlPassword system that are mind control
Password system that are mind controlvivatechijri
 

Ähnlich wie Brain Waves Surfing Security Risks in EEG Tech (20)

Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interface
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
 
Brain computer interfaces 12
Brain computer interfaces 12Brain computer interfaces 12
Brain computer interfaces 12
 
Brain computer interfaces
Brain computer interfacesBrain computer interfaces
Brain computer interfaces
 
Brain Computer Interface ppt
Brain Computer Interface pptBrain Computer Interface ppt
Brain Computer Interface ppt
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technology
 
Emotiv Analysis
Emotiv AnalysisEmotiv Analysis
Emotiv Analysis
 
Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...
Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...
Augmenting Speech-Language Rehabilitation with Brain Computer Interfaces: An ...
 
Mobile and Wearable Applications at UWF iTenWired2015
Mobile and Wearable Applications at UWF iTenWired2015Mobile and Wearable Applications at UWF iTenWired2015
Mobile and Wearable Applications at UWF iTenWired2015
 
Human Brain Simulation for Robotic Applications
Human Brain Simulation for Robotic ApplicationsHuman Brain Simulation for Robotic Applications
Human Brain Simulation for Robotic Applications
 
Brain port device
Brain port deviceBrain port device
Brain port device
 
Brain frequency based handicap wheelchair
Brain frequency based handicap wheelchairBrain frequency based handicap wheelchair
Brain frequency based handicap wheelchair
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Brain Chips_main.pptx
Brain Chips_main.pptxBrain Chips_main.pptx
Brain Chips_main.pptx
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Brain Computer Interfaces(BCI)
Brain Computer Interfaces(BCI)Brain Computer Interfaces(BCI)
Brain Computer Interfaces(BCI)
 
Brain computer interface
Brain computer interfaceBrain computer interface
Brain computer interface
 
1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)
1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)
1303048529 braincomputerinterfaces1-120827124014-phpapp01 (1)
 
Password system that are mind control
Password system that are mind controlPassword system that are mind control
Password system that are mind control
 

Mehr von Alejandro HernĂĄndez

Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading TechnologiesAre You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading TechnologiesAlejandro HernĂĄndez
 
Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...
Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...
Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...Alejandro HernĂĄndez
 
Malware en Linux - Barcamp SE - Cali, Colombia 2013
Malware en Linux - Barcamp SE - Cali, Colombia 2013Malware en Linux - Barcamp SE - Cali, Colombia 2013
Malware en Linux - Barcamp SE - Cali, Colombia 2013Alejandro HernĂĄndez
 
Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013
Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013
Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013Alejandro HernĂĄndez
 
DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)
DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)
DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)Alejandro HernĂĄndez
 
ELF en la mira: Hacking y Defensa
ELF en la mira: Hacking y DefensaELF en la mira: Hacking y Defensa
ELF en la mira: Hacking y DefensaAlejandro HernĂĄndez
 
Live Hacking : del Bug al Exploit
Live Hacking : del Bug al ExploitLive Hacking : del Bug al Exploit
Live Hacking : del Bug al ExploitAlejandro HernĂĄndez
 
Fuzzeando Snort con opciones TCP/IP
Fuzzeando Snort con opciones TCP/IPFuzzeando Snort con opciones TCP/IP
Fuzzeando Snort con opciones TCP/IPAlejandro HernĂĄndez
 

Mehr von Alejandro HernĂĄndez (9)

Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading TechnologiesAre You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
Are You Trading Stocks Securely? Exposing Security Flaws in Trading Technologies
 
Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...
Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...
Tips y Experiencias de un Consultor en Seguridad InformĂĄtica - Campus Party C...
 
Malware en Linux - Barcamp SE - Cali, Colombia 2013
Malware en Linux - Barcamp SE - Cali, Colombia 2013Malware en Linux - Barcamp SE - Cali, Colombia 2013
Malware en Linux - Barcamp SE - Cali, Colombia 2013
 
Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013
Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013
Seguridad FĂ­sica - Mira MamĂĄ, como Jason Bourne - BugCON 2013
 
DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)
DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)
DotDotPwn Fuzzer - Black Hat 2011 (Arsenal)
 
De Hacker a C-Level
De Hacker a C-LevelDe Hacker a C-Level
De Hacker a C-Level
 
ELF en la mira: Hacking y Defensa
ELF en la mira: Hacking y DefensaELF en la mira: Hacking y Defensa
ELF en la mira: Hacking y Defensa
 
Live Hacking : del Bug al Exploit
Live Hacking : del Bug al ExploitLive Hacking : del Bug al Exploit
Live Hacking : del Bug al Exploit
 
Fuzzeando Snort con opciones TCP/IP
Fuzzeando Snort con opciones TCP/IPFuzzeando Snort con opciones TCP/IP
Fuzzeando Snort con opciones TCP/IP
 

KĂźrzlich hochgeladen

Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPirithiRaju
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...Universidade Federal de Sergipe - UFS
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxMurugaveni B
 
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxGENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxRitchAndruAgustin
 
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In DubaiDubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubaikojalkojal131
 
Microteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringMicroteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringPrajakta Shinde
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024innovationoecd
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxpriyankatabhane
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPirithiRaju
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
Organic farming with special reference to vermiculture
Organic farming with special reference to vermicultureOrganic farming with special reference to vermiculture
Organic farming with special reference to vermicultureTakeleZike1
 
Topic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxTopic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxJorenAcuavera1
 
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》rnrncn29
 
Biological classification of plants with detail
Biological classification of plants with detailBiological classification of plants with detail
Biological classification of plants with detailhaiderbaloch3
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationColumbia Weather Systems
 
Environmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial BiosensorEnvironmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial Biosensorsonawaneprad
 
Call Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 Genuine
Call Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 GenuineCall Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 Genuine
Call Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 Genuinethapagita
 
bonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girlsbonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girlshansessene
 
Ai in communication electronicss[1].pptx
Ai in communication electronicss[1].pptxAi in communication electronicss[1].pptx
Ai in communication electronicss[1].pptxsubscribeus100
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPirithiRaju
 

KĂźrzlich hochgeladen (20)

Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
 
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptxGENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
GENERAL PHYSICS 2 REFRACTION OF LIGHT SENIOR HIGH SCHOOL GENPHYS2.pptx
 
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In DubaiDubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
 
Microteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringMicroteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical Engineering
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptx
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
 
Organic farming with special reference to vermiculture
Organic farming with special reference to vermicultureOrganic farming with special reference to vermiculture
Organic farming with special reference to vermiculture
 
Topic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxTopic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptx
 
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
 
Biological classification of plants with detail
Biological classification of plants with detailBiological classification of plants with detail
Biological classification of plants with detail
 
User Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather StationUser Guide: Capricorn FLX™ Weather Station
User Guide: Capricorn FLX™ Weather Station
 
Environmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial BiosensorEnvironmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial Biosensor
 
Call Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 Genuine
Call Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 GenuineCall Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 Genuine
Call Girls in Majnu Ka Tilla Delhi 🔝9711014705🔝 Genuine
 
bonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girlsbonjourmadame.tumblr.com bhaskar's girls
bonjourmadame.tumblr.com bhaskar's girls
 
Ai in communication electronicss[1].pptx
Ai in communication electronicss[1].pptxAi in communication electronicss[1].pptx
Ai in communication electronicss[1].pptx
 
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdfPests of Blackgram, greengram, cowpea_Dr.UPR.pdf
Pests of Blackgram, greengram, cowpea_Dr.UPR.pdf
 

Brain Waves Surfing Security Risks in EEG Tech

  • 1. IOActive, Inc. Copyright Š2015. All Rights Reserved. Brain Waves Surfing: (In)security in EEG (Electroencephalography) Technologies Alejandro HernĂĄndez (@nitr0usmx) Senior Consultant
  • 2. IOActive, Inc. Copyright Š2015. All Rights Reserved. About me • Senior Security Consultant at IOActive • Fuzzing & programming enthusiast • Computer systems engineer (not neuroscientist) • Passionate about security (~12 years now) • From Chiapas, Mexico
  • 3. IOActive, Inc. Copyright Š2015. All Rights Reserved. Agenda • Why this talk? • Neuroscience 101 • EEG / Brain Waves • (In)security aspects – Design – Encryption – Authentication – Resilience – The "Tower of Babel" of EEG file formats – Misc • Regulatory compliance / best practices for digital EEG • Conclusion / further research
  • 4. IOActive, Inc. Copyright Š2015. All Rights Reserved. This is NOT an invasive-BCI talk to become Johnny Mnemonic
  • 5. IOActive, Inc. Copyright Š2015. All Rights Reserved. Why this talk? • Nowadays we mostly care about – Computer/Network/Information security – Mobile security – ICS/SCADA security – Car security – IoT security – What about our biosignals? • Any signal generated by our bodies • EKG, EMG, MMG, MEG, EOG • EEG (brain signals) – Acquisition, storage, processing and transmission
  • 6. IOActive, Inc. Copyright Š2015. All Rights Reserved. Why this talk? • EEG tech is being adopted more and more • Brain stuff is cool, specially in – Cyberpunk movies – Sci-Fi literature
  • 7. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 8. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 9. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101 • Cerebral cortex – The outer layer
  • 10. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101 • Lobes
  • 11. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101 • Neurons – Electrically excitable cells – Processes and transmits information through chemical and electrical signals
  • 12. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101 • Synapse – The pass of chemical or electrical signal to another cell
  • 13. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101 The Effects of Drugs and Disease on Synaptic Transmission http://outreach.mcb.harvard.edu/animations/synapse.swf
  • 14. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101 • Want more? – Google hint: “human brain is so complex” – http://www.med.harvard.edu/AANLIB/
  • 15. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101
  • 16. IOActive, Inc. Copyright Š2015. All Rights Reserved. Neuroscience 101
  • 17. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Invasive vs Non-invasive Schalk, Gerwin, Mellinger, JĂźrgen. (2010). A Practical Guide to Brain– Computer Interfacing with BCI2000. General-Purpose Software for Brain- Computer Interface Research, Data Acquisition, Stimulus Presentation, and Brain Monitoring. 1st Edition. Springer-Verlag London.
  • 18. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Invasive vs Non-invasive – Invasive
  • 19. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Invasive vs Non-invasive – Invasive • E.g. BrainGate
  • 20. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Invasive vs Non-invasive – Non-invasive: EEG is the most used non-invasive method • EEG (Electroencephalography) – Electrodes on the scalp • Not MRI (Magnetic Resonance Imaging) • Not TMS (Transcranial Magnetic Stimulation)
  • 21. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • What is EEG? – “Representation over time of the voltage generated by electrodes recorded at different regions of the brain. The EEG is produced by synaptic activity of cortical neurons.” Krauss, G., Fisher, R., Kaplan, P. (September 1st, 2011). The Johns Hopkins Atlas of Digital EEG: An Interactive Training Guide. 2nd Edition. Johns Hopkins University Press.
  • 22. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • What is EEG? – Ease of use non-invasive method to measure the brain activity over time – Susceptible to noise
  • 23. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • What is EEG? – “The current brain technologies are like trying to listen to a conversation in a football stadium from a blimp” -- John Donoghue Disruptions: Brain Computer Interfaces Inch Closer to Mainstream http://bits.blogs.nytimes.com/2013/04/28/disruptions-no-words-no-gestures- just-your-brain-as-a-control-pad/
  • 24. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Brain waves / Frequencies – EEG activity is quite small, measured in microvolts (ÂľV) with the main frequencies of interest up to approximately 30 Hertz (Hz).
  • 25. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 26. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Electrodes / Montages – 10-20 System (Internationally recognized method)
  • 27. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Electrodes / Montages – 10-20 System (Internationally recognized method)
  • 28. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • ADC (Analog to Digital conversion) – Brain Waves = Analog Signals – Digital EEG = Digital Signals • Filters and amplifiers in between
  • 29. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Sampling Gotman, J. Digital EEG - From Basics to Advanced Analysis. Montreal Neurological Institute. McGill University.
  • 30. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Patterns / Artifacts
  • 31. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Patterns / Artifacts – E.g. Stages of sleep
  • 32. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Patterns / Artifacts – Artifacts: EEG recording events not due brain activity • Eye movement / fluttering • Blinking • Sweating • Muscle movements • Electrode shake • Etc. etc. etc.
  • 33. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Patterns / Artifacts
  • 34. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Acquisition – Commercial • Clinical use – Expensive hardware (thousands of USD) • Cheap hardware – NeuroSky MindWave – EMOTIV EPOC
  • 35. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Acquisition – Non-commercial • OpenEEG • OpenBCI • Many open source software
  • 36. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Acquisition – Demo: Visualization of brain waves with NeuroSky MindWave
  • 37. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – The importance of security
  • 38. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Clinical • “The EEG is perhaps most useful in the diagnosis and classification of seizure disorders… EEGs can be focally abnormal even in the absence of visible change on an MRI… Sleep disorders include narcolepsy, sleep apnea, various parasomnias, and several other conditions. Narcolepsy can be diagnosed by a combination of clinical history and EEG showing rapid descent into rapid eye movement (REM) sleep.” Krauss, G., Fisher, R., Kaplan, P. (September 1st, 2011). The Johns Hopkins Atlas of Digital EEG: An Interactive Training Guide. 2nd Edition. Johns Hopkins University Press.
  • 39. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Clinical • Demo: EEG recording synchronized with video of a patient suffering a seizure
  • 40. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research • Clinical research http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3900211/
  • 41. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research http://tbme.embs.org/2014/07/27/closed-loop-brain-computer-interface-triggering-active-ankle-foot- orthosis-inducing-cortical-neural-plasticity/
  • 42. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research http://learn.parallax.com/inspiration/arduino-prosthesis-using-neurosky-mindwave
  • 43. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research • B2B - Brain-to-Brain Interface http://www.kurzweilai.net/first-human-brain-to-brain-interface
  • 44. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research • B2B - Brain-to-Brain Interface http://www.kurzweilai.net/first-human-brain-to-brain-interface
  • 45. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research • Babylab Research Centre http://www.wired.co.uk/magazine/archive/2013/03/start/this-little-piggy-went-to-the-lab
  • 46. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research • Controlling stuff with mind waves http://www.forbes.com/sites/leoking/2015/02/25/mind-controlled-drone-scientists-work-on-groundbreaking-flight/
  • 47. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Research
  • 48. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Security • Biometric WHAT COULD POSSIBLY GO WRONG ?! http://mashable.com/2013/04/09/passwords-thoughts/
  • 49. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Security http://amestrib.com/news/researchers-studying-brain-activity-determine-cybersecurity-threats
  • 50. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Military http://defensetech.org/2015/08/07/translating- soldier-thoughts-to-computer-commands/
  • 51. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Military http://www.executivegov.com/2015/05/jean-vettel-army-research-lab-technology-seeks-to-detect- battlefield-threats-via-brain-waves/
  • 52. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Neurofeedback • MUSE headband for relaxation http://www.choosemuse.com
  • 53. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Neurofeedback + Art • Environmental Disturbances by Anni Garza Lau http://annigarzalau.com/anni-garza-lau--environmental-disturbances.html
  • 54. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Art • Music created with Brainwaves http://thecreatorsproject.vice.com/blog/eunoia-seeking-enlightenment-by-tracking-brainwaves
  • 55. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others http://www.tampabay.com/news/courts/brain-scan-delays- sentencing-hearing-for-convicted-murderer-in-brooksville/2233777
  • 56. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others • NeuroGaming http://www.neurogamingconf.com
  • 57. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others • NeuroMarketing
  • 58. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others http://www.livescience.com/50092-brain-waves-movie- success.html
  • 59. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others • Neurowear http://www.neurowear.com
  • 60. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others http://neurogadget.com/2015/02/14/eeg-dating-matches-people-based-brainwave-data
  • 61. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – Others http://spectrum.ieee.org/tech-talk/biomedical/imaging/neuroscience-gets-radical-how-to-study-surfers-brain-waves
  • 62. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – The Cloud • Neuroelectrics’ NUBE
  • 63. IOActive, Inc. Copyright Š2015. All Rights Reserved. EEG / Brain Waves • Uses EEG – The Cloud • Neuromore http://www.neuromore.com
  • 64. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Attack scenarios – Reply attacks with saved EEG data to • Control things – Drones – Prosthesis – Etc. • Bypass authentication – Unauthorized update of EEG data from a criminal patient in a hospital network – Trade of EEG data for behavior analysis in neuromarketing – Client-side attacks on doctors/physicians’ computers with malicious EEG (meta)data
  • 65. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Design – Some of them include security
  • 66. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Design – Some of them include security • Neuromore – E.g Biodata to the cloud through a SSL channel
  • 67. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Design – However, no security keywords • 'secur', 'crypt', 'auth', 'passw‘, etc. • In 90% of the reviewed – Manuals – Technical specs – Brochures
  • 68. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP WHAT COULD POSSIBLY GO WRONG ?!
  • 69. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP – Google dorks: Âť +<product_name> +tcp +port Âť neuro acquisition +tcp +port Âť +eeg +tcp
  • 70. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP
  • 71. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP
  • 72. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP
  • 73. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP
  • 74. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP
  • 75. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Brain waves on the wire: Digital streaming over TCP/IP
  • 76. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: Neuroelectrics NIC
  • 77. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: Neuroelectrics NIC
  • 78. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: Neuroelectrics NIC
  • 79. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: LabStreamingLayer
  • 80. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: LabStreamingLayer https://github.com/sccn/labstreaminglayer/wiki/ SupportedDevices.wiki
  • 81. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: LabStreamingLayer
  • 82. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Case: LabStreamingLayer
  • 83. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Demo: Sniffing raw brain signals through a MITM attack between the acquisition device (NeuroSky MindWave) and a remote NeuroServer – NeuroServer: EEG signal transceiver using TCP/IP and EDF format – Old and unmaintained – Still in use – Included in BrainBay
  • 84. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Demo: Sniffing raw brain signals through a MITM attack between the acquisition device (NeuroSky MindWave) and a remote NeuroServer EEG Server 192.168.241.149 (@daria) Acquisition device 192.168.241.1 (NeuroSky MindWave @win7)
  • 85. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Demo: Sniffing raw brain signals through a MITM attack between the acquisition device (NeuroSky MindWave) and a remote NeuroServer EEG Server 192.168.241.149 (@daria) Acquisition device 192.168.241.1 (NeuroSky MindWave @win7) Attacker 192.168.241.60 (@exiled)
  • 86. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Transit • Demo: Sniffing raw brain signals through a MITM attack between the acquisition device (NeuroSky MindWave) and a remote NeuroServer EEG Server 192.168.241.149 (@daria) Acquisition device 192.168.241.1 (NeuroSky MindWave @win7) Attacker 192.168.241.60 (@exiled)
  • 87. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 88. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Rest • File formats, as common files, no encryption • What about the cloud? How are they protecting your brain waves?
  • 89. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Rest • SHODAN + NetBIOS shares
  • 90. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Encryption – In Rest • SHODAN + NetBIOS shares
  • 91. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Authentication – The process of determining whether someone or something is who or what it is declared to be – Auth mechanism needed before • Read/Update an EEG stream/record • Start/Stop EEG – Auth mechanism between the acquisition device, EEG middleware and the endpoints • E.g.: EEG device <-> EGG Server <-> Drone/Prosthesis/Etc.
  • 92. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Authentication – Case: Neuroelectrics NIC – Same issue described previously (no auth to receive EEG data)
  • 93. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Authentication – Demo: Patient's name is changed in a MITM attack before it reaches NeuroServer • NeuroServer: EEG signal transceiver using TCP/IP and EDF format • Old and unmaintained • Still in use • Included in BrainBay
  • 94. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Authentication – Demo: Patient's name is changed in a MITM attack before it reaches NeuroServer EEG Server 192.168.241.149 (@daria) Acquisition device 192.168.241.1 (NeuroSky MindWave @win7) Alejandro Hernandez
  • 95. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Authentication – Demo: Patient's name is changed in a MITM attack before it reaches NeuroServer EEG Server 192.168.241.149 (@daria) Acquisition device 192.168.241.1 (NeuroSky MindWave @win7) Attacker 192.168.241.60 (@exiled)
  • 96. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 97. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Ability to support or recover from adversity (Denial of Service attacks)
  • 98. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – 90’s techniques still killing 21st century tech #define NCONNS 10000 for(k = 0; k < NCONNS; k++){ sock = socket(); connect(); send(“foon”); sleep(); }
  • 99. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Some EEG (TCP) servers • SPoF EEG Server Clients crash Acquisition device 192.168.241.1 (NeuroSky MindWave @win7)
  • 100. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Demo: OpenViBE Acquisition Server Remote DoS
  • 101. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 102. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Demo: Neuroelectrics NIC TCP Server Remote DoS
  • 103. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Demo: NeuroServer Daemon Multiple Remote DoS
  • 104. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Demo: NeuroServer Daemon Multiple Remote DoS
  • 105. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Demo: NeuroServer Daemon Multiple Remote DoS #define MAXCLIENTS 16 ... struct Client clients[MAXCLIENTS]; ... int makeNewClient(sock_t fd) { int myIndex = clientCount; clientCount += 1; memset(&clients[myIndex], 0, sizeof(clients[0])); clients[myIndex].fd = fd; clients[myIndex].role = Unknown;
  • 106. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Resilience – Demo: NeuroServer Daemon Multiple Remote DoS
  • 107. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats
  • 108. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – File Formats • “A major difficulty with current commercial EEG systems is that they use proprietary file formats, which require dedicated reader systems.” • “In some instances, different generation of a single vendor’s system generate incompatible file formats” • “Some vendors of EEG systems do provide an option to save EEG data in a standard format such as the European Data Format (EDF) for biosignals… In addition, some vendors do not strictly adhere to the EDF specification, causing problems for some EDF reader programs.” Krauss, G., Fisher, R., Kaplan, P. (September 1st, 2011). The Johns Hopkins Atlas of Digital EEG: An Interactive Training Guide. 2nd Edition. Johns Hopkins University Press.
  • 109. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – File Formats • Many old specifications and implementations – EDF: 1992 – EDF+: 2003 • Many new specs and formats, though • Biomedical signals (time series) – https://en.wikipedia.org/wiki/List_of_file_formats#Biomedical_signals_.28time_series.29 • List of Scientific Data Formats – http://pub.ist.ac.at/~schloegl/matlab/eeg/
  • 110. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – File Formats • Matrix of formats supported in different software / hardware – Took me weeeeeks… Âť Brochures Âť Manuals Âť Specs
  • 111. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 112. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – File Formats • Examples – Neuroscan
  • 113. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – File Formats • Examples – EDF
  • 114. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Parsing • Parsing is parsing ! – Bytes in data structures • As any other file format – PDF, JPG, GIF, PE, ELF, etc. etc. • EEG data and its metadata
  • 115. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Parsing • Memory corruption / Buffer overflows • Boundary checking problems (e.g. indexes in arrays) • Loops copying data more times than expected • Invalid memory derefs • Arithmetic calculations • Unexplored file formats – A new terrain to play • Attack surface reduced – Specialized formats, not mainstream
  • 116. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Parsing • (Perhaps) developers with different backgrounds – Not fully aware of (in)secure programming
  • 117. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • (In)secure programming $ egrep -nr "strcpy|sprintf" ~/labstreaminglayer/LSL/ | wc -l 63 $ egrep -nr "memcpy|memset|bzero" ~/labstreaminglayer/LSL/ | wc -l 519 $ egrep -nr "strcpy|sprintf" ~/biosig4c++-1.6.4/ | wc -l 361 $ egrep -nr "memcpy|memset|bzero" ~/biosig4c++-1.6.4/ | wc -l 254 $ egrep -nr "strcpy|sprintf" ~/NeuroServer-0.7.4/src/ | wc -l 47 $ egrep -nr "memcpy|memset|bzero" ~/NeuroServer-0.7.4/src/ | wc -l 20
  • 118. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • (In)secure programming $ flawfinder --quiet --minlevel=3 --falsepositive ~/labstreaminglayer/LSL/ ... ANALYSIS SUMMARY: Hits = 329 Lines analyzed = 1115455 in approximately 47.91 seconds (23281 lines/second) Physical Source Lines of Code (SLOC) = 958265 Hits@level = [0] 0 [1] 0 [2] 0 [3] 306 [4] 20 [5] 3
  • 119. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • (In)secure programming $ flawfinder --quiet --minlevel=3 --falsepositive ~/biosig4c++-1.6.4/ ... ANALYSIS SUMMARY: Hits = 117 Lines analyzed = 95048 in approximately 3.63 seconds (26188 lines/second) Physical Source Lines of Code (SLOC) = 71225 Hits@level = [0] 0 [1] 0 [2] 0 [3] 4 [4] 113 [5] 0
  • 120. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • (In)secure programming $ flawfinder --quiet --minlevel=3 --falsepositive ~/NeuroServer-0.7.4/src/ ... ANALYSIS SUMMARY: Hits = 17 Lines analyzed = 2938 in approximately 0.08 seconds (35282 lines/second) Physical Source Lines of Code (SLOC) = 2481 Hits@level = [0] 0 [1] 0 [2] 0 [3] 0 [4] 17 [5] 0
  • 121. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • Fuzzing – Only the EDF format was approached Âť Most supported amongst EEG software/hardware – Trivial fuzzing Âť mangle.c by Ilja van Sprundel Âť Microsoft MiniFuzz
  • 122. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • Fuzzing – Sample EDF recordings Âť My own brain waves in EDF Âť PhysioNet
  • 123. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats
  • 124. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • Demos: Flaws discovered in well-known EEG analysis software – Unhandled exceptions / Seg faults – Potential memory corruption bugs – Still in the bug discovery phase
  • 125. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • The "Tower of Babel" of EEG File Formats – Bug hunting • Demos: Flaws discovered in well-known EEG analysis software – Persyst Advanced Review (Insight II) – Natus Stellate Harmonie Viewer – BrainBay – SigViewer (uses libbiosig)
  • 126. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 127. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 128. IOActive, Inc. Copyright Š2015. All Rights Reserved.
  • 129. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Misc https://www.usenix.org/system/files/conference/usenixsecurity 12/sec12-final56.pdf
  • 130. IOActive, Inc. Copyright Š2015. All Rights Reserved. (In)security Aspects • Misc – “We use inexpensive electroencephalography (EEG) based BCI devices to test the feasibility of simple, yet effective, attacks. The captured EEG signal could reveal the user’s private information about, e.g., bank cards, PIN numbers, area of living, the knowledge of the known persons. This is the first attempt to study the security implications of consumer grade BCI devices. We show that the entropy of the private information is decreased on the average by approximately 15 % - 40 % compared to random guessing attacks.” https://www.usenix.org/system/files/conference/usenixsecurity12/sec12-final56.pdf
  • 131. IOActive, Inc. Copyright Š2015. All Rights Reserved. Regulatory Compliance / Best Practices for digital EEG • Privacy http://searchsecurity.techtarget.com/opinion/McGraw-asks-whos-in-charge-of-medical-device-security
  • 132. IOActive, Inc. Copyright Š2015. All Rights Reserved. Regulatory Compliance / Best Practices for digital EEG • Privacy http://searchsecurity.techtarget.com/opinion/McGraw-asks-whos-in-charge-of-medical-device-security
  • 133. IOActive, Inc. Copyright Š2015. All Rights Reserved. Regulatory Compliance / Best Practices for digital EEG • Privacy http://searchsecurity.techtarget.com/opinion/McGraw-asks-whos-in-charge-of-medical-device-security
  • 134. IOActive, Inc. Copyright Š2015. All Rights Reserved. Regulatory Compliance / Best Practices for digital EEG • Privacy http://blogs.fda.gov/fdavoice/index.php/tag/collaborative-approaches-for-medical-device-and-healthcare-cybersecurity/
  • 135. IOActive, Inc. Copyright Š2015. All Rights Reserved. Regulatory Compliance / Best Practices for digital EEG • Guidelines by the ACNS (American Clinical Neurophysiology Society)
  • 136. IOActive, Inc. Copyright Š2015. All Rights Reserved. Regulatory Compliance / Best Practices for digital EEG • Guidelines by the ACNS (American Clinical Neurophysiology Society) – (2008) Standard for Transferring Digital Neurophysiological Data Between Independent Computer Systems – (2006) Guideline 8: Guidelines for Recording Clinical EEG on Digital Media • Magnetic storage and CD-ROMs – Clinical Practice Guideline 1: Recording and Analysis of Spontaneous Cerebral Activity • “Long-term storage should be of sufficient capacity to handle the projected annual volume of data with appropriate information security, backup, and data recovery.”
  • 137. IOActive, Inc. Copyright Š2015. All Rights Reserved. Conclusion / Further Research • We need more security "in mind" for brain signals treatment • Efforts in file format standardization • More secure programming practices • Create or update the guidelines / best practices • A new terrain to play: Networking + parsing
  • 138. IOActive, Inc. Copyright Š2015. All Rights Reserved. Conclusion / Further Research • Test your medical devices and software • Brain signals exposed on the Internet? – Zmap scannings of ports used by known EEG acquisition software / hardware (who is in? ) • By now, security could be improved by implementing controls surrounding the EEG tech – SSL tunnels – Like in ICS/SCADA networks… Bio-signals firewalls / IPSs with DPI in L7? In the near future perhaps?
  • 139. IOActive, Inc. Copyright Š2015. All Rights Reserved. Thanks ! Alejandro HernĂĄndez http://www.brainoverflow.org http://chatsubo-labs.blogspot.mx @nitr0usmx