SANS 503 Flashcards

1
Q

What port would you see in a tcpdump capture indicating the machine was
running CIFS?

A

445

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

What is NBT?

A

NETBIOS over TCP

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

How do NetBIOS hosts discover other NetBIOS hosts when no domain is present?

A

Sending broadcasts over the network

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

What is the SMB/CIFS protocol used for?

A

Access shared resources

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

How will a Windows client resolve a NetBIOS name when no central naming
service is used?

A

Broadcast a NetBIOS name query using UDP port 137.

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

MSRPC over SMB Session Setup

A
Negotiate Protocol Request
Negotiate Protocol Response
Session Setup Request
Session Setup Response
Tree Connect Request
Tree Connect Response
Bind request
Bind response
LsarOpenPolicy request
LsarOpenPolicy response
LsarQueryInformationPolicy request
LsarQueryInformationPolicy response
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

MSRPC over TCP (DCOM)

A
Connect EPM request   (Port 135)
EPM response
Connect high port from response
DCERPC bind request
DCERPC bind response
DRSUAPI DSbind request
DRSUAPI DSbind response
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

MSRPC Interfaces Request

A
lsarpc - local security authority
samr - comm with security account mgr
netlogon - SAM authentication n replication
drsuapi - AD replication
dssetup - Dir Svc Setup in AD
eventlog - access window event log
pnp - plug and play
srvsvc - manage lanmanserver service
svcctrl - manage windows service control mgr
winreg - windows registry access
wkssvc - lanman workstation service
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When utilizing SMB/CIFS, what mechanism is used to provide access to a
requested share?

A

tree connect

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

DNS zones

A
.com
.net
.com
.org
.mil
.jp
.edu
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Number of Names “root” servers

A

13 - actually are more doing any casting to load balance geographically

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

Reverse DNS Domain

A

in-addr.arpa

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

In TCPdump DNS reply three fields are give (ie. 0/3/4) what do these mean

A

0 Answers
3 Authority Records
4 Additional Records

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

In TCPdump DNS server reply if + (plus) sign after DNS ID

A

Means recursion is desired. It means if DNS server doesn’t know answer then go find it for me

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

In TCPdump DNS server reply if * (asterisck) mean –>

A

Means that is the authoritative server for that zone

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

Max value TTL for DNS record cache

A

32 bit field = 2^32 or ~4.3 billion seconds

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

Max TTL for IP

A

255

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

nslookup zone xfer

A

nslookup

Ls -d (list all data)

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

Largest reply of DNS by UDP by default

A

512 bytes

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

In TCPdump DNS server reply if | (pipe) after DNS ID

A

truncated bit set; this tells the client to that 512 was exceeded so client should use TCP to get full set of info

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

EDNS extends DNS reply size to

A

4000 bytes

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

DNSSEC does what

A

1) Ensure integrity and authenticity of DNS record
2) Use public key for digital signing
3) Adds new DNS records

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

Current Problem with DNSSEC

A

Poor hash alg has collision

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

IPv6 new resource record type

A

AAAA (quad-A) for longer address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
IPv6 reverse DNS top level domain
ip6.arpa
26
Version of DNS that supports IPv6
Bind 9, windows server 2003
27
nslookup search name server for target
set type=ns
28
nslookup search Source of Authority
set type=soa
29
fast flux
bot net of multiple hosts change get rotated in DNS A records so that IP for same URL are actually different IP/Host
30
DNS Cache poisoning
Change DNS to point to malicious host. www.amazon.com goes to compromised server.
31
Prevent Old Cache Poinsoning
Bailiwick checking - domains in query and additional resource records have to match
32
Snort Rules - Action: Alert
Create entry in alerts file | Logs packet header info as well
33
Snort Rules - Action: Log
Log entry | No Alerts logged to alert file
34
Snort Rules - Action: Pass
Drop packet and do nothing else
35
Snort Rules - Action: drop
Inline only option; blocks and logs traffic
36
Snort Rules - Action: sdrop
Inline only option; drops without logging
37
Snort Rules - Action: reject
Inline only option: blocks, logs and attempts to terminate TCP or UDP session
38
Which DNS record is a required DNS resource record for any DNS server to indicate the zone for which it is authoritative?
Start of Authority
39
What special level domain suffix is reserved for resolution of IP numbers to hostnames at the top level?
arpa
40
What does the '*' indicate in the following packet capture? dns. server.53 > host.1763: 1* 1/3/4 A 66. 35.45.201 (192)
It means dns.server IS the authoritative server for this zone
41
Who sets the time to live value for cached DNS records?
client resolver -- maybe! Check in book
42
How can malicious attackers be prevented from performing a zone transfer from your DNS servers? A. Block inbound UDP port 53. B. Block inbound TCP port 53. C. Restrict the IP addresses that are allowed to perform zone transfers. D. Remove all slave DNS servers.
B and C
43
What does the DNSSEC resource record of RRKEY contains what?
Public key for DNS zone
44
Based off of the following packet capture, what does the 4 indicate in '1/3/4'? 11:47:57.042470 IP 192.168.14.5.53 > 172.16.7.6.50702: 47543 1/3/4 A 10.1.1.5 (152)
4 additional records were returned.
45
What is a set of domain names for which DNS is the authoritative nameserver?
Zone Maps
46
What are zone maps
The set of domain names for which DNS is the authoritative nameserver
47
What type of call is made from the client resolver when a reverse lookup is made?
gethostbyaddr
48
Who maintains the zone maps?
Master Server
49
How are DNS records stored in IPv6 compared to IPv4?
A quad A (AAAA) record stores Ipv6 address, and an A record stores IPv4 addresses.
50
What value does DNS use in order to determine how long a cached record stays on a DNS server?
Time To Live
51
When is TCP used for DNS transactions? Choose the BEST answer. A. For zone transfers. B. After a UDP response is truncated. C. When the DNS payload is less than 500 bytes.
A and B
52
How are DNS records stored in IPv6 compared to IPv4?
A quad A (AAAA) record stores Ipv6 address, and an A record stores IPv4 addresses.
53
What does the '+' indicate in the following packet capture? 06:19:16.427260 IP (tos 0x0, ttl 64, id 18411, offset 0, flags [none], proto UDP (17), length 61) 10.0.0.6.50846 > 10.0.0.1.53: [udp sum ok] 33620+ A? sans.org. (33)
Recursion Request or Recursion is desired
54
Based off of the following packet capture, what does the 3 indicate in '1/3/4'? 11:47:57.042470 IP 192.168.14.5.53 > 172.16.7.6.50702: 47543 1/3/4 A 10.1.1.5 (152)
3 authoritative records were found.
55
Slave server gets zones maps from
From Master via zone xfer
56
what does | in tcpdump mean
truncated bit set.
57
DNSSEC RRSIG record contains what
signature for resource record set
58
IPv6 Features
``` Autoconfiguration Anycast Address Mandatory Multicast Address IPSec included via extension headers Mobile IP Jumbo Payloads ```
59
What is Teredo
Tunnels IPv6 between IPv6 hosts using UDP packets. Microsoft way of using IPv6
60
What is GRE
Generic Route Encapsulation: IPv6 over IPv4