Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


  1. In cybersecurity, what does script execution typically refer to?
    a. Running compiled applications
    b. Executing text-based commands interpreted by a program
    c. Launching BIOS routines
    d. Capturing network packets
    Answer: bdeepinstinct​
  2. Which of the following scripting languages is most exploited in script-based cyberattacks?
    a. PowerShell
    b. SQL
    c. Python
    d. Go
    Answer: adeepinstinct​
  3. What type of malware executes entirely in memory to evade detection?
    a. Rootkit
    b. Fileless malware
    c. Trojan downloader
    d. Logic bomb
    Answer: bacoupleofgurus​
  4. Script-based attacks often exploit which Windows executable to run HTML applications?
    a. taskmgr.exe
    b. explorer.exe
    c. mshta.exe
    d. winword.exe
    Answer: cdeepinstinct​
  5. What is the primary advantage attackers gain from using scripts?
    a. Ease of compilation
    b. Complexity and stability
    c. Evasion of traditional file-based detection
    d. Strong encryption
    Answer: cdeepinstinct​
  6. Which scripting language is commonly abused within PDFs for executing malicious code?
    a. JavaScript
    b. Ruby
    c. Perl
    d. Swift
    Answer: adeepinstinct​
  7. What does PowerShell provide that makes it useful to attackers?
    a. Access to WMI and COM objects
    b. GUI development tools
    c. Encrypted database access
    d. API blocking functionalities
    Answer: adeepinstinct​
  8. What is the method where attackers use legitimate applications like PowerShell to spread infections called?
    a. File injection
    b. Living off the land
    c. Macro obfuscation
    d. Worm propagation
    Answer: bdeepinstinct​
  9. A script attached to an Office document that runs after enabling macros is an example of a:
    a. Worm
    b. Dropper
    c. Bootloader
    d. Antivirus scanner
    Answer: bdeepinstinct​
  10. Why are script-based attacks harder to detect?
    a. They avoid network traffic
    b. They execute in memory
    c. They disable antivirus immediately
    d. They use Bluetooth channels
    Answer: bdeepinstinct​
  11. Which of the following file types is linked to VBScript?
    a. .vbs
    b. .js
    c. .ps1
    d. .html
    Answer: adeepinstinct​
  12. What is a common initial vector for script-based attacks?
    a. Social engineering via phishing
    b. Exploiting kernel drivers
    c. DNS hijacking
    d. Physical theft of hardware
    Answer: aacoupleofgurus​
  13. Scripts embedded in email attachments often require what from the user?
    a. Administrative login
    b. Enabling macros or interaction
    c. USB connection
    d. Firewall shutdown
    Answer: bdeepinstinct​
  14. Which type of script attack uses macros inside Microsoft Word documents?
    a. PowerShell Remote
    b. VBA-based malware
    c. SQL injection
    d. Bash scripts
    Answer: bdeepinstinct​
  15. What is the term for a malicious script that downloads another malicious payload?
    a. Downloader
    b. Checker
    c. Injector
    d. Compiler
    Answer: adeepinstinct​
  16. The Cobalt malware campaign primarily used which scripting component?
    a. VB.NET script
    b. PowerShell chain
    c. Python script
    d. PERL automation
    Answer: bdeepinstinct​
  17. Malicious actors prefer scripts because they are easy to:
    a. Compile and reverse
    b. Obfuscate and execute
    c. Encrypt in BIOS
    d. Share across blockchain
    Answer: bdeepinstinct​
  18. Which type of analysis detects malicious scripts running in memory?
    a. Static analysis
    b. Heuristic and behavioral analysis
    c. Manual code review
    d. Automated compiling
    Answer: bdeepinstinct​
  19. What percentage of fileless campaigns use scripts in at least one attack stage?
    a. 25%
    b. 50%
    c. 75%
    d. 10%
    Answer: cdeepinstinct​
  20. A simple system command sequence script falls under what category?
    a. Basic automation
    b. Advanced scripting
    c. Data injection
    d. Keylogging
    Answer: aacoupleofgurus​
  21. Why do attackers embed malicious scripts into legitimate files like PDFs or DOCs?
    a. To compress payloads
    b. To evade firewalls
    c. To ensure user execution
    d. To encrypt transfer data
    Answer: cdeepinstinct​
  22. Fileless malware attacks through scripts are often referred to as:
    a. Cloud-hosted infections
    b. In-memory attacks
    c. Binary-linked exploits
    d. Router-side injections
    Answer: bdeepinstinct​
  23. Which component executes HTA scripts in Windows?
    a. cmd.exe
    b. powershell.exe
    c. mshta.exe
    d. explorer.exe
    Answer: cdeepinstinct​
  24. What is a key reason organizations segment script execution permissions?
    a. To reduce attack surface
    b. To improve productivity
    c. To speed up scripting
    d. To prevent software updates
    Answer: adeepinstinct​
  25. Which feature can restrict the execution of interactive PowerShell scripts in networks?
    a. Script sandboxing
    b. Registry cleaner
    c. Command hooks
    d. Memory overclocking
    Answer: adeepinstinct​
  26. In PowerShell attacks, the initial access is usually obtained via:
    a. Kernel-mode driver
    b. Phishing documents
    c. NTP vulnerabilities
    d. DNS poisoning
    Answer: bdeepinstinct​
  27. Which file extension indicates an encoded VBScript file?
    a. .vbe
    b. .exe
    c. .bat
    d. .ps1
    Answer: adeepinstinct​
  28. Why are HTA files inherently risky?
    a. They execute with local user privileges
    b. They require admin approval
    c. They cannot access the internet
    d. They encrypt automatically
    Answer: adeepinstinct​
  29. How can security teams limit risks from script-based attacks?
    a. Disallow script execution in all contexts
    b. Monitor and restrict script permissions
    c. Delete all programming tools
    d. Disable authentication
    Answer: bdeepinstinct​
  30. What is the main function of contextual script behavioral analysis tools?
    a. Detect runtime script behavior
    b. Compile PowerShell code
    c. Encrypt user data
    d. Emulate network protocols
    Answer: adeepinstinct​
  31. Script execution primarily involves:
    a. Parsing and interpreting commands line by line
    b. Compiling kernel routines
    c. Installing device drivers
    d. Rendering GUIs
    Answer: adeepinstinct​
  32. Which scripting engine executes JavaScript within browsers?
    a. V8 Engine
    b. JVM
    c. CLR
    d. Bash
    Answer: aacoupleofgurus​
  33. What typically follows a successful script initiation in a malware infection?
    a. Payload delivery and lateral movement
    b. Hardware formatting
    c. App mirroring
    d. BIOS resets
    Answer: adeepinstinct​
  34. How can antivirus applications detect suspicious scripts?
    a. Static scanning of script files
    b. Manual packet sniffing
    c. Binary tracing
    d. Stack dumping
    Answer: aacoupleofgurus​
  35. Script-based malware is usually delivered through what method?
    a. Phishing emails and attachments
    b. Network jitter
    c. PCI configuration
    d. ARP commands
    Answer: aacoupleofgurus​
  36. Which scripting language is often disabled by administrators for security?
    a. VBScript
    b. HTML5
    c. C++
    d. SQL
    Answer: adeepinstinct​
  37. HTA scripts can perform which malicious action?
    a. Download and execute files
    b. Edit BIOS firmware
    c. Erase RAM
    d. Crash CPUs
    Answer: adeepinstinct​
  38. What role does PowerShell play in malware automation?
    a. Automates infection and exfiltration
    b. Manages virtual networks
    c. Encrypts HTTPS traffic
    d. Deletes credentials automatically
    Answer: adeepinstinct​
  39. Fileless script attacks often target which system type?
    a. Windows
    b. Linux
    c. Mainframe
    d. Android
    Answer: adeepinstinct​
  40. Scripts are typically interpreted rather than:
    a. Compiled
    b. Encrypted
    c. Signed
    d. Statically linked
    Answer: adeepinstinct​
  41. Which process often functions as a “dropper” in script-based malware?
    a. PDF document
    b. System BIOS
    c. USB firmware
    d. API gateway
    Answer: adeepinstinct​
  42. What is the biggest risk of VBScript and VBA-based macros?
    a. Automatic privilege escalation
    b. Execution of untrusted scripts
    c. GPU overheating
    d. Memory corruption
    Answer: bdeepinstinct​
  43. Most script attacks depend on what factor for success?
    a. User interaction
    b. Hardware vulnerability
    c. Server overload
    d. Firewall bypass
    Answer: adeepinstinct​
  44. To mitigate script threat vectors, companies must enforce:
    a. Policy-based script execution controls
    b. Random password generation
    c. Hardware acceleration
    d. GUI monitoring
    Answer: adeepinstinct​
  45. What allows fileless malware to operate without leaving traces on disk?
    a. In-memory execution
    b. Sandbox detonation
    c. Virtual containerization
    d. Firmware resets
    Answer: adeepinstinct​
  46. Scripts that automate repetitive administrative tasks often run with:
    a. Elevated privileges
    b. Limited access
    c. Guest rights
    d. Anonymous mode
    Answer: adeepinstinct​
  47. How do attackers obfuscate scripts to evade scanning?
    a. Encode or manipulate strings
    b. Compress payloads via ZIP
    c. Encrypt BIOS
    d. Spoof MAC address
    Answer: adeepinstinct​
  48. Which security measure helps reduce the damage caused by script attacks?
    a. Role-based access control (RBAC)
    b. Screen filters
    c. Wi-Fi throttling
    d. Network packet delay
    Answer: adeepinstinct​
  49. Why are PowerShell scripts often favored by attackers over executables?
    a. They bypass signature-based detection
    b. They consume less CPU
    c. They compile faster
    d. They block outbound connections
    Answer: adeepinstinct​
  50. In detection systems, script execution anomalies are best identified using:
    a. Behavioral analytics
    b. Random testing
    c. Static IP filtering
    d. URL blocking
    Answer: adeepinstinct​
  1. https://www.deepinstinct.com/blog/what-are-script-based-attacks-and-what-can-be-done-to-prevent-them
  2. https://www.acoupleofgurus.com/how-can-an-attacker-execute-malware-through-a-script/
  3. https://www.sanfoundry.com/1000-cyber-security-questions-answers/
  4. https://www.interviewbit.com/cyber-security-mcq/
  5. https://examradar.com/cross-site-scripting-xss-and-data-store-attacks-mcqs/
  6. https://www.theknowledgeacademy.com/blog/cyber-security-mcq-and-answers/
  7. https://www.sanfoundry.com/cyber-security-questions-answers-mcqs/
  8. https://portswigger.net/web-security/cross-site-scripting
  9. https://www.xcitium.com/blog/malware/how-can-an-attacker-execute-malware-through-a-script/
  10. https://testbook.com/objective-questions/mcq-on-cyber-security-and-emerging-technologies–5eea6a0d39140f30f369e309
  11. https://heycoach.in/blog/script-injection/
  12. https://automationcommunity.com/100-mcqs-mastery-on-cybersecurity/
  13. https://securityideals.com/learn/blog/how-can-an-attacker-execute-malware-through-a-script
  14. https://www.sciencedirect.com/science/article/pii/S2468227624002977
  15. https://www.vinsys.com/blog/top-30-mcqs-ceh-exam-preparation
  16. https://www.fortect.com/how-to-guides/real-world-examples-of-script-based-attacks/
  17. https://www.scribd.com/document/516169743/Cyber-Security-MCQ-Set-1-5
  18. https://owasp.org/www-community/attacks/xss/
  19. https://www.fortinet.com/resources/cyberglossary/types-of-cyber-attacks
  20. https://www.manageengine.com/log-management/cyber-security/powershell-cyberattacks.html

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!