Docsity

Ethical Hacking and Penetration Testing, Exams of Advanced Education

Toggle sidebar
bg1
MIST 400 FINAL EXAM QUESTIONS AND
ANSWERS
Which of the following is not an IoT data storage vulnerability? - Answer- Differential OS
backups
If your objective is privilege escalation, after you compromise a system, you will need to
__________ in order to create additional accounts? - Answer- Obtain administrator
(root) access to the system
If an attack manipulates a variable that references files with ../ sequences, what type of
attack is occuring? - Answer- Directory Traversal
_______ vulnerabilities are exploited by forcing an application or system to process
invalid data - Answer- Code injection
Which of these is not a way to help you maintain persistence of a compromised
system? - Answer- Downloading the password hash
You've recently gained administrative access to a Linux server. You'd like to modify the
access permissions for the file "hello.txt" as part of a lateral attack. What would be the
appropriate command to give to grant full access permissions to both groups and others
for hello.txt? - Answer- chmod 777 hello.txt
Which of these tools might you use to create a bind shell? - Answer- Meterpreter
What is a C2 system - Answer- A system that sends commands and instructions to
compromised systems
When performing SQL injection, what is the purpose of adding a single quote to the field
or parameter in a web form? - Answer- SQL uses it as a string terminator
HTTP status code messages in which range are related to server errors? - Answer- 500
Which of the following would be the most effective metric to use when attempting to
identify a DDoS SYN flood attack against a server or Layer 3 device? - Answer- Packets
per second (pps)
What Windows utility can you use to schedule tasks - Answer- Task schedular
What Linux command modifies the permissions on a file or folder? - Answer- chmod
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download Ethical Hacking and Penetration Testing and more Exams Advanced Education in PDF only on Docsity!

MIST 400 FINAL EXAM QUESTIONS AND

ANSWERS

Which of the following is not an IoT data storage vulnerability? - Answer- Differential OS backups If your objective is privilege escalation, after you compromise a system, you will need to __________ in order to create additional accounts? - Answer- Obtain administrator (root) access to the system If an attack manipulates a variable that references files with ../ sequences, what type of attack is occuring? - Answer- Directory Traversal _______ vulnerabilities are exploited by forcing an application or system to process invalid data - Answer- Code injection Which of these is not a way to help you maintain persistence of a compromised system? - Answer- Downloading the password hash You've recently gained administrative access to a Linux server. You'd like to modify the access permissions for the file "hello.txt" as part of a lateral attack. What would be the appropriate command to give to grant full access permissions to both groups and others for hello.txt? - Answer- chmod 777 hello.txt Which of these tools might you use to create a bind shell? - Answer- Meterpreter What is a C2 system - Answer- A system that sends commands and instructions to compromised systems When performing SQL injection, what is the purpose of adding a single quote to the field or parameter in a web form? - Answer- SQL uses it as a string terminator HTTP status code messages in which range are related to server errors? - Answer- 500 Which of the following would be the most effective metric to use when attempting to identify a DDoS SYN flood attack against a server or Layer 3 device? - Answer- Packets per second (pps) What Windows utility can you use to schedule tasks - Answer- Task schedular What Linux command modifies the permissions on a file or folder? - Answer- chmod

