Week 4 Flashcards

1
Q

What is an Access Control Matrix?

A

Matrix of all principles and objects - determines permissions.

Must not be corrupted.

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

What columns does the UNIX access control list have?

A

Permissions - Link Counter - Owner - Group - Size - Date - File Name

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

What sections are there of a permission in UNIX?

A

File Type - Owner Permissions - Group Permissions - Other Permissions

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

What access control is there for directories in UNIX?

A

“r” - read only

“x” - permission to traverse, switch to, run…

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

What are the different types of uids?

A

ruid - owner of a process.

euid - used for access checks (except filesystem).

fsuid - used for access checks and ownership of files ( = euid).

suid - when euid changed, old euid is saved. Unprivileged process may change euid only to ruid or suid.

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

What does the s permission indicate?

A

That a program runs with the permission of it’s owner.

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

What is a security measure for storing passwords?

A

Store pair (salt, hash) where salt is a random bitstring and hash is the hash of the salt + password.

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

What is Pass-the-hash?

A

Obtain user credentials for one host in domain.

Exploit to become local administrator.

Install process that waits for domain admin.

Extract cached hash for domain admin.

Log-in.

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

What is password injection?

A

Adding own account to hard disk / replace hash with another.

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

How does BIOS increase security?

A

Set a password in the BIOS to stop the computer from booting from anything but the hard disk.

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

What is TCP?

A

Protocol that asks for lost IP packets to be resent.

Allows multiple connections through ports.

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

What is a TCP socket defined by?

A

Destination IP and port.

Source IP and port (chosen at random).

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

What is the internet protocol stack?

A

Application
Transport (TCP)
Network (IP)
Link/hardware (Ethernet)

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

What is DCHP?

A

Dynamic Host Configuration Protocol.

Assigns an IP address to a new machine (MAC address).

Not stored long term.

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

What is ARP?

A

Address Resolution Protocol.

Lets router find out which IP address is being used by which machine.

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