Trojan.PS1.EMANSREPO.A
Trojan:PowerShell/Malgent!MSR (MICROSOFT)
Windows
Threat Type: Trojan
Destructiveness: No
Encrypted: No
In the wild: Yes
OVERVIEW
Downloaded from the Internet, Dropped by other malware
This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
As of this writing, the said sites are inaccessible.
TECHNICAL DETAILS
2,706 bytes
PS1
No
11 Sep 2024
Deletes files, Connects to URLs/IPs, Terminates processes
Arrival Details
This Trojan arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.
Installation
This Trojan adds the following processes:
- cmd /c "%User Temp%\PythonTemp\run.bat"
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
It creates the following folders:
- %User Temp%\PythonTemp
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
Other System Modifications
This Trojan deletes the following folders:
- %User Temp%\PythonTemp
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
Process Termination
This Trojan terminates the following processes if found running in the affected system's memory:
- python
Download Routine
This Trojan connects to the following website(s) to download and execute a malicious file:
- http://{BLOCKED}.{BLOCKED}.{BLOCKED}.185/preoffice.zip
It saves the files it downloads using the following names:
- %User Temp%\PythonTemp\office.zip
(Note: %User Temp% is the current user's Temp folder, which is usually C:\Documents and Settings\{user name}\Local Settings\Temp on Windows 2000(32-bit), XP, and Server 2003(32-bit), or C:\Users\{user name}\AppData\Local\Temp on Windows Vista, 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit).)
As of this writing, the said sites are inaccessible.
Other Details
This Trojan does the following:
- It checks if the directory %User Temp%\PythonTemp already exists.
- If not, it will do the following:
- Create the said directory.
- Connect to http://{BLOCKED}.{BLOCKED}.{BLOCKED}.185/preoffice.zip to download a malicious zip file.
- Unzip the downloaded file to %User Temp%\PythonTemp.
- Execute %User Temp%\PythonTemp\run.bat.
- Terminate processes with the name "python".
- Delete the directory %User Temp%\PythonTemp.
- If all said routines are successful, it deletes itself
- If it exists, it terminates itself.
- If not, it will do the following:
SOLUTION
9.800
19.584.05
11 Sep 2024
19.585.00
12 Sep 2024
Step 1
Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.
Step 2
Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.
Step 3
Search and delete these files
- %User Temp%\PythonTemp\office.zip
- %User Temp%\PythonTemp\run.bat
Step 4
Search and delete this folder
- %User Temp%\PythonTemp
Step 5
Scan your computer with your Trend Micro product to delete files detected as Trojan.PS1.EMANSREPO.A. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:
Did this description help? Tell us how we did.