Author Topic: Mail protection through Winsock ?  (Read 4236 times)

0 Members and 1 Guest are viewing this topic.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Mail protection through Winsock ?
« on: March 29, 2004, 10:21:48 PM »
Have you ever think about this solution? There would be no need for ashMaiSv.exe and no need for Mail Configuration Wizard (or at least not for the second one).

Or are there some other drawbacks?
Btw NOD32 and some other also use such method.
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re:Mail protection through Winsock ?
« Reply #1 on: March 30, 2004, 03:27:36 AM »
Have you ever think about this solution? There would be no need for ashMaiSv.exe and no need for Mail Configuration Wizard (or at least not for the second one).

Or are there some other drawbacks?
Btw NOD32 and some other also use such method.

Yeah, seems possible...
Better, this is possible and not so far from reality.
This won't surprise some programmers  ;D
The best things in life are free.

Offline pk

  • Avast team
  • Super Poster
  • *
  • Posts: 2078
Re:Mail protection through Winsock ?
« Reply #2 on: March 30, 2004, 03:37:48 AM »
Quote
Yeah, seems possible...
Yes, we think about removing configuration wizard and use different scanning method, but it won't be via winsock (windows highest) layer like in NOD32; we'd not get all incoming data.
« Last Edit: March 30, 2004, 04:11:35 AM by pk »

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:Mail protection through Winsock ?
« Reply #3 on: April 13, 2004, 12:09:45 AM »
Heh i was so busy i forgot about this thread :-[
What do you mean with: we'd not get all incoming data ?

First i thought it would be much simplier to enable mail protection (no Mail Protection Wizard) and better protection,since some worms have their own SMTP engine which is never routed through 127.0.0.1 (localhost).
I'll try something if its possible without reprogramming the whole thing hehe :)
« Last Edit: April 13, 2004, 12:14:34 AM by RejZoR »
Visit my webpage Angry Sheep Blog

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Mail protection through Winsock ?
« Reply #4 on: April 13, 2004, 07:52:13 AM »
WinSock layer is impractical because it's too high on the stack. A program can easily bypass WinSock, thus bypassing the protection. A typical example of a network application that totaly bypasses WinSock is IIS 6.0. A number of AV companies use the Winsock layer to provide network AV shields but they never tell you that their solution is far from perfect.

A better way to do this is in a TDI (filter) driver -- i.e. in kernel mode -- and this is how avast will eventually work... However, development of such module requires quite a lot of time and testing is also very demanding... Therefore I don't want to disclose any time frames at the moment...

Thanks
Vlk
If at first you don't succeed, then skydiving's not for you.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:Mail protection through Winsock ?
« Reply #5 on: April 13, 2004, 11:38:02 AM »
Ofcourse,i hope you'll impliment this feature asap (whenever this is ;) ) :)
Visit my webpage Angry Sheep Blog