Top Banner
Energy and Security Tradeoffs in CE Systems 1 ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty Saraju P. Mohanty University of North Texas, USA. Email: [email protected] More Info: http://www.smohanty.org 13th Jan 2018
19

Energy and Security Tradeoffs in CE Systems

Apr 14, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Energy and Security Tradeoffs in CE Systems

Energy and Security

Tradeoffs in CE Systems

1ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Saraju P. Mohanty

University of North Texas, USA.

Email: [email protected]

More Info: http://www.smohanty.org

13th Jan 2018

Page 2: Energy and Security Tradeoffs in CE Systems

Selected Attacks on a Typical

CE System – Security, Privacy, IP Right

13th Jan 2018 2ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

IP Attacks

Diverse forms of Attacks, following are not the same: System Security,

Information Security, Information Privacy, System Trustworthiness, Hardware

IP protection, Information Copyright Protection.

Firmware Attacks

Page 3: Energy and Security Tradeoffs in CE Systems

CE System Security – Smart Car

13th Jan 2018 4ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Protecting Each Module

Sensors, Actuators, and Anything

with an Microcontroller Unit (MCU)Mitigating Advanced Threats

Analytics in the Car and in the Cloud

Protecting CommunicationsParticularly any Modems for In-

vehicle Infotainment (IVI) or in On-

board Diagnostics (OBD-II)

Over The Air (OTA) Management

From the Cloud to Each Car

Source: http://www.symantec.com/content/en/us/enterprise/white_papers/public-building-security-into-cars-20150805.pdf

Connected cars require latencyof ms to communicate andavoid impending crash: Faster connection Low latency Energy efficiency

Security Mechanism Affects:

• Latency

• Mileage

• Battery Life

Cars can have 100 Electronic Control Units (ECUs) and

100 million lines of code, each from different vendors

– Massive security issues.

Page 4: Energy and Security Tradeoffs in CE Systems

CE System Security – UAV

13th Jan 2018 7ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Security Mechanisms Affect:

Selected Attacks on UAV

Denial of Service (DoS)

Replay Relay Jamming Spoofing Tracking Eavesdropping

Source: http://www.secmation.com/control-design/

Source: http://politicalblindspot.com/u-s-

drone-hacked-and-hijacked-with-ease/

GPS

IMU

Communication

protocol

Magnetometer

Plot/Static

System

Bias/

Scale

Navigation

Determine

Pros. Vel. Alt.

Plot Route,

Accel

.

Sensor

Fusor

ADS-BGuidance

Determine

Path

Controller

Track

Guidance Path

and Stabilize

Aircraft

(Adjustable

Gains) Control

Gains

Actuator Aircraft

Dynamics

Mission

Plan Vision Radar

Controller

to

Actuator

Mapping

Vehicle State

Application Logic Security

Control System Security

Both

Battery Life WeightLatency Aerodynamics

Page 5: Energy and Security Tradeoffs in CE Systems

Smart Healthcare - Security and Privacy Issue

Se

lecte

d S

ma

rt H

ea

lth

ca

re S

ecu

rity

/Priva

cy

Challe

ng

es

Data Eavesdropping

Data Confidentiality

Data Privacy

Location Privacy

Identity Threats

Access Control

Unique Identification

Data Integrity

ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty813th Jan 2018

Page 6: Energy and Security Tradeoffs in CE Systems

NFC Security - AttacksSelected NFC Attacks

EavesdroppingData

ModificationRelay

AttacksData

CorruptionSpoofing

Interception Attacks

Theft

Source: http://www.idigitaltimes.com/new-android-nfc-attack-could-

steal-money-credit-cards-anytime-your-phone-near-445497

EavesdroppingSource: http://resources.infosecinstitute.com/near-field-communication-

nfc-technology-vulnerabilities-and-principal-attack-schema/

Relay Attack

Source: https://www.slideshare.net/cgvwzq/on-relaying-nfc-

payment-transactions-using-android-devices

ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty1313th Jan 2018

Page 7: Energy and Security Tradeoffs in CE Systems

Memory Attacks

Snooping

Attacks

Source: Mohanty 2013, Springer CSSP Dec 2013

Embedded

