Top Banner
Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute of Information Engineering, CAS, Beijing, China ISC 2015 11th September,2015 1
34

Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Jan 01, 2016

Download

Documents

Arabella Bates
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: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Extracting Robust Keys from NAND Flash

Physical Unclonable Functions

Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji

Institute of Information Engineering, CAS, Beijing, China

ISC 2015

 11th September,2015

1

Page 2: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Outline

Motivation

NAND Flash memory basics

Robust key generation

Experiments and Evaluation

Conclusion2

Page 3: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Outline

Motivation

NAND Flash memory basics

Robust key generation

Experiments and Evaluation

Conclusion3

Page 4: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

NAND Flash memory is ubiquitous

Smart phones, SD cards, USB memory stick, etc.

The keys used by electronic devices need be protected

contain many confidential information many applications need to identify and authenticate users

Motivation

4

Page 5: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Motivation

Physically uncloable function (PUF)

PUFs are hardware primitives which produce unpredictable and instantiation dependent outcomes.

Noises exist in the PUFs

PUF responses are generally not perfectly reproducible. In general, fuzzy extractors (ECC and hash function )are used

to ensure the reliability of the responses. As the error rate increases, the cost of fuzzy extractor is

rather high for devices with limited hardware resources.

5

Page 6: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Motivation

Physically uncloable function (PUF)

PUFs are hardware primitives which produce unpredictable and instantiation dependent outcomes.

Noises exist in the PUFs

PUF responses are generally not perfectly reproducible. In general, fuzzy extractors (ECC and hash function )are used

to ensure the reliability of the responses. As the error rate increases, the cost of fuzzy extractor is

rather high for devices with limited hardware resources.

6

Page 7: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

We focus on

NAND Flash Physical Unclonable Function (NFPUF) Error reduction techniques

First, we present three methods to extract raw NFPUF numbers.

partial erasure partial programming program disturbance

Second, we introduce two methods to select the cells. bit-map position-map

Motivation

7

Page 8: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Outline

Motivation

NAND Flash memory basics

Robust key generation

Experiments and Evaluation

Conclusion8

Page 9: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

NAND Flash memory basics

Uncertain States of Cells

on account of variations in manufacturing processes, the threshold voltages vary from cell to cell. When the threshold voltage is not shifted sufficiently from the

programmed state to the erased state, and vice versa, the cell will be in an uncertain state. 9

Page 10: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

NAND Flash memory basics

Uncertain States of Cells

on account of variations in manufacturing processes, the threshold voltages vary from cell to cell. When the threshold voltage is not shifted sufficiently from the

programmed state to the erased state, and vice versa, the cell will be in an uncertain state. 10

Page 11: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

NAND Flash memory basics

Disturbance Related to Array Organization

During the programming operations ,there exists noises between the adjacent cells.

After many repeating operations, it makes the adjacent cells flip

11

Page 12: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

NAND Flash memory basics

Disturbance Related to Array Organization

During the programming operations ,there exists noises between the adjacent cells.

After many repeating operations, it makes the adjacent cells flip 12

Page 13: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Outline

Motivation

NAND Flash memory basics

Robust key generation

Experiments and Evaluation

Conclusion13

Page 14: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Partial Erasure

Erase a block

program a page to “0”

perform fixed number (PENum) of

partial erasure operations (Te)

to the selected page

record the number of partial

erasure operations that the

selected cells need to flip

14

Robust key generation ----Extracting Raw NFPUF Numbers

1 1 1 1 1 1 1 1

0 0 0 0 0 0 0 0

0 1 0 0 1 0 0 0

0

1

1 1 0 0 1 0 1 0 2

1 1 0 1 1 1 1 0 3Raw NFPUF Numbers: 2 1 4 3 1 3 2 4

Page 15: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Partial Erasure

Erase a block

program a page to “0”

perform fixed number (PENum) of

partial erasure operations (Te)

to the selected page

record the number of partial

erasure operations that the

selected cells need to flip

15

Robust key generation ----Extracting Raw NFPUF Numbers

1 1 1 1 1 1 1 1

0 0 0 0 0 0 0 0

0 1 0 0 1 0 0 0

0

1

1 1 0 0 1 0 1 0 2

1 1 0 1 1 1 1 0 3Raw NFPUF Numbers: 2 1 4 3 1 3 2 4

Page 16: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Partial Programming

Erase a block

