thebabush / bline

Naver LINE VoIP reversing stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bline

Collection of things you might find useful when doing security assessment of Naver LINE. This is mostly related to the App's voice call stack, which was based on a modified version of PJSIP at the time. It has since been rewritten (thank God), so YMMV.

This was created in 2018 as you can see from this page :) (even though I ended up not using the content of this repo).

In my tests, the SIP data exchanged between my phone and LINE's servers wasn't encrypted, but just used a modified ZLIB version with custom dictionary. There was support for encryption in the voice call library (libamp.so), but I didn't reverse enough of it to understand how it is used.

List of goodies

  • bline/: a library for compressing/decompressing the custom ZLIB that LINE uses
  • data/heartbeat.ksy: Kaitai Struct definition of LINE's heartbeat protocol
  • scripts/bline: pipe binary data in and compresses/decompresses it

I also have more scripts but I can't shared them at the moment since they have personal information copy-pasted in them. For example, I have a script that does MITM of voice calls and can dump the packets in a tshark-like fashion (even though I didn't have time to understand the payload format for audio data).

Ping @pmontesel on twitter if you want to have a chat about what I know.

Author

babush.

License

See LICENSE.

About

Naver LINE VoIP reversing stuff

License:MIT License


Languages

Language:C 65.8%Language:Assembly 8.3%Language:Ada 5.2%Language:Pascal 4.4%Language:C++ 3.9%Language:C# 3.3%Language:HTML 1.8%Language:Makefile 1.7%Language:DIGITAL Command Language 1.6%Language:Objective-C 1.3%Language:Python 0.7%Language:Shell 0.6%Language:CMake 0.5%Language:Roff 0.5%Language:Perl 0.2%Language:SAS 0.1%Language:Module Management System 0.1%Language:M4 0.0%Language:Batchfile 0.0%