The great strides made over the past decade in the complexity and network functionality of embedded systems have significantly enhanced their attractiveness for use in critical applications such as medical devices and military communications. However, this expansion into critical areas has presented embedded engineers with a serious new problem: their designs are now being targeted by the same malicious attackers whose predations have plagued traditional systems for years. Rising concerns about data security in embedded devices are leading engineers to pay more attention to security assurance in their designs than ever before. This is particularly challenging due to embedded devices' inherent resource constraints such as limited power and memory. Therefore, traditional security solutions must be customized to fit their profile, and entirely new security concepts must be explored. However, there are few resources available to help engineers understand how to implement security measures within the unique embedded context. This new book from embedded security expert Timothy Stapko is the first to provide engineers with a comprehensive guide to this pivotal topic. From a brief review of basic security concepts, through clear explanations of complex issues such as choosing the best cryptographic algorithms for embedded utilization, the reader is provided with all the information needed to successfully produce safe, secure embedded devices.
- The ONLY book dedicated to a comprehensive coverage of embedded security!
- Covers both hardware- and software-based embedded security solutions for preventing and dealing with attacks
- Application case studies support practical explanations of all key topics, including network protocols, wireless and cellular communications, languages (Java and C/++), compilers, web-based interfaces, cryptography, and an entire section on SSL
Inhaltsverzeichnis
1;Front cover;1 2;Practical Embedded Security;4 3;Copyright page;5 4;Table of contents;6 5;Preface;10 6;CHAPTER 1: Computer Security Introduction and Review;20 6.1;What Is Security?;21 6.2;What Can We Do?;21 6.3;Access Control and the Origins of Computer Security Theory;22 6.4;Security Policies;23 6.5;Cryptography;27 6.6;Data Integrity and Authentication;32 6.7;Wrap-Up;40 6.8;Recommended Reading;40 7;CHAPTER 2: Network Communications Protocols and Built-in Security;42 7.1;Low-Level Communications;43 7.2;Transport and Internet Layer Protocols;51 7.3;Other Network Protocols;57 7.4;Wrap-Up: Network Communications;67 8;CHAPTER 3: Security Protocols and Algorithms;68 8.1;Protocol Madness;69 8.2;Standardizing SecurityA Brief History;70 8.3;Standardized Security in Practice;72 8.4;Cryptography and Protocols;79 8.5;Other Security Protocols;81 9;CHAPTER 4: The Secure Sockets Layer;86 9.1;SSL History;86 9.2;Pesky PKI;87 9.3;PKI Alternatives;89 9.4;SSL Under the Hood;91 9.5;The SSL Session;98 9.6;SSL in Practice;100 9.7;Wrap-Up;101 10;CHAPTER 5: Embedded Security;102 10.1;Networked Embedded Systems and Resource Constraints;103 10.2;Embedded Security Design;106 10.3;The KISS Principle;110 10.4;Modularity Is Key;114 10.5;Pick and Pull;128 10.6;Justification;132 10.7;Wrap-Up;133 11;CHAPTER 6: Wireless;134 11.1;Wireless Technologies;134 11.2;Bluetooth;141 11.3;ZigBee;142 11.4;Wireless Technologies and the Future;145 11.5;Wrap-Up;146 12;CHAPTER 7: Application-Layer and Client/Server Protocols;148 12.1;Introduction;148 12.2;The World Wide Web;149 12.3;Web-Based Interfaces;150 12.4;Server-Side HTTP Web Interfaces;153 12.5;HTTP Client Web Interfaces;156 12.6;Combination Client/Server HTTP Applications;157 12.7;Console Applications;157 12.8;File Transfer Protocol;159 12.9;Email, DNS, DHCP, and SNMP;164 12.10;Wrap-Up;166 13;CHAPTER 8: Choosing and Optimizing Cryptographic Algorithms for Resource-Constrained Systems;168 13.1;Do We Need Cryptography?;169 13.2;HashingLow Security, High Per
formance;171 13.3;To Optimize or Not to Optimize ;177 13.4;Choosing Cryptographic Algorithms;184 13.5;Tailoring Security for Your Application;189 13.6;Wrap-Up;190 14;CHAPTER 9: Hardware-Based Security;192 14.1;High Performance in Silicon;192 14.2;Wrap-Up: Security and Hardware;197 15;CHAPTER 10: ConclusionMiscellaneous Security Issues and the Future of Embedded Applications Security;198 15.1;Programming Languages and Security;198 15.2;Dealing with Attacks;199 15.3;The Future of Security;201 15.4;Wrap-Up;203 16;CHAPTER 11: PIC Case Study;206 16.1;Microchip PIC with Ethernet Controller;206 16.2;PIC Example ApplicationSecure LED Blinking;208 17;CHAPTER 12: Rabbit Case Study;226 17.1;Rabbit 4000 CPU with Dynamic C;226 17.2;The History of Rabbit;226 17.3;Software on the Rabbit;227 17.4;Rabbit Case StudyInternet Enabled Vending Machine;229 17.5;Putting It All Together;238 17.6;The PC Side;242 17.7;Wrap-Up: A Secure Rabbit;242 18;APPENDIX A: Source Listings;244 18.1;PIC Example Source Code (Main Program);244 19;Index;298