IS-702-C Malware Analysis and Reverse Engineering

Malware Analysis and Reverse Engineering (IS-702-C) Important Questions

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.

Download Paperwala Imp Question & Answer (PDF)

How we made this list
  • All papers on this site: 0
  • 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.

From the syllabus · Unit 1

From the papers

  • “Fundamentals of Malware Analysis (MA), Reverse Engineering Malware (REM) Methodology” (Syllabus)

Write these points

Goals of malware analysis

  • Find what the sample does: steal data, encrypt files, open a back door.
  • Collect indicators of compromise (IOCs): hashes, file names, registry keys, domains.
  • Write detection signatures, such as ClamAV or YARA rules.
  • Help incident response clean the affected machines.

REM methodology

  1. Prepare the lab: isolated virtual machines with a clean snapshot.
  2. Triage: hash the file, scan it, read its strings and headers.
  3. Behavioural analysis: run it and watch files, registry, processes and network.
  4. Code analysis: disassemble and debug the parts that matter.
  5. Memory analysis: dump RAM and look for injected code.
  6. Report: IOCs, behaviour, signatures and clean-up steps.

First look at a harmless test file (code/triage.py, run).

MD5 98f742a4c7db8b2c787f505b6f907dd3. Strings: http://example.test/gate.php, RegSetValueExA, cmd.exe /c whoami.

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.

Diagram: Fundamentals of malware analysis and the REM methodology

Difference between malware analysis and reverse engineering malware

PointMalware analysisREM methodologySame or opposite
What it isThe goal: understand the sampleThe steps used to reach itOpposite
Needs a safe labYesYesSame
OutputFindings, IOCsAn ordered processOpposite
Uses static and dynamic workYesYesSame
ScopeAny depthDown to code levelOpposite

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.

Back to the topic list

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.

Diagram: Behavioural analysis and code analysis, key tools and resources

Difference between behavioural analysis and code analysis

PointBehaviouralCodeSame or opposite
Sample runsYesNot in static disassemblyOpposite
Needs a safe labYesYes, when debuggingSame
SpeedFastSlowOpposite
Sees hidden pathsOften notYesOpposite
Gives IOCsYesYesSame

Exam tip. Define both. Give strengths and limits of each in a table. Name two tools for each and one public resource.

Back to the topic list

Q3. Malware taxonomy, threats and classification

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.

Diagram: Malware taxonomy, threats and classification

Difference between virus and worm

PointVirusWormSame or opposite
Needs a host fileYesNoOpposite
Spreads to other machinesYesYesSame
Needs user actionUsuallyNoOpposite
Main routeInfected filesNetworkOpposite
HarmfulYesYesSame

Exam tip. Give at least six types with one line each. Add how they spread and one way to classify. Compare virus and worm.

Back to the topic list

Q4. Using YARA to detect malware capabilities

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.

Diagram: Using YARA to detect malware capabilities

Difference between YARA rule and ClamAV hash signature

PointYARA ruleClamAV hashSame or opposite
MatchesStrings and conditionsExact file hashOpposite
Used to detect malwareYesYesSame
Catches variantsOftenNoOpposite
Written by analystsYesYesSame
Shows capabilityYesNoOpposite

Exam tip. Name the four parts of a rule and write one small rule. Explain the condition in words. Add how rules show capabilities.

Back to the topic list

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

  1. Submit the sample.
  2. A clean VM starts from its snapshot with monitors on.
  3. The sample runs for a set time, often a few minutes.
  4. Logs of files, registry, processes and network are collected.
  5. A report lists behaviour and IOCs. The VM is reverted.

Limits of sandboxes

  • Malware may sleep longer than the run, or detect the VM.
  • It may need user clicks or a missing file.

A sandbox report in brief.

Files: drops C:/Users/Public/upd.exe. Registry: adds HKCU/Run/Updater.

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.

Diagram: Controlled and isolated laboratory and MA sandboxes

Difference between manual lab analysis and a sandbox

PointManual labSandboxSame or opposite
SpeedSlowMinutesOpposite
Runs in isolationYesYesSame
DepthDeep, analyst ledSurface behaviourOpposite
Handles many samplesNoYesOpposite
Gives IOCsYesYesSame

Exam tip. Write the rules for an isolated lab. Draw the sandbox run. Add two limits of sandboxes.

Back to the topic list

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.

Diagram: Lab integrity, routing TCP/IP, capturing traffic and INetSim

Difference between INetSim and a real internet link

PointINetSimReal internetSame or opposite
Sample reaches its real serverNoYesOpposite
Shows DNS and HTTP requestsYesYesSame
Risk of harm to othersNoneRealOpposite
Gets real second-stage filesNoYesOpposite
Traffic can be capturedYesYesSame

Exam tip. Explain lab integrity in three points. Show the routing to the service VM. Draw the INetSim exchange and add a beacon example.

Back to the topic list

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.

From the syllabus · Unit 3

From the papers

  • “Dynamic Analysis Tools: Process Monitor, Regshot, HandleDiff, Analysis Automation Tools” (Syllabus)

Write these points

Process Monitor

  • 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

  1. Take the first shot on a clean system.
  2. Run the sample.
  3. Take the second shot and compare.
  4. 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.

Diagram: Dynamic analysis tools: Process Monitor, Regshot and HandleDiff

Difference between Process Monitor and Regshot

PointProcess MonitorRegshotSame or opposite
MethodLive event logBefore and after snapshotsOpposite
Shows registry changesYesYesSame
Shows the order of eventsYesNoOpposite
Amount of outputVery largeSmallOpposite
Runs on the victim VMYesYesSame

Exam tip. Explain each of the three tools in two lines. Write the Regshot steps and one result. Add how automation joins them.

Back to the topic list

Q8. Identifying packers using PEiD

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.

Diagram: Identifying packers using PEiD

Difference between packed and unpacked program

PointPackedUnpackedSame or opposite
Readable stringsFewManyOpposite
Runs on WindowsYesYesSame
EntropyNear 8LowerOpposite
ImportsVery fewFull listOpposite
Same behaviour when runYesYesSame

Exam tip. Define packer and say why malware uses one. List four signs. Show how PEiD and entropy point to UPX.

Back to the topic list

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.

Diagram: Malware debugging: attaching, breakpoints, execution control and JIT

Difference between software breakpoint and hardware breakpoint

PointSoftwareHardwareSame or opposite
HowWrites 0xCC in codeCPU debug registersOpposite
Stops executionYesYesSame
Changes the code bytesYesNoOpposite
Number allowedManyFourOpposite
Can be detected by malwareYes, by checksumsHarderOpposite

Exam tip. Explain open and attach. List the stepping commands and three breakpoint kinds. Draw how INT3 works and add the JIT use.

Back to the topic list

Q10. Memory forensics and Volatility

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.

Diagram: Memory forensics and Volatility

Difference between pslist and psscan

PointpslistpsscanSame or opposite
MethodWalks the process listScans memory for process blocksOpposite
Volatility plug-inYesYesSame
Finds unlinked processesNoYesOpposite
Finds ended processesNoSometimesOpposite
Shows PIDs and namesYesYesSame

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.

Back to the topic list

Start with the latest papers

Previous year papers will be added soon!

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.