{"id":22202017,"url":"https://github.com/diohabara/nsa-codebreaker-challenge2022","last_synced_at":"2025-10-03T20:39:54.952Z","repository":{"id":122836314,"uuid":"571069614","full_name":"diohabara/nsa-codebreaker-challenge2022","owner":"diohabara","description":"Write-ups for The NSA Codebreaker Challenge 2022: https://nsa-codebreaker.org/challenge","archived":false,"fork":false,"pushed_at":"2022-12-26T17:26:32.000Z","size":26959,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-02T16:12:08.387Z","etag":null,"topics":["ctf","nsa-codebreaker","writeups"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/diohabara.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":"2022-11-27T03:45:09.000Z","updated_at":"2023-07-20T06:32:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9811b16-af0a-429a-99a5-33182e22ce20","html_url":"https://github.com/diohabara/nsa-codebreaker-challenge2022","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/diohabara%2Fnsa-codebreaker-challenge2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diohabara%2Fnsa-codebreaker-challenge2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diohabara%2Fnsa-codebreaker-challenge2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diohabara%2Fnsa-codebreaker-challenge2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diohabara","download_url":"https://codeload.github.com/diohabara/nsa-codebreaker-challenge2022/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236290749,"owners_count":19125258,"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":["ctf","nsa-codebreaker","writeups"],"created_at":"2024-12-02T16:12:04.120Z","updated_at":"2025-10-03T20:39:54.886Z","avatar_url":"https://github.com/diohabara.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NSA CodeBreaker Challenge 2022\n\nFYI: [Official Write-up](https://nsa-codebreaker.org/static/resource_files/2022-wrapup.html)\n\n## Write-ups\n\n- [x] [A1.pdf](./docs/a1.pdf) | [A1.ipynb](./a1.ipynb)\n- [x] [A2.pdf](./docs/a2.pdf) | [A2.ipynb](./a2.ipynb)\n- [x] [B1.pdf](./docs/b1.pdf) | [B1.ipynb](./b1.ipynb)\n- [x] [B2.pdf](./docs/b2.pdf) | [B2.ipynb](./b2.ipynb)\n- [x] [5.pdf](./docs/task5.pdf) | [5.ipynb](./task5.ipynb)\n- [x] [6.pdf](./docs/task6.pdf) | [6.ipynb](./task6.ipynb)\n- [ ] [7.pdf](./docs/task7.pdf) | [7.ipynb](./task7.ipynb)\n- [ ] [8.pdf](./docs/task8.pdf)\n- [ ] [9.pdf](./docs/task9.pdf)\n\n## How to build\n\nDependencies\n\n- `poetry`\n\nInstall dependencies by `poetry` and activate `poetry` virtual environment\n\n```bash\npoetry install\npoetry shell\n```\n\nIf you want to build all files\n\n```bash\n./bin/convert.sh\n```\n\nOr a specific file\n\n```bash\njupyter nbconvert --output-dir='./docs' --execute --to pdf \u003ctask\u003e.ipynb\n```\n\n## References\n\n### A2\n\n- [2021 write-up of network](https://github.com/luker983/nsa-codebreaker-2021/tree/main/task1)\n- [what's ssl/tls](https://www.sslcerts.jp/)\n\n### B2\n\n- [Writeup CTF 0x00sec Web - Exercise 1](https://blog.jakubjuszczak.de/writeup-ctf-0x00sec-web-exercise-1/)\n\n### 5\n\n- [Memory Forensics of OpenSSH](http://lists.mindrot.org/pipermail/openssh-unix-dev/2014-May/032565.html)\n- [How to recover RSA private key in a coredump of ssh-agent – Sapheads HackJam 2009 Challenge 6](https://web.archive.org/web/20110831073208/https://www.vnsecurity.net/2009/10/how-to-recover-rsa-private-key-in-a-coredump-of-ssh-agent-sapheads-hackjam-2009-challenge-6/)\n- [OpenSSH ssh-agent Shielded Private Key Extraction (x86_64 Linux)](https://security.humanativaspa.it/openssh-ssh-agent-shielded-private-key-extraction-x86_64-linux/)\n- [Openssh Private Key to RSA Private Key](https://stackoverflow.com/questions/54994641/openssh-private-key-to-rsa-private-key)\n\n### 7\n\n- [CTFのWebセキュリティにおけるSQL Injectionまとめ（MySQL/MariaDB, PostgreSQL, SQL Server)](https://blog.hamayanhamayan.com/entry/2021/12/05/115923)\n- [How SQL Injection attack works](https://guicommits.com/how-sql-injection-attack-works-with-examples/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiohabara%2Fnsa-codebreaker-challenge2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiohabara%2Fnsa-codebreaker-challenge2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiohabara%2Fnsa-codebreaker-challenge2022/lists"}