Wilders Security Forums  

Go Back   Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archive of DiamondCS Support Forums > ProcessGuard
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old November 28th, 2003, 09:06 AM
gkweb's Avatar
gkweb gkweb is offline
Expert Firewall Tester
 
Join Date: Aug 2003
Location: FRANCE, Rouen (76)
Posts: 1,917
Default General protection options

In the "protection" menu, there is "General protection options" features, but i didn't find in the help any information about them, in particular about "Block DLL files from being added to APPINIT_DLLs registry key".

what does it do ? why a trojan/malicious program would want to use this registry area ?

thanks.
__________________
Network Filter Blog : http://networkfilter.blogspot.fr
  #2  
Old November 28th, 2003, 09:52 AM
spy1's Avatar
spy1 spy1 is offline
Massive Poster
 
Join Date: Dec 2002
Location: Clover, SC
Posts: 3,138
Default Re:General protection options

Method: DLL/Code Injection
Description: The attacking process 'injects' a DLL or code into the memory space of another process, allowing the attacking process to remain alive in the context of an existing process. This stealthy trick is starting to be used more frequently by remote access trojans, and can also be used to alter the behaviour of programs. Injected code can also easily terminate its host process, providing another option for process termination. Firewall leaktests often use this technique to bypass firewalls, usually by injecting a DLL into an application that's generally trusted by firewalls (such as Internet Explorer).

(That's from the "Help'/"Miscellaneous Attacks" ). Pete
__________________
"When fascism comes to America it will come wrapped in the flag and carrying a cross." Sinclair Lewis
  #3  
Old November 28th, 2003, 09:54 AM
gkweb's Avatar
gkweb gkweb is offline
Expert Firewall Tester
 
Join Date: Aug 2003
Location: FRANCE, Rouen (76)
Posts: 1,917
Default Re:General protection options

I know what is DLL injection, but i didn't know this feature was DLL injection protection.

thanks you.
__________________
Network Filter Blog : http://networkfilter.blogspot.fr
  #4  
Old November 28th, 2003, 10:02 AM
spy1's Avatar
spy1 spy1 is offline
Massive Poster
 
Join Date: Dec 2002
Location: Clover, SC
Posts: 3,138
Default Re:General protection options

It's DLL injection protection against that particular method of delivery. I've seen it talked about before, I just can't remember where at the moment. Pete
__________________
"When fascism comes to America it will come wrapped in the flag and carrying a cross." Sinclair Lewis
  #5  
Old November 28th, 2003, 10:42 AM
Andreas1's Avatar
Andreas1 Andreas1 is offline
Security Expert
 
Join Date: Jan 2003
Location: Mainz (Ger)
Posts: 367
Default Re:General protection options

Quote:
quoting: gkweb link=board=40;threadid=16950;start=0#msg104882 date=1070028402]
"Block DLL files from being added to APPINIT_DLLs registry key".

what does it do ? why a trojan/malicious program would want to use this registry area ?

If i understand this right, this key can contain a list of dlls to be loaded by the OS into every 16-bit program that is being launched...

Andreas
__________________
Acer Aspire 1520 and Arch Linux (and openbox, screen, mutt, mc, vim etc.)
GPG 0x869F8 http://www.commontology.de/andreas/
b8 7a 0 0 0 bb b8 90 4 8 cd 80 b9 b8 90 4 8 ba 41 0 0 0 bb 1 0 0 0 b8 4 0 0 0 cd 80
  #6  
Old November 28th, 2003, 11:21 AM
gkweb's Avatar
gkweb gkweb is offline
Expert Firewall Tester
 
Join Date: Aug 2003
Location: FRANCE, Rouen (76)
Posts: 1,917
Default Re:General protection options



which would be more dangerous than a single DLL injection against one aimed program if your right

happy to have such protection now.
__________________
Network Filter Blog : http://networkfilter.blogspot.fr
  #7  
Old November 28th, 2003, 01:41 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:General protection options

Well actually trojans use "WriteProcessMemory" which is what WRITE blocks. And then they create a remote thread and write their code into that processes space, as if the target program was always running it. Its very clean and stealthy and why trojans have developed this way.

So block that access to things you have in your firewall ruleset, and you have a REAL firewall back ? hope that helps
  #8  
Old November 28th, 2003, 01:46 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:General protection options

APP_Init DLLs are loaded into every process which also loads USER32.DLL.. nearly all processes. So an attack could be to write a DLL which attacks Process Guard (or other processes) once its loaded.

This attack was mentioned but is it ever used ? no.. if it is though, Process Guard doesnt care. You can block them from ever being used, most systems will not ever load DLLs in that way anyway. If a program has put one there thats ok. If a new program is being installed that you know needs to add an entry here (doubtful), you could remove protection temporarily. Trusted software is fine, as long as the user has this control over attacks.
  #9  
Old November 30th, 2003, 10:58 PM
Jason_DiamondCS's Avatar
Jason_DiamondCS Jason_DiamondCS is offline
Former DCS Moderator
 
Join Date: Nov 2002
Location: Perth, Western Australia
Posts: 1,046
Default Re:General protection options

Yes it isn't loaded by 16bit applications directly (since they are handled by ntvdm usually) but by user32.dll which Gavin noted. User32.dll is in 99% of windows programs and hence it gets loaded into most programs, it is a "microsoft documented" method of DLL injection we block. Not many legit programs use this, but some malicious programs do.

-Jason-

__________________
Jason - DiamondCS Programmer
DiamondCS (Est. 1986) - The System Security Specialists
CryptoSuite - Protect your information today!
TDS - Powerful anti trojan software
 

Wilders Security Forums > Archived Forums > Closed Sub-Forums > Archive of DiamondCS Support Forums > ProcessGuard « 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:02 AM.


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