KasperskyLab / TinyCheck

TinyCheck allows you to easily capture network communications from a smartphone or any device which can be associated to a Wi-Fi access point in order to quickly analyze them. This can be used to check if any suspect or malicious communication is outgoing from a smartphone, by using heuristics or specific Indicators of Compromise (IoCs). In order to make it working, you need a computer with a Debian-like operating system and two Wi-Fi interfaces. The best choice is to use a Raspberry Pi (2+) a Wi-Fi dongle and a small touch screen. This tiny configuration (for less than $50) allows you to tap any Wi-Fi device, anywhere.
Apache License 2.0
3.08k stars 222 forks source link

Raspberry Pi OS (64-bit) #115

Closed pavelsmirnovspb closed 9 months ago

pavelsmirnovspb commented 1 year ago

Hello, I have an issue when I tried install TinyCheck on Raspberry Pi 4 (64-bit). Module M2Crypto didn't install and I saw error for it:

Building wheel for M2Crypto (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cfzcipf8/m2crypto_68064845027741a0b465e544806f56fc/setup.py'"'"'; file='"'"'/tmp/pip-install-cfzcipf8/m2crypto_68064845027741a0b465e544806f56fc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pq3juvdv cwd: /tmp/pip-install-cfzcipf8/m2crypto_68064845027741a0b465e544806f56fc/ Complete output (67 lines):

But if I use Raspberry Pi 4 (32-bit), TinyCheck installed without any errors. Raspberry Pi 4 32-bit.txt Raspberry Pi 4 64-bit.txt

vollkorn1982 commented 1 year ago

I noticed the same problem. This can be solved by installing libssl-dev like this: sudo apt install libssl-dev before starting the installation (or uninstalling by running sudo bash uninstall.sh and then installing again).

But there are other errors on Raspbian with 64 bit like the installation of zeek silently failing, which is why I am trying to do a 32 bit installation now.

EvgenyAblesov commented 9 months ago

Hello everyone in this thread!

We'll do our best and will try to improve TinyCheck to support Raspbian 64bit, but for now it can run only on 32bit Raspbian as noticed here:

To recap', you need to have:

A Raspberry Pi with Raspberry Pi OS Bullseye 32 bit full version;

So, for now its not an issue but the well-know-limitation i suppose.