Docsity

Securing Networks and Systems Against Attacks, Exams of Wireless Networking

Toggle sidebar
bg1
Ethical Hacking exam with 100% correct
answers 2024
What two scripts in the WEPCrack toolset are used to imitate IVs and encrypted output
seen from an access point, and then to crack the WEP key used by the access point? -
ANSWER-WeakIVGen.pl
WEPCrack.pl
A client was recently compromised even though their IDS detected an attack. The
compromise occurred because there was no one actively monitoring the IDS. What can
be done to ensure that the IDS grabs the attention of a system administrator when
attacks occur? - ANSWER-A sound file can be played when an attack is detected, to
generate an audible alarm that the administrator must respond to
The IDS can send an SNMP trap to the e-mail address of the administrator, or to a
management system
What part of a cell phone jammer transmits the radio signals used to block cell traffic? -
ANSWER-voltage-controlled oscillator
What does the "++" line in a user's .rhosts file do? - ANSWER-It allows anyone to log
into the system using that user's ID without a password
A client has approached you with what they believe is a compromised Mac OS X
machine. Upon investigating the machine's filesystem, you uncover several odd files in
the /tmp directory. Specifically, you find /tmp/latestpics.tar.gz and /tmp/pic. What
infection does the OS X computer have? - ANSWER-OSX/Leap-A worm
Public-key cryptography is an example of what type of encryption? - ANSWER-
asymmetric encryption
You are attempting to penetrate a client's network by gaining physical access to their
server room. Upon finding the room, you discover a door that doesn't appear to have a
corresponding strike plate on the door knob side, and it doesn't appear to be using a
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Securing Networks and Systems Against Attacks and more Exams Wireless Networking in PDF only on Docsity!

Ethical Hacking exam with 100% correct

answers 2024

What two scripts in the WEPCrack toolset are used to imitate IVs and encrypted output seen from an access point, and then to crack the WEP key used by the access point? - ANSWER-WeakIVGen.pl WEPCrack.pl A client was recently compromised even though their IDS detected an attack. The compromise occurred because there was no one actively monitoring the IDS. What can be done to ensure that the IDS grabs the attention of a system administrator when attacks occur? - ANSWER-A sound file can be played when an attack is detected, to generate an audible alarm that the administrator must respond to The IDS can send an SNMP trap to the e-mail address of the administrator, or to a management system What part of a cell phone jammer transmits the radio signals used to block cell traffic? - ANSWER-voltage-controlled oscillator What does the "++" line in a user's .rhosts file do? - ANSWER-It allows anyone to log into the system using that user's ID without a password A client has approached you with what they believe is a compromised Mac OS X machine. Upon investigating the machine's filesystem, you uncover several odd files in the /tmp directory. Specifically, you find /tmp/latestpics.tar.gz and /tmp/pic. What infection does the OS X computer have? - ANSWER-OSX/Leap-A worm Public-key cryptography is an example of what type of encryption? - ANSWER- asymmetric encryption You are attempting to penetrate a client's network by gaining physical access to their server room. Upon finding the room, you discover a door that doesn't appear to have a corresponding strike plate on the door knob side, and it doesn't appear to be using a

tumbler lock, despite having a keyed entry. Through the thick security glass next to the door, a visible rack system with a glass panel shows a reflection of the other side of the door. The top of the door appears to have an electric junction box just above the frame portion of the door. What type of lock is most likely being used? - ANSWER-An electromagnetic lock that requires a key to interrupt current to the magnet at the top of the door What statement accurately describes the Blowfish secret-key cryptographic method? - ANSWER-It uses a variable key length of 32 to 448 bits and utilizes a block cipher that organizes data into chunks of 64-bits before encrypting them A client has asked that you evaluate the security mechanisms utilized on their wireless network. A network administrator has informed you that the wireless networks utilize shared key authentication. What can you determine from this statement? - ANSWER- The network is utilizing WEP encryption What type of attack against RSA depends upon the weakness in implementations of the RSA protocol? - ANSWER-esoteric RSA attack You are utilizing a Mac OS X computer and you need to utilize industry-standard encryption to protect confidential client data. What utility can you use for this purpose? - ANSWER-FileGuard What statement accurately describes the iNdependence jailbreaking tool? - ANSWER-It provides an interface for jailbreaking, SIM unlocking, SSH installation, and app insallation on an iPhone You are attempting to access a secured file on a client's Linux system as part of an audit. Currently, the permissions on the file are set to "-rwx-rw-r--", and you are not the file owner, nor are you in the group that has been assigned to the file. What permissions do you have? - ANSWER-read Where can the keys to access BlackBerry devices remotely be found? - ANSWER-The keys can be found in the user's secure mailbox A client was recently contacted by their ISP after the ISP detected their cable modem was operating at uncapped speeds. The client has given you full access to their network to determine how the compromise of their modem occurred. What software tool may have been used due to the fact that all the uncapping steps are integrated into a single program? - ANSWER-OneStep: ZUP