ProcessorMemory

Spoofing

Attacks

Splicing

Attacks

Replay

AttacksCold Boot

Attacks

Replace a

block with fake

Replace a block

with a block from

another location

Read

confidential

information

in memory

Physical access

memory to retrieve

encryption keysThe value of a block at a given address at

one time is written at exactly the same

address at a different times; Hardest attack.

ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty1413th Jan 2018

Page 8: Energy and Security Tradeoffs in CE Systems

Counterfeit Hardware – IP Attacks

Source: https://www.slideshare.net/rorykingihs/ihs-electronics-conference-rory-king-october

Wireless Market

$18.9 billion (34.8%)

Wired Communications

$2.9 billion (5.4%)

Data Processing

$6.0 billion (11%)

Automotive

$8.5 billion (15.7%)

Industrial Electronics

$8.9 billion (16.5%)Consumer Electronics

$9.0 billion (16.6%)

2014 Analog Hardware Market (Total Shipment Revenue US $)

Top counterfeits could have impact of$300B on the semiconductor market.

ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty1513th Jan 2018

Page 9: Energy and Security Tradeoffs in CE Systems

Attacks - Software Vs Hardware

Software attacks via

communication channels

Typically from remote

More frequent

Selected Software based: Denial-of-Service (DoS)

Routing Attacks

Malicious Injection

Injection of fraudulent packets

Snooping attack of memory

Spoofing attack of memory and IP address

Password-based attacks

13th Jan 2018 19ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Software Based Hardware Based

Hardware or physical attacks

Maybe local

More difficult to prevent

Selected Hardware based: Hardware backdoors (e.g. Trojan)

Inducing faults

CE system tampering/jailbreaking

Eavesdropping for protected memory

Side channel attack

CE hardware counterfeiting

Page 10: Energy and Security Tradeoffs in CE Systems

Security - Software Vs Hardware

13th Jan 2018 21ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Software Based Hardware Based

Maintaining of Security of Consumer Electronics, CE Systems,IoT, CPS, etc. needs Energy and affects performance.

Flexible - Easy to use, upgrade

and update

Wider-Use - Use for all devices in

an organization

Higher recurring operational cost

Tasks of encryption easy

compared to hardware –

substitution tables

Needs general purpose processor

Can’t stop hardware reverse

engineering

High-Speed operation

Energy-Efficient operation

Low-cost using ASIC and FPGA

Tasks of encryption easy compared

to software – bit permutation

Easy integration in CE systems

Possible security at source-end like

sensors, better suitable for IoT

Susceptible to side-channel attacks

Can’t stop software reverse

engineering

Page 11: Energy and Security Tradeoffs in CE Systems

Hardware Assisted Security

Software based Security:

A general purposed processor is a deterministic machine

that computes the next instruction based on the program

counter.

Software based security approaches that rely on some form

of encryption can’t be full proof as breaking them is just

matter of time.

It is projected that quantum computers that use different

paradigms than the existing computers will make things

worse.

Hardware-Assisted Security: Security/Protection

provided by the hardware: for information being

processed by a CE system, for hardware itself, and/or

for the CE system.

13th Jan 2018 22ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Page 12: Energy and Security Tradeoffs in CE Systems

Hardware Assisted Security

Hardware-Assisted Security: Security provided by

hardware for:

(1) information being processed,

(2) hardware itself,

(3) overall system

Additional hardware components used for security.

Hardware design modification is performed.

System design modification is performed.

13th Jan 2018 23ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

RF Hardware Security Digital Hardware Security – Side Channel

Digital Core IP ProtectionMemory Protection

Hardware Trojan Protection

IR Hardware Security

Information Security, Privacy, Protection

Page 13: Energy and Security Tradeoffs in CE Systems

CE System Design and

Operation Tradeoffs

13th Jan 2018 24ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Energy Consumption, Battery LifeS

ecu

rity

Page 14: Energy and Security Tradeoffs in CE Systems

CE System Energy & Security

Tradeoff – System Level

13th Jan 2018 26ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Source: Mohanty 2006, TCAS-II May 2006; Mohanty 2009, JSA Oct 2009; Mohanty 2016, Access 2016

V1V2

V2

V1

