Author Topic: Avast programmer question  (Read 3501 times)

0 Members and 1 Guest are viewing this topic.

dewild1

  • Guest
Avast programmer question
« on: September 23, 2007, 10:50:34 AM »
Hi, I make www.CPULOCK.com and I have a question about Avast boot scan.
Where does it start and how?
Also can it deal with the registry? (is the registry loaded yet at the low level it does the scan at)
I know you can schedule HD scans at this level,
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"BootExecute"=hex(7):61,00,75,00,74,00,6f,00,63,00,68,00,65,00,63,00,6b,00,20,\
  00,61,00,75,00,74,00,6f,00,63,00,68,00,6b,00,20,00,2f,00,72,00,20,00,5c,00,\
  3f,00,3f,00,5c,00,43,00,3a,00,00,00,61,00,75,00,74,00,6f,00,63,00,68,00,65,\
  00,63,00,6b,00,20,00,61,00,75,00,74,00,6f,00,63,00,68,00,6b,00,20,00,2a,00,\
  00,00,00,00
But can it scan and deal with the registry?

I am trying to make my program do some things at the lower levels.
Thank you.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11873
    • AVAST Software
Re: Avast programmer question
« Reply #1 on: September 23, 2007, 07:02:35 PM »
Well... what exactly are you trying to do in your program?

dewild1

  • Guest
Re: Avast programmer question
« Reply #2 on: September 24, 2007, 02:16:42 AM »
I need to run something pre-windows. I have tried playing around with [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"Boot Execute" and tried to have it run there, but I was not successful.
I saw that your "scan at boot" kind of looked like check disk and it is running in a pre-windows environment.
I need to run a little program before windows loads, before the services loads, but it needs to be at the point where the registry is up..

OHH DANG, this is funny, the one area that I was trying to do it in is exactly where you did it..
I just scheduled a boot time scan with your program while I was writing this and then rechecked the above reg entry. "aswBoot.exe /A:"C:\WINDOWS" /L:"English" /RA:chest /RS:yes" is what your program put in there, so I was close! ;D :)

I am going to go play now!
See if I can complete the last piece of my puzzle!

Thank you anyways!! ;D

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9412
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re: Avast programmer question
« Reply #3 on: September 24, 2007, 02:31:36 AM »
The program has to be designed to run at boot time, otherwise it'll simply fail.
Visit my webpage Angry Sheep Blog

dewild1

  • Guest
Re: Avast programmer question
« Reply #4 on: September 24, 2007, 03:07:06 AM »
Yes, I was thinking that, kind of like a DOS thing, right...?
Can you tell me where to research this, I am not a programmer, well, kind of, but self taught with no training. Thank you.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67183
Re: Avast programmer question
« Reply #5 on: September 24, 2007, 03:32:13 AM »
Can you tell me where to research this
This forum is the place... what do you need to know?
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11873
    • AVAST Software