{"id":24189665,"url":"https://github.com/ztgx/sgx_attacker","last_synced_at":"2026-02-09T03:31:45.390Z","repository":{"id":258451535,"uuid":"873949692","full_name":"zTgx/sgx_attacker","owner":"zTgx","description":"Try to attack SGX","archived":false,"fork":false,"pushed_at":"2024-10-17T02:01:59.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-11T06:55:14.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/zTgx.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":"2024-10-17T02:01:05.000Z","updated_at":"2024-10-17T02:03:26.000Z","dependencies_parsed_at":"2024-10-19T04:25:12.415Z","dependency_job_id":null,"html_url":"https://github.com/zTgx/sgx_attacker","commit_stats":null,"previous_names":["ztgx/sgx_attacker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zTgx/sgx_attacker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fsgx_attacker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fsgx_attacker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fsgx_attacker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fsgx_attacker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zTgx","download_url":"https://codeload.github.com/zTgx/sgx_attacker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fsgx_attacker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29255602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T03:07:45.136Z","status":"ssl_error","status_checked_at":"2026-02-09T03:07:24.123Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-01-13T14:30:19.854Z","updated_at":"2026-02-09T03:31:45.375Z","avatar_url":"https://github.com/zTgx.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sgx attacker\n\n* Open Terminal A Build \u0026 Run\n```shell\nSGX_MODE=SW make\n./app\n```\n\nSTAY THERE AND DON'T PRESS ENTER.\n\n---\n\n\n* Open a new Terminal B\n```shell\nps aux | grep app\n\nztgx       97650  1.5  0.0  26432  6068 pts/3    S+   21:55   0:00 ./app\n```\n\n* run scanmem\n```shell\nsudo scanmem -p 97650\n\nenter untrusted value 987654321\n```\n\n* result\n```\n.ok\ninfo: we currently have 1 matches.\ninfo: match identified, use \"set\" to modify value.\ninfo: enter \"help\" for other commands.\n```\n\n* set untrusted value to 1\n```\nset 1\n```\n\n* Back to terminal A, press enter\n```shell\ntrusted   value  : 123456789\nuntrusted value  : 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztgx%2Fsgx_attacker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztgx%2Fsgx_attacker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztgx%2Fsgx_attacker/lists"}