Analyzing and Managing Networks Flashcards

1
Q

Using ifconfig to show information about active network interfaces and one of the listed shows as eth0, what does that mean?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command can be used to show useful information for wireless hacking?

A

iwconfig.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to change the ip address associated to eth0 interface to 192.168.0.220?

A

$ ifconfig eth0 192.168.0.220

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why a hacker would spoof his MAC address?

A

To bypass network access controls or to evade being traced.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the steps to spoof a MAC address of an interface?

A

Using the eth0 interface as an example.
~~~
$ ifconfig eth0 down
$ ifconfig eth0 hw ether 00:11:22:33:44:55
$ ifconfig eth0 up
~~~

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why a DHCP server is important for forensics after an attack?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to request a new IP address from DHCP?

A
$ dhclient <interface>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the proccess of retrieving a new IP address from DHCP work?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command is useful to obtain DNS information about a target domain?

A

dig.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the dig command syntax.

A
$ dig <domain> <record-type>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly