Lucene search
K

Trojan-Dropper.Win32.Agent.xtp Insecure Permissions

🗓️ 22 Apr 2021 00:00:00Reported by malvulnType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 352 Views

Malware creates insecure "remove" dir in C:\ granting change permissions to unprivileged users allowing them to rename/replace executables. Privileged user logon could lead to privilege escalation

Code
`Discovery / credits: Malvuln - malvuln.com (c) 2021  
Original source: https://malvuln.com/advisory/360bbc9e0926488f085029948ff6c759.txt  
Contact: [email protected]  
Media: twitter.com/malvuln  
  
Threat: Trojan-Dropper.Win32.Agent.xtp  
Vulnerability: Insecure Permissions  
Description: The malware creates an insecure dir named "remove" under c:\ drive and grants change (C) permissions to the authenticated user group. Standard users can rename the executables dropped by the malware to disable it or replace it with their own executable. Then wait for a privileged user to logon to the infected machine to potentially escalate privileges.  
Type: PE32  
MD5: 360bbc9e0926488f085029948ff6c759  
Vuln ID: MVID-2021-0180  
Disclosure: 04/21/2021  
  
  
Exploit/PoC:  
C:\>cacls remove  
C:\remove BUILTIN\Administrators:(OI)(CI)(ID)F  
NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F  
BUILTIN\Users:(OI)(CI)(ID)R  
NT AUTHORITY\Authenticated Users:(ID)C  
NT AUTHORITY\Authenticated Users:(OI)(CI)(IO)(ID)C  
  
  
C:\>dir remove  
Volume in drive C has no label.  
  
Directory of C:\remove  
  
04/20/2021 11:54 PM 5,090 clngbuster.reg  
04/20/2021 11:54 PM 192 deleta.CMD  
04/20/2021 11:54 PM 155 mata.CMD  
04/20/2021 11:54 PM 146,232 movefile.exe  
04/20/2021 11:54 PM 234,536 psexec.exe  
04/20/2021 11:54 PM 187,184 pskill.exe  
04/20/2021 11:54 PM 126 remove.CMD  
04/20/2021 11:54 PM 237 removeGB.CMD  
04/20/2021 11:54 PM 303,616 SetACL.exe  
04/20/2021 11:54 PM 2,971 setreg.CMD  
10 File(s) 880,339 bytes  
  
  
  
Disclaimer: The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation