CS-773 Paper Presentation���Maya: Falsifying Power Side Channels with Dynamic Control
�
Rishi Agarwal�ArchMages(#0)
rishiagarwal@cse.iitb.ac.in
1
Motivation
2
Keystroke
Password length
Location
Browser activity
Camera activity
Application activity
Bits of encryption key
Motivation
Detecting application through power measurement
3
Timesteps
Avg. Power (W)
Motivation
Reshape power in application transparent manner
4
Avg. Power (W)
Timesteps
Prior Work
5
Maya - 10K feet view
6
Mask generator
Controller
Computer system
Target power (R)
Total power (P)
Inputs
Maya - Controller
7
Controller
E(t) = P(t)-R(t)
S(t+1) = A x S(t) + B x E(t)
A(t) = C x S(t) + D x E(t)
R(t)
P(t)
E(t) := error(t), S(t) := State(t), A(t) := action(t)
A(t)
Matrix multiplication in controller?
8
How good is the controller?
9
High fidelity power shaping with control theory
Avg. Power (W)
Timesteps
Target power R(t)
Measured power P(t)
Maya - Mask Generator
Philosophy?
10
Constant Mask
11
Time domain
Frequency domain
Power (W)
Time (s)
Freq. (Hz)
Gaussian Sinusoidal Mask
12
Time domain
Frequency domain
Power (W)
Time (s)
Freq. (Hz)
Maya - Mask Generator
13
Assumptions & Strengths
14
Maya - Summary
15
Experimental setup
16
Actuating the inputs
17
Implementation - controller
18
Dynamic model of system
19
Implementation - mask generator
20
Evaluation methodology
21
Accuracy - Data w/o Maya
22
True label
Predicted label
Acc. drops from 92% to 12% (constant), 13%(gaussian-sinusoidal)
Constant mask
Gaussian-sinusoidal mask
Accuracy - Data w/ Maya
23
True label
Predicted label
Constant mask
Gaussian-sinusoidal mask
Visualization of power trace
24
Avg. Power (W)
Timesteps
Constant mask
Gaussian-sinusoidal mask
No Maya
Performance - power
25
Avg. power consumed is 35% (noisy), 41% (constant), 29% (gaussian-sinusoidal) lower than normal
Normalized Power
Applications
Performance - execution time
26
Avg. slowdown of 63% (noisy), 100% (constant), 50% (gaussian-sniusoidal)
Normalized Duration
Applications
Summary
27
Discussion
28
��Thank you for listening!
Any Questions?
�
29