Reverse Engineering - Methods and Process
-
Upload
lalu -
Category
Technology
-
view
1.567 -
download
1
Transcript of Reverse Engineering - Methods and Process
![Page 1: Reverse Engineering - Methods and Process](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/1.jpg)
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/2.jpg)
2
Detection of biomedical signal..
Context and Problem
..with fitness trackers..
..that are closed source!
![Page 3: Reverse Engineering - Methods and Process](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/3.jpg)
Reverse Engineering
Open source codeProcessed data
3http://www.mi.com/sg/miband/#s2
![Page 4: Reverse Engineering - Methods and Process](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/5.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/6.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/11.jpg)
8
Overview of code
![Page 12: Reverse Engineering - Methods and Process](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/13.jpg)
10
Preliminar Results
![Page 14: Reverse Engineering - Methods and Process](https://reader034.fdocuments.net/reader034/viewer/2022051404/587178221a28ab230b8b56d3/html5/thumbnails/14.jpg)
Reverse Engineering of Biomedical Elaborated Signal
[email protected]@mail.polimi.it
www.facebook.com/reebes.project2016/
Contacts
www.slideshare.net/La_Lu
11