Li Tie Yan, Hongjun Wu - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Li Tie Yan, Hongjun Wu

Description:

Mote sending an encrypted and authenticated packet successfully will toggle Green ... Compile TestTinySec and install it on mote 1 ... – PowerPoint PPT presentation

Number of Views:57
Avg rating:3.0/5.0
Slides: 13
Provided by: liti4
Category:
Tags: hongjun | mote | tie | yan

less

Transcript and Presenter's Notes

Title: Li Tie Yan, Hongjun Wu


1
Flagship project SmartCondo-gtSecureSensor
SenSec Phase 1 Demo
Li Tie Yan, Hongjun Wu InfoComm Security
Department (ICSD) Institute for Infocomm Research
(I2R) 3rd, Sept. 2004
2
What are tested?
3
Components Implemented
  • tos.interfaces  (may not be the same name)
  • SenSec.nc  _at_author Tieyan Li   
  • SenSecControl.nc  _at_author Tieyan Li 
  • MAC.nc  _at_author Hongjun Wu, Interface to
    compute a message authentication code.  
  • BlockCipher.nc  _at_author Hongjun Wu   
  • BlockCipherInfo.nc     _at_author Hongjun Wu
  • BlockCipherMode.nc  _at_author Hongjun Wu, Presents
    an encryption mode interface on type of the
    BlockCipher interface
  • tos.lib.TinySec  (may not be the same name)
  • AMStandardSenSec.nc  _at_author Tieyan Li
  • CBCMAC.nc  _at_author Hongjun Wu   
  • CBCModeM.nc  _at_author Hongjun Wu, Implements
    Cross Block Chaining mode.   
  • Security.nc  _at_author Tieyan Li   
  • SecurityM.nc  _at_author Tieyan Li   
  • SkipJackM.nc  _at_author Hongjun Wu  
  • SenSecC.nc  _at_author Tieyan Li
  • SenSecM.nc  _at_author Tieyan Li

4
Test Schedule
  • Test 1
  • Set-up (Two motes with TestTinySec)
  • Result
  • Test 2
  • Set-up (One mote with TestTinySec, one with
    SecureTOSBase)
  • Result
  • Test 3
  • Set-up (Simulation of two motes with
    TestTinySec)
  • Result
  • Test 4
  • Set-up (Simulation of two motes with TinyViz)
  • Result

5
Test 1
  • Set-up
  • Test application TestTinySec (using
    SecureGenericCommSenSecM)
  • Compile TestTinySec and install them on two
    motes
  • Encrypted and authenticated packets are sent
    between these two motes
  • Result
  • Mote sending an encrypted and authenticated
    packet successfully will toggle Green
  • Mote receiving an encrypted and authenticated
    packet successfully will toggle Red
  • Two motes will have Green and Red blinking
  • Otherwise, no blink.

6
Test 2
  • Set-up
  • Test application TestTinySec (using
    SecureGenericCommSenSecM)
  • Compile TestTinySec and install it on mote 1
  • Test application SecureTOSBase (using
    SecureGenericCommSenSecM)
  • Compile SecureTOSBase and install it on mote 2
  • Encrypted and authenticated packets are sent
    from mote 1 to mote 2
  • Result
  • Mote 1 sending an encrypted and authenticated
    packet successfully will toggle Green
  • Mote 2 receiving an encrypted and authenticated
    packet successfully will toggle Red
  • PC using Listen tools on MOTECOMserial_at_COM15760
    0 sees Raw data
  • Otherwise, no data shown.

7
Test 3
  • Set-up
  • Test application TestTinySec (using our
    implemented components SenSec-EA)
  • Compile TestTinySec with make pc
  • Run build/pc/main.exe 2 gt result.txt with
    DBGusr1,crypto,am
  • Encrypted and authenticated packets are sent
    between two simulated motes
  • Result
  • Mote 0 (sees every byte sent, encrypted, MAC
    value computed)
  • Mote 1 (sees every byte received, decrypted,
    acknowledge if MAC is verified)
  • Otherwise, fail.

8
Test 3 (contd)
  • Set-up
  • Test application TestTinySec1 (using
    SecureGenericComm)
  • Compile TestTinySec1 with make pc f Makefile1
  • Run build/pc/main.exe 2 gt result1.txt with
    DBGusr1,crypto,am
  • Authenticate-only packets are sent between two
    simulated motes
  • Result
  • Mote 0 (sees every byte sent, MAC value
    computed)
  • Mote 1 (sees every byte received, acknowledge if
    MAC is verified)
  • Otherwise, fail.

9
Test 3 (contd)
  • Set-up
  • Test application TestTinySec2 (using
    SecureGenericComm with CRC)
  • Compile TestTinySec2 with make pc f Makefile2
  • Run build/pc/main.exe 2 gt result2.txt with
    DBGusr1,crypto,am,crc
  • Checksum packets are sent between two simulated
    motes
  • Result
  • Mote 0 (sees every byte sent, CRC value
    computed)
  • Mote 1 (sees every byte received, acknowledge if
    CRC is verified)
  • Otherwise, fail.

10
Test 4
  • Set-up
  • Test application TestTinySec (using
    SecureGenericCommSenSecM)
  • Compile TestTinySec with make pc
  • Test application TinyViz (compile and run)
  • Run TinyViz run build/pc/main.exe 2 with
    debug plugin
  • Encrypted and authenticated packets are sent
    between two simulated motes
  • Result
  • A visual simulation environment is shown
  • Mote 0 (sees every byte sent, MAC value
    computed)
  • Mote 1 (sees every byte received, acknowledge if
    MAC is verified)
  • Not always successful.

11
Next
  • Name changing (less confusing)
  • Performance analysis
  • Tackle packetlt8 bytes problem (very difficult)
  • TPSN integration (why need another time
    synchronization?)
  • TinyOS-1.1.7 (TinySec improves on some
    components)

12
Web
Available at http//www.i2r.a-star.edu.sg/icsd/Se
cureSensor/papers/Secure-Sensor-0903.ppt
Thank you! Q A
Write a Comment
User Comments (0)
About PowerShow.com