Tags: forensics 

Rating:

# Long Battery Life
> Points: 999

## Description
> Really long battery life and very durable! Hint: USB traffic from Wireless Mouse

## Solution
To understand the USB protocol data read [this](https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf).
Wrote a enhanced version of [this script](https://github.com/WangYihang/UsbMiceDataHacker)

The script takes the data and plots the mouse co-ordinates with tkinter and matplotlib

Running `python2 USB_mouse_decode.py 'Long Battery Life.pcap' ALL` gives this >>>

![](flag.png)

## Flag
> RaziCTF{I_Love_My_Mouse}

Original writeup (https://github.com/t3rmin0x/CTF-Writeups/tree/master/Razi%20CTF/Digital%20forensics/Long%20Battery%20Life).