In what way is a container different from a virtual machine? - Answer- Doesn't require an underlying guest OS What Linux command can help you escalate privileges? - Answer- sudo Why is the Windows Task Scheduler a security risk? - Answer- It bypasses the Windows User Account Control mechanism, allowing tasks to run as an admin Which of the following is the definition of a reverse shell? - Answer- The victim's system initiates a connection back to the attacking system Which of these is the definition of a reverse shell? - Answer- The victim's system initiates a connection back to the attacking system Docker is an example of what? - Answer- Container After conducting a vulnerability assessment of a series of IoT devices on an organization's network, you've uncovered a number of serious vulnerabilities during your pentest. Your first recommendation would be to patch the vulnerable devices. What would be the challenge of implementing this recommendation? - Answer- IoT devices sometimes cannot be easily patched or updated as they lack a full OS During a pentest of a medium-sized business's wireless network, you uncover several vulnerable mobile devices belonging to employees which are currently connected to the organization's 802.11 WiFi network. All of the vulnerable mobile devices are personally owned, and have been rooted. Each device also has a number of critical vulnerabilities which cannot be mitigated through security updates. You also uncover that the organization has a BYOD policy towards mobile devices, and are permitted on the organization's enterprise network, as the organization uses a soft token authentication mobile app as part of the MFA system. These devices present a significant risk towards the organization's security posture. What would be the best and most cost effective recommendation towards mitigating this issue? - Answer- Implement a MDM with jailbreak detection, and enforce network access controls if devices are determined to be jailbroken Which of these is not an HTTP method? - Answer- CREATE In Linux, Chmod 765 file.txt grants which of the following privileges? - Answer- Read, Write, and Execute for users, Read and Write for groups, Read and Execute for others Which of these protocols is the most vulnerable to man-in-the-middle attacks and IP traffic capture (sniffing)? - Answer- Telnet Which of these commands will set the permission of the file myfile.txt to full permission for the owner and no permission for anyone else? - Answer- chmod 0700 myfile.txt

