Extensible Firmware Interface
Total Page:16
File Type:pdf, Size:1020Kb
Load more
										Recommended publications
									
								- 
												  Beyond BIOS Developing with the Unified Extensible Firmware InterfaceDigital Edition Digital Editions of selected Intel Press books are in addition to and complement the printed books. Click the icon to access information on other essential books for Developers and IT Professionals Visit our website at www.intel.com/intelpress Beyond BIOS Developing with the Unified Extensible Firmware Interface Second Edition Vincent Zimmer Michael Rothman Suresh Marisetty Copyright © 2010 Intel Corporation. All rights reserved. ISBN 13 978-1-934053-29-4 This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in professional services. If professional advice or other expert assistance is required, the services of a competent professional person should be sought. Intel Corporation may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights that relate to the presented subject matter. The furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such patents, trademarks, copyrights, or other intellectual property rights. Intel may make changes to specifications, product descriptions, and plans at any time, without notice. Fictitious names of companies, products, people, characters, and/or data mentioned herein are not intended to represent any real individual, company, product, or event. Intel products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in nuclear facility applications. Intel, the Intel logo, Celeron, Intel Centrino, Intel NetBurst, Intel Xeon, Itanium, Pentium, MMX, and VTune are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries.
- 
												  DAY ONE: Vsrx on KVM Verma & Kat - and Saves Tme Saves and Juniper Techlibrary Juniper Writen Writen in Tandem with the JuniperDAY ONE: vSRX on KVM Day One: vSRX on KVM is for network administrators, network architects, or engineers in- terested in quickly startng to use the Juniper Networks vSRX Virtual Firewall. Any tme you ONE: DAY need to design and test diferent topology use cases, train yourself or others, or even practce DAY ONE: vSRX on KVM certfcaton exams, this book covers such usage with step-by-step instructons and practcal examples. vSRX ON KVM Day One: vSRX on KVM requires Basic networking knowledge and a general understanding of the TCP/IP protocol suite, Linux systems, and Ubuntu. Writen in tandem with the Juniper vSRX documentaton, it curates links and tutorials with the Juniper TechLiBrary and saves tme for vSRX users by coordinatng deployment steps with the TechLibrary’s archives. Learn how to deploy vSRX instances today! IT’S DAY ONE AND YOU HAVE A JOB TO DO, SO LEARN HOW TO: Confgure the vSRX in a KVM environment Install vSRX’s prerequisite packages and confgure and deploy an instance of vSRX on KVM. and build lab topologies on day one. Create a single instance topology and then a mult-device topology using two vSRX instances. Design topologies for diferent use cases. Complete the three challenge topologies. Troubleshoot vSRX operatons. Verma & Kat ISBN 978-1941441893 5 1 6 0 0 By Rahul Verma & Madhavi Kat Juniper Networks Books are focused on network reliaBility and efficiency. Peruse the complete liBrary at www.juniper.net/books. 9 781941 441893 DAY ONE: vSRX on KVM Day One: vSRX on KVM is for network administrators, network architects, or engineers in- terested in quickly startng to use the Juniper Networks vSRX Virtual Firewall.
- 
												  Uefi وبعض أنظمة Bios Uefi واجهة الربنامج الثابت املوحدة والقابلة للتمديد- جدول أقسامGUID GUID Partition Table جدول أقسام )أو تقسيم( يستخدم املعرفات الفريدة العميمة "! G % تعري. و-يي, ا+قسام *( ال)'ي& املقسم % أ$#مة !0/ و2ع1 أ$#مة 45!3 UEFI واج=ة ال>$ا;: ال9ا82 امل)7دة والقا62ة ل6تمديد مس جد? % ;<رم ّو@B @AA دة 'Cتمرب/أي6)ل DE@F2 " F جدول أقسام GUID *باIة *H تخGيط )أو تقسيم( جدول أقسام ;عياJI *( أج=,ة التخ,يH الفي,ياKيةM9; L ا+قراN الثا2تةL أو أقراN الحالة الC6OةPQ Lا التخGيط يستخدم املعرR الفريد العميم U@TS % متيي, ا+قسام وأ$)ا*هاL وXIم أ$W ج,H; V ;عياI واج=ة ال>نا;: الثا82 امل)حدة والقا62ة ل6تمديد !U ZD S YL /0 )املق^[ ;H ;\تد] h _`abc /0! 0defgبديM ل6\ظام التق6يدJ 45!3( $ظام Hlm GPj ا'تخدا;W أيضا % 2ع1 أ$#مة 45!3 بسnC ;حدو?ية جدول أقسام Lo3p الذJ يستخدم 82qTD فقط % تخ,يH ;ع6)مات ال<rم و*ناويr7 v; us3t Hم القGاw التق6يدqx@D Jبايu8 ;ع#م أ$#مة التشyيM تد*م P\; LGPj العام LDE@E 2ع1 ا+$#مة ;M9 ما{ أوu|} ومايكرو')ف8 ويندو~ )x86( تد*م فقط اإلقالH; w أقسام GPj % أ$#مة !L /0!B/0 2ي\ام ;ع#م ت)~يعات لي\lس و ت)~يعات 2ريhيل ي)$lس ;M9 فرJ يب |} ?lm J\ها اإلقالH; w أقسام GPj % أج=,ة 45!3 أو أج=,ة !u /0 6A TD % ا+قراN الثا2تة التي تستخدم r7م القطاw املعياx@D JI بايL8 ال<rم ا+قىص ل6قرN با'تخدام DuD (Q o3p ترياباي8 أو ) x@D × D بايuU @ S )8 2ي\ام ال<rم ا+قىص ل6قرN با'تخدام GPj 'يك)ن FuA ~يتاباي8 أو ) x@D × D بايU T S U @ S )8 والسnC % ذلك ا'تخدام H; 82 6A أجM *ناويH الكتM امل\Gقية % جدول أقسام u GPj تاIيخياL رشhة |$تي LM كا$8 وIاV تG)ير LGPj أواخر التسعينات )L)DEEE الذJ أصCح ج,H; V ;)اصفة !U D S Y /0 % عام DE@E وت<8 |?اIة Qيئة خاصة تد*ى !P\; u _`abc /0 عام uDEEF قطاعات GPT % عام LDE@E *ندما بدأ ;\تr)ن ا+قراN الثا2تة الت<)ل |ىل ت)ظي.
- 
												  Micron Technology, Wave Systems, Lenovo and American Megatrends IncOctober 28, 2014 Micron Technology, Wave Systems, Lenovo and American Megatrends Inc. Announce Intention to Create New Industry Standard to Meet Heightened Global Security Requirements Companies Will Collaborate to Strengthen Core Root of Trust for Measurement for the Enterprise Supply Chain BOISE, Idaho, Oct. 28, 2014 (GLOBE NEWSWIRE) -- Micron Technology, Inc. (Nasdaq:MU), a global leader in advanced semiconductor systems, and Wave Systems Corp. (Nasdaq:WAVX), a leading provider of endpoint security, today announced they intend to expand their collaboration to include Lenovo (HKSE:992) (ADR:LNVGY) and American Megatrends Inc. (AMI). Together, the four companies plan to develop advanced enterprise-class security offerings to address the escalating concerns of governments and multinational businesses. To meet the overall objective of verifying and securing software components, these solutions will significantly strengthen the Core Root of Trust for Measurement (CRTM) to offer best-in-class protection against current and emerging pre-boot threats within the supply chain. The companies intend for these solutions to form the basis of a new industry standard designed to ensure the integrity of the supply chain. According to the 2014 Verizon DBIR report, supply chain vulnerabilities and third-party vendors are still a leading cause of enterprise data breaches (Source, Verizon DBIR, 2014). With major brands continually leaking sensitive enterprise data, it is becoming even more critical to architect a comprehensive enterprise security suite that protects memory content from its inception in manufacturing throughout a computing device's life cycle. By providing verification of the CRTM, the first BIOS code that executes, the security of system measurements can be ensured rather than implicitly trusted, reducing the risk of supply chain attacks.
- 
												  QEMU Interface Introspection: from Hacks to SolutionsQEMU interface introspection: From hacks to solutions Markus Armbruster <[email protected]> KVM Forum 2015 Part I What’s the problem? Interfacing with QEMU QEMU provides interfaces QMP Monitor Command line to management applications like libvirt QEMU evolves rapidly Many interface versions Our command line is big In v2.4: 139 total options -14 deprecated -2 internal use 123 supported options 0.57kg If I had a coin for each of them. It’s big: output of -help QEMU emulator version 2.3.93, Copyright (c) 2003-2008 Fabrice Bellard -alt-grab use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt) configure a network backend to connect to another network -incoming rdma:host:port[,ipv4][,ipv6] usage: upstream-qemu [options] [disk_image] -ctrl-grab use Right-Ctrl to grab mouse (instead of Ctrl-Alt) using an UDP tunnel -incoming unix:socketpath -no-quit disable SDL window close capability -netdev vhost-user,id=str,chardev=dev[,vhostforce=on|off] prepare for incoming migration, listen on ’disk_image’ is a raw hard disk image for IDE hard disk 0 -sdl enable SDL configure a vhost-user network, backed by a chardev ’dev’ specified protocol and socket address -spice [port=port][,tls-port=secured-port][,x509-dir=<dir>] -netdev hubport,id=str,hubid=n -incoming fd:fd Standard options: [,x509-key-file=<file>][,x509-key-password=<file>] configure a hub port on QEMU VLAN ’n’ -incoming exec:cmdline -h or -help display this help and exit [,x509-cert-file=<file>][,x509-cacert-file=<file>] -net nic[,vlan=n][,macaddr=mac][,model=type][,name=str][,addr=str][,vectors=v]
- 
												  Multiple Stakeholder Model Revision 3.40R E Multiple Stakeholder Model F Published E Family “2.0” R Level 00 Revision 3.40 2 May 2016 E N C Contact: [email protected] E TCG PUBLISHED Copyright © TCG 2012-2016 TCG Published - Multiple Stakeholder Model Copyright TCG Copyright ©2012-2016 Trusted Computing Group, Incorporated. Disclaimer THIS REFERENCE DOCUMENT IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, WHITE PAPER, OR SAMPLE. Without limitation, TCG disclaims all liability, including liability for infringement of any proprietary rights, relating to use of information in this reference document, and TCG disclaims all liability for cost of procurement of substitute goods or services, lost profits, loss of use, loss of data or any incidental, consequential, direct, indirect, or special damages, whether under contract, tort, warranty or otherwise, arising in any way out of use or reliance upon this document or any information herein. No license, express or implied, by estoppel or otherwise, to any TCG or TCG member intellectual property rights is granted herein. Contact the Trusted Computing Group at www.trustedcomputinggroup.org for information on TCG licensing through membership agreements. Any marks and brands contained herein are the property of their respective owners. Page ii TCG PUBLISHED Family “2.0” 2 May 2016 Copyright © TCG 2012-2016 Level 00 Revision 3.40 Published- Multiple Stakeholder Model Copyright TCG Acknowledgments The TCG wishes to thank all those who contributed to this reference document. Ronald Aigner Microsoft Bo Bjerrum Intel Corporation Alec Brusilovsky InterDigital Communications, LLC David Challener Johns Hopkins University, Applied Physics Lab Michael Chan Samsun Semiconductor Inc.
- 
												  Enabling Next Generation Configuration Andpresented by Enabling Next Generation Configuration and Power Management on ARM Presented by Dong Wei, HP Fellow UEFI Forum Vice President (Chief Executive), ACPI SIG Secretary Oct 28, 2013 Updated 2011-06-01 The UEFI Forum www.uefi.org 1 ACPI Technology • Static tables and primary runtime interpreted control methods provided by system firmware to the OS for system configuration, power management and error ACPI Spec defined Tables handling Referenced but not specified in the ACPI Spec • Processor architecture agnostic The UEFI Forum www.uefi.org 2 ACPI Governance • ACPI SIG – HP, Intel, Microsoft, Phoenix and Toshiba are Promoters – 10 additional Contributing Adopters – 5 additional Adopters ACPI SIG HP/Intel/Microsoft/Phoenix/Toshiba The UEFI Forum www.uefi.org 3 UEFI Technology • Platform Initialization (PI): – Interfaces produced & consumed by firmware only; promote interoperability between firmware components • UEFI: – Pre-OS (and limited runtime program interfaces) between UEFI Applications (incl. OSes)/UEFI Drivers and system firmware The UEFI Forum www.uefi.org 4 The UEFI Forum Organization Chart Officers: Board of Directors (11 Promoters) President: Mark Doran (Intel); VP (CEO): Dong Wei (HP) Secretary: Jeff Bobzin (Insyde); Treasurer: Bill Keown (Lenovo) Industry & UEFI Platform Communications Specification Initialization Test WG WG WG WG Security Security Subteam Subteam Configuration Subteam 11 Promoters Network 40 Contributors Subteam 184 Adopters Shell 15 Individual Adopters Subteam ARM Binding Subteam 250 Members The UEFI
- 
												  OS X MavericksOS X Mavericks Core Technologies Overview October 2013 Core Technologies Overview 2 OS X Mavericks Contents Page 4 Introduction Page 5 System Startup BootROM EFI Kernel Drivers Initialization Address Space Layout Randomization (ASLR) Compressed Memory Power Efficiency App Nap Timer Coalescing Page 10 Disk Layout Partition Scheme Core Storage File Systems Page 12 Process Control Launchd Loginwindow Grand Central Dispatch Sandboxing GateKeeper XPC Page 19 Network Access Ethernet Wi-Fi Multihoming IPv6 IP over Thunderbolt Network File Systems Access Control Lists Directory Services Remote Access Bonjour Page 25 Document Lifecycle Auto Save Automatic Versions Document Management Version Management iCloud Storage Core Technologies Overview 3 OS X Mavericks Page 28 Data Management Spotlight Time Machine Page 30 Developer Tools Xcode LLVM Instruments Accelerate Automation WebKit Page 36 For More Information Core Technologies Overview 4 OS X Mavericks Introduction With more than 72 million users—consumers, scientists, animators, developers, and system administrators—OS X is the most widely used UNIX® desktop operating system. In addition, OS X is the only UNIX environment that natively runs Microsoft Office, Adobe Photoshop, and thousands of other consumer applications—all side by side with traditional command-line UNIX applications. Tight integration with hardware— from the sleek MacBook Air to the powerful Mac Pro—makes OS X the platform of choice for an emerging generation of power users. This document explores the powerful industry standards and breakthrough innovations in the core technologies that power Apple’s industry-leading user experiences. We walk you through the entire software stack, from firmware and kernel to iCloud and devel- oper tools, to help you understand the many things OS X does for you every time you use your Mac.
- 
												  Unified Extensible Firmware Interface Presentation to Linux Users OfUnified Extensible Firmware Interface Presentation to Linux Users of Victoria on LUV's Policy on UEFI December 6, 2011 http://levlafayette.com Unified Extensible Firmware Interface UEFI is a specification for a software interface between operating systems and firmware. It is designed to an alternative and replacement to BIOS (Basic Input/Output System), the first code run by a system, to identify system devices (e.g., video display, keyboard/mouse, HDD, optical drives etc), then it locates a select boot device and executes ("bootstraps") the operating system. BIOS software is stored on a non-volatile ROM chip on the motherboard. Unified Extensible Firmware Interface In 1998 PC BIOS limitations (e.g., 16 bit processor, 1 MB addressable memory) initiated the Intel Boot Initiative, which was re-branded the EFI and, in 2005 to UEFI, with the establishment of specification version 1.10 and the UEFI Forum, a non-profit which includes representatives from AMD, American Megatrends, Apple, Dell, HP, IBM, Insyde Software, Intel, Lenovo, Microsoft, and Phoenix Technologies. Version 2.1 (January 2007) added cryptography and network authentication. The current UEFI specification, v2.3.1, was approved in April 2011. http://computer.howstuffworks.com/bios1.htm http://www.uefi.org/about Unified Extensible Firmware Interface BIOS activity has changed over time. Older OS used BIOS for most i/o tasks. This became increasingly inefficient and many roles were taken over by the OS which had their own native drives (faster and more flexible!) whereas BIOS started managing things like power and thermal management, hot swapping etc. The absolutely biggest advantage of a BIOS is that it's _so_ inconvenient and obviously oldfashioned, that you have to be crazy to want to do anything serious in it.
- 
												  Will You Boot Haiku, on a Non Intel Platform, No BIOS Winter?Will you boot Haiku, on a non intel platform, no BIOS winter? Booting Haiku on non-x86, a never-ending story. François Revol [email protected] Haiku? ● Free Software Operating System ● Inspired by the BeOS ● Our own kernel ● Our on GUI BeOS: Always on the run ● Hobbit BeBox prototype… – AT&T EOLed Hobbit in 1994 ● PPC BeBox (2 ✕ 603e) – Be stopped making hardware ● PPC Mac (pre-G3) – Then Steve said “you won’t get the specs” ● Intel PC – “He Who Controls the Bootloader” (2001) Jean-Louis Gassée quote “I once preached peaceful coexistence with Windows. You may laugh at my expense -- I deserve it.” Booting on PC ● BIOS → MBR {Bootman,GRUB chainload} ● MBR→ partition boot sector (stage1) – Needs partition offset (makebootable) ● Shouldn’t be required ● stage1→ haiku_loader ● haiku_loader → kernel_x86 haiku_loader ● Now in haiku_loader.hpkg (uncompressed) ● Sets graphics mode (for boot splash) ● Loads kernel, modules… from BFS – … or initrd-like tar.gz ● Sets up MMU, FPU… ● And calls the BIOS for many things… ● Calls the kernel with struct *kernel_args – Which contains platform_args and arch_args Challenges ● Since R1/beta1: Packaging – Almost reproducible build – But requires strict dependencies ● Haiku needs Haiku to build – Easy on x86 ● Bootstrap builds = easy to break ● C++ everywhere – C++ issue currently on ARM bootstrap PowerPC ● Started long long ago… – Pegasos 1 … buggy OF ● (some years passed) ● Sam460ex & other AmigaOS-compatibles – U-Boot (heavily modded) ● QEMU Mac PPC always had issues ● BeBox – Very dumb bootrom; needs PEF binary OpenFirmware ● Nice, even cleaner than BIOS ● Except for ACPI-like things – Clean power-off = keep OF mappings – Maybe use an emulator? ● We do this for VESA BIOS already ● Standardized bindings ● Framebuffer calls too high-level – Get phys addr? AmigaOne X-1000 ● You read the specs.
