76 Commits

Author SHA1 Message Date
Frinzell, Aaron 95f757ed20 Clairify uefivar_fuzz.py documentation 2022-02-24 17:05:05 -08:00
Aaron Frinzell 2a42f8f176 Lets get all corner cases 2021-12-08 09:25:36 -08:00
Aaron Frinzell bac0084d5e Fix scan_image.py arg count check 2021-12-08 09:25:36 -08:00
Aaron Frinzell 0a102973a0 Expand usage documentation in rogue_mmio_bar.py 2021-09-28 10:18:50 -07:00
brentholtsclaw 0e53326a83 Create exceptions.py for chipsec exceptions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-26 10:50:51 -07:00
Aaron Frinzell 88874c167a Update smm_ptr.py to use print_buffer_bytes 2021-07-28 16:14:53 -07:00
Aaron Frinzell 167693a390 May need one more update 2021-06-25 10:03:21 -07:00
Aaron Frinzell d3ededfca6 Minor improvements to sinkhole.py 2021-06-25 10:03:21 -07:00
brentholtsclaw 811ef62754 Update rouge_mmio_bar to work with python3
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-05-27 15:58:38 -07:00
Aaron Frinzell e33ddc6e85 scan_blocked.py exit if no FW image found 2021-05-27 10:45:12 -07:00
Aaron Frinzell ea85aded78 Fix smm_ptr.py sig bytearray 2021-05-05 21:06:54 -07:00
Aaron Frinzell 423e77bd5a Add bytes support to uefivar_fuzz.py 2021-04-30 15:10:48 -07:00
Aaron Frinzell 8d284873f2 Add MosaicRegressor UEFI RK to blockedlist 2021-03-31 10:42:58 -07: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
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
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
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 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 e7b2c983ec Cleanup imports within modules directory
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 15:07:44 -08:00
Assaf Carlsbad 666d075213 Always un-mount the ESP, even in the face of exceptions. 2020-01-21 14:44:13 -08:00
Assaf Carlsbad 017a1076a9 Build path to blacklist.json such that it will be valid when running the py2exe version. 2020-01-13 10:42:04 -08:00
BrentHoltsclaw f984ad68e4 fixup some lgtm_errors
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 14:10:43 -08:00
BrentHoltsclaw 71bb8103b6 Update is_supported to not run if bootscript is not found
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-05 15:51:13 -08:00
BrentHoltsclaw b38d1e02f0 Fix import error and cleanup imports for tools.secureboot.te
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-24 12:23:01 -07:00
BrentHoltsclaw b1bfb491a7 Satisfy unittest errors
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-24 12:22:28 -07:00
BrentHoltsclaw e7f23c76b6 Fixup lgtm module errors
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-24 12:22:28 -07:00
BrentHoltsclaw eb7d40e23c Remove dumpstr from tools.secureboot.te
Function is unused and causing build/install errors within py2

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-17 15:26:30 -07:00
BrentHoltsclaw 877ecb1ad8 Fixes to make uefivar_fuzz python3 compatible
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-03 10:06:46 -07:00
BrentHoltsclaw 4ce1127743 Add cs_input to fix compatability issues with input/raw_input
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-03 10:06:46 -07:00
BrentHoltsclaw 3827ec6b7e Fix setup.py install errors
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-09-03 10:06:46 -07:00
BrentHoltsclaw 73485556d7 Cleanup bugs - Division compliant with python3
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-08-16 14:19:02 -07:00
BrentHoltsclaw 18827a8574 Cleanup use is for None type compare
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-08-16 14:18:47 -07:00
BrentHoltsclaw 2efeda4345 Merge python3-rc2 branch into master (#656) 2019-08-15 14:11:20 -07:00
nha 95b9d51273 using primitives for variable Name,Attribute,Data fields 2019-05-31 12:40:21 -07:00
Erik Bjorge 989db9f8b8 Updated messages in sinkhole tool
Some additional information was requested to make the failure/success cases more clear.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2019-05-23 14:47:01 -07:00
BrentHoltsclaw 789314a142 Normalizing logging for various sections of chipsec:
HAL now only use logger().HAL
helpers now only use logger.DEBUG
modules now only use logger.VERBOSE
2019-04-25 14:19:08 -07:00