Commit Graph

145 Commits

Author SHA1 Message Date
Erik Bjorge c5b15cdada Adding display of register when in verbose mode.
Verbose mode should allow for initial verification of register settings
instead of blindly trusting the test.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2021-03-09 19:20:50 -08:00
Aaron Frinzell 9e2b168223 spi_fdopss check for FDOPSS 2021-02-24 16:14:15 -08:00
Assaf Carlsbad ff8df8b752 Define MSR_SMM_FEATURE_CONTROL only for platforms the support it. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 8ca35ffbfb Add GPL license. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 0af175c88b Return ModuleResult.FAILED instead of ModuleResult.ERROR. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 99a23778bc Introduce a new module that checks that SMM_Code_Chk_En is configured properly. 2021-02-24 10:19:40 -08:00
Aaron Frinzell 043817b8f1 Minor typos in smm_ptr.py 2021-02-17 15:31:35 -08:00
Sae86 79661752c4 Changing helper calls to HAL calls
- debugenabled: helper -> cpu
    - hypercall: helper -> mem

Signed-off-by: Sae86 <sae.batllori@intel.com>
2021-02-05 12:28:33 -08:00
Nathaniel Mitchell 30ee829b3f Fixed error in uefi shell for spectre v2 test
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-01-27 08:16:45 -08:00
Sae86 c7259cfac0 Signed-off-by: Sae86 <sae.batllori@intel.com>
Modifying copyright date.

Hal msg bus - removed non working link
Hal spd - changed simmtester links to functioning ones
Cfg sfdp - added docstring
utilcmd mem_cmd - removed random lonely colon
Modules-Common-cpu-cpuinfo and iauntrusted - added temp docstrings
Tools-vmm-hv and xen folders -> imports needed more detail
Modules Me mfg mode - fixed error caused by asterisk in links
2021-01-26 16:10:34 -08:00
Aaron Frinzell ea16df16f7 Move bios_smi.py control 2021-01-21 11:24:30 -08:00
Aaron Frinzell 7ec4faa0a3 me_mfg_mode.py self.res update 2020-12-15 15:28:34 -08:00
Tim Gates 9a2195d376 docs: fix simple typo, incompatibe -> incompatible
There is a small typo in chipsec/modules/tools/vmm/hv/hypercallfuzz.py, chipsec/modules/tools/vmm/hv/synth_dev.py, chipsec/modules/tools/vmm/hv/synth_kbd.py, chipsec/modules/tools/vmm/hv/vmbusfuzz.py.

Should read `incompatible` rather than `incompatibe`.
2020-12-15 15:28:00 -08:00
Aaron Frinzell a66772b1e3 Scanner changes and updates 2020-10-28 09:51:40 -07:00
brentholtsclaw 62989d900d Fix python3 str/bytes issue within smm_ptr
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-10-28 09:50:38 -07:00
Assaf Carlsbad 95ae69af1f Use 'enabled' instead of 'supported'. 2020-09-24 09:53:03 -07:00
Assaf Carlsbad 8560ee253e Spectre_v2: check for the presence of the Retpoline mitigation on Windows platforms. 2020-09-24 09:53:03 -07:00
brentholtsclaw f7fe1be074 More whitespace cleanup
E231, E201, E226

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-31 13:46:13 -07:00
brentholtsclaw af7fa737ee Clean up indentation
E111

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-01 16:35:07 -07:00
brentholtsclaw a00b2838e5 Cleanup trailing whitespace
W291,W293,W391

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-01 15:44:21 -07:00
brentholtsclaw ec0b3167df Update Whitelist.py imports
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 11:12:45 -07:00
brentholtsclaw 44481157a5 Fix divide for python3 in bios_kbrd_buffer
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 09:55:59 -07:00
Aaron Frinzell 14c224abe0 Remove unused variable 2020-06-29 09:32:09 -07:00
Aaron Frinzell 41788a611b SPI access updates 2020-06-29 09:32:09 -07:00
brentholtsclaw f1d5666d9c Update ia_untrused
check soc_bios_done bit
check each thread for IA_Untrusted bit

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-29 09:31:47 -07:00
brentholtsclaw 4eadcf4e95 Update tco_en logic and module cleanup
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-26 13:58:57 -07:00
brentholtsclaw 36a8260866 Move modules from modules to modules/common
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-25 11:51:46 -07:00
Frinzell 7c0fe8241b Remove extra import 2020-05-29 14:05:18 -07:00
Frinzell 1ead0d25f2 rtclock.py improvements 2020-05-29 14:05:18 -07:00
brentholtsclaw 35a614cbfc Add ICL support
Add ICL configuration file
Update memconfig, remap, smm_dma modules
Add ia_untrusted module

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-28 14:11:41 -07:00
brentholtsclaw 2d0233ad87 Fix broken module imports
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-28 16:14:11 -07:00
BrentHoltsclaw 4f3b7236ba Remove duplicate configuration from common.py and move specific configuration to hal files
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-22 16:26:11 -07:00
BrentHoltsclaw 514c23d84d Modify files based upon chipset.py changes
Fixup files that relied on CHIPSET_ID_XXX logic
Modify files for functions moved within cs class

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
brentholtsclaw 12bb725351 Update copyright
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:23:07 -07:00
brentholtsclaw 9c47edabf7 Misc LGTM fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:23:07 -07:00
BrentHoltsclaw 1b547bcaea Update ept-finder to current CHIPSEC version
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-03-23 17:00:11 -07:00
Assaf Carlsbad 10bc5d1f2b Try to replace other bootloaders as well. 2020-02-28 15:48:18 -08:00
Assaf Carlsbad 6117d46b43 Add Shell.efi 2020-02-28 15:48:18 -08:00
Assaf Carlsbad 5e16e89765 Warn if boot loader can't be found on ESP. 2020-02-28 15:48:18 -08:00
Assaf Carlsbad 16bf089251 Tabs to spaces. 2020-02-28 15:48:18 -08:00
Assaf Carlsbad cd202f5ed0 Gracefully handle the case where 'virus_total_apis' is not installed. 2020-02-28 15:47:57 -08:00
Assaf Carlsbad ca1d27e046 Introduce a small tool to perform reputation checks on EFI modules based on the VirusTotal API. 2020-02-28 15:47:57 -08:00
brentholtsclaw 0a97f2229c Modify SNB support for spd_wd
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-02-28 15:43:11 -08:00
Nathaniel Mitchell 157104bff4 Fixed copy right year and removed enterprise verbiage.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-02-05 11:08:38 -08:00
Nathaniel Mitchell dfc9d5953a Fixed errors caused by list_EFI_variables in Windows.
Fixing issues in helper/modules that are caused by some versions of windows blocking runtime access to UEFI varialbes. Also fixed issue print_buffer issue when using --hal.

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-02-05 11:08:38 -08:00
BrentHoltsclaw e7b2c983ec Cleanup imports within modules directory
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 15:07:44 -08:00
BrentHoltsclaw cb4f8e889d Clean up spi_access and add check for valid flash descriptor
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 08:55:22 -08:00
nick 23cc63f126 checing IA32_FEATURE_CONTROL and TCO1_CNT lock on atom 2020-01-22 15:53:36 -08:00
assafcarlsbad 27f79aa991 Update copyright years. 2020-01-21 14:44:37 -08:00
assafcarlsbad 79d662bf80 Update access_uefispec.py 2020-01-21 14:44:37 -08:00