- 
												  UEFI 2.1 and PI 1.0 Details and Differences Michael APlug-fest MULTIPLY YOUR INNOVATION AND MAXIMIZE YOUR POTENTIAL MULTIPLY YOUR KNOWLEDGE Plug-fest UEFI 2.1 and PI 1.0 Details and Differences Michael A. Rothman One of the many UEFI guys Agenda • A look at EFI and UEFI Overview • UEFI 2.1 New Content and Changes • Concept Demo • PI 1.0 Content and Changes • Future Development and Test Plans Plug-fest 3 EFI and UEFI Overview Brief History On EFI y Interface specification - Implementation agnostic OS Loader y Abstracts BIOS from OS - Decouples development EFI y Compatible by design - Evolution, not revolution BIOS Compatibility y Modular and extensible Hardware - OS-Neutral value add y Provide efficient Option ROM Replacement - Common source for multiple CPU architectures EFI is the successor to BIOS Plug-fest 4 EFI and UEFI Overview UnifiedUnified EFIEFI Forum,Forum, Inc.Inc. createdcreated forfor standardizationstandardization A Washington non-profit Corporation - Develops, promotes and manages evolution of Unified EFI Specification - Continue to drive low barrier for adoption Promoter members: - AMD, AMI, Apple, Dell, HP, IBM, Insyde, Intel, Lenovo, Microsoft, Phoenix Tiered Membership: - Promoters, Contributors and Adopters More information: www.uefi.org Industry momentum for BIOS standardization Plug-fest 5 EFI and UEFI Overview UEFIUEFI MembershipMembership Promoters: board and corporate officers Contributors: - Corporations, groups or individuals wanting to participate in UEFI - Chance to join work groups and contribute to spec or test development - Early access to drafts and work in progress Adopters: - Any entity wanting to implement the specification Membership is open / encourages industry participation Plug-fest 6 EFI and UEFI Overview HowHow thethe ForumForum WorksWorks UEFI Board USWG UCST PIWG UNST USST UTWG USHT ICWG Each sub-team focuses Publications/Decisions Each work group on specific topics and ratified by the board approves/delivers different contributes material to content to the public.
- 
												  A Macos Bootloader AttackSan Jose State University SJSU ScholarWorks Faculty Publications, Computer Science Computer Science 8-19-2019 BootBandit: A macOS bootloader attack Armen Boursalian San Jose State University Mark Stamp San Jose State University, [email protected] Follow this and additional works at: https://scholarworks.sjsu.edu/computer_sci_pub Part of the OS and Networks Commons, and the Other Computer Sciences Commons Recommended Citation Armen Boursalian and Mark Stamp. "BootBandit: A macOS bootloader attack" Engineering Reports (2019). https://doi.org/10.1002/eng2.12032 This Article is brought to you for free and open access by the Computer Science at SJSU ScholarWorks. It has been accepted for inclusion in Faculty Publications, Computer Science by an authorized administrator of SJSU ScholarWorks. For more information, please contact [email protected]. Received: 27 May 2019 Revised: 25 July 2019 Accepted: 28 July 2019 DOI: 10.1002/eng2.12032 RESEARCH ARTICLE BootBandit: A macOS bootloader attack Armen Boursalian Mark Stamp Department of Computer Science, San Jose State University, San Jose, California Historically, the boot phase on personal computers left systems in a relatively vulnerable state. Because traditional antivirus software runs within the operat- Correspondence Mark Stamp, Department of Computer ing system, the boot environment is difficult to protect from malware. Examples Science, San Jose State University, San of attacks against bootloaders include so-called “evil maid” attacks, in which an Jose, CA 95192-0249. intruder physically obtains a boot disk to install malicious software for obtain- Email: [email protected] ing the password used to encrypt a disk. The password then must be stored and retrieved again through physical access.