{"id":19041338,"url":"https://github.com/xboxdev/xbedump","last_synced_at":"2025-04-23T21:44:38.115Z","repository":{"id":146147199,"uuid":"38294406","full_name":"XboxDev/xbedump","owner":"XboxDev","description":"Tool to dump header information or sign original Xbox executables","archived":false,"fork":false,"pushed_at":"2020-09-27T21:26:20.000Z","size":112,"stargazers_count":22,"open_issues_count":3,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-23T21:44:32.557Z","etag":null,"topics":["binary","binutils","executable","parser","xbe","xbox"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XboxDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2015-06-30T07:28:16.000Z","updated_at":"2025-01-01T16:23:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bde15da-817c-478d-a91a-62339a46efe6","html_url":"https://github.com/XboxDev/xbedump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XboxDev%2Fxbedump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XboxDev%2Fxbedump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XboxDev%2Fxbedump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XboxDev%2Fxbedump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XboxDev","download_url":"https://codeload.github.com/XboxDev/xbedump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522292,"owners_count":21444509,"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":["binary","binutils","executable","parser","xbe","xbox"],"created_at":"2024-11-08T22:28:43.394Z","updated_at":"2025-04-23T21:44:38.092Z","avatar_url":"https://github.com/XboxDev.png","language":"C","readme":"# xbedump\nModifications and bugfixes of xbedump for the XQEMU project.\n\nUpstream: http://xbox.cvs.sourceforge.net/viewvc/xbox-linux/xbedump/\n\n#Original Readme:\n\n```\nXBE Dumper 0.4\n---------------\n\nby franz@caos.at, based on the original XBE\n   Dumper by Michael Steil (mist@c64.org)\n\n\nThe XBE dumper is now in the process of being enhanced to perform\nthe same crypto operations on the XBE file as the Xbox kernel itself,\nusing the same algorithms.\n\nThe XBE signing process is in two stages.  In Stage one, a SHA-1 hash of\nthe contents of each XBE section is made and the hash stored in a table\nin the XBE header section.  In stage 2, a single SHA-1 hash is made of\nthe header region (including the section hashes and a signer certificate),\nthe resulting single hash is then itself encrypted with strong 2048-bit\nRSA public/private key encryption and the resulting encrypted single hash\n''signature'' stored near the start of the final, signed XBE file.\n\nIn this release, the action of the first\u0026 second stage is implemented, so that\nthe software is able to compute and store in the header SHA-1 hashes\nfor each section in the unsigned XBE.  It is also able to confirm that\nthe hashes stored in the header are correct for the corresponding section\ncontents.  Work has started to implement Stage two, although this will be\nquite hard to fully complete without having the private key :-)\n\nHowever, the intention is to at least be able to have a functional model\nof the xbox validation actions, so that the correctness of any attempt to\ncreate a signed XBE can be reliably and rapidly assessed without using\nany Microsoft code.  In the other direction, it is intended to have proven\nall of the code needed to sign XBEs given a valid signer certificate and\nthe correct private key (which we of course lack at the moment).\n\nAdditionally, this Software gives us the oportunity to make \"cleaner\" xbe's\nas the patching of Kernel (done by mod_chips) is reduced, and only the real\nVerify signature has to be \"adapted\".\n\nThere are 2 additional key's in the source, these are key's build with my computer.\nThe keys are test keys and do not work on \"real\" xboxes.\nWe have agreed not to publish the MS$ public key in the CVS, as this would be a copyright\nproblem. You have to copy a decryped and decompressed flash to the same directory, \nthe programm is working in.\n\nPlease refeer to the Help in the programm itself for operations.\n\n\nInstallation\n------------\n\nThe app relies on the OpenSSL libraries from\nhttp://www.openssl.org/source\n\nHere are the steps for installation:\n\n 1) download and unpack the openssl sources somewhere\n 2) enter the openssl-0.9.6g (\u003c-- or whatever) directory\n 3) ./config\n 4) make\n 5) make test (should end with some version info, no explicit OK)\n 6) su (\u003c-- make yourself root)\n 7) make install  (\u003c--- installs SSL stuff into /usr/local/ssl)\n 8) exit (\u003c-- make yourself normal user again)\n 9) cd to where xbe dumper sources are\n10) make (\u003c--- should be no errors or warnings)\n\nOne note, it was found that there are bogus link errors with the\nGCC 3.2 version shipped with Redhat 8.0 beta, if you experience\nthese bogus \"undefined reference to `__gxx_personality_v0'\"\nerrors uncomment the definition of this symbol in xbe.c and\nremake.\n\n\n\nChangelog\n---------\n\n0.2b Franz has added code to verify the signature\n0.2a Franz started on adding crypto structure code\n0.3a Mismatch of Andy and Franz checking, now learned to work with CVS\n0.3b Checking the RSA signature + update sections hashes\n0.3c Generation of a \"custom signature\" implemented\n\n(this document by andy@warmcat.com \u0026 franz@caos.at)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxboxdev%2Fxbedump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxboxdev%2Fxbedump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxboxdev%2Fxbedump/lists"}