Giter Site home page Giter Site logo

derrod / liquidsky_keylogger Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 20 KB

PoC for a keylogger using scapy to capture the LiquidSky client's network traffic. Also a missed opportunity to call it "LiquidSpy".

Python 100.00%
keylogger proof-of-concept

liquidsky_keylogger's Introduction

LiquidSky keylogger PoC

Little proof of concept keylogger for LiquidSky.

LiquidSky is using Protobuf for all communication between the server and client (Video is streamed over RTP). This communication is entirely unencrypted and contains data such as keystrokes, mouse movement and clipboard.

This tool decodes the protobuf messages and prints them in a human-readable form. It also has a keylogger mode that will print keypresses as readable text in near real-time.

It currently can sniff on local network interfaces or use a pcap file as input.

Usage

usage: liquidsky_keylogger.py [-h] [-p PCAP] [-k] [-u]

optional arguments:
  -h, --help            show this help message and exit
  -p PCAP, --pcap PCAP  Read pcap file as input
  -k, --keylogger       Keylogger mode (print keypresses)
  -u, --unfiltered      Print all packets (can be spammy!)

Keylogger mode will output characters in near real-time, special keys (e.g. Return) will be printed as (keyname) instead.

The default mode will print packets in a format similar to this:

[CLIENT->SERVER] KEYBOARD_ACTION_V2             | JSON: {"keyActionV2": {"scancode": 33, "vkey": 70}, "type": "KEYBOARD_ACTION_V2"}

The unfiltered switch will also cause ping/pongs and mouse movement to be printed, it can be very spammy.

Some more stuff

In proto/ you will find the .proto files extracted from the client. The protobuf messages are sent over TCP with what seems to be a proprietary protocol. Some notes on how those packets are built (not necessarily correct) can be found in the liquidsky_keylogger.py file.

In order to extract the .proto files I used Protod. In order to get the complete files and not just part of it I had to adjust the delta in line 274 from 1024 to 4096.

liquidsky_keylogger's People

Contributors

derrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

snake4life

liquidsky_keylogger's Issues

Protobuf files are outdated and Protod no longer works

I'm not sure what changed, I guess it's a different compile option where the .proto files are not included within the executable. protobin_to_proto.py also does not appear to work unfortunately.

It's not really worth it for me to put in the time and effort requried to figure out how to get the new protocol as well. So I guess I'm going to leave this here. It is functional enough anyway.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.