Final Exam Flashcards

1
Q

What are the 5 Digital Footprinting Methods?

A
Social Networking
Web Searching
Network Enumeration
Domain Name System-Based Reconnaissance
Network-Based Reconnaissance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does ssh do and how would you use it?

A

ssh -p “port number” user@host

how to login to a hosts account (remote login program)

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

What is cat and how would you use it?

A

Cat displays files

cat “file name”

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

what is cd and how would you use it?

A

cd is used to change directories

cd “directorypath&filename”

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

what is ls and how would you use it?

A

ls is used to list the contents of a directory

usage: ls

or

ls -als

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

what is base64 and how would you use it?

A

base64 is used to encode/decode data and print to standard output

usage: base64 -d “file to decode”

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

what is tr and how would you use it?

A

tr translates characters

usage: tr listofcharacterstotranslate listofcharacterstotranslateto

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

what is mkdir and how would you use it?

A

mkdir makes new directories

usage: mkdir “directoryname”

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

what is cp and how would you use it?

A

cp copies files and directories

usage: cp “source destination”

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

what is xxd and how would you use it?

A

xxd makes a hexdump or does the reverse

usage: xxd “infile” “outfile”

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

what is gunzip, bunzip2, and zcat and what do they do?

A

these commands decompress files to standard output

usage: command filename

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

what is nc and how would you use it?

A

nc is an arbitrary TCP and UDP connections and listens.
It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deals with both IPv4 and IPv6

usage: nc “options” “destination” “port”

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

what is openssl s_client and how would you use it?

A

the s_client command implements a generic SSL/TLS client which connects to a remote host using SSL/TLS

usage: openssl s_client -connect host:port -pass pass: thepasswordincleartext

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

what are CVEs?

A

Common Vulnerabilities and Exposures

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

what is the purpose of network enumeration?

A

it identifies domain names as well as other resources in the target network

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

what protocol does the ping utility use?

A

ICMP

17
Q

which scan is more likely to be logged by the target system, a TCP connect scan or a TCP half-open scan?

A

TCP connect scan

18
Q

write the name command to perform a network sweep

A

nmap -sP

19
Q

what protocol is used in a network sweep?

A

ICMP

20
Q

what happens on wire shark when you run a TCP connect scan?

A

syn
syn, ack
ack
rst, ack

21
Q

what does wire shark look like when you run a TCP SYN scan?

A

SYN
SYN, ACK
RST

22
Q

what nmap command determines the operating system?

A

nmap -O

23
Q

what knowledge would a pen tester gain from the ICMP message?

A

if a port is unreachable or unavailable

24
Q

what type of scan produces a UDP theN a ICMP destination unreachable?

A

UDP ping scan

25
Q

what is the purpose of the TCP RST flag?

A

RST means the connection is reset

26
Q

what does it mean when nmap reports that a port is filtered?

A

Nmap cannot determine whether the port is open because packet filtering prevents its probes from reaching the port

27
Q

what does it mean when nmap reports that a port is unfiltered?

A

the unfiltered states means that a port is accessible, but Nmap cannot determine whether it is open or closed