{"id":13839616,"url":"https://github.com/thebabush/bline","last_synced_at":"2026-01-16T04:04:26.800Z","repository":{"id":78936423,"uuid":"277118197","full_name":"thebabush/bline","owner":"thebabush","description":"Naver LINE VoIP reversing stuff","archived":false,"fork":false,"pushed_at":"2020-07-04T13:51:17.000Z","size":673,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-05T17:24:00.339Z","etag":null,"topics":["android","frida","kaitai-struct","line","program-analysis","reverse-engineering","voip"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thebabush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-07-04T13:46:26.000Z","updated_at":"2022-11-09T18:08:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f597a469-62f5-401b-bfad-3af731595e07","html_url":"https://github.com/thebabush/bline","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/thebabush%2Fbline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabush%2Fbline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabush%2Fbline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thebabush%2Fbline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thebabush","download_url":"https://codeload.github.com/thebabush/bline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225699949,"owners_count":17510431,"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":["android","frida","kaitai-struct","line","program-analysis","reverse-engineering","voip"],"created_at":"2024-08-04T17:00:31.329Z","updated_at":"2026-01-16T04:04:26.766Z","avatar_url":"https://github.com/thebabush.png","language":"C","funding_links":[],"categories":["C","C (286)"],"sub_categories":[],"readme":"# bline\n\nCollection of things you might find useful when doing security assessment of\n[Naver LINE](https://line.me).\nThis is mostly related to the App's voice call stack, which was based on a\nmodified version of [PJSIP](https://www.pjsip.org/) at the time.\nIt has since been rewritten (thank God), so YMMV.\n\nThis was created in 2018 as you can see from\n[this page :)](https://bugbounty.linecorp.com/en/halloffame/2018/)\n(even though I ended up not using the content of this repo).\n\nIn my tests, the SIP data exchanged between my phone and LINE's servers wasn't\nencrypted, but just used a modified ZLIB version with custom dictionary.\nThere was support for encryption in the voice call library (`libamp.so`), but\nI didn't reverse enough of it to understand how it is used.\n\n## List of goodies\n\n- `bline/`: a library for compressing/decompressing the custom ZLIB that LINE\n  uses\n- `data/heartbeat.ksy`: Kaitai Struct definition of LINE's heartbeat protocol\n- `scripts/bline`: pipe binary data in and compresses/decompresses it\n\nI also have more scripts but I can't shared them at the moment since they have\npersonal information copy-pasted in them.\nFor example, I have a script that does MITM of voice calls and can dump the\npackets in a `tshark`-like fashion (even though I didn't have time to understand\nthe payload format for audio data).\n\nPing [@pmontesel](https://twitter.com/pmontesel) on twitter if you want to have\na chat about what I know.\n\n## Author\n\n[babush](https://thebabush.github.io/).\n\n## License\n\nSee [LICENSE](./LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebabush%2Fbline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthebabush%2Fbline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthebabush%2Fbline/lists"}