Computer Science Flashcards

1
Q

FTP active vs. passive

A

STEP 1
The client connects to the FTP server on port 21

STEP 2
Active: The client also sends a port on which the server may connect to the client to open the data channel (problem: the clients ports are usually firewalled)

Passive: The client also sends the passive command, on which the server replies a port on which the client is allowed to open the data channel (unfortunate result is that the server needs a range of ports to be opened, to support multiple clients)

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

IP sweep: UDP scan

A

Send 0 byte packets to Target. If ICMP port unreachable is sent back, port is closed or filtered

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

IP sweep: Idle scan

A

Use a second host, called the zombie.

1) Check his IP fragmentation ID
2) Send a SYN to Target, with source IP of zombie
- If port open: Z will receive SYNACK and reply RST. Fragmentation ID of Z will be +2
- If port closed, Z receives RST. Fragmentation ID will be +1.
- If no response, fragmentation ID of Z will be equal
3) Check Fragmentation ID of Z again to see what happened.

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

Benefit of SSL over IPSec

A

Authenticates on the level of the application, while IPSec does this at host level. Rejection can be done earlier though, so IPSec is less vulnerable to DoS attacks

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