Autorun should be disabled on host computers A router on your client's network has been compromised. After cleaning up the damage done, the client wishes to implement tighter security on logins to the router. Specifically, they would like to utilize an authentication mechanism that can be used to lock out an attacker after a number of failed logins. What mechanisms should you recommend? - ANSWER-TACACS RADIUS You're currently writing a Perl script for testing a client's network, which will be used to automate the process of raw IP manipulation when run. What should you use to decrease the development time for the script? - ANSWER-The Net::RawlIP Perl module should be used within the script to facilitate raw packet generation Your client has asked that you assist in securing their wireless network architecture. What statement regarding the deployment of wireless security is inaccurate? - ANSWER-The wireless access points should be configured to use WEP to secure the network from potential attacks What two statements regarding the Temporal Key Protocol (TKIP) versus WEP are accurate? - ANSWER-TKIP utilizes per-frame encryption keys TKIP uses a message integrity protocol that is used to prevent tampering What two chains are responsible for all state changes within the IPTables firewall? - ANSWER-PREROUTING OUTPUT What mechanism of exploit prevention uses access control to protect systems from attacks? - ANSWER-intrusion prevention system You are short on time after successfully compromising a client's network to test their systems, and need to perform quick dictionary attacks against network systems. You would like to utilize a program with parallel processing to leverage the full performance capabilities of your workstation's multicore processor. What application should you use?

  • ANSWER-Hydra What use in an Oracle database is created alongside of a database, and contains information about stored outlines? - ANSWER-OUTLN

You are auditing a network and would like to utilize a libnet/libpcap based packet sniffer and spoofer that utilizes tcpdump style filters to target victims. What software tool should you utilize? - ANSWER-Dnshijacker A client has come to you with concerns that they may not be protected against zero-day exploits, and would like you to deploy some countermeasures. What can you do? - ANSWER-Utilize a hardware/software firewall Ensure system hotfixes and patches are kept up to date After seeing strange traffic passing through a client's DMZ network, your client has asked you to install software that will monitor web server statistics and provide information about the sources of their web clients. What software should you use? - ANSWER-Log Analyzer Where in Internet Explorer can ActiveX controls be disabled? - ANSWER- Tools>>Internet Options >>Security>>Custom level You have gained access to a client computer that has e-mail software installed, and would like to prove that the e-mail software built in protections do not adequately protect saved passwords. What tool(s) can you use to recover the e-mail account passwords? - ANSWER-Mail PassView Advanced MailBox Password Recovery What happens when a packet with a flag of RST is sent to a host? - ANSWER-The receiving host closes the connection and enters the CLOSED state, and releases all resources from the connection After gaining access to a Windows Active Directory domain controller, you are now hoping to crack passwords for accounts across the domain. What utility can you use to attempt to gain authentication details on this server? - ANSWER-L0phtCrack After scanning a targeted server, you discover that UDP port 1434 is open and appears to be active. What does this tell you about the target server? - ANSWER-It is possible that arbitrary code can be executed utilizing a specially crafted request to the UDP port The server is using the SQL Server Resolution Service (SSRS) and may be vulnerable to buffer overflow attacks In securing IIS, what steps should be taken to implement sufficient auditing and logging? - ANSWER-IIS log files should be relocated and protected by IISLockdown Failed logon attempts should be enabled in logging

What extension of NTLM authentications provides Kerberos based authentication over HTTP? - ANSWER-negotiate authentication Your client has come to you requesting that you assist with the implementation of session hijacking countermeasures. What approaches are valid for this request? - ANSWER-Minimize remote access, and require strong authentication and encryption use for all VPNs Allow limited incoming connections and only from known trusted IP addresses What Internet Explorer setting can be enabled to prevent scripts on web pages from interacting with content from other domains or windows? - ANSWER-Cross-domain barriers What utility allows its user to monitor an entire network and assists in taking over sessions, while also saving an exact copy of the user's session? - ANSWER-IP Watcher You are securing a web application and have been tasked with securing user cookies from misuse. What steps can you take to ensure stolen cookies and changed values in cookies are useless? - ANSWER-Cookie timeouts should be utilized such that credentials stored in the cookie can only be used for a limited amount of time Utilize a message authentication code (MAC) to protect cookie integrity Cookie authentication credentials should be tied to client IP addresses What tool allows capture and play back of SQL queries on an Oracle database? - ANSWER-Oracle Selective Audit How can cryptographic interception be countered? - ANSWER-By use of Secure Sockets Layer (SSL) and private-key protection What tool provides Linux-based remote command execution for Microsoft SQL servers?

  • ANSWER-SQLSmack What two statements accurately describe the differences between a passive session hijacking attack versus an active hijacking attack? - ANSWER-A passive attack utilizes software on the network to obtain information such as user IDs and passwords, which are then used to gain access An active attack involves an attacker taking over an existing session by injection or by forcing the connection to drop What worm, designed for use in cyber-warfare against Iranian targets, has the capability to manipulate and control real-world equipment? - ANSWER-Stuxnet

What two different utilities can be used to flood a switched network with random MAC addresses, both ultimately allowing an attacker to sniff the network? - ANSWER-macof etherflood Which of the following is a method of accessing a computer without the security and authentication procedures that are normally required? - ANSWER-Backdoor A DNS server on your client's network is receiving a large number of DNS queries from what appears to be a workstation on their network. On closer examination, the workstation does not appear to be the source of the DNS queries, but is receiving the responses from the DNS server. What type of attack best matches this description? - ANSWER-reflective DNS attack What is the first step that is performed when building a successful phishing site? - ANSWER-Register a fake domain name What C library function reads a line into a buffer until a terminating newline or EOF, and is vulnerable to buffer overflows? - ANSWER-gets() What are three modes available for use within the Snort application? - ANSWER- Intrusion detection packet logger sniffer You have been called in to investigate a network that is actively being attacked. Computers are receiving UP addresses outside the normal scope of the local DHCP server, and upon investigating the DHCP server, you discover that all the leases available are currently used. What has most likely occurred? - ANSWER-An attacked has filled the DHCP lease table with bogus MAC address entries, then used a rogue server to provide malicious default gateway and DNS server information to hosts on the network A system has been found on your client's network that was infected with the Loki trojan. After properly isolating and cleaning the host, the client has asked you to ensure that proper countermeasures are deployed. How should you proceed? - ANSWER-Prevent ICMP_ECHO_REPLAY traffic from passing through routers/firewalls Block RPC on all UNIX hosts You should block all external ICMP_ECHO traffic from the protected network

What statement accurately describes a virus? - ANSWER-A virus is a self replicating and contagious program that produces code by attaching copies of itself to other applications You are attempting to infect a system with a trojan horse as a demonstration to a client that the security on this target system is lacking. Where can you place the file trojan.exe in the Windows registry such that it will autostart the trojan horse? - ANSWER-HKCR
exefile\shell\open\comman HKCU\Software\Microsoft\Windows\CurrentVersion\Run HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce What type of social engineering involves the behavioral trait that compels someone to do what everyone else is doing? - ANSWER-social validation What is the first phase of the social engineering cycle? - ANSWER-information gathering You are investigating a workstation on the network that has been sending a lot of data through the network to unknown destinations. After using netstat and fport you discover TCP port 21 is open. Assuming the port is opened by a trojan on the system, what kind of trojan is this? - ANSWER-FTP trojan An employee's account was compromised after clicking on a link that appeared legitimate, but in reality, was designed to appear exactly like your company's corporate Internet login page. What type of attack is this? - ANSWER-phishing What statement accurately describes how attackers exploit the use of IRC and instant messaging applications for phishing attempts? - ANSWER-Bots are utilized in popular channels and on popular applications to send fake information to many potential victims all at once You are attempting to infiltrate a network by means of a vulnerable workstation, which you have already gained access to. In order to maintain access to the system, you are looking to establish a backdoor. What can you use to create a backdoor that will listen on TCP port 7777, that will also grant access without requiring any validation authentication? - ANSWER-Tini What factors make a company more vulnerable to attacks using social engineering? - ANSWER-insufficient security training and awareness easy access to information, such as e-mail addresses. IDs, and telephone

