Computers Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does every computer need to connect to the internet?

A

A network interface card or a wifi card

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

What is a daemon?

A

a background process that handles requests for services such as print spooling and file transfers, and is dormant when not required.

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

What is the role of the network interface card?

A

A physical and data link layer device used by computers to connect and communicate with other devices on a LAN.

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

What is the role of the hub?

A

Hubs transfer data to all nodes connected to the hub, and not just the recipient nodes, while others discard the data as they are not the recipient.

causes data collisions
take up bandwidth
old technology which has been replaced with switches

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

What is the role of the switch?

A

A switch is more intelligent way of dealing with data as it forwards data but also filters it using MAC addresses.

Switch has a mac address table, which has all of the different MAC addresses and the ports they are connected to

Layer 2 device of OSI

Not all nodes connected to the switch receive the packets, but only the correct recipient

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

What is the role of the router?

A

Modern routers are exactly like switches and can create a bridge to WAN.

connects multiple different networks together, like the lan and the internet.

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

what is ARP? how can it be exploited?

A

ARP is used to discover MAC addresses, and an ARP request is sent out to every device on the network to ask whether it is the gateway.
Router responds with its MAC and then it is stored in the node’s ARP cache for future routing of data.

ARP cache’s can be poisoned by tricking devices into thinking that malicious devices are the gateway.

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

What is DHCP? How can it be exploited?

A

All devices need an IP address to communicate on the network, which is the role of DHCP.

DHCP discover packet is sent out on the first connection to a network to every device
DHCP client (server) runs on a router, and runs the allocated IP server to the host which asked for the IP

DHCP IP addresses are not permanent and have an expiration until the device asks for another IP address allocation

on port 67-68

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

What is a shell?

A

A shell is something which communicates with the OS.
A terminal is needed to interact with a shell.

There are different types of shells

> bash
cmd
powershell

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

How does SSH work?

A

Secure Shell.

Often ran over TCP.

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

How does a reverse shell work?

A

It makes the victim device connect to the hacker.
It’s an outbound connection so it bypasses the firewall.

The hacker is listening on a particular address and port and is waiting for the victim to connect to their server.

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

What is Nmap used for?

A

Used to scan for network clients and the open ports on their machines. This is used to find vulnerabilities and to find specific applications running on the devices

It can be detected by intrusion detection systems,

so ping - it won't send packets to any of the clients
# nmap -sp 192.100.1.1/24

Detect operating systems
nmap -O

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

What are cookies?

A

Cookies are small indentifiers unique to the user which web servers send to browsers. These cookies are sent back to the webserver each time you reconnect to a website. That is how the website remembers your preferences, what you do and what device you’re using.

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