## 5 Results
### Experiment 2  
Below, we present the results of Experiment 2, focusing on Raspberry Pi, Buildroot, and Kali Linux. Raspberry Pi OS: The average baseline power draw of the device is calculated to be: 0.083 A. The max power usage is 0.144 A on average from the whole data set, and the trimmed data set is an average of 0.189 A. This is the theoretical maximum current draw of the device. Under the SYN flood attack, we have an average current draw (nominal data) 0.182 A, trimmed average 0.193 A, and an average temperature of 42.5 \({}^{\circ}\)C. Under the ICMP flood attack, we have an average current draw 0.102 A, trimmed average 0.104 A, and an average temperature of 46 \({}^{\circ}\)C. Under the UDP flood attack, we have an average current draw 0.083 A, trimmed average is not required, and an average temperature of 43.1 \({}^{\circ}\)C. The power (current) draw data are given in Figure 6 and the temperature data in Figure 7. Utilising the previously mentioned attack severity scores based on the percentage increase from baseline, each attack scored: UDP flood level-0, as it did not increase powerdraw; ICMP flood 25.3%, which is a level-1 attack; and SYN flood 132% increase, which is a level-5 attack. Buildroot embedded Linux: The average baseline power draw of the device is calculated to be 0.116 A. The max power usage is 0.125 A on average from the whole data set, and the trimmed data set averages 0.150 A. This is the theoretical maximum current draw of the device. Under SYN flood, we have average current draw 0.109 A and trimmed average 0.111 A. Under ICMP flood, we have average current draw 0.137 A and trimmed average 0.142 A. Under UDP flood, we have average current draw 0.112 A and trimmed average 0.114 A. The current draw data for Buildroot are shown in Figure 8. Utilising the attack severity scores based on the percentage increase from baseline, each attack scored: UDP flood level-0, as it actually decreased the power draw of the device, which went down to \(-1.8\%\); ICMP flood 22.4%, which is a level-1 attack; and SYN flood: \(-4.4\%\), which similarly to the UDP flood actually decreased power draw, which again is level-0. Figure 6: Raspberry Pi OS current draw. Figure 7: Raspberry Pi OS temperature. Kali Linux: The average baseline power draw of the device is calculated to be 0.089 A. The max power usage is a 0.123 A on average from the whole data set, and the trimmed data set is an average of 0.170 A. This is the theoretical maximum current draw of the device. Without tempmon.sh, we have the following: SYN flood average current draw 0.087 A and trimmed average 0.089 A; ICMP flood average current draw 0.139 A and trimmed average 0.168 A; and UDP flood average current draw 0.090 A and trimmed average 0.093 A. With tempmon.sh, we have the following: SYN flood average current draw 0.145 A, trimmed average 0.159 A, and an average temperature of 44 \({}^{\circ}\)C; ICMP flood average current draw 0.137 A, trimmed average 0.172 A, and an average temperature of 45 \({}^{\circ}\)C; UDP flood average current draw 0.123 A, trimmed average 0.159 A, and average temperature is not measured. The power draw data for Kali Linux are shown in Figure 9 and the temperature data in Figure 10. Utilising the attack severity scores, we have: UDP flood level-0, as it only increased power usage by 4%; ICMP flood level-4 as it increased power usage by 88.7%; and SYN flood scored an attack level-0 as it did not increase current usage. Then, for attacks, whilst monitoring tempmon.sh, we have: SYN flood increased power draw by 78.6% which is a level-3 attack; ICMP flood: increased power usage by 93.2%, which is a level-4 attack; and UDP flood increased power usage by 78% over baseline, which is a level-3 attack. Figure 8: Buildroot OS current draw. Figure 9: Kali Linux current draw. The device that proved to be the most efficient was Buildroot OS as the simulations performed on the device resulted in the smallest current draw increase and, therefore, scored the best within the study.