reverse engineering

of 16 /16
Laura Barilli [email protected] Luisa Cucugliato [email protected] Thursday, April 12, 2016 Politecnico di Milano Dipartimento di Elettronica, Informazione e Bioingegneria (DEIB) NECST lab, Via Ponzio, Building Reverse engineering

Author: lalu

Post on 15-Apr-2017

371 views

Category:

Engineering


1 download

Embed Size (px)

TRANSCRIPT

Presentazione di PowerPoint

Laura Barilli [email protected] Cucugliato [email protected] Thursday, April 12, 2016Politecnico di Milano Dipartimento di Elettronica, Informazione e Bioingegneria (DEIB)

NECST lab, Via Ponzio, Building 20Reverse engineering

1

Reverse EngineeringOpen source code

Processed data

1

ClassesAttributesMethodsObjects

P1P2Swift[*] https://www.xcoding.it2[*]

Is easy to readRequire less codeFastSupports dynamics library OGGETTO ISTANZA DI UNA CLASSE

RIFERIMENTI, CLASSE UOMO 3

ClassesAttributesMethodsObjects

SwiftViewControllerModelCodeAccording to the output of view it chages executionPreservation of information

User interface

[*] https://developer.apple.com/swift/3[*]

4

Bluetooth Low Energy

[*] https://learn.adafruit.com/introduction-to-bluetooth-low-energy/introduction 4[*] [*]

Bluetooth Smart

Power version of Bluetooth that was built for the devices that run for long periodsPlatform supportediOS5+Android 4.3+Apple OS X 10.6+Windows 8 GNU/Linux Vanilla BlueZ 4.93+

Breve distanza 10 metri velocit di trasmissione

La trasmissione dei dati via bluettoth facilitata da un oggetto chiamato core bluetooth che alla base dei dispositivi periferici

GRAFICO, LAYOUT DIAPOSITIVA, SCRIVERE CORE BLUETOOTH 5

CB Core Bluetooth

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

https://developer.apple.com/4SmartphoneDevice

CB Central Manager: object that controls and manages the Bluetooth of the iPhoneCore Bluetooth: Library that manages bluetooth connection

Sistema trasmissione dati basato sul BLE

La trasmissione dei dati via bluettoth facilitata da un oggetto chiamato core bluetooth che alla base dei dispositivi periferici6

PeripheralCB Central Manager

Service 1Characteristic

Characteristic

Characteristic

Service 2Characteristic

Characteristic

Characteristic

Service 3Characteristic

Characteristic

Characteristic

Central Device

Central Device

Service 4Characteristic

Characteristic

Characteristic

https://developer.apple.com/5

SPECIFICARE I SERVIZI 7

PeripheralCB Central Manager

Heart RateCharacteristic

Characteristic

Characteristic

VibrationCharacteristic

Characteristic

Characteristic

StepsCharacteristic

Characteristic

Characteristic

Central Device

Central Device

UpgradeCharacteristic

Characteristic

Characteristic

https://developer.apple.com/5

SPECIFICARE I SERVIZI 8

PeripheralCB Central Manager

HEART RATECharacteristic

Characteristic

Characteristic

VibrationCharacteristic

Characteristic

Characteristic

StepsCharacteristic

Characteristic

Characteristic

Central Device

Central Device

UpgradeCharacteristic

Characteristic

Characteristic

https://developer.apple.com/5

Overview of codeAPPInitialization and allocation of Central Manager

Research peripheralsFind peripherals?

Research Services

Find services?

Research characteristicsHEART RATEYESNOYESNO6

Allocate and initialize a Central Manager instance

Verify the state of Central Manager

Central Manager7

Peripherals

Interface view

Mi

Controller

Every peripheral is saved in an array which is shown on the Table View8

IMMAGINE DELLINTERFACCIA 12

ServicesUUID: Universally Unique Identifier

Numbers which identificate a specific service

Standard services have a 16-bit UUID

9

Heart Rate Service Assigned Number: 0x180DTwo characteristics: 2A37 and 2A3910The Heart Rate Service shows heart rate and other data related to a heart rate sensor

PPG sensorBpm

ResultsMiHeart11

ContactsReverse Engineering of Biomedical Elaborated Signal

[email protected]@mail.polimi.it

https://www.facebook.com/reebes.project2016/ 12