Wilders Security Forums  

Go Back   Wilders Security Forums > Other Security Topics > malware problems & news
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old February 4th, 2004, 04:42 PM
anonymous
 
Posts: n/a
Default Question about process injecting trojans

If trojans that use server-to-client connection are "injected" into, say, explorer.exe, will software firewalls like ZA and Kerio show explorer.exe as connected to an external IP address?
  #2  
Old February 5th, 2004, 09:49 PM
Gavin - DiamondCS's Avatar
Gavin - DiamondCS Gavin - DiamondCS is offline
Former DCS Moderator
 
Join Date: Feb 2002
Location: Perth, Western Australia
Posts: 2,080
Default Re:Question about process injecting trojans

Hi,

Yes, the parent process is shown as having the connection, since a DLL trojan becomes part of that process. In some cases of course there could be some patching to hide the connection from netstat

You might want to look at Process Guard if you have a connection like this occuring. Probably BEAST if anything. I would recommend you use ASViewer to show me what autostarts you have, you can email gavin@diamondcs.com.au with the results

Or try to find the DLL in explorer by yourself with APM, if you are experienced. See our site for downloads of these programs
  #3  
Old February 7th, 2004, 12:04 PM
anonymous
 
Posts: n/a
Default Re:Question about process injecting trojans

Thanks for the reply. I'm not infected with anything to my knowledge, but I was just curious if a software firewall would give any indication that a DLL trojan server (they all claim to be "FWB") is trying to connect to a client machine in the event that I might get infected with something built from scratch that isn't in any AV/AT signature databases.
  #4  
Old February 7th, 2004, 01:36 PM
LowWaterMark LowWaterMark is offline
Administrator
 
Join Date: Aug 2002
Location: New England
Posts: 15,522
Default Re:Question about process injecting trojans

Well, as far as the firewalls go, it will depend upon versions and features. For example, the pay versions of Zone Alarm (ZAPlus and ZAPro) have component level controls in them. If you have one of those versions and have that feature enabled, then when a new component becomes part of a previously used network aware program, ZA alerts you to that new component and let's you either block it or allow it.

But, you do need to stay on top of these types of alerts because often as you use features in a program you have not used before, they may draw in new components not registered yet in the ZA component listing. In this case, they are probably completely valid components. So, being aware of what's going on and researching new components when alerts are received can require some extra effort. There's no way for the firewall to know which components are good and which are bad.
  #5  
Old February 8th, 2004, 05:12 AM
Gavin - DiamondCS's Avatar
Gavin - DiamondCS Gavin - DiamondCS is offline
Former DCS Moderator
 
Join Date: Feb 2002
Location: Perth, Western Australia
Posts: 2,080
Default Re:Question about process injecting trojans

Most firewalls now do some to a lot of blocking of this..

The readme to a downloader I analysed, which was brand new claims to bypass the latest Zone Alarm, and some I know are using inventive methods to do it. I wont mention HOW but there are some very tricky and inventive methods which cant be stopped easily.
  #6  
Old February 8th, 2004, 05:41 AM
shapechanger2
 
Posts: n/a
Default Re:Question about process injecting trojans

"If trojans that use server-to-client connection are "injected" into, say, explorer.exe, will software firewalls like ZA and Kerio show explorer.exe as connected to an external IP address?"

Usually, firewalls are bypassed by exploiting the ruleset. This means the DLL is injected into a trusted application for which an "allow rule" exists. (An exception applies to port-cloaking rootkits.)

In other words, the firewall WILL generally detect any incoming or outgoing connections. But the user has created a rule which will allow such connections. For example, every user needs to create a ruleset which allows the web browser to connect to the internet (remote ports 80, 443, 8080 etc.). If a DLL trojan is injected into the browser and attempts to connect to these remote ports the firewall will usually be bypassed.

Some firewalls will tell you if a new module (e.g., the DLL trojan) is inserted into the browser. However, see LowWaterMark's post which correctly describes the problem.

Process Guard or System Safety Monitor will tell you if a DLL trojan is injected in a "bad, suspicious" manner into another application. For example, dynamic injection methods CreateRemoteThread and SetWindowsHookEX are covered.

Process Guard or System Safety Monitor will not help you if the DLL is loaded via LoadLibrary (static injection method). It is also possible to register a DLL trojan as an In-process Server. For example, MyDoom.A does the following:

--snip--
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{E6FB5E20-DE35-11CF-9C87-00AA005127ED}]
@="WebCheck"

[HKEY_CLASSES_ROOT\CLSID\{E6FB5E20-DE35-11CF-9C87-00AA005127ED}\InProcServer32]
@="C:\\shimgapi.dll"
"ThreadingModel"="Apartment"
--snip--

In summary, DLL trojans are still a nuisance.
 

Wilders Security Forums > Other Security Topics > malware problems & news « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:09 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums