Author Topic: OK, how dya do it? (Avast folders, files, protected even with full permissions)  (Read 5781 times)

0 Members and 1 Guest are viewing this topic.

dewild1

  • Guest
Hi, I was wondering how you set all the folders and files in the avast folder to be unchangeable and non deletable, etc??
Even when I set the permissions to full on the folder and replaced all the permissions on the files-folders, I killed ashdisp.exe using http://noeld.com/programs.asp?cat=misc#closeapp and I stopped all avast services, I still can not add, change or delete anything in it..
 ??? ??? ??? ??? :o 8)
I make www.CPULOCK.com and this is very strange..
I even killed just about every other service-process incase you had something else..

Only way is to uninstall avast..

How did you do that? I am impressed-confused... ???

dewild1

  • Guest
If I share out the folder with permissions and access it via \\127.0.0.1\avast I can edit, change, delete stuff.. And I know you did this for security reasons, but how..

dewild1

  • Guest
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aswSP
"avast! Self Protection" is how, (guessing), but how do I turn it off? I need to edit avast4.ini on a bunch of clients..
Its set up as a driver, right?? So net stop will not work..

Offline Marc57

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1944
  • KISS Rules The World!!!
    • KISS Army
To turn off self-defense, Right click on the "A" ball in the system tray, choose program settings, click troubleshooting, put a check in disable Avast self-defense module.
You Wanted the Best You Got the Best the Hottest Band in the World KISS!!!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
I suggest an installation from the scratch:

1. Uninstall avast from Control Panel first.
2. Boot.
3. Download the latest version of Avast Uninstall and use it for complete uninstallation.
4. Boot.
5. Install again the latest avast! version.
6. Boot.
7. Check and post the results.
The best things in life are free.

dewild1

  • Guest
To turn off self-defense, Right click on the "A" ball in the system tray, choose program settings, click troubleshooting, put a check in disable Avast self-defense module.
thanks, [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\aswSP]
"Type"=dword:00000003
and then reboot works too. (I have to do it via an update to my program so....  ::))

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
To edit avast4.ini on multiple clients on network, it would be better to use managed clients and ADNM, instead of modifying each one manually...

That (allowed) access through \\127.0.0.1 seems to be an omission, it's already fixed in the internal builds and will be released soon.

dewild1

  • Guest
To edit avast4.ini on multiple clients on network, it would be better to use managed clients and ADNM, instead of modifying each one manually...

That (allowed) access through \\127.0.0.1 seems to be an omission, it's already fixed in the internal builds and will be released soon.

If you are going for total security, don't forget the registry... ;D

So, how dya do it?

My program, (the locking portion of it), uses permissions to lock out the bad stuff...

Your driver aswSP.sys works at a level above permissions.. Does it even work on FAT? :o

My CPULOCK was limited by needing NTFS for the file locking portions of it so I made it check to make sure each client had NTFS and if they did not, it would convert any FAT to NTFS..
This has only affected one or two clients I know of, where they had to wait 30 or 40 min for it to convert, but when I release CPULOCK for individual sale, not just part of my package, and if it were to be a hit, this could be a major complaint.. ::) :'(
Most have NTFS now but still, I am fascinated by this module..

Seriously, if you could do this type of voodoo with the Registry as well, you would blow my work out of the water and kill me! ;D

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
The avast registry keys are also protected (or are supposed to be).

It's no magic, really. Just a filter driver (in kernel mode).


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