Analyzing and Managing Networks Flashcards
Using ifconfig to show information about active network interfaces and one of the listed shows as eth0, what does that mean?
It means Ethernet0, ethernet indicating that it is a wired interface and 0 is just the number. As linux starts counting at 0, this is the first wired interface.
What command can be used to show useful information for wireless hacking?
iwconfig.
How to change the ip address associated to eth0 interface to 192.168.0.220?
$ ifconfig eth0 192.168.0.220
Why a hacker would spoof his MAC address?
To bypass network access controls or to evade being traced.
What are the steps to spoof a MAC address of an interface?
Using the eth0 interface as an example.
~~~
$ ifconfig eth0 down
$ ifconfig eth0 hw ether 00:11:22:33:44:55
$ ifconfig eth0 up
~~~
Why a DHCP server is important for forensics after an attack?
Because a DHCP server assigns IP addresses to all the systems in the subnet and keeps a log file for which IP address was assigned to which machine.
How to request a new IP address from DHCP?
$ dhclient <interface>
How does the proccess of retrieving a new IP address from DHCP work?
The client sends a DHCPDISCOVER request from the specified network adapter, then the server sends a DHCPOFFER and the client can accept it sending a DHCP request.
What command is useful to obtain DNS information about a target domain?
dig.
Describe the dig command syntax.
$ dig <domain> <record-type>