reverse engineering - methods and process

14
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Laura Barilli [email protected] Luisa Cucugliato [email protected] Friday, May 27, 2016 B3Lab, Via Ponzio, Building 2 Reverse engineering of biomedical elaborated signal – part 2

Upload: lalu

Post on 08-Jan-2017

1.566 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Reverse Engineering - Methods and Process

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Laura Barilli [email protected]

Luisa Cucugliato [email protected]

Friday, May 27, 2016 B3Lab, Via Ponzio, Building 21

Reverse engineering of biomedical elaborated signal

– part 2

Page 2: Reverse Engineering - Methods and Process

2

Detection of biomedical signal..

Context and Problem

..with fitness trackers..

..that are closed source!

Page 3: Reverse Engineering - Methods and Process

Reverse Engineering

Open source codeProcessed data

3http://www.mi.com/sg/miband/#s2

Page 4: Reverse Engineering - Methods and Process

DoneProblem definitionIdea and solutionState of art

Doing

To do

Search of methodsWriting the code

Update of code

Final app

Work Organization

4

Grafic interface

Page 5: Reverse Engineering - Methods and Process

DoneProblem definitionIdea and solutionState of art

Doing

To do

Search of methodsWriting the code

Update of code

Final app

4

Grafic interface

Work Organization

Page 6: Reverse Engineering - Methods and Process

Classes

AttributesMethods

View Controller

CodeAccording to the output of view it chages execution

User interface

Model

Preservation of information

Method: Swift

5

[1]

[2]

[1] https://www.xcoding.it [2] https://developer.apple.com/swift/

import UIKit

Objects

Page 7: Reverse Engineering - Methods and Process

There are two major players involved in all Bluetooth low energy communication:

Central Peripheral

6https://developer.apple.com/

Method: Bluetooth Connection

Page 8: Reverse Engineering - Methods and Process

There are two major players involved in all Bluetooth low energy communication:

import CoreBluetooth

Central Peripheral

6https://developer.apple.com/

Method: Bluetooth Connection

Page 9: Reverse Engineering - Methods and Process

Peripheral

Service(Heart Rate)

Characteristic

Characteristic

Characteristic

Service(Vibration)

Characteristic

Characteristic

Characteristic

Service(Steps)

Characteristic

Characteristic

Characteristic

Central Device

Service(Upgrade)

Characteristic

Characteristic

Characteristic

Central Device

Bluetooth Communication

7

Page 10: Reverse Engineering - Methods and Process

Bluetooth CommunicationPeripheral

Central Device Central Device

HEART RATE

Characteristic

Characteristic

Characteristic

Vibration

Characteristic

Characteristic

Characteristic

Steps

Characteristic

Characteristic

Characteristic

Upgrade

Characteristic

Characteristic

Characteristic

7

Page 11: Reverse Engineering - Methods and Process

8

Overview of code

Page 12: Reverse Engineering - Methods and Process

9

Initializate CBCentralManager

Verify the state of Bluetooth connection

Search of peripherals

Display peripherals to the user

Search Heart Rate UUID (0x180D)

Access to the characteristics of Heart Rate (2A37, 2A39, FF04)

Activation of PPG

Active selection by the user

Search of services

Code

Page 13: Reverse Engineering - Methods and Process

10

Preliminar Results

Page 14: Reverse Engineering - Methods and Process

Reverse Engineering of Biomedical Elaborated Signal

[email protected]@mail.polimi.it

www.facebook.com/reebes.project2016/

Contacts

www.slideshare.net/La_Lu

11