Ohm’s Law in Data Centers:
A Voltage Side Channel for Timing Power Attacks
Mohammad A. Islam and Shaolei Ren UC Riverside
Acknowledgement: This work was supported in part by the U.S. NSF under grants CNS-1551661 and ECCS-1610471.
Ohms Law in Data Centers: A Voltage Side Channel for Timing Power - - PowerPoint PPT Presentation
Ohms Law in Data Centers: A Voltage Side Channel for Timing Power Attacks Mohammad A. Islam and Shaolei Ren UC Riverside Acknowledgement: This work was supported in part by the U.S. NSF under grants CNS-1551661 and ECCS-1610471. Cloud data
Mohammad A. Islam and Shaolei Ren UC Riverside
Acknowledgement: This work was supported in part by the U.S. NSF under grants CNS-1551661 and ECCS-1610471.
2
2
User/Tenant = Virtual machines
Managed by Operator Non-IT infrastructure Utility (Primary) Generator UPS ATS P D U P D U Computer Servers
3
Managed by Tenants Managed by Operator Non-IT infrastructure Utility (Primary) Generator UPS ATS P D U P D U Computer Servers
3
Apple houses 25% of its servers in multi-tenant data centers…
4
Google, Amazon, MS, Fb… :7.8% Enterprise: 53% Multi-tenant: 37%
Percentage of electricity usage by data center type (source: NRDC 2015)
4
DDoS attack, network intrusion, privacy protection, etc. [Mirkovic Sigcomm’04][Zhang CCS’12][Moon CCS’15][Dong CCS’17]…
5
5
Multimillion-dollar investment
UPS PDU ATS Utility Generator Servers
6
Hacking control systems Human intrusion
Power
Overload using server power Multimillion-dollar investment
UPS PDU ATS Utility Generator Servers
6
Hacking control systems Human intrusion
Power
Overload using server power
Multimillion-dollar investment
UPS PDU ATS Utility Generator Servers
6
Generator UPS ATS P D U P D U
7
Generator UPS ATS P D U P D U
7
Generator UPS ATS P D U P D U Malicious Tenant
Malicious load
7
Power attack: Well-timed power injection to overload the shared data center capacity, subject to all applicable constraints set by the operator
7
8
9
9
9
References
Computer and Communications Security (CCS), 2017.
Channel,” ACM International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS), 2018.
Thermal: Higher power produces more heat
References
Computer and Communications Security (CCS), 2017.
Channel,” ACM International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS), 2018.
Thermal: Higher power produces more heat
Acoustic: More heat requires more cold air
11
12
12
12
UPS PDU 𝑺 𝑺𝒃 Attacker Server
13
UPS PDU 𝑺 𝑺𝒃 Attacker Server
Line resistance
13
UPS PDU 𝑱𝒃 𝑺 𝑺𝒃 Attacker Server 𝑱 = ∑𝑱𝒐
𝑱𝟐 𝑱𝟑
13
Attacker’s voltage 𝑾𝒃 = 𝑾𝑸𝑬𝑽 − 𝑱𝒃𝑺𝒃 UPS PDU 𝑱𝒃 𝑺 𝑺𝒃 Attacker Server 𝑱 = ∑𝑱𝒐
𝑱𝟐 𝑱𝟑
13
Own impact Power load is included in 𝑾𝒃 Attacker’s voltage 𝑾𝒃 = 𝑾𝑸𝑬𝑽 − 𝑱𝒃𝑺𝒃 = 𝑾𝑽𝑸𝑻 − ∑𝑱𝒐𝑺 − 𝑱𝒃𝑺𝒃 UPS PDU 𝑱𝒃 𝑺 𝑺𝒃 Attacker Server 𝑱 = ∑𝑱𝒐
𝑱𝟐 𝑱𝟑
13
14
14
14
14
14
Power Factor Correction (PFC)
15
Power Factor Correction (PFC)
Without PFC Current draw is bursty
15
Power Factor Correction (PFC)
Without PFC With PFC Current draw is bursty Current follows a sinewave with high-frequency ripples
15
Power Factor Correction (PFC) PWM Control Output voltage sample Input voltage sample Rectifier Inductor Diode MOSFET
16
Power Factor Correction (PFC) PWM Control Output voltage sample Input voltage sample Rectifier Inductor Diode MOSFET Reference Current
16
Power Factor Correction (PFC) PWM Control Output voltage sample Input voltage sample Rectifier Inductor Diode MOSFET Actual Current Reference Current
16
Power Factor Correction (PFC) PWM Control Output voltage sample Input voltage sample Rectifier Inductor Diode MOSFET 𝑼𝒑𝒐 𝑼𝒑𝒈𝒈 𝑼 𝑼𝒑𝒐 𝑼𝒑𝒈𝒈 𝑼 Actual Current Reference Current
16
Power Factor Correction (PFC) PWM Control Output voltage sample Input voltage sample Rectifier Inductor Diode MOSFET 𝑼𝒑𝒐 𝑼𝒑𝒈𝒈 𝑼 𝑼𝒑𝒐 𝑼𝒑𝒈𝒈 𝑼 Actual Current Reference Current
16
17
High-frequency ripples caused by PFC
17
High-frequency ripples caused by PFC
17
High-frequency ripples caused by PFC
(at PFC switching frequency)
17
18
18
Given a higher current, the ripples need to rise up more during each cycle.
1 Oscilloscope
1 2 3 4 5 6
2 Network Switch 3 PowerEdge Servers 4 UPS 5 APC PDU 6 Voltage Measurement From Power Outlet
19
2 495W, PFC Switching ~𝟕6kHz Model: F495E-S0 Manufacturer: Astec Intl. Ltd. 1 350W, PFC Switching ~𝟕𝟒kHz Model: D35E-S1 Manufacturer: Delta Electronics Inc. 3 495W, PFC Switching ~𝟖𝟏kHz Model: E495E-S1 Manufacturer: Flextronics Intl. Ltd.
20
21
21
21
22
22
22
22
22
22
~63kHz ~66kHz ~70kHz
22
Tenant #1 Tenant #2 Tenant #3
23
Tenant #1 Tenant #2 Tenant #3
23
24
25
25
25
25
26
26
26
26
26
UPS
P D U P D U References
Computer and Communications Security (CCS), 2017.
Channel,” ACM International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS), 2018.
Communications Security (CCS), 2018.