Malware Analysis and Reverse Engineering (IS-702-C) Important Questions
By the Paperwala team · · Exam on Fri 18 Dec
These are the 10 Malware Analysis and Reverse Engineering (IS-702-C) topics we chose from the RGPV syllabus for RGPV B.Tech IOT semester 7. No past paper of this subject is on this site yet, so we could not count repeats.
Answers: We wrote these answers with AI help from the real RGPV papers and the syllabus. A teacher has not checked them yet, so read them with your syllabus. How we make these
10 Malware Analysis and Reverse Engineering topics from the syllabus
Chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.
Malware Analysis and Reverse Engineering important questions with answers
Each answer starts with a short answer. Then come how often it was asked, the points to write, a diagram and an exam tip. The topics are chosen from the syllabus.
Q1. Fundamentals of malware analysis and the REM methodology
Short answer.Malware analysis (MA) is the study of a harmful program to learn what it does, how it spreads and how to detect and remove it. Reverse engineering malware (REM) is the method used: triage, behavioural analysis, code analysis and memory analysis in a safe lab, ending in a report of indicators.
Reading: the file may contact a web address, write a registry value and run a shell command.
These are leads to confirm in behavioural analysis, not proof.
Real-life example
A doctor does not guess a disease from one symptom. She takes history, runs tests, scans and then writes a report with the treatment. An analyst treats a suspicious file the same way. Triage, behaviour, code and memory checks lead to a report that others can act on.
Difference between malware analysis and reverse engineering malware
Point
Malware analysis
REM methodology
Same or opposite
What it is
The goal: understand the sample
The steps used to reach it
Opposite
Needs a safe lab
Yes
Yes
Same
Output
Findings, IOCs
An ordered process
Opposite
Uses static and dynamic work
Yes
Yes
Same
Scope
Any depth
Down to code level
Opposite
Exam tip. Define MA and REM in one line each. List four goals. Draw the six REM steps as a flow and add one triage finding.
Q2. Behavioural analysis and code analysis, key tools and resources
Short answer.Behavioural analysis runs the sample in a lab and watches what it changes. Code analysis reads the program itself with a disassembler and debugger.
From the syllabus · Unit 1
From the papers
“Introduction to key MA tools and techniques, Behavioral Analysis vs. Code Analysis, Resources for Reverse-Engineering Malware (REM)” (Syllabus)
Write these points
Behavioural analysis
Monitors files, registry, processes and network while the sample runs.
Fast and shows real actions.
Misses code paths that need a date, a command or a missing file.
Code analysis
Static: disassembler such as IDA or Ghidra, without running the code.
Dynamic: a debugger such as OllyDbg, x64dbg or WinDbg, stepping through instructions.
Slow and needs assembly skill, but can reveal every path.
Key tools and resources
Hashing and strings tools, PE viewers, PEiD for packers.
Process Monitor, Regshot, Wireshark, INetSim.
Online scanners such as VirusTotal. Vendor write-ups, malware analysis books and training labs.
One sample, two views.
Behaviour: after running, a new file C:/Users/Public/upd.exe and a Run key appear.
Code: the disassembly shows the same Run key and a check that skips everything before a set date.
The date check explains why the sandbox saw only part of the behaviour.
Real-life example
To learn how a shopkeeper works, you can watch him for a day or read his account books. Watching shows what he did today. The books show every rule he follows, even for days you did not watch. Good analysts both watch and read.
Difference between behavioural analysis and code analysis
Point
Behavioural
Code
Same or opposite
Sample runs
Yes
Not in static disassembly
Opposite
Needs a safe lab
Yes
Yes, when debugging
Same
Speed
Fast
Slow
Opposite
Sees hidden paths
Often not
Yes
Opposite
Gives IOCs
Yes
Yes
Same
Exam tip. Define both. Give strengths and limits of each in a table. Name two tools for each and one public resource.
Short answer.Malware taxonomy sorts harmful programs into families by how they spread and what they do: virus, worm, Trojan, ransomware, rootkit, bot, spyware and others. Classification puts a new sample into a family using its behaviour, code and signatures.
From the syllabus · Unit 2
From the papers
“Malware taxonomy and characteristics, Understanding Malware Threats, Malware Classification” (Syllabus)
Write these points
Main types and characteristics
Virus: attaches to a host file and runs when the file runs.
Worm: spreads by itself over networks.
Trojan: looks useful but carries a hidden payload.
Ransomware: encrypts files and demands payment.
Rootkit: hides itself and other malware from the system.
Bot: takes orders from a command and control (C2) server. Many bots form a botnet.
Spyware and keyloggers: secretly collect data.
Understanding malware threats
Spread: email attachments, downloads, USB drives, unpatched services.
Impact: data theft, money loss, downtime.
Ways to classify
By spread method, by payload, by platform.
By family name from antivirus vendors: platform, type, family and variant.
Placing three samples.
A file that copies itself to every shared folder with no user action: worm.
A free game installer that also opens a hidden remote shell: Trojan with a back door.
A program that renames files with .locked and leaves a note: ransomware.
Real-life example
A hospital sorts germs into families such as bacteria, virus and fungus because each needs a different treatment. Malware families work the same way. A worm needs network blocking, while ransomware needs backups and isolation.
Difference between virus and worm
Point
Virus
Worm
Same or opposite
Needs a host file
Yes
No
Opposite
Spreads to other machines
Yes
Yes
Same
Needs user action
Usually
No
Opposite
Main route
Infected files
Network
Opposite
Harmful
Yes
Yes
Same
Exam tip. Give at least six types with one line each. Add how they spread and one way to classify. Compare virus and worm.
Short answer.YARA is a tool for writing rules that describe malware by text strings, byte patterns and conditions. A rule matches a file when its condition is true, so analysts use it to detect capabilities and families.
From the syllabus · Unit 2
From the papers
“Using YARA to Detect Malware Capabilities” (Syllabus)
Write these points
Parts of a rule
Rule name: a label for the match.
meta: author, date and description. Not used in matching.
strings: text, hex patterns or regular expressions.
condition: a logical expression over the strings, file size and offsets.
rule Paperwala_Test_Downloader
{
meta:
description = "Test rule for a teaching sample"
strings:
$mz = { 4D 5A }
$url = "gate.php" ascii
$api1 = "URLDownloadToFileA" ascii
$api2 = "WinExec" ascii
condition:
$mz at 0 and $url and 1 of ($api*)
}
Detecting capabilities
Rules can look for API names that show a capability: download, keylogging, encryption.
Many rules together label a sample: downloader, keylogger, ransomware.
Reading the rule (not run).
$mz at 0: the file starts with MZ, so it is a Windows program.
$url and 1 of ($api*): it holds gate.php and at least one download or run API.
A program with MZ, gate.php and WinExec matches. A text file with gate.php does not, because it lacks MZ at offset 0.
Remember. This rule was checked by reading only. YARA was not run for this PDF.
Real-life example
A teacher checking copied homework looks for the same rare phrases and the same mistakes. One phrase is weak proof. Three of them together is strong. A YARA condition joins several clues in the same way.
Difference between YARA rule and ClamAV hash signature
Point
YARA rule
ClamAV hash
Same or opposite
Matches
Strings and conditions
Exact file hash
Opposite
Used to detect malware
Yes
Yes
Same
Catches variants
Often
No
Opposite
Written by analysts
Yes
Yes
Same
Shows capability
Yes
No
Opposite
Exam tip. Name the four parts of a rule and write one small rule. Explain the condition in words. Add how rules show capabilities.
Q5. Controlled and isolated laboratory and MA sandboxes
Short answer. A controlled and isolated laboratory keeps malware away from real networks while it is studied. A sandbox automates this: it runs a sample in a clean VM for a few minutes and reports what it did.
From the syllabus · Unit 2
From the papers
“Malware Labs, Creating a Controlled and Isolated Laboratory, Introduction to MA Sandboxes” (Syllabus)
Write these points
Rules for a controlled lab
No link to the production network or the internet, unless through controlled fake services.
Clean snapshots and a revert after every run.
Separate accounts and machines for analysis work.
Samples stored zipped with a password, with clear names.
How a sandbox works
Submit the sample.
A clean VM starts from its snapshot with monitors on.
The sample runs for a set time, often a few minutes.
Logs of files, registry, processes and network are collected.
A report lists behaviour and IOCs. The VM is reverted.
Limits of sandboxes
Malware may sleep longer than the run, or detect the VM.
Network: DNS for update-check.example, then HTTP GET /gate.php every 60 s.
Verdict: downloader with persistence.
Real-life example
Bomb squads test a suspicious bag inside a blast chamber, not in the station hall. A robot opens it while cameras record. The chamber is the isolated lab. The robot and cameras are the sandbox.
Difference between manual lab analysis and a sandbox
Point
Manual lab
Sandbox
Same or opposite
Speed
Slow
Minutes
Opposite
Runs in isolation
Yes
Yes
Same
Depth
Deep, analyst led
Surface behaviour
Opposite
Handles many samples
No
Yes
Opposite
Gives IOCs
Yes
Yes
Same
Exam tip. Write the rules for an isolated lab. Draw the sandbox run. Add two limits of sandboxes.
Q6. Lab integrity, routing TCP/IP, capturing traffic and INetSim
Short answer.Lab integrity means the lab stays isolated and returns to a clean state. Traffic is routed to a monitoring VM, captured with Wireshark and answered by INetSim, a fake internet.
From the syllabus · Unit 3
From the papers
“Malware Lab Integrity, Routing TCP/IP Connections, Capturing and Analyzing Network Traffic, Internet simulation using INetSim” (Syllabus)
Write these points
Keeping lab integrity
Host-only or internal networks, no bridge to the real LAN.
Revert snapshots and check hashes of the clean image.
No shared folders. Separate host for analysis.
Routing and capture
Set the victim's gateway and DNS to the service VM.
Run Wireshark or tcpdump on the service VM to save a pcap file.
Filter by DNS and HTTP to find C2 names and paths.
INetSim
Simulates common services: DNS, HTTP, HTTPS, SMTP, FTP and others.
Answers every DNS name with its own address and serves fake files.
Logs every request, so the analyst sees what the sample wanted.
One network run (from calc.py).
The sample asks DNS for evil.example. INetSim answers 192.168.56.20.
The sample sends GET /gate.php and gets INetSim's default page.
Requests arrive at 0, 60, 121, 180, 241 and 300 s: a beacon every 60 s on average.
Real-life example
Police sometimes let a suspect call a number that secretly rings at the station. The suspect talks freely and gives away his contacts. INetSim is that station phone. The malware thinks it reached its server and shows what it asks for.
Difference between INetSim and a real internet link
Point
INetSim
Real internet
Same or opposite
Sample reaches its real server
No
Yes
Opposite
Shows DNS and HTTP requests
Yes
Yes
Same
Risk of harm to others
None
Real
Opposite
Gets real second-stage files
No
Yes
Opposite
Traffic can be captured
Yes
Yes
Same
Exam tip. Explain lab integrity in three points. Show the routing to the service VM. Draw the INetSim exchange and add a beacon example.
Q7. Dynamic analysis tools: Process Monitor, Regshot and HandleDiff
Short answer.Dynamic analysis tools watch a running sample. Process Monitor records live file, registry and process events, Regshot compares snapshots taken before and after, while HandleDiff shows new open handles.
Shows every file, registry, process and thread event as it happens.
Filters by process name cut the noise.
Process tree shows child processes started by the sample.
Regshot
Take the first shot on a clean system.
Run the sample.
Take the second shot and compare.
Read added, deleted and changed keys and files.
HandleDiff
Lists handles: open files, registry keys, mutexes and other objects.
A new mutex or a handle to another process is a strong clue.
Analysis automation tools
Scripts and sandboxes run these tools together and merge the logs.
A Regshot comparison (from calc.py).
Before: HKCU/Run/OneDrive = od.exe.
After: the same key plus HKCU/Run/Updater = C:/Users/Public/upd.exe.
New Run key: the sample makes itself start at every login.
Real-life example
To find what a tenant changed in a flat, the owner takes photos before handing over the keys and again when the tenant leaves. Comparing photos shows every change. Regshot does this for the registry. Process Monitor is the CCTV that recorded each step.
Difference between Process Monitor and Regshot
Point
Process Monitor
Regshot
Same or opposite
Method
Live event log
Before and after snapshots
Opposite
Shows registry changes
Yes
Yes
Same
Shows the order of events
Yes
No
Opposite
Amount of output
Very large
Small
Opposite
Runs on the victim VM
Yes
Yes
Same
Exam tip. Explain each of the three tools in two lines. Write the Regshot steps and one result. Add how automation joins them.
Short answer. A packer compresses or encrypts a program and adds a small stub that unpacks it in memory at run time. PEiD identifies common packers and compilers by matching signature bytes at the program's entry point.
From the syllabus · Unit 4
From the papers
“Identifying Packers using PEiD” (Syllabus)
Write these points
Why malware is packed
Hides strings and code from static analysis and scanners.
Makes the file smaller.
Signs of packing
Few readable strings and only a few imports, such as LoadLibrary and GetProcAddress.
Section names like UPX0 and UPX1.
A section with tiny raw size but large virtual size.
High entropy, close to 8 bits per byte.
Using PEiD
Open the file and read the detected packer or compiler.
A result such as UPX tells the analyst which unpacker to use.
No match does not mean unpacked. Custom packers are common.
Checking a sample (from calc.py).
Section UPX1: raw size 0x200, virtual size 0x9000, a 72 times difference.
Entropy of repeated text 4.08, of random bytes 7.9.
A section near 7.9 is packed or encrypted. PEiD then names UPX, so upx -d can unpack it.
Remember. PEiD is old and no longer updated. Newer tools such as Detect It Easy do the same job. The upx -d command was not run here.
Real-life example
A parcel wrapped in many layers of brown tape hides what is inside until it is opened. The courier label may say which shop packed it. PEiD reads that label. The entropy check tells you the box is wrapped even when there is no label.
Difference between packed and unpacked program
Point
Packed
Unpacked
Same or opposite
Readable strings
Few
Many
Opposite
Runs on Windows
Yes
Yes
Same
Entropy
Near 8
Lower
Opposite
Imports
Very few
Full list
Opposite
Same behaviour when run
Yes
Yes
Same
Exam tip. Define packer and say why malware uses one. List four signs. Show how PEiD and entropy point to UPX.
Q9. Malware debugging: attaching, breakpoints, execution control and JIT
Short answer.Malware debugging runs a sample under a debugger to control it step by step. The analyst opens or attaches to a process, sets breakpoints, controls execution and uses a JIT debugger to catch shellcode at the moment it runs.
From the syllabus · Unit 4
From the papers
“Malware and Kernel Debugging, Opening and Attaching to Processes, Configuration of JIT Debugger for Shellcode Analysis, Controlling Program Execution, Setting and Catching Breakpoints” (Syllabus)
Write these points
Opening and attaching
Open: start the sample inside the debugger, stopped at its entry point.
Attach: join a process that is already running.
Controlling execution
Step into: run one instruction and enter calls.
Step over: run a call as one step.
Run to return,run to cursor and continue.
Breakpoints
Software: replace a byte with INT3 (0xCC).
Hardware: CPU debug registers, at most four addresses, do not change code.
Memory: stop when a page is read, written or executed.
Conditional breakpoints stop only when a test is true.
JIT debugger for shellcode
Set a debugger as the just-in-time debugger.
Place 0xCC at the start of the shellcode. When the CPU reaches it, Windows starts the JIT debugger there.
A software breakpoint (from calc.py).
The first byte of a function is 0x55 (push ebp). The debugger saves it and writes 0xCC.
The CPU hits INT3 and the debugger stops with the registers shown.
The debugger restores 0x55, steps one instruction and puts 0xCC back if the breakpoint stays.
Real-life example
A traffic police officer can stop each car at a barrier, look inside and wave it on. A breakpoint is that barrier in the program. Stepping is letting one car through at a time. The analyst watches every move closely.
Difference between software breakpoint and hardware breakpoint
Point
Software
Hardware
Same or opposite
How
Writes 0xCC in code
CPU debug registers
Opposite
Stops execution
Yes
Yes
Same
Changes the code bytes
Yes
No
Opposite
Number allowed
Many
Four
Opposite
Can be detected by malware
Yes, by checksums
Harder
Opposite
Exam tip. Explain open and attach. List the stepping commands and three breakpoint kinds. Draw how INT3 works and add the JIT use.
Short answer.Memory forensics studies a copy of RAM to find running and hidden malware. Memory is dumped with the MoonSols Windows Memory Toolkit or read from VM memory files, then examined with Volatility.
From the syllabus · Unit 5
From the papers
“Memory Forensics and Volatility, Memory Dumping with MoonSols Windows Memory Toolkit, Accessing VM Memory Files, Overview of Volatility, Investigating Processes in Memory Dumps” (Syllabus)
Write these points
Getting memory
MoonSols toolkit (win32dd or win64dd) dumps live memory to a file.
VM memory files: a suspended or snapshot VM keeps its RAM in a file, such as .vmem in VMware.
Volatility
Open source framework that reads a memory image with a profile for the operating system.
Plug-ins list processes, DLLs, handles, network connections and registry keys in memory.
Investigating processes
pslist: walks the active process list.
psscan: searches memory for process blocks, including unlinked ones.
pstree: parent and child processes.
A process seen by psscan but not by pslist may be hidden by a rootkit.
Comparing pslist and psscan (from calc.py).
Both show System (4), lsass.exe (612), explorer.exe (1840).
Only psscan shows PID 2216 svch0st.exe: a zero in place of the letter o.
Hidden process with a look-alike name: dump it for analysis.
Remember. Commands and plug-in names differ between Volatility 2 and Volatility 3. MoonSols is no longer sold under that name. Check the versions you use.
Real-life example
A CCTV recording shows who walked through a gate. A thief can tear the visitor book, but not the recording. pslist reads the visitor book. psscan watches the recording, so a missing name shows up.
Difference between pslist and psscan
Point
pslist
psscan
Same or opposite
Method
Walks the process list
Scans memory for process blocks
Opposite
Volatility plug-in
Yes
Yes
Same
Finds unlinked processes
No
Yes
Opposite
Finds ended processes
No
Sometimes
Opposite
Shows PIDs and names
Yes
Yes
Same
Exam tip. Explain how memory is dumped and from VM files. Give Volatility's role and three process plug-ins. Show the pslist and psscan table.
Malware Analysis and Reverse Engineering (IS-702-C) FAQs
What are the most important topics in Malware Analysis and Reverse Engineering?
No past paper of this subject is on this site yet, so the topics were chosen from the syllabus. The first five: Fundamentals of malware analysis and the REM methodology; Behavioural analysis and code analysis, key tools and resources; Malware taxonomy, threats and classification; Using YARA to detect malware capabilities; Controlled and isolated laboratory and MA sandboxes.
How were these Malware Analysis and Reverse Engineering important questions chosen?
Each topic was taken from the syllabus units. No past paper was available to count repeats, and the answers are not teacher-reviewed, so use them together with your syllabus.
Is there a PDF of Malware Analysis and Reverse Engineering important questions with answers?
Yes. The Paperwala Imp Question & Answer PDF for Malware Analysis and Reverse Engineering is free to download from this page.
The 10 topics of Malware Analysis and Reverse Engineering (IS-702-C) for RGPV B.Tech IOT semester 7, chosen from the syllabus. No past paper of this subject is on this site yet, so repeats could not be counted.