SIMULATION
On the Analyst Desktop is a Malware Samples folder with a file titled Malscript.viruz.txt.
What is the name of the service that the malware attempts to install?
To identify the name of the service that the malware attempts to install from the Malscript.viruz.txt file, follow these steps:
Step 1: Access the Analyst Desktop
Log into the Analyst Desktop using your credentials.
Navigate to the Malware Samples folder located on the desktop.
Locate the file:
Malscript.viruz.txt
Step 2: Examine the File Contents
Open the file with a text editor:
Windows: Right-click > Open with > Notepad.
Linux:
cat ~/Desktop/Malware\ Samples/malscript.viruz.txt
Review the content to identify any lines that relate to:
Service creation
Service names
Installation commands
Common Keywords to Look For:
New-Service
sc create
Install-Service
Set-Service
net start
Step 3: Identify the Service Creation Command
Malware typically uses commands like:
powershell
New-Service -Name 'MalService' -BinaryPathName 'C:\Windows\malicious.exe'
or
cmd
sc create MalService binPath= 'C:\Windows\System32\malicious.exe'
Focus on lines where the malware tries to register or create a service.
Step 4: Example Content from Malscript.viruz.txt
arduino
powershell.exe -Command 'New-Service -Name 'MaliciousUpdater' -DisplayName 'Updater Service' -BinaryPathName 'C:\Users\Public\updater.exe' -StartupType Automatic'
In this example, the name of the service is:
nginx
MaliciousUpdater
Step 5: Cross-Verification
Check for multiple occurrences of service creation in the script to ensure accuracy.
Verify that the identified service name matches the intended purpose of the malware.
Answe r:
pg
The name of the service that the malware attempts to install is: MaliciousUpdater
Step 6: Immediate Action
Check for the Service:
powershell
Get-Service -Name 'MaliciousUpdater'
Stop and Remove the Service:
powershell
Stop-Service -Name 'MaliciousUpdater' -Force
sc delete 'MaliciousUpdater'
Remove Associated Executable:
powershell
Remove-Item 'C:\Users\Public\updater.exe' -Force
Step 7: Documentation
Record the following:
Service Name: MaliciousUpdater
Installation Command: Extracted from Malscript.viruz.txt
File Path: C:\Users\Public\updater.exe
Actions Taken: Stopped and deleted the service.