Commit Graph

95 Commits

Author SHA1 Message Date
Erik Bjorge 284cf0bed6 Updated to version 1.3.3 2017-09-05 16:34:14 -07:00
Erik Bjorge e8b8ce6651 Adding SPI Access test.
This test checks the SPI Flash region access permissions programmed in
the flash descriptor.
2017-08-30 14:52:21 -07:00
hcwang 6a90d52d28 Added a error handling when the search string is not found. 2017-08-30 14:51:31 -07:00
hcwang 65af429d4b Added a function "search" to look for a signature in memory. Ex: chipsec_util mem search 0xF0000 0x10000 _SM_ 2017-08-30 14:51:31 -07:00
Erik Bjorge e79f42afef Added error handling for bad register types.
If a unknown register type is accessed via read_register or write_register an exception will be generated instead of failing silently.
2017-08-30 14:49:33 -07:00
Loucaides 90dbc0ece0 consistently use os.path.join in DRIVER_FILE_PATHS 2017-08-30 14:47:10 -07:00
Loucaides a4d1333bbd each helper checks for driver in appropriate places 2017-08-30 14:47:10 -07:00
Loucaides 2a1adea0ca move decision between rwe and win driver to helpers.py and fix other PR comments 2017-08-30 14:47:10 -07:00
Loucaides 2518b7372f remove debug prints 2017-08-30 14:47:10 -07:00
Loucaides 60504da1bc Use RWE/windows helpers when the corresponding driver is present
Fix error when calling decompress functionality using RWE helper
2017-08-30 14:47:10 -07:00
Erik Bjorge 3c381eae94 Updating to non-release version 2017-08-14 10:12:23 -07:00
Erik Bjorge 2731308367 Updating to release 1.3.2 2017-08-10 10:49:31 -07:00
Erik Bjorge 9003444150 Switched to MMIO for P2SB register access.
Under some versions of Linux the memory access method fails.  Should use
MMIO anyway.
2017-08-07 16:00:10 -07:00
Nick Mooney 49348dc0db Add mmap support to kernel module 2017-07-24 13:26:08 -07:00
Takaaki Fukai 3f8d612b56 Fix the range check in bios_wp.py 2017-07-24 09:26:56 -07:00
Thiebaud Weksteen 5624c1b23f Add FREG definitions for SKL and KBL 2017-07-21 10:25:45 -07:00
c7zero 16af0c7dfd More operation in chipsec_util reg command (#238)
* More operation in chipsec_util reg command

Added write, read_field, write_field, get_control, set_control
operations

* reg read util command updated

Returned back "chipsec_util reg read" syntax and added tests.

* Commented out test_reg_get_control

Need to implement get_MMIO_BAR_base_address or read_pci_reg for SPIBAR
in mock_helper.py
2017-07-20 13:05:51 -07:00
Erik Bjorge b630416b38 Updating to post release version number. 2017-06-09 18:01:43 -07:00
Erik Bjorge a822099700 Release version 1.3.1 2017-06-09 17:03:40 -07:00
BrentHoltsclaw 279370cb9b Added fix for issue #233 2017-06-09 11:56:14 -07:00
BrentHoltsclaw 33b97c67f1 Added fix for issue #204 2017-06-09 11:08:05 -07:00
Erik Bjorge ece76e3d0b Fixed chipsec_util decode types (#232) 2017-06-08 18:42:55 -07:00
Erik Bjorge a1a338b1be Updated code used to load configuration files. (#220)
Configuration files loaded in following order.
1. Common
2. Platform
3. Other

Also enforced a consistent (alphabetical) load order.
2017-06-08 14:04:28 -07:00
Erik Bjorge 8910c3acb9 Fixed detection of successful SMBUS transactions. (#213) 2017-05-31 09:36:40 -07:00
Erik Bjorge b1fe88f05b Fixed print_register when using mm_msgbus registers. 2017-05-16 09:55:48 -07:00
Erik Bjorge e05dd208e3 Updated BUC register definition to use sideband access. (#219)
For 100/200 series PCH the BUC is accessed via sideband and not RCBA.
2017-05-09 22:56:33 -07:00
Thiébaud Weksteen 9240e1aa58 Add register util command (#217) 2017-05-09 22:55:32 -07:00
Erik Bjorge 6a1735ab94 Adding public processor information. 2017-05-09 12:11:11 -07:00
Erik Bjorge 15bdde362d Added MMIO MSGBUS specific interface. (#210)
Added a selectable MMIO based MSGBUS interface that can be selected by
tests or the configuration register type.
2017-05-08 22:22:01 -07:00
Thiébaud Weksteen bdea49936a Remove unused __version__ (#215) 2017-05-08 22:17:35 -07:00
Aaron Frinzell ebe8458dec read_register() cpu_thread support (#211)
Complete cpu_thread support in read_register()
2017-05-01 00:59:09 -07:00
Erik Bjorge c753453679 Updated code to append additional version information. (#209)
If any additional version information is available for a custom release
it will be appended to the end of version string.
2017-05-01 00:56:34 -07:00
abazhaniuk 81310df94d fix ascii symbols in uefi decode command (#205) 2017-04-22 10:56:53 -10:00
andrew-furtak f826cb0e78 PFS support and parsing fixes. (#196) 2017-04-21 06:34:41 -10:00
Thiébaud Weksteen 3fdf95e572 Remove unused read_chunk (#201) 2017-04-20 16:03:33 +10:00
Erik Bjorge 45dc8d63de Fixing RC access for 100 and 200 series chipsets. (#202)
The RC register is no longer accessed using the RCBA.  It is now
accessed using the sideband message bus.
2017-04-19 18:43:27 -10:00
Erik Bjorge c275c0f502 Add MMIO register access for P2SB. 2017-04-19 09:55:26 -07:00
abazhaniuk 8679a9ad06 fix bugs during decompression (#192) 2017-04-16 10:30:57 -10:00
Erik Bjorge c2dae77a5f Fixed missing shutil import. (#190)
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2017-03-28 12:09:58 -10:00
c7zero ab710a052a Removed Ntfs detection by ui_string
Removed Ntfs.efi detection by name (ui_string) to eliminate false
positives on firmware which has Ntfs.efi DXE driver.

Also, rkloader's and ntfs's GUIDs were swapped. Fixed.
2017-03-23 15:44:34 -07:00
c7zero 5c5ae294eb Updated version and manual 2017-03-20 18:08:42 -07:00
c7zero 5102229c6a Workaround for module errors on macOS (#184)
- added is_macos()
- calling is_macos in modules which require functionality not yet
implemented by osx helper such as MSR, port IO and EFI variables
- added EFI_supported always returning False in osx helper to skip
modules requiring EFI runtime API
2017-03-18 10:39:18 -07:00
c7zero 0ad817d479 Fix --no_driver option on macOS (#181) 2017-03-17 01:04:25 -07:00
Erik Bjorge 504c2515c5 Fixed exception when running tools.smm.smm_ptr in UEFI Shell. (#182)
Exception was caused by efi.allocphysmem returning a tuple but the
helper code was expecting a numeric value.  Updated UEFI helper code to
select the correct value in the tuple.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2017-03-16 11:42:16 -07:00
andrew-furtak 8e29097fad Igd fix (#180)
* IGD hal component added. igddma utility command added.

* Documentation added. Fixed file io for igd

* Deffered graphics device identification. Added check to igd cmd module for enabled device.

* Device 2 device id register renamed. Device id read with pci replaced with read_register

* Fixed typo

* Fixed read/write across page boundaries

* Fixed read/write across page boundaries. Offset refactoring
2017-03-16 04:00:39 -07:00
johnloucaides 70abd3ad54 add decompress functionality to osx environment (#179) 2017-03-15 17:18:18 -07:00
johnloucaides 17f9c0cf53 handle mmio writes of size != 4 (#178) 2017-03-15 13:50:13 -07:00
Andrew Furtak 3d82def442 Typo fixed 2017-03-14 12:14:11 -07:00
c7zero f3832b45b0 New tools.smm.rogue_mmio_bar module (#168)
Experimental module to help finding vulnerabilities described in "BARing
the System: New vulnerabilities in Coreboot & UEFI based systems" talk
at RECon Brussels 2017

(http://www.intelsecurity.com/advanced-threat-research/content/data/REConBrussels2017_BARing_the_system.pdf)
2017-03-12 22:48:37 -07:00
citypw 4070fcd6af Added Xeon E3-1230 v5 processor device ID (#165)
* Added Xeon E3-1230 v5 processor device ID

Signed-off-by: citypw <citypw@gmail.com>

* Update the longname: Xeon Processor E3 v5 (Skylake CPU / Sunrise Point PCH)
2017-03-12 22:48:09 -07:00