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.
- 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 - Which of the following scripting languages is most exploited in script-based cyberattacks?
a. PowerShell
b. SQL
c. Python
d. Go
Answer: adeepinstinct - What type of malware executes entirely in memory to evade detection?
a. Rootkit
b. Fileless malware
c. Trojan downloader
d. Logic bomb
Answer: bacoupleofgurus - 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 - 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 - Which scripting language is commonly abused within PDFs for executing malicious code?
a. JavaScript
b. Ruby
c. Perl
d. Swift
Answer: adeepinstinct - 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 - 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 - 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 - 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 - Which of the following file types is linked to VBScript?
a. .vbs
b. .js
c. .ps1
d. .html
Answer: adeepinstinct - 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 - 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 - 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 - What is the term for a malicious script that downloads another malicious payload?
a. Downloader
b. Checker
c. Injector
d. Compiler
Answer: adeepinstinct - The Cobalt malware campaign primarily used which scripting component?
a. VB.NET script
b. PowerShell chain
c. Python script
d. PERL automation
Answer: bdeepinstinct - 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 - 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 - What percentage of fileless campaigns use scripts in at least one attack stage?
a. 25%
b. 50%
c. 75%
d. 10%
Answer: cdeepinstinct - A simple system command sequence script falls under what category?
a. Basic automation
b. Advanced scripting
c. Data injection
d. Keylogging
Answer: aacoupleofgurus - 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 - 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 - Which component executes HTA scripts in Windows?
a. cmd.exe
b. powershell.exe
c. mshta.exe
d. explorer.exe
Answer: cdeepinstinct - 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 - 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 - 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 - Which file extension indicates an encoded VBScript file?
a. .vbe
b. .exe
c. .bat
d. .ps1
Answer: adeepinstinct - 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 - 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 - 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 - 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 - Which scripting engine executes JavaScript within browsers?
a. V8 Engine
b. JVM
c. CLR
d. Bash
Answer: aacoupleofgurus - 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 - 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 - 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 - Which scripting language is often disabled by administrators for security?
a. VBScript
b. HTML5
c. C++
d. SQL
Answer: adeepinstinct - HTA scripts can perform which malicious action?
a. Download and execute files
b. Edit BIOS firmware
c. Erase RAM
d. Crash CPUs
Answer: adeepinstinct - 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 - Fileless script attacks often target which system type?
a. Windows
b. Linux
c. Mainframe
d. Android
Answer: adeepinstinct - Scripts are typically interpreted rather than:
a. Compiled
b. Encrypted
c. Signed
d. Statically linked
Answer: adeepinstinct - 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 - 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 - Most script attacks depend on what factor for success?
a. User interaction
b. Hardware vulnerability
c. Server overload
d. Firewall bypass
Answer: adeepinstinct - 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 - 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 - Scripts that automate repetitive administrative tasks often run with:
a. Elevated privileges
b. Limited access
c. Guest rights
d. Anonymous mode
Answer: adeepinstinct - 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 - 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 - 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 - 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
- https://www.deepinstinct.com/blog/what-are-script-based-attacks-and-what-can-be-done-to-prevent-them
- https://www.acoupleofgurus.com/how-can-an-attacker-execute-malware-through-a-script/
- https://www.sanfoundry.com/1000-cyber-security-questions-answers/
- https://www.interviewbit.com/cyber-security-mcq/
- https://examradar.com/cross-site-scripting-xss-and-data-store-attacks-mcqs/
- https://www.theknowledgeacademy.com/blog/cyber-security-mcq-and-answers/
- https://www.sanfoundry.com/cyber-security-questions-answers-mcqs/
- https://portswigger.net/web-security/cross-site-scripting
- https://www.xcitium.com/blog/malware/how-can-an-attacker-execute-malware-through-a-script/
- https://testbook.com/objective-questions/mcq-on-cyber-security-and-emerging-technologies–5eea6a0d39140f30f369e309
- https://heycoach.in/blog/script-injection/
- https://automationcommunity.com/100-mcqs-mastery-on-cybersecurity/
- https://securityideals.com/learn/blog/how-can-an-attacker-execute-malware-through-a-script
- https://www.sciencedirect.com/science/article/pii/S2468227624002977
- https://www.vinsys.com/blog/top-30-mcqs-ceh-exam-preparation
- https://www.fortect.com/how-to-guides/real-world-examples-of-script-based-attacks/
- https://www.scribd.com/document/516169743/Cyber-Security-MCQ-Set-1-5
- https://owasp.org/www-community/attacks/xss/
- https://www.fortinet.com/resources/cyberglossary/types-of-cyber-attacks
- https://www.manageengine.com/log-management/cyber-security/powershell-cyberattacks.html