SANS 503 Flashcards
What port would you see in a tcpdump capture indicating the machine was
running CIFS?
445
What is NBT?
NETBIOS over TCP
How do NetBIOS hosts discover other NetBIOS hosts when no domain is present?
Sending broadcasts over the network
What is the SMB/CIFS protocol used for?
Access shared resources
How will a Windows client resolve a NetBIOS name when no central naming
service is used?
Broadcast a NetBIOS name query using UDP port 137.
MSRPC over SMB Session Setup
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
MSRPC over TCP (DCOM)
Connect EPM request (Port 135) EPM response Connect high port from response DCERPC bind request DCERPC bind response DRSUAPI DSbind request DRSUAPI DSbind response
MSRPC Interfaces Request
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
When utilizing SMB/CIFS, what mechanism is used to provide access to a
requested share?
tree connect
DNS zones
.com .net .com .org .mil .jp .edu
Number of Names “root” servers
13 - actually are more doing any casting to load balance geographically
Reverse DNS Domain
in-addr.arpa
In TCPdump DNS reply three fields are give (ie. 0/3/4) what do these mean
0 Answers
3 Authority Records
4 Additional Records
In TCPdump DNS server reply if + (plus) sign after DNS ID
Means recursion is desired. It means if DNS server doesn’t know answer then go find it for me
In TCPdump DNS server reply if * (asterisck) mean –>
Means that is the authoritative server for that zone
Max value TTL for DNS record cache
32 bit field = 2^32 or ~4.3 billion seconds
Max TTL for IP
255
nslookup zone xfer
nslookup
Ls -d (list all data)
Largest reply of DNS by UDP by default
512 bytes
In TCPdump DNS server reply if | (pipe) after DNS ID
truncated bit set; this tells the client to that 512 was exceeded so client should use TCP to get full set of info
EDNS extends DNS reply size to
4000 bytes
DNSSEC does what
1) Ensure integrity and authenticity of DNS record
2) Use public key for digital signing
3) Adds new DNS records
Current Problem with DNSSEC
Poor hash alg has collision
IPv6 new resource record type
AAAA (quad-A) for longer address