Gajasurve / DatajackProxy

Datajack Proxy allows you to intercept TLS traffic in native x86 applications across platforms

Home Page:https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2019/august/datajack-proxy-intercepting-tls-in-native-applications/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Datajack Proxy

Datajack Proxy a tool to intercept non-HTTP traffic between a native application and a server. This would allow for communications interception and modification, even if encryption and certificate pinning were in use. This is done by hooking the application and intercepting calls to common socket and TLS libraries, and reading the data prior to encryption (for outbound) and after decryption (for inbound).

This is accomplished by injecting JavaScript into the native process using the Frida API.

Features

  • Inject into process
    • Linux (Using OpenSSL SSL_Read and SSL_Write)
    • Windows (Using schannel EncryptMessage [DecryptMessage todo])
  • Read/write data prior to outbound encryption on Linux
  • Read/write data after inbound decryption on Linux
  • Read data prior to outbound encryption on Windows (write is todo)

Note: Currently only Linux and Windows are supported. Linux supports the OpenSSL calls SSL_Write and SSL_Read.

Usage

Help

python DatajackProxy.py -h

Attach

Attach to existing process <pid>

python DatajackProxy.py -p <pid>

Attach to existing process with name <processName>

python DatajackProxy.py -n <processName>

Attach to Windows process with name OUTLOOK.EXE

python DatajackProxy.py -n OUTLOOK.EXE -o windows

Requirements and Installation

  • Python 3
  • Frida API
  1. Assuming you have python 3, install Frida with pip pip3 install frida
  2. Clone DataJack Proxy git clone git@gitlab.na.nccgroup.com:cwatt/DatajackProxy.git

About

Datajack Proxy allows you to intercept TLS traffic in native x86 applications across platforms

https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2019/august/datajack-proxy-intercepting-tls-in-native-applications/

License:MIT License


Languages

Language:JavaScript 70.7%Language:Python 29.3%