So, you want to build a hardware product? Every so often, a device comes along that changes the way we live our daily lives and things are never the same again. With today's digital technology, such devices may come more frequently than in the past - personal gadgets you cannot live without. What’s inside? What makes it tick? How do you find out? In this sharing session, Mark will provide an introduction to hardware hacking and why it matters, going through some quick tips on getting cosy with hardware to find out what makes it tick. Mark (MK FX) is a founder of Bazinga! Pte Ltd, a technology development and prototyping company that builds gadgets from ideas. An engineer since birth, because if you can dream it, think it - you can build it.
2. DISCLAIMER
While the following has been conscientiously researched.
Neither the organizers nor the author will accept any
liability if you render your device inoperable as a result of
these instructions. Proceed at your own risk. DO attempt
these experiments, tests, trials, or any activity in this
presentation at home, work, or anywhere else for that
matter. Have fun, gain more experience and knowledge,
be safe and use common sense!
16. Coin
Cell
Battery
Epoxied resin IC die “Chip-on-board”, ‘glob-top’
Button contacts
Infineon BC857BL3
PNP transistor
Assorted SMD
resistors
Test /
programming
pads
Manufacturer
information
silkscreen
32.768kHz Ceramic Crystal Oscillator
LCD junction pads
17. Technical Specifications
• Weight: 14 grams
• Dimensions: 9.8 x 25.9 x
62.7mm
• Display: 8-characters LCD
• Keypad: one-button
• Real-time clock to
provide time value to
DIGIPASS algorithm
• Supported crypto
algorithm: DES, 3DES and
AES, DIGIPASS time and
event based
• OATH event (HOTP) or
time (TOTP)
• Battery: non-replaceable,
lifetime expectancy 7
years
https://www.vasco.com/products/client_products/single_button_digipass/digipass_go6.aspx
18. What have we learnt?
OATH - Initiative for Open
AuTHentication
HOTP: An HMAC-Based One-Time
Password Algorithm (RFC 4226)
Supports: TOTP -Time-Based One-
Time Password Algorithm (RFC
6238)
Standards set by: Internet
Engineering Task Force (IETF)
Then HOTP(K,C) is mathematically defined by: HOTP(K,C) = Truncate(HMAC(K,C)) & 0x7FFFFFFF
K is a secret key, C is a counter key
For HOTP to be useful for an individual as a system input, result must be converted into a HOTP
value, (6–8 digits number) where HOTP-Value = HOTP(K,C) mod 10d, d is the desired number of digits
http://en.wikipedia.org/wiki/HMAC-based_One-time_Password_Algorithm
http://www.sourcemediaconferences.com/CTST09/PDF09/D/Tuesday/BajajSiddharth.pdf
http://www.globaleventspanama.com/clab2010/files/conf_donald_malloy.pdf
21. What can I do with what I’ve learnt?
The “stuff” Who makes it? How
did they do it?
Learn everything
about it, try it.
Learn about
cryptography
Learn about
low-cost
manufacturing
or electronic
packages
Make your own
crypto-key
generator
Be happy
having learnt
something
http://www.empf.org/empfasis/dec04/improve1204.htm
http://www.digikey.com/catalog/en/partgroup/avr-cryptocontroller/32031
http://www.maximintegrated.com/en/products/digital/microcontrollers/MAXQ1010.html
26. HOW DOES A CAR
WORK?
HOW DOES YOUR EZ-LINK
WORK?
27. If you don't know how things work,
how can you design interfaces with
dreams to change the
world?
How do you improve something if you
don't know how it works?
28. Build. Fail.
Rebuild.
Results.
Outcome.
Find out
How?
Why?
System
design /
Adoption
Hardware
Lifecycle
Summary
3-stage Block diagram
54. Learning Curve
Complexity
& Ability
I kick-ass
Valley of despair – “who’s dumb idea is this”
Can’t live without!
Time
Increase in
skills
Associative
stage
Autonomous
stage
GOD-LIKE
Trial & Error
Cognitive stage ‘I suck’ threshold
Q: What is hardware hacking and why should I care about it? A: Your secure software is only as secure as the hardware it is running on. Imagine implementing all your crypto correctly, but a tiny little port or backdoor, or a post-it shows the password.
chip-on-board. The die is glued to the PCB and wires are bonded from it to pads
chip-on-board. The die is glued to the PCB and wires are bonded from it to pads
chip-on-board. The die is glued to the PCB and wires are bonded from it to pads
Q: What is hardware hacking and why should I care about it? A: Your secure software is only as secure as the hardware it is running on. Imagine implementing all your crypto correctly, but a tiny little port or backdoor, or a post-it shows the password.
How many here have a driving license?
So when I was young, I found out that I could control the tv.
Nobody could give me a satisfactory answer on how a radio works
Everything you need to know. Is available here. We now live in an era of instant information, this one example of how quickly technology is moving and how we must adapt to keep ourselves relevant in this industry.
Manufacturers rely on the information that is included in the bill of materials (BOM) to build a product. The bill of materials typically includes part names, part numbers, part revisions and the quantities required to build an assembly. Thorough BOMs can include more descriptive information too, for example, the unit of measure or procurement type. BOMs that have printed circuit board assemblies (PCBAs) contain a column for listing reference designators.
Step 1.
Turn screws. Void warranties. Open minds.
Every so often a piece of technology can become a lever that moves the world, just a little bit. The Arduino is one of those levers. It started off as a project to give artists access to embedded microprocessors for interaction design projects, but I think it’s going to end up in a museum, someday, as a building block of the future world. Arduino allows rapid, cheap, prototyping for embedded systems. It turns what used to be fairly tough hardware problems into much simpler software problems. And it’s become the poster child of the Maker Movement. The real power is the community.
Fail fast, learn quickly, succeed sooner
By turning abstract concepts into visual forms for validation
By the high levels, it would be getting an equivalent of a mechanical / electrical and electronics diploma