Include additional/alternative hardware/software components anduses DVFS like technology for energy and performance optimization.

Light-Weight

Cryptography

(LWC)

Better

Portable

Graphics

(BPG)

Page 15: Energy and Security Tradeoffs in CE Systems

Embedded Memory Security and Protection

13th Jan 2018 28ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

On-Chip/On-Board Memory Protection

Source: Mohanty 2013 and Springer CSSP Aug 2013

Write OperationRead Operation

Embedded

Processor

L1

Cache

Encryption/

Decryption

Module

MemoryMerkle

Hash

Verify

Hash

Hash

Cache

Sensor

Module

Current /

Temperature

Update Merkle

Hash Tree

Update Merkle

Hash Tree

Update Merkle

Hash Tree

Read Decoder

(Value) and Hash

from Memory

Sensor

Attack

?

Do not check hash

Proceed with read

Check

Hash

Tree

Yes

No

Trusted On-Chip Boundary

Page 16: Energy and Security Tradeoffs in CE Systems

NFC Security

13th Jan 2018 31ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Source: Mohanty 2017, CE Magazine Jan 2017

Payer Module

Payee Module

Start

Get ID from

NFC Module

from Receiver

Enter

Amount

Verify

Fingerprint

Data

Approved

?

Send Data

over GSM

Yes

No

Start

Verify

Fingerprint

Data

Approved

?

Send Data over

NFC P2P

Yes

No

Power SupplyFingerprint

Sensor E-Ink

Display

GSM Antenna

Keypad

NFC

Antenna I/O

Microcontroller

SPI

SPI

Swing Pay

Page 17: Energy and Security Tradeoffs in CE Systems

Trojan Secure Digital Hardware Synthesis

13th Jan 2018 33ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Source: Sengupta, Mohanty 2017: TCAD April 2017

HLS Library Comprising of Module info from Two Vendors

Datapath Resource

configuration (Rn)

Vendor Allocation

Type (Av)

Unrolling

Factor (U)

DMR Scheduling

Modified Allocation in

DMR based on Distinct

Vendor Rule

Trojan Detection Block

PSO-Driven Exploration for Optimizing

Independent Factors Simultaneously

Optimizing

Datapath

Configuration

Optimizing

Vendor

Allocation Type

Binding

Cost Evaluation

Optimizing

Unrolling

Factor

Low Cost Trojan Secured DatapathProvide backdoor to adversary.

Chip fails during critical needs.

Page 18: Energy and Security Tradeoffs in CE Systems

Digital Hardware Synthesis to Prevent

Reverse Engineering

Source: Sengupta, Mohanty 2017, TCE November 2017

IoT Keynote by Prof./Dr. Saraju P. Mohanty35

Obfuscation – Intentional modification ofthe description or the structure ofelectronic hardware to concealits functionality for making reverse-engineering difficult.

X

+

AB

X

+

CD

X

+

EF

X

+

GH

Perform

Obfuscation

Non-Obfuscated

Design

Obfuscated Design

Attacker trying to

discover the design

Attack

Successful on

Non-protected

Design

Attack Failed

on Protected

Design

CE Devices

Secured DSP

CDF/DFG

Preprocessing of

Unrolling Factors

Input for Proposed

Structural Obfuscation

Module Library

User Constraints

Maximum Number of

Iteration

Control Parameters:

e.g. Swarm Size, #

Iterations, etc.

Input for PSO-DSE

Perform

Structural

Obfuscation

based on 5

Different HLT

Techniques

PSO based

Design

Space

Exploration

Structurally

Obfuscated

Low Cost IP

Core

Input Block

Obfuscated

Design for

Low Cost

Solution

Redundant

Operation

Elimination

Logic

Transformat

ion

Tree Height

Transformati

on

Loop

Unrolling

Loop

Invariant

Code

Motion

Transformation

Techniques

13th Jan 2018

Page 19: Energy and Security Tradeoffs in CE Systems

ICCE 2018 - Panel - 2 by Prof./Dr. Saraju P. Mohanty

Hardwares are the drivers of the

civilization, even softwares need them.

Thank You !!!Slides Available at: http://www.smohanty.org

13th Jan 2018 36