Day 7 Flashcards

1
Q

DACL ACE’s order precedence

A

explicit deny
explicit allow
inherited deny
inherited allow

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

Universal Naming Convention

A

if you are denied access to a folder but given access to a file within the folder, use the UNC path (file path) to access the file

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

Take ownership

A

In 6* architecture, the administrator can directly assign a new owner.
In 5* architectures, a user must have the special permission and then exercise that permission

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

copying files/folders

A

must have read at the source.
must have write at the destination.
because the copied file is a new instance, permissions are inherited from the parent directory

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

moving files/folders

A

must have read and delete at the source.
must have write at the destination.
When moved within the same volume, permissions are retained.
when moved to a different volume, permissions are inherited from the parent folder

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

exFAT (FAT64)

A

more storage than FAT16 or FAT32.
less functionality, and less overhead, than NFTS.
best option when you need to save files larger than 4GB.
often used for thumbdrives.
Like older FAT, exFAT still has allocation table, root directory, entries and timestamps.

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

allocation table

A

exFAT uses a bitmap to track cluster allocation status.

FAT will still be used to track clusters should data become fragmented

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

root directory

A

Root directory tracks files, subdirectories and the bitmap.

32 bytes in length

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

file directory entries

A

found within the root directory.
files have a minimum of 3 entries and a max of 19. (directory sets)
contain file attributes (RASH), time stamps (MAC), file name, file size, and cluster information.

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

timestamps

A

three main timestamps: created, accessed, and written/modified.
accessed timestamp reflects accurate date and time (unlike FAT).

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

Remote Procedure Call (RPC)

A

windows uses RPC to allow a program runninig on one computer to seamlessly execute code on a remote system.
RPC listens on TCP port 135.

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

RPC vulnerabilities

A

Endpoint mapper promiscuity

general DoS by attacking port 135

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

NetBIOS

A

a session layer file and print sharing protocol.

provides 3 services: Name service, datagram service, and session service

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

NetBIOS Name Service

A

NetBIOS name service is used for name resolution and registration (UDP port 137).
Net BIOS names are flat and limited to 16 characters. The first 15 characters are for names and the 16th character indicates the function/service.

<00> workstation
<20> server

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

Name advertisement

A

1.client broadcasts NetBIOS info 6-10 times.
2. if the name is already in use, that client sends a broadcast back indicating its use.
3. if there are no in use responses, the original client may use the name.
(a name is unique and goes to the first device that requests it)

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

name resolution

A
  1. Client first checks its cache.
  2. if not found, client requests resolution from master browser or WINS server.
  3. if name is not in the master browser or WINS, client sends broadcast looking for it.
  4. if there are no responses, the name will not be resolved
17
Q

NetBIOS Datagram Service

A

UDP port 138
used for browser and messenger services.
<03> indicates messaging is available

18
Q

NetBIOS session service

A

NetBIOS session service uses TCP port 139.

primarily used for local network file and print sharing.

19
Q

NBTSTAT (NetBIOS over TCP/IP Statistics)

A

NBSTAT is a diagnostic tool for NetBIOS over TCP/IP.
nbtstat -a a used with NetBIOS name
nbtstat -A A used with IP address
nbtstat -n lists local NeteBIOS names

20
Q

Server Message Block (SMB)

A

SMB (AKA CIFS) is an application layer protocol used for file and print sharing.
uses TCP port 445.
SMB is transport independent.

21
Q

Samba

A

Samba provides file and print sharing services to SMB/CIFS clients and allows for seamless interoperability between *NIX servers and Windows clients

22
Q

Remote Desktop Protocol (RDP)

A

RDP on TCP port 3389 is a remote connection system.
RDP allows for an actual GUI desktop.
Typically only enabled on servers and certain administrative workstations.

23
Q

network discovery

A

enables a computer to locate any device with an IP address

24
Q

Netstat

A

netstat provides information and statistics about protocols in use and current tcp/ip network connections.

netstat -an (most common syntax)

25
Q

netstat states

A

Listening-server ready for connection

established-session is established

time_wait-server has closed connection, but still waiting for final timeout value.

26
Q

PS equivalent to Netstat

A

get-netTCPConnection

27
Q

net help

A

displays a list of commands

net help

28
Q

net view

A

displays a list of resources being shared on a computer.
net view lists computers in current domain/network

net view /domain: lists computers in another domain/network

net view \ lists public shares on a remote system

\all option on 6* systems lists all admin and hidden shares

29
Q

Net use

A

lists sessions in the form of mapped drives made from the work station
net use displays workstation connections and mapped drives.

net use T: \ Maps a logical T: drive to UNC which is \ \sharename

net use T: /delete deletes logical T: drive

30
Q

the PS equivalent to Net Use

A

get-smbConnection

31
Q

Net share

A

makes a server’s resources available to network users
net share displays local shares, including admin and hidden

net share utils=c:\tools shares c:\tools directory, naming the share utils

net share utils /delete deletes the share named utils

32
Q

administrative shares

A

default shares:
Drive letter$ i.e C$, E$, F$, etc
ADMIN$ the Systemroot on Windows is shared via admin shares.
IPC$ shares named pipes required for communication between computers and programs
SYSVOL used on active directory domain controllers

33
Q

PS equivalent to net share

A

Get-smbshare

34
Q

Net session

A

command lists recorded sessions made to the machine via the local server service.

net session displays connections made to the local server service

net session \ displays details of a session

35
Q

net config

A

displays configuration information of the Workstation or server service

36
Q

net accounts

A

updates the user accounts database and modifies password and logon requirement for all accounts

/minpwlen:
/maxpwage: