Intercepter ng for linux

Getting Intercepter-NG on Kali Linux in 4 steps

Though, intercepter isn’t a part of Kali, no one can prevent us from installing it manually.

1. wget http://intercepter.nerf.ru/Intercepter-NG.CE.05.zip
2. unzip Intercepter-NG.CE.05.zip
3. chmod +x intercepter_linux
4. ./intercepter_linux

Found a better instruction from someone’s scripts for kali:


if ask "Do you want to install Intercepter-NG?" Y;then


print_notification "Adding i386 support"


dpkg --add-architecture i386 &&


apt-get update -y && apt-get upgrade -y


apt-get install ia32-libs -y




print_notification "Installing dependencies"


apt-get install unzip wget lib32ncurses5-dev -y




print_notification "Download & unpack"


cd /tmp


wget http://intercepter.nerf.ru/Intercepter-NG.CE.05.zip


unzip Intercepter-NG.CE.05.zip


mv intercepter_linux /usr/bin/intercepter


chmod +x /usr/bin/intercepter

Что, если ваша защита — это главная СЛАБОСТЬ? Подпишитесь на наш ТГ канал и будьте на шаг впереди хакеров.

Источник

How to install Intercepter-NG in Linux

Intercepter-NG is a sniffer with a graphical interface that works under Windows.

This program has a long history and at present Intercepter-NG is a multifunctional set of network tools for IT specialists of various types. The main goal is to restore interesting data from the network stream and perform various types of man-in-the-middle attacks (MiTM). In addition, the program allows you to identify ARP spoofing (can be used to detect man-in-the-middle attacks), identify and exploit certain types of vulnerabilities, brute-force the login credentials of network services. To detect files and credentials the program can work with both a live traffic stream and analyze files with captured traffic.

There are several versions of Intercepter-NG, including for Android. For Linux, a console version has been developed, but it has not been updated for a long time. However, the latest version of Intercepter-NG can be run on most Linux distributions using Wine.

The installation process on different systems is similar. But at the same time, almost every distribution has its own nuances. I tested the installation in various distributions and assembled instructions for installing Intercepter-NG in Kali Linux, Ubuntu, Linux Mint, BlackArch and Arch Linux.

Читайте также:  Tracker miner fs linux

There are some problems with Intercepter-NG in the latest versions of Wine. The main functionality, including sniffing, works. But network scanning (to search targets for sniffing on the local network) works fine only on the old version of Wine 1.6, i.e. only in Linux Mint; although it does not prevent sniffing in other systems. The bug on other versions is connected, apparently, with the problems of determining the MAC address by Intersepter.

Intercepter-NG installation in Kali Linux

If you do not already have Wine installed, install it:

sudo dpkg --add-architecture i386 sudo apt update sudo apt install wine32 wine --config
wget https://github.com/intercepter-ng/mirror/blob/master/wine_pcap_dlls.tar.gz?raw=true -O wine_pcap_dlls.tar.gz sudo apt install libpcap-dev sudo apt install tcpdump:i386 tar xvzf wine_pcap_dlls.tar.gz sudo cp wpcap/wpcap.dll.so /usr/lib/i386-linux-gnu/wine sudo cp packet/packet.dll.so /usr/lib/i386-linux-gnu/wine rm -rf wine_pcap_dlls.tar.gz wpcap/ packet/ sudo apt install winetricks winetricks cc580 sudo ethtool --offload eth0 rx off tx off

Create a directory where we will install Intercepter-NG, go to this directory:

mkdir Intercepter-NG cd Intercepter-NG/

Download Intercepter-NG v1.0 and delete the wpcap.dll and Packet.dll files:

wget https://github.com/intercepter-ng/mirror/blob/master/Intercepter-NG.v1.0.zip?raw=true -O Intercepter-NG.zip unzip Intercepter-NG.zip rm wpcap.dll rm Packet.dll
sudo wine Intercepter-NG.exe

Intercepter-NG installation in Ubuntu or Linux Mint

If you do not already have Wine installed, install it:

sudo dpkg --add-architecture i386 sudo apt update sudo apt install wine32 wine --config

Next, we install additional packages and files:

wget https://github.com/intercepter-ng/mirror/blob/master/wine_pcap_dlls.tar.gz?raw=true -O wine_pcap_dlls.tar.gz sudo apt install libpcap-dev sudo apt install tcpdump:i386 tar xvzf wine_pcap_dlls.tar.gz sudo cp wpcap/wpcap.dll.so /usr/lib/i386-linux-gnu/wine sudo cp packet/packet.dll.so /usr/lib/i386-linux-gnu/wine rm -rf wine_pcap_dlls.tar.gz wpcap/ packet/ sudo apt install winetricks winetricks cc580

Pay attention to the name of the network interface, here it is enp0s3, in contrast, for example, from Kali Linux, where the network interface is called eth0:

sudo ethtool --offload enp0s3 rx off tx off

Now we need to download and run Intercepter-NG. But by default in Ubuntu and Linux Mint we work under the normal user. Intercepter-NG requires elevated privileges. But if we use sudo, then Wine will issue an error that the directory (prefix) does not belong to us, i.e. it will output something like:

wine: /home/mial/.wine is not owned by you

Therefore, we need to login under the superuser. But in Ubuntu and Linux Mint, the superuser does not have a password by default; you cannot log in as root. Therefore, we begin by setting the password for the superuser:

  • enter the password for the current user (since we are using sudo)
  • create and enter a password for the superuser
  • repeat password for superuser
