Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Which cryptographic technique involves adding a random string of characters to a password before hashing it to defend against rainbow table attacks?
Not quite. Try another option.
Answer: Salting
Salting involves appending a unique, random string (the salt) to the password before hashing: . This ensures that identical passwords have different hashes, rendering pre-computed rainbow tables ineffective.
Question 2 of 50
In the context of Windows password cracking, why is the LM (LAN Manager) hash considered significantly weaker than NTLM?
Not quite. Try another option.
Answer: It splits the password into two 7-character chunks.
The LM hash converts the password to uppercase, pads it to 14 characters, and splits it into two 7-character blocks. Each block is hashed separately, making it trivial to brute-force compared to hashing the full string.
Question 3 of 50
What is the primary purpose of a 'Rainbow Table' in password cracking?
Not quite. Try another option.
Answer: To offer a time-memory trade-off for faster hash lookup.
Rainbow tables are pre-computed tables of hash chains used to reverse cryptographic hash functions. They trade storage space (memory) for reduced computational time when cracking hashes.
Question 4 of 50
Which command is used in Linux to list all users currently on the system?
Not quite. Try another option.
Answer: cat /etc/passwd
The /etc/passwd file contains the list of system users and their attributes. While /etc/shadow contains passwords, it requires root privileges and is not the primary method just for listing user accounts.
Question 5 of 50
During a system hacking engagement, an attacker gains access to a machine but has limited privileges. The attacker uses a kernel vulnerability to gain root access. What is this process called?
Not quite. Try another option.
Answer: Vertical Privilege Escalation
Vertical Privilege Escalation (PrivEsc) is the act of moving from a lower-privileged user account to a higher-privileged one (e.g., User to Admin/Root) on the same system.
Question 6 of 50
Which of the following is a specific type of attack where a hacker hides malicious code inside a legitimate file or program?
Not quite. Try another option.
Answer: Wrappers/Binders
Wrappers (or binders) are programs used to combine a malicious executable (payload) with a legitimate legitimate executable (carrier), such that both run when the user clicks the file.
Question 7 of 50
In the context of Reverse Engineering, what is the function of a Disassembler?
Not quite. Try another option.
Answer: It converts machine code into assembly language.
A disassembler translates binary machine code (0s and 1s) back into assembly language mnemonics (like MOV, JMP, POP) for analysis.
Question 8 of 50
Which hexadecimal value represents the NOP (No Operation) instruction in x86 architecture, often used in buffer overflow exploits?
Not quite. Try another option.
Answer: 0x90
The opcode 0x90 represents the NOP instruction on x86 processors. Attackers use a 'NOP Sled' to guide the execution flow towards their shellcode.
Question 9 of 50
What is the primary characteristic of a Reverse Shell?
Not quite. Try another option.
Answer: The victim machine initiates a connection back to the attacker's machine.
In a reverse shell, the target system executes code that connects back to the attacker's listening port. This is often used to bypass firewalls that block incoming connections but allow outgoing traffic.
Question 10 of 50
Which tool is commonly used to extract passwords and hashes from memory (LSASS) on a Windows system?
Not quite. Try another option.
Answer: Mimikatz
Mimikatz is a post-exploitation tool that dumps passwords, hashes, PINs, and Kerberos tickets from memory (specifically the Local Security Authority Subsystem Service - LSASS).
Question 11 of 50
In Linux Privilege Escalation, what does the SUID bit allow?
Not quite. Try another option.
Answer: It allows a user to execute a file with the permissions of the file owner.
SUID (Set User ID) allows a file to be executed with the privileges of the owner (often root), rather than the user running it. If a vulnerable binary has the SUID bit set, it can lead to privilege escalation.
Question 12 of 50
Which Windows command is used to manipulate file attributes to hide files as part of maintaining persistence?
Not quite. Try another option.
Answer: attrib +h file.txt
The attrib command in Windows allows users to change file attributes. The +h flag sets the 'Hidden' attribute.
Question 13 of 50
What is DLL Hijacking?
Not quite. Try another option.
Answer: Replacing a legitimate DLL with a malicious one in a directory searched by the application.
DLL Hijacking exploits the search order used by Windows to load Dynamic Link Libraries. If an attacker places a malicious DLL in a directory searched before the system directory, the application loads the malicious code.
Question 14 of 50
Which type of rootkit operates at the same privilege level as the Operating System kernel (Ring 0)?
Not quite. Try another option.
Answer: Kernel-mode Rootkit
Kernel-mode rootkits run in Ring 0 (the highest privilege level). They can intercept system calls and manipulate kernel data structures, making them extremely difficult to detect and remove.
Question 15 of 50
Which Python library is most frequently used for network interaction and crafting custom packets in scripting exploits?
Not quite. Try another option.
Answer: Scapy
Scapy is a powerful interactive packet manipulation program in Python. It is used to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more.
Question 16 of 50
When analyzing exploit code, what is the purpose of the payload?
Not quite. Try another option.
Answer: The code that runs on the target system after exploitation.
The payload is the actual malicious code (e.g., a reverse shell, a user creation script) that is executed once the vulnerability has been successfully exploited.
Question 17 of 50
What is the specific vulnerability related to 'Unquoted Service Paths' in Windows?
Not quite. Try another option.
Answer: Paths containing spaces not enclosed in quotes allow execution of arbitrary executables.
If a service path contains spaces (e.g., C:\Program Files\My Service\service.exe) and is unquoted, Windows might try to execute C:\Program.exe. Attackers can place a malicious executable named Program.exe to escalate privileges.
Question 18 of 50
Which Linux command helps identify commands a user can run as another user (often root) without a password?
Not quite. Try another option.
Answer: sudo -l
The sudo -l command lists the allowed (and forbidden) commands for the invoking user on the current host, which is crucial for identifying misconfigurations for privilege escalation.
Question 19 of 50
What does the technique Steganography entail?
Not quite. Try another option.
Answer: Hiding data within another file, such as an image or audio file.
Steganography is the art and science of hiding information by embedding messages within other, seemingly harmless messages or media (like modifying the Least Significant Bit of image pixels).
Question 20 of 50
Which Metasploit payload executes a payload within the memory of the compromised process without writing to the disk?
Not quite. Try another option.
Answer: Meterpreter
Meterpreter is an advanced, dynamically extensible payload that uses in-memory DLL injection. It resides entirely in memory and writes nothing to the disk, helping avoid antivirus detection.
Question 21 of 50
In a brute-force attack, if the password length is and the character set size is , what is the complexity of the attack?
Not quite. Try another option.
Answer:
The total number of possible combinations for a password of length using a character set of size is calculated as ( times), which is .
Question 22 of 50
Which registry key is commonly targeted for maintaining persistence on Windows so that malware runs on user login?
The Run and RunOnce registry keys define programs that execute automatically when a user logs in. Attackers add entries here to ensure their malware survives reboots.
Question 23 of 50
What is NTFS Data Hiding using Alternate Data Streams (ADS)?
Not quite. Try another option.
Answer: Hiding a file inside another file's metadata stream on NTFS filesystems.
NTFS ADS allows data to be stored in hidden streams attached to a file. For example, notepad file.txt:secret.exe can hide an executable behind a text file.
Question 24 of 50
Which of the following tools is a popular open-source reverse engineering framework developed by the NSA?
Not quite. Try another option.
Answer: Ghidra
Ghidra is a software reverse engineering (SRE) suite of tools developed by the NSA, featuring a disassembler and a decompiler.
Question 25 of 50
What is Dirty COW (CVE-2016-5195)?
Not quite. Try another option.
Answer: A Linux kernel privilege escalation vulnerability.
Dirty COW is a famous privilege escalation vulnerability in the Linux Kernel aimed at the Copy-On-Write (COW) mechanism, allowing an unprivileged user to write to read-only files (like /etc/passwd).
Question 26 of 50
In the context of scripting for pen-testing, what is Bash primarily used for?
Not quite. Try another option.
Answer: Automating tasks in Unix/Linux environments.
Bash (Bourne Again SHell) is the default command-line interpreter for most Linux distributions and is heavily used to script and automate sequences of commands.
Question 27 of 50
Which attack involves capturing the NTLM hash of a user and using it to authenticate without cracking the password?
Not quite. Try another option.
Answer: Pass the Hash
Pass the Hash (PtH) allows an attacker to authenticate to a remote server or service using the underlying NTLM hash of a user's password instead of the plaintext password.
Question 28 of 50
What is the purpose of timestomping in post-exploitation?
Timestomping involves changing the 'Modified', 'Accessed', and 'Created' timestamps of malicious files to match system files, making them harder to spot during forensic analysis.
Question 29 of 50
Which command allows you to view the currently loaded modules and their memory addresses in a Windows debugging environment like OllyDbg?
Not quite. Try another option.
Answer: Executable Modules
Viewing Executable Modules allows a reverse engineer to see which DLLs are loaded and their base addresses, which is crucial for bypassing ASLR (Address Space Layout Randomization).
Question 30 of 50
What does the command chmod 4755 filename do in Linux?
Not quite. Try another option.
Answer: Sets the SUID bit on the file.
The '4' in 4755 represents the SUID (Set User ID) bit. This permission setting allows the file to be executed with the permissions of the owner.
Question 31 of 50
Which tool is primarily designed for performing online password attacks against network services (FTP, SSH, Telnet)?
Not quite. Try another option.
Answer: Hydra
Hydra is a parallelized login cracker which supports numerous protocols to attack network services (online attacks), whereas John the Ripper and Hashcat are primarily for offline hash cracking.
Question 32 of 50
In a Buffer Overflow attack, the attacker attempts to overwrite the EIP register. What does EIP stand for?
Not quite. Try another option.
Answer: Extended Instruction Pointer
EIP (Extended Instruction Pointer) is a register in x86 architecture that contains the memory address of the next instruction to be executed. Controlling EIP means controlling the execution flow.
Question 33 of 50
Which of the following is a method of covering tracks on a Windows system?
Not quite. Try another option.
Answer: Using wevtutil cl to clear event logs.
wevtutil is a Windows tool to retrieve information about event logs and publishers. The cl (clear-log) command is used to clear specific event logs (e.g., Security, System) to hide evidence.
Question 34 of 50
What is the primary function of a Keylogger?
Not quite. Try another option.
Answer: To record every keystroke made by the user.
Keyloggers are surveillance software (or hardware) that has the capability to record every keystroke made on a computer to steal passwords and sensitive data.
Question 35 of 50
Which Windows feature can be exploited by pressing the SHIFT key 5 times?
Not quite. Try another option.
Answer: Sticky Keys
The Sticky Keys feature is activated by pressing SHIFT 5 times. Attackers can replace sethc.exe (Sticky Keys binary) with cmd.exe to gain a SYSTEM shell at the login screen.
Question 36 of 50
What is the purpose of Pivoting in penetration testing?
Not quite. Try another option.
Answer: Using a compromised system to attack other systems in the same network.
Pivoting (or island hopping) is the technique of using an instance (compromised host) to be able to move around inside a network and access systems that would otherwise be inaccessible from outside.
Question 37 of 50
Which PowerShell command is used to download a file from a remote server?
Not quite. Try another option.
Answer: Invoke-WebRequest
Invoke-WebRequest (often aliased as iwr or wget in PowerShell) is the standard cmdlet used to send HTTP/HTTPS requests and download content from the web.
Question 38 of 50
Which component of the Metasploit Framework stores information about targets, loot, and collected data?
Not quite. Try another option.
Answer: The Database (PostgreSQL)
Metasploit uses a PostgreSQL database to store results from scans, compromised hosts, looted credentials, and other data gathered during the penetration test.
Question 39 of 50
What distinguishes Static Analysis from Dynamic Analysis in malware analysis?
Not quite. Try another option.
Answer: Static analysis examines code without execution; dynamic analysis observes code behavior during execution.
Static analysis involves looking at the code structure, strings, and headers without running it. Dynamic analysis involves running the malware in a sandbox/VM to observe its behavior (network connections, file changes).
Question 40 of 50
Which script allows an attacker to automate the search for privilege escalation vectors on a Linux system?
Not quite. Try another option.
Answer: LinPEAS
LinPEAS (Linux Privilege Escalation Awesome Script) is a script that searches for possible paths to escalate privileges on Linux/Unix hosts.
Question 41 of 50
What is a Logic Bomb?
Not quite. Try another option.
Answer: Code intentionally inserted into a software system that sets off a malicious function when specified conditions are met.
A logic bomb is a piece of code that lies dormant until a specific condition occurs (e.g., a specific date, or a user being removed from the payroll system), at which point it executes a malicious payload.
Question 42 of 50
In the context of enumerating assets, what information does SNMP (Simple Network Management Protocol) primarily provide if misconfigured (public community string)?
Not quite. Try another option.
Answer: Network statistics, system information, and user accounts.
SNMP is used for managing devices. If the community string is guessed (like 'public'), attackers can enumerate system uptime, running processes, installed software, and user accounts.
Question 43 of 50
Which type of shellcode is typically used when the target system is behind a firewall that blocks incoming connections?
Not quite. Try another option.
Answer: Reverse TCP
A Reverse TCP payload makes the target connect back to the attacker. Since firewalls usually allow outbound traffic, this is the preferred method for bypassing incoming traffic restrictions.
Question 44 of 50
What is the SAM file in Windows?
Not quite. Try another option.
Answer: Security Account Manager
The SAM (Security Account Manager) is a database file in Windows operating systems that stores user passwords (in hashed format).
Question 45 of 50
Which of the following describes a Dictionary Attack?
Not quite. Try another option.
Answer: Using a pre-defined list of likely passwords.
A dictionary attack uses a wordlist (dictionary) of common passwords. It is faster than brute force but will fail if the password is complex and not in the list.
Question 46 of 50
When creating a persistent backdoor using Windows Scheduled Tasks, which command is used?
Not quite. Try another option.
Answer: schtasks
schtasks.exe is the command-line tool used to create, delete, query, change, run, and end scheduled tasks on a local or remote computer.
Question 47 of 50
What is the main purpose of Ruby in the context of the Metasploit Framework?
Not quite. Try another option.
Answer: It is the language used to write Metasploit modules.
The Metasploit Framework is written primarily in Ruby. Exploit modules, auxiliary modules, and payloads are typically developed using Ruby.
Question 48 of 50
Which vulnerability allows an attacker to escalate privileges by exploiting a program that runs with higher privileges but insecurely loads libraries from the current directory?
Not quite. Try another option.
Answer: DLL Hijacking
DLL Hijacking occurs when a trusted application loads a malicious DLL from the current directory (or other locations in the path) because the application did not specify the full path to the system DLL.
Question 49 of 50
What does the Sticky Bit do on a directory in Linux?
Not quite. Try another option.
Answer: It prevents users from deleting files they do not own.
The Sticky Bit (t) is commonly used on shared directories like /tmp. It ensures that only the file's owner, the directory's owner, or root can rename or delete the file.
Question 50 of 50
Which tool allows for the creation of custom wordlists based on the content of a target website?
Not quite. Try another option.
Answer: CeWL
CeWL (Custom Word List generator) is a Ruby app that crawls a given URL to a specified depth and returns a list of words, which can then be used as a dictionary for password cracking.
That's unit 5
Answer a few questions and your score shows up here.
Nearly through. Did unit 5 of INT245 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 5 of INT245 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.