Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help finding out what commands to use for the binary files and how to deobfuscate them to meet the criteria below. I also
I need help finding out what commands to use for the binary files and how to deobfuscate them to meet the criteria below. I also need a script for opendir that will go throught all of those bins automatically.
Answer everything to the best of your ability. The JS code can be found by searching the md on any.run and clicking samplejs
Lab Files
The malware samples are contained within passwordprotected zip archives with the password:
infected
Please ensure you are handling the malicious files appropriately. File hashes of the lab samples
are:
MDopendirbinecdbaeccb
MDopendirbin accdfcdddafdbbb
MDopendirbinbbccedae
MDopendirbin feaaedededfb
MDopendirbin eaecbffebcb
MDsamplebin edcaaabeebddc
MDsamplejs fdcfccaacafe
Lab Instructions
Complete the following tasks in your analysis environment or using the IA lab. All work should
be original, discovered, and reported on by you. Do not rely upon a single source of information
ie an online sandbox to answer all questions.
JavaScript
This lab sample has some JavaScript for you to analyze; it is part of ransomware delivery, so be
cautious handling the file.
The initial script, samplejs is obfuscated. Deobfuscate the file and documentprovide
evidence of the following:
a Show any IOCs that you were able to find, specifically URLs, domains, and
resources that are used to request the next stages.
b Describe the objects used to download the next stages.
c Provide a short overview of your approach to deobfuscating the JavaScript.
Deobfuscate the binary data that is downloaded from the samplejs script. The host
of the next stage is no longer accessible, so I have provided you with the file
samplebin.
Identify the type of executable that the binary file is
a Is the file a DLL SYS or EXE?
b How does the binary file get executed provide the commands.
c What are the features of the malware? Provide evidence that shows the main
functionality of the sample.
Open Directory
The files provided here have been obfuscated to emulate what you might find in an open
directory that is used to host additional stages of malware. You must determine how the files
were obfuscated and write a tool to automate the deobfuscation process. Once unobfuscated,
all files will be valid PE binaries.
Determine how the files were obfuscated. There is some combination of Base
encoding, byte reversing, and XOR.
Once you have the process down, write a script Bash or Python:
a The script should successfully deobfuscate each of the binaries.
b Preserve the original binaries by outputting a new copy named: FirstOriginal.
c When finished, print out: First Name, File Name, MD for each file.
d The script must be well documented. Add comments to explain what the
commandsswitches are doing.
Use malwoverview.py to submit each of the resulting files to VirusTotal.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started