Analysis of Linex.dll
I know it has been mentioned that there is a possible backdoor for the linex.dll. I think someone said it was related to SQL. I did find something else interesting in this file, namely that it imports wsock32.dll which is used for socket communication. Here is the code I was looking at relating to this as well:
L100077E4:
db 66h; 'f'
db C7h; '‡'
db 45h; 'E'
db D8h; '˜'
db 02h;
db 00h;
db 68h; 'h'
dd SSZ1000A18C_0_0_0_0
call jmp_wsock32.dll!inet_addr
cmp eax,FFFFFFFFh
jnz L10007800
push 00000000h
call jmp_kernel32.dll!ExitProcess
L10007800:
mov [ebp-24h],eax
mov edx,[ebp+08h]
push edx
call jmp_wsock32.dll!htons
mov [ebp-26h],ax
lea eax,[ebp-28h]
mov ecx,[esi+10h]
push 00000010h
push eax
push ecx
call jmp_wsock32.dll!bind
cmp eax,FFFFFFFFh
jnz L1000782A
push 0053D7DAh
retn
;------------------------------------------------------------------------------
L1000782A:
mov edx,[esi+10h]
push 00000005h
push edx
call jmp_wsock32.dll!listen
cmp eax,FFFFFFFFh
jnz L10007840
push 0053D807h
retn
Of particular interest to me was the push of what appears to be 3 arguments passed to the bind function. In C it would look something like this:
int bind(int sockfd, struct sockaddr *my_addr, socklen_t addrlen);
Why would this dll be creating a listening port? :O
|