GUID (Global Unique Identifier) Flashcards

1
Q

What is UUID ?

A

Universally Unique Identifier. An 128 bits number used to identify information in computer systems.

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

What is GUID?

A

GUID is Microsoft implementation of UUIS.

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

Where is GUID used for?

A
  • Identify OS components. (Files, Pofiles, Registry)
  • Identify Objects. (Interfaces, Manage Entry Points Vectors EPV’s, Class objects)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Windows GUID format ?

A

Its a long sequence of digits. Written as a 32-char hex string. With a length of 16 bytes. (128 bits, 16 x 8 bits)
(4 bytes) - (3 bytes) - (3 bytes) - (3 bytes) - (6 bytes)
The first 3 groups are “little endian” and the 4th group is “big endian”
The last 6 bytes is the mac address.

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

What is UUID binary encoding ?

A

The binary encoding of UUID varies between systems. Most systems encode the UUID entirely in a “big endian” format.
Windows used a mixed-endian format like the first 3 groups are “little endian” and the 4th group is “big endian”

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

How many UUID version are there? And how can you determine the version ?

A

There are 5 version. Version 4 is the most common used. The version can be found in the first digit of the 3th group.

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

UUID v1

A

Using a timestamp + mac address (Can be easily faked)

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

UUID v2

A

Using a timestamp + mac address but first 32 bits are replaced by user’s Posix.

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

UUID v3

A

MD5 Hash of namespace identifier + name

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