(every port is open and the MAC address is C8-D7-19-DF-29-AC) - Answer- EternalBlue Which of the following attacks would be useful for changing the routes between two devices on a single local area network as part of a MiTM attack? - Answer- ARP spoofing Which TCP port does SMB use? - Answer- 445 How is spear phishing different from regular phishing? - Answer- Directly targets specific individuals or companies What is the purpose of phishing? - Answer- To get the user to disclose confidential information Active Directory commonly requires clients to be bound to _______? - Answer- Domain As discussed in class, which of the following symbols can cause an issue when placed in a windows password? - Answer-
As we discussed in class, what is a better alternative to MAC address whitelisting for Network Access Control? - Answer- Installing a software agent on the system which grants access to the network As we discussed in class, what would be an effective way to break the trust relationship between a system and a domain controller? - Answer- Change the local NetBIOS name of the system Authority, scarcity, and urgency are all motivation techniques used in what type of attack? - Answer- Social engineering Based upon the nmap scan below, which of the following can you discern about this system? - Answer- This system is a Kerberos client You are pentesting a company and discover that they are using a SSO to federate a user's identity across multiple services and systems across the organization's enterprise. During your pentest, you uncover that several users were currently engaged in poor cybersecurity practices, including being susceptible to social engineering attacks, weak passwords, and lack of physical security awareness, which led their user credentials to be compromised. What would be the best recommendation to the client to help mitigate risk? - Answer- Force employees to use MFA to authenticate to the organizations single sign on, and on all other services Which of the following describes the following password ak2(*3mxVC82kz! - Answer- Randomly generated password

In a _______ attack, the attacker places himself or herself in-line between two devices to eavesdrop or manipulate the data being transferred - Answer- MITM Which of the following nmap scripts would be useful for conducting an attack on an email server? - Answer- nmap --script smtp-open-relay.nse An attacker presents as someone else in order to gain access to information in which type of attack? - Answer- Pretexting Modern Windows versions use _____ as an authentication protocol - Answer- Kerberos What type of attack leverages the trust between DNS servers to magnify a small query into a large request which may overwhelm a victim system? - Answer- Amplification attack What tool can be commonly used to leverage credential storage vulnerablities in Windows? - Answer- Mimikatz Your pentesting client wants to evaluate how their employees respond to mobile style attacks. What would be an effective way to conduct a mobile attack on employees? - Answer- SMS phishing The goal of a DDoS attack is to - Answer- Prevent the target system from operating normally What is the danger in having SMTP open relays? - Answer- Can be abused to send email scams Which of the following passwords would be effectively strongest according to the password strength example given in class? - Answer- Yoda Vader Deathstar Luke What might an attacker use the SET utility to do? - Answer- Create a spear phishing email Why are IoT devices inherently vulnerable? - Answer- They do not have a user interface or hardenable security controls as a typical endpoint In a Kerberos _____ attack, the attacker can manipulate Kerberos tickets based on available hashes by compromising a vulnerable system and obtaining the local user credentials and password hashes. - Answer- Golden ticket What is the primary challenge with randomized passwords? - Answer- Difficult for humans to memorize You're attempting to pentest an organization's network. First you need to try to capture employee's user credentials. You notice that the organization has a corporate Wi-Fi

You've conducted an nmap TCP SYN scan of an endpoint and recieved the following output: - Answer- An email server likely using a microsoft windows operating system that has remote desktop and remote shell capabilities You're currently conducting an active reconniassance scan of a client's network. You're attempting to fingerprint the specific model of operating system on a target server. Which of the following nmap scan types would potential work best to discover this information? - Answer- -sV _______ is the practice of slowing down the traffic created by your scanner to work around bandwidth limitations and avoid crashing the target. - Answer- Query throtting Which of the following is commonly referred to as a list of targets that cannot be attacked as part of the pentest? - Answer- Black-list Which testing methodology pertains to the specific needs of credit card processing systems? - Answer- PCI DSS An ethical hacker searches for IP ranges owned by the client, reads news articles, observes when bank employees arrive and leave from work, searches the client's job postings, and visits the client's dumpster. Which of the following is a true statement? - Answer- All of the actions are passive footprinting You've run an nmap scan attempting to fingerprint a system. Which of the following statements would be true about the system, based upon the results of the scan? - Answer- This is a virtualized server, likely using Virtual Box as a hypervisor During a pentest, you audit several privileged user accounts belong to IT system administrators. You discover that one user account has been conducting malicious fraud activities that violate company internal policy. What would be the most appropriate course of action to the pentester. - Answer- Report the potential fraud activity to the designated incident contact within the organization. Including a statement that says you provide no warranties or legal certifications concerning the testing tools and methods is an example of a: - Answer- Disclaimer Which of the following would be a budgeting concern from the pentester's point of view?

  • Answer- How do I account for all items of the penetration testing engagement so I do not go over budget? Which type of hacker has consent to attempt to access the target? - Answer- Penetration tester What type of attack encrypts user files until the victim pays a fee? - Answer- Ransomware

Which of these can help protect the client in the event that you break something during a test? - Answer- Virtual environment Which of the following is a very popular vulnerability management scanning tool? - Answer- Nessus Which of the following nmap scripts would produce this output? This script is scanning accounts connected to a network shared drive. - Answer- smb-enum-users.nse You want to perform a ping sweep of a subnet (10.0.1.0/8) within your target organization. Which of the following nmap command lines is your best option? - Answer- nmap -sP 101.0.1.0/ What type of legal document specifies and defines confidential material, knowledge, and information that should be kept private by both parties? - Answer- Non-disclosure Agreement An ethical hacker is assigned to scan a server and wants to avoid IDS detection. She uses a tactic wherein the TCP header is split into many packets, making it difficult to detect what the packets are intended for. Which of the following best describes the technique employed? - Answer- IP fragment scanning What type of tests would be most important to conduct to find out whether hackers could use the Internet to compromise your client's online ordering system? - Answer- Web application tests Which of the following nmap scan commands likely produces an output which fingerprints the OS of the target? - Answer- nmap -O -v scanme.nmap.org An ethical hacker is given no prior knowledge of the network and has a specific framework in which to work. The agreement specifies boundaries, nondisclosure agreements, and a completion date definition. Which of the following statements is true?

  • Answer- A white hat is attempting a black-box test What type of nmap scan would result in the output below? - Answer- FIN scan Based upon the following nmap scan, how would you classify this system? - Answer- email server Which of these describes a scenario in which the tester starts with credentials but not full documentation of the network infrastructure? - Answer- Gray-box test Why is the Rules of Engagement (RoE) document so important? - Answer- The RoE defines the manner in which the pentest will be conducted, and what actvities, techniques, or assets are off limits.