Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how do hooks of zonealarm or spybot work?

how do hooks of zonealarm or spybot work?

Scheduled Pinned Locked Moved C / C++ / MFC
windows-adminhardwarequestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    ThinkingPrometheus
    wrote on last edited by
    #1

    hiho@ll what i'm interested in: zonealarm opens a window if a "unkown" app wants to access the internet and asks if this app is allowed to do this spybot does the same for the registry. if a app wants change the registry a window is opened to ask the user if this is allowed btw: i'm not only interested in how do zonealarm and spybot know such stuff (that a app wants to change something), how can zonealarm or spybot can decide if the app is allowed or not? how can zonealarm control what the other apps are allowed to do? how does such stuff work? does it work for everything? (control of hardware and every software e.g. check if a specific function of a dll should be called?) is it a hook? if yes, how do they work? (a hint should do it) thx@ll -- modified at 14:58 Friday 27th January, 2006

    L D S 3 Replies Last reply
    0
    • T ThinkingPrometheus

      hiho@ll what i'm interested in: zonealarm opens a window if a "unkown" app wants to access the internet and asks if this app is allowed to do this spybot does the same for the registry. if a app wants change the registry a window is opened to ask the user if this is allowed btw: i'm not only interested in how do zonealarm and spybot know such stuff (that a app wants to change something), how can zonealarm or spybot can decide if the app is allowed or not? how can zonealarm control what the other apps are allowed to do? how does such stuff work? does it work for everything? (control of hardware and every software e.g. check if a specific function of a dll should be called?) is it a hook? if yes, how do they work? (a hint should do it) thx@ll -- modified at 14:58 Friday 27th January, 2006

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Not exactly what you want, but I think it will show you how to control process creation system-wide, using hooks. Clickety


      "Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
      -- modified at 5:38 Saturday 28th January, 2006

      1 Reply Last reply
      0
      • T ThinkingPrometheus

        hiho@ll what i'm interested in: zonealarm opens a window if a "unkown" app wants to access the internet and asks if this app is allowed to do this spybot does the same for the registry. if a app wants change the registry a window is opened to ask the user if this is allowed btw: i'm not only interested in how do zonealarm and spybot know such stuff (that a app wants to change something), how can zonealarm or spybot can decide if the app is allowed or not? how can zonealarm control what the other apps are allowed to do? how does such stuff work? does it work for everything? (control of hardware and every software e.g. check if a specific function of a dll should be called?) is it a hook? if yes, how do they work? (a hint should do it) thx@ll -- modified at 14:58 Friday 27th January, 2006

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        ThinkingPrometheus wrote:

        if a app wants change the registry a window is opened to ask the user if this is allowed btw: i'm not only interested in how do...spybot know such stuff...

        RegNotifyChangeKeyValue() is one possibility.


        "The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli

        1 Reply Last reply
        0
        • T ThinkingPrometheus

          hiho@ll what i'm interested in: zonealarm opens a window if a "unkown" app wants to access the internet and asks if this app is allowed to do this spybot does the same for the registry. if a app wants change the registry a window is opened to ask the user if this is allowed btw: i'm not only interested in how do zonealarm and spybot know such stuff (that a app wants to change something), how can zonealarm or spybot can decide if the app is allowed or not? how can zonealarm control what the other apps are allowed to do? how does such stuff work? does it work for everything? (control of hardware and every software e.g. check if a specific function of a dll should be called?) is it a hook? if yes, how do they work? (a hint should do it) thx@ll -- modified at 14:58 Friday 27th January, 2006

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          I would think large parts of such programs (ZoneAlarm) would run in ring 0 - essentially a driver. Programs like FileMon and RegMon from SysInternals[^] work like this. Steve

          T 1 Reply Last reply
          0
          • S Stephen Hewitt

            I would think large parts of such programs (ZoneAlarm) would run in ring 0 - essentially a driver. Programs like FileMon and RegMon from SysInternals[^] work like this. Steve

            T Offline
            T Offline
            ThinkingPrometheus
            wrote on last edited by
            #5

            thx guys seems like a lot of work but i think driver programming is a good hint

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups