{"id":27621684,"url":"https://github.com/IOActive/Platbox","last_synced_at":"2025-04-23T08:01:43.692Z","repository":{"id":84024211,"uuid":"559760378","full_name":"IOActive/Platbox","owner":"IOActive","description":"UEFI and SMM Assessment Tool","archived":false,"fork":false,"pushed_at":"2024-11-21T21:09:35.000Z","size":1294,"stargazers_count":173,"open_issues_count":6,"forks_count":27,"subscribers_count":16,"default_branch":"main","last_synced_at":"2024-11-21T22:21:16.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IOActive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-31T03:05:38.000Z","updated_at":"2024-11-21T21:09:39.000Z","dependencies_parsed_at":"2024-05-08T17:34:57.128Z","dependency_job_id":"38366dbd-197e-429c-b19e-7619bbeee1da","html_url":"https://github.com/IOActive/Platbox","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IOActive%2FPlatbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IOActive%2FPlatbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IOActive%2FPlatbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IOActive%2FPlatbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IOActive","download_url":"https://codeload.github.com/IOActive/Platbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250395253,"owners_count":21423395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-23T08:01:42.627Z","updated_at":"2025-04-23T08:01:43.681Z","avatar_url":"https://github.com/IOActive.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Platbox\r\nUEFI and SMM Assessment Tool\r\n\r\n## Features\r\n\r\nPlatbox is a tool that helps assessing the security of the platform:\r\n\r\n- Dumps the platform registers that are interesting security-wise\r\n    - Flash Locks\r\n    - MMIO and Remapping Locks\r\n    - SMM Base and Locks\r\n    - MSRs\r\n- RW access to the PCI configuration space of devices.\r\n- RW to physical memory and virtual memory.\r\n- Allows allocating physical memory and map memory to usermode.\r\n- Read and Write MSRs.\r\n- Dump SPI Flash content (BIOS) into a file.\r\n- Basic dumb SMI Fuzzer.\r\n- Dump S3 Bootscript (from SMM-Lockbox) into a file.\r\n- Dump EFI Memory Map (Linux only for now).\r\n- List UEFI variables.\r\n- Supports Linux and Windows.\r\n- Supports Intel and AMD.\r\n\r\n### Example of 'chipset' command output for an AMD platform\r\n\r\n![Kiku](example_chipset_output_amd.png)\r\n![Kiku](example_chipset_output_amd2.png)\r\n\r\n## Project Structure\r\n\r\nThe project is divided as follows:\r\n\r\n- PlatboxDrv: kernel drivers used for Linux and Windows.\r\n- PlatboxLib: the usermode component that loads the kernel driver and provides access to all the previously listed features.\r\n- PlatboxCli: a console client that uses the library.\r\n- Pocs: an example of a program using features from the libary. \r\n\r\n\r\n## Compilation Steps\r\n\r\n### Windows\r\n\r\n```\r\nmkdir build\r\ncd build\r\ncmake -G \"Visual Studio 17 2022\" -A x64 -S .. -B \"build64\"\r\ncmake --build build64/ --target platbox_cli\r\n```\r\n\r\n#### Release Build\r\n\r\n```\r\ncmake -G \"Visual Studio 17 2022\" -A x64 -S .. -B \"build64\" \r\ncmake --build build64/ --target platbox_cli --config Release\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIOActive%2FPlatbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIOActive%2FPlatbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIOActive%2FPlatbox/lists"}