perform fixed number (PPNum) of

partial programming operations (Tp)

to the selected page

record the number of partial

programming operations that the

selected cells need to flip

16

Robust key generation ----Extracting Raw NFPUF Numbers

1 1 1 1 1 1 1 1

1 0 1 1 0 1 1 1

0

1

0 0 1 1 0 1 0 1 2

0 0 1 0 0 0 0 1 3Raw NFPUF Numbers: 2 1 4 3 1 3 2 4

Page 17: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Partial Programming

Erase a block

perform fixed number (PPNum) of

partial programming operations (Tp)

to the selected page

record the number of partial

programming operations that the

selected cells need to flip

17

Robust key generation ----Extracting Raw NFPUF Numbers

1 1 1 1 1 1 1 1

1 0 1 1 0 1 1 1

0

1

0 0 1 1 0 1 0 1 2

0 0 1 0 0 0 0 1 3Raw NFPUF Numbers: 2 1 4 3 1 3 2 4

Page 18: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Program Disturbance

Erase a block

perform fixed number (PDNum) of

programming operations to the

selected page

record the number of programming

operations that the selected cells

in its physically adjacent page

need to flip

18

Robust key generation ----Extracting Raw NFPUF Numbers

1 1 1 1 1 1 1 1

1 0 1 1 0 1 1 1

0

1

0 0 1 1 0 1 0 1 2

0 0 1 0 0 0 0 1 3Raw NFPUF Numbers: 2 1 4 3 1 3 2 4

Page 19: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Program Disturbance

Erase a block

perform fixed number (PDNum) of

programming operations to the

selected page

record the number of programming

operations that the selected cells

in its physically adjacent page

need to flip

19

Robust key generation ----Extracting Raw NFPUF Numbers

1 1 1 1 1 1 1 1

1 0 1 1 0 1 1 1

0

1

0 0 1 1 0 1 0 1 2

0 0 1 0 0 0 0 1 3Raw NFPUF Numbers: 2 1 4 3 1 3 2 4

Page 20: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

20

Robust key generation ----Extracting Robust Keys from Raw NFPUF Numbers

Fluctuations of raw NFPUF numbers from four cells of a MLC type NAND Flash memory chip

Page 21: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

21

Robust key generation ----Extracting Robust Keys from Raw NFPUF Numbers

Page 22: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

22

Robust key generation ----Extracting Robust Keys from Raw NFPUF Numbers

Page 23: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

23

Robust key generation ----Extracting Robust Keys from Raw NFPUF Numbers

Page 24: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Outline

Motivation

NAND Flash memory basics

Robust key generation

Experiments and Evaluation

Conclusion24

Page 25: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

25

Experiments

Setup Platform: a Flash test board with an ARM Cortex-M3 controller

Tested NAND Flash memory chips

Page 26: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

26

Evaluation

The security and reliability of the keys

speed (for performance)

reproducibility (for reliability)

uniqueness (for security)

randomness (for high-entropy)

Page 27: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

27

Evaluation ——speed

The average throughput of the raw NFPUF numbers (Kbits/second)

Parameters setting of the raw NFPUF numbers extraction methods

Page 28: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

28

Evaluation ——speed

The average throughput of the raw NFPUF numbers (Kbits/second)

Parameters setting of the raw NFPUF numbers extraction methods

Page 29: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

29

Evaluation ——Reproducibility (Intra-chip variations)

Page 30: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

30

Evaluation ——Uniqueness (Inter-chip variations)

The inter-chip variations of the three proposed extraction methods

Page 31: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

31

Evaluation ——Randomness

The percentage of bit “1” with temperature changes

Page 32: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

Outline

Motivation

NAND Flash memory basics

Robust key generation

Experiments and Evaluation

Conclusion32

Page 33: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

33

First, we proposed three methods to extract raw NFPUF numbers from NAND Flash memory chips.

Second, we utilized the bit-map or position-map method to select the cells with the most reliable relationship of the size between raw NFPUF numbers.

At last, we evaluated the primary characteristics of the key under various temperature and aging conditions.

Our key generator eschews the costly ECC overheads to generate robust and error-free keys.

Page 34: Extracting Robust Keys from NAND Flash Physical Unclonable Functions Shijie Jia, Luning Xia, Zhan Wang, Jingqiang Lin, Guozhu Zhang and Yafei Ji Institute.

34

Thank you !