What is the primary vector for a typical phishing attack against an individual user? - ANSWER-An e-mail with a link that leads to a phishing website A client has brought to you several workstations that are presenting with various symptoms and issues. Within the list are several obvious symptoms of malware infection, while other symptoms appear to be benign hardware or software issues. What workstations are most likely NOT infected by a virus? - ANSWER-Workstation D: Computer displays an error about the system clock immediately upon turn on, and the system date time is off by several months Workstation A: Computer beeps several times when powered on, does not display anything on the screen. Beeps continue same pattern until computer is turned off via power button A client's web host is currently experiencing a massive DoS attack from a specific source IP. What countermeasure(s) could be used to mitigate the effects of the DoS attack, while minimizing the inconvenience to end users? - ANSWER-ISPs can drop the transmission of falsely addressed packets within their controlled networks Routers can be configured to drop packets with a specific destination address What statement is accurate in regards to heap-based buffer overflow attacks? - ANSWER-In a heap-based overflow attack, a buffer in the lower part of the heap is used for the overflow, with the intent of overwriting dynamic variables What type of attack is initiated on a network by an authorized user? - ANSWER-An inside attack In tracing a network, you have decided to utilize a tool that will provide you with information regarding network faults and possible firewalls that may be blocking communications. What utility should you use? - ANSWER-Path Analyzer Pro A client has asked you to install a keylogger on several target systems in order to see if their anti-malware software can detect the software used. You have decided to deploy a keylogger that can be sent via e-mail and utilizes executables and registry entries that can be renamed to provide some level of stealth. What keylogger should you use? - ANSWER-Spector Professional What two different meta search engines will fetch results from several different search engines? - ANSWER-Dogpile WebFerret

Once an access token has been created, what two main services does it provide? - ANSWER-It contains the SID of the user represented by the token It contains different aspects of user information, such as authorization information What IP address blocks are valid for use as private IP address networks? - ANSWER- 10.0.0.0/ 172.16.0.0/ 192.168.0.0/ What two vulnerability research resources are governmet run resources? - ANSWER- US-CERT National Vulnerability Database You have been tasked with monitoring a SQL database server, and wish to use a utility that will monitor the performance of the database and generate reports, while only ever using the database in a read-only capacity. What utility should you use? - ANSWER- SQL Server Comparison Tool What file stored at the root of a website and is publicly accessible might contain a list of directories filled with sensitive information that is not to be indexed by search engines? - ANSWER-robots.txt How does the traceroute utility determine the path of data through a network? - ANSWER-Traceroute sends a packet with a TTL value of 1 initially, causing the packet to be returned. It then sends out additional packets, increasing the TTL value by 1 to account for each hop in the path Your client's intrusion detection system has detected an attacker that is sending SYN packets to targets systems, then responding to SYN/ACK messages with an RST. What type of scanning method best fits this description? - ANSWER-SYN Stealth/Half-Open scan You are auditing the serve dc01 and need to determine what files are opened remotely. What command will provide this information for you? - ANSWER-psfile \dc Your supervisor has asked you if it is possible to monitor servers for potential port scans via SNMP. What two OIDs can you provide to your supervisor that may show when a port scan is in progress? - ANSWER-UdpNoPorts TcpOutRsts

As part of securing a host from null sessions, you have been asked to block ports on the corporate firewall. What port is not a port used by NetBIOS? - ANSWER-TCP 443 What type of testing involves the simulation of real-world attacks and minimizes false positives? - ANSWER-black box testing A client has come to you with concerns that their company may not be doing enough to protect itself against social engineering. What should you tell the client? - ANSWER-The best way to defend against social engineering is user awareness of security policies What type of hacker attack is made possible by the fact that software developers will often use free libraries and code license from other sources in their programs? - ANSWER-Shrink-wrap code attacks What statement regarding the definition of a vulnerability is NOT accurate? - ANSWER- A vulnerability is an action or event that might compromise security A compromised server has been placed under your control, and your client has asked that you determine how it was compromised. After utilizing a LiveCD environment to compare file hashes to a known clean installation, you notice a file named msdirectx.sys in the System32 folder that looks out of place. From the presence of this file, what can you determine has happened? - ANSWER-The Fu rootkit is installed on the server What statement regarding hardware keystroke loggers is not accurate? - ANSWER- Hardware keystroke loggers can interact with the attached system to send data over the network What can the ike-scan utility be used to test? - ANSWER-The ike-scan utility utilizes the IKE protocol for testing and fingerprinting VPN servers using IPSec