{"id":13754966,"url":"https://github.com/giantbranch/mipsaudit","last_synced_at":"2025-05-10T00:31:21.199Z","repository":{"id":55608723,"uuid":"190311004","full_name":"giantbranch/mipsAudit","owner":"giantbranch","description":"IDA  MIPS静态扫描脚本，汇编审计辅助脚本","archived":false,"fork":false,"pushed_at":"2021-11-25T06:13:18.000Z","size":239,"stargazers_count":174,"open_issues_count":3,"forks_count":38,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-16T08:34:02.155Z","etag":null,"topics":["ida-mips","ida-plugin","idapython","mipsaudit"],"latest_commit_sha":null,"homepage":"http://www.giantbranch.cn/","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/giantbranch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["http://pic.giantbranch.cn/pic/1551450728861.jpg"]}},"created_at":"2019-06-05T02:18:28.000Z","updated_at":"2024-08-15T05:28:18.000Z","dependencies_parsed_at":"2022-08-15T04:20:23.671Z","dependency_job_id":null,"html_url":"https://github.com/giantbranch/mipsAudit","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/giantbranch%2FmipsAudit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantbranch%2FmipsAudit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantbranch%2FmipsAudit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantbranch%2FmipsAudit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giantbranch","download_url":"https://codeload.github.com/giantbranch/mipsAudit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253346433,"owners_count":21894264,"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":["ida-mips","ida-plugin","idapython","mipsaudit"],"created_at":"2024-08-03T10:00:37.990Z","updated_at":"2025-05-10T00:31:20.716Z","avatar_url":"https://github.com/giantbranch.png","language":"Python","funding_links":["http://pic.giantbranch.cn/pic/1551450728861.jpg"],"categories":["\u003ca id=\"004c199e1dbf71769fbafcd8e58d1ead\"\u003e\u003c/a\u003e针对特定分析目标"],"sub_categories":["\u003ca id=\"5578c56ca09a5804433524047840980e\"\u003e\u003c/a\u003e未分类"],"readme":"# IDAPython mipsAudit\n\n## 简介\n\n这是一个简单的IDAPython脚本。\n\n进一步来说是MIPS静态汇编审计辅助脚本。\n\n可能会有bug，欢迎大家完善。\n\n\n\n## 功能\n\n辅助脚本功能如下：\n\n1. 找到危险函数的调用处，并且高亮该行（也可以下断点,这个需要自己去源码看吧）\n\n2. 给参数赋值处加上注释\n\n3. 最后以表格的形式输出函数名，调用地址，参数，还有当前函数的缓冲区大小\n\n**大家双击addr那一列的地址，即可跳到对应的地址处**\n\n![17cc62c98820974f8c759dc086dd5acb](17cc62c98820974f8c759dc086dd5acb.png)\n\n![28069d48cf3f357dd83e42406e10d980](28069d48cf3f357dd83e42406e10d980.png)\n\n## 审计的危险函数如下\n\n```\ndangerous_functions = [\n    \"strcpy\", \n    \"strcat\",  \n    \"sprintf\",\n    \"read\", \n    \"getenv\"    \n]\n\nattention_function = [\n    \"memcpy\",\n    \"strncpy\",\n    \"sscanf\", \n    \"strncat\", \n    \"snprintf\",\n    \"vprintf\", \n    \"printf\"\n]\n\ncommand_execution_function = [\n    \"system\", \n    \"execve\",\n    \"popen\",\n    \"unlink\"\n]\n```\n\n## 使用\n\nFile - Script file\n\n![1561006651468](./1561006651468.png)\n\n选择mipsAudit.py\n\n![1561006737134](./1561006737134.png)\n\n即可看到效果\n\n![mipsAudit](./mipsAudit.png)\n\n双击地址即可跳到对应的代码处\n\n![1561006887117](./1561006887117.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiantbranch%2Fmipsaudit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiantbranch%2Fmipsaudit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiantbranch%2Fmipsaudit/lists"}