Читайте также:  Cron linux запуск скрипта при загрузке

Now we login under the superuser:

Create a directory where we will install Intercepter-NG, go to this directory:

mkdir Intercepter-NG cd Intercepter-NG/

Download and prepare Intercepter-NG:

wget https://github.com/intercepter-ng/mirror/blob/master/Intercepter-NG.v1.0.zip?raw=true -O Intercepter-NG.zip unzip Intercepter-NG.zip rm wpcap.dll rm Packet.dll

In Linux Mint, installing and running Intercepter-NG performs as in Ubuntu. But if you try to launch the command (for Wine installation):

You get an error that the wine32 package was not found, then instead of that command execute the following:

sudo apt install wine:i386

The rest of the installation process runs unchanged.

Intercepter-NG installation in BlackArch and Arch Linux

You need to start by installing Wine.

To enable multilib, open the /etc/pacman.conf text file:

In it, find and uncomment the lines (be sure to uncomment both lines, otherwise, the changes will not take effect):

[multilib] Include = /etc/pacman.d/mirrorlist

Update the package information:

sudo pacman -S wine wine_gecko wine-mono lib32-mpg123 lib32-gnutls

Now that you have already installed Wine, we do the following:

Create a directory where we will install Intercepter-NG, go to this directory:

mkdir Intercepter-NG cd Intercepter-NG/
wget https://github.com/intercepter-ng/mirror/blob/master/wine_pcap_dlls.tar.gz?raw=true -O wine_pcap_dlls.tar.gz sudo pacman -S lib32-libpcap tcpdump winetricks tar xvzf wine_pcap_dlls.tar.gz sudo cp wpcap/wpcap.dll.so /usr/lib32/wine/ sudo cp packet/packet.dll.so /usr/lib32/wine/ rm -rf wine_pcap_dlls.tar.gz wpcap/ packet/ sudo winetricks cc580 sudo ethtool --offload enp0s3 rx off tx off

Download Intercepter-NG v1.0 and delete the wpcap.dll and Packet.dll files:

wget https://github.com/intercepter-ng/mirror/blob/master/Intercepter-NG.v1.0.zip?raw=true -O Intercepter-NG.zip unzip Intercepter-NG.zip rm wpcap.dll rm Packet.dll

Fix for Arch Linux (BlackArch):

sudo ln -s /usr/lib32/libpcap.so /usr/lib32/libpcap.so.0.8

Launch Intercepter-NG in Arch Linux (BlackArch):

sudo wine Intercepter-NG.exe

Источник

Intercept the planet!

[1]. Download WinPcap wrapper for Wine and libpcap-dev.

Читайте также:  Уменьшить lvm раздел linux

# wget http://sniff.su/wine_pcap_dlls.tar.gz
# apt-get install libpcap-dev

If you running i386 version of Kali goto [3].

[2]. On Kali x64 do the following commands.
# dpkg —add-architecture i386
# apt-get update
# apt-get install wine-bin:i386
# apt-get install tcpdump:i386

[3]. Copy dlls to wine libs.
# cp wpcap.dll.so /usr/lib/i386-linux-gnu/wine
# cp packet.dll.so /usr/lib/i386-linux-gnu/wine

[4]. Install winetricks.
# apt-get install winetricks
# winetricks cc580
# ethtool —offload eth0 rx off tx off

[5]. Download Intercepter-NG 0.9.9 and remove wpcap\packet dlls.
# rm wpcap.dll
# rm packet.dll
# wine Intercepter-NG.exe

41 комментарий:

Hello, I can’t get it work on Kali linux 64bit. I can’t get over [3]. The compilation of Wine doesn’t create *.so files in wpcap and packet directories, in other directories it create these files. Could you write more detailed tutorial? Ответить Удалить

ah, you only build wine and not wrapper itself, after wine built go to dlls/wpcap and dlls/packet and make them separately Удалить

Compilation of packet was unsuccesful. There was probably problem with types.

root@kali:~/wine/dlls/packet# make
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -fno-omit-frame-pointer -Wpointer-arith -Wlogical-op -I/usr/include/freetype2 -g -O0 -o packet_main.o packet_main.c
In file included from ../../include/winsock.h:84:0,
from ../../include/winsock2.h:47,
from packet32.h:4,
from packet_main.c:7:
/usr/include/x86_64-linux-gnu/sys/types.h:198:1: error: conflicting types for ‘int64_t’
In file included from sockstorage.h:1:0,
from packet32.h:3,
from packet_main.c:7:
bittypes.h:90:19: note: previous declaration of ‘int64_t’ was here
In file included from ../../include/winsock.h:84:0,
from ../../include/winsock2.h:47,
from packet32.h:4,
from packet_main.c:7:
/usr/include/x86_64-linux-gnu/sys/types.h:204:1: error: conflicting types for ‘u_int64_t’
In file included from sockstorage.h:1:0,
from packet32.h:3,
from packet_main.c:7:
bittypes.h:89:28: note: previous declaration of ‘u_int64_t’ was here
packet_main.c: In function ‘PacketGetNetType’:
packet_main.c:968:1: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘ULONGLONG’ [-Wformat]
make: *** [packet_main.o] Error 1
Удалить

try to add 32bit support
# dpkg —add-architecture i386
# apt-get install ia32-libs -y

and copy original *.so libs from .tar.gz.
i can’t help to build it blindly. Удалить

Источник

Оцените статью
Adblock
detector