Author Topic: Avast will not delete file as read only!  (Read 6897 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
Avast will not delete file as read only!
« on: November 25, 2016, 07:20:14 AM »
I have Avast Pro, and it is stopping me logging on to the internet, if I disable it I can access the internet no problem.

The infected file is Win32:Patched-AWQTPJ Every time I try to delete or move it to the virus chest I cannot because it comes up with Read Only (6009)
The file seems to be in C:\\windows\systemWOW64\dnsapidii if that helps.

Please could someone help as I need to use the internet but not keen on doing so with no virus protection.

Thanks

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37533
  • Not a avast user
Re: Avast will not delete file as read only!
« Reply #1 on: November 25, 2016, 07:44:12 AM »
Quote
C:\\windows\systemWOW64\dnsapidii
Are you sure this is correct? or should it be   dnsapi.dll  ?


Follow instructions here and attach requested logs (the two first pictures)  >>  https://forum.avast.com/index.php?topic=53253.0



Offline Eddy

  • Avast Evangelist
  • Maybe Bot
  • ***
  • Posts: 31079
  • Watching (over?) you
    • Malware removal, Biljart and other things.
Re: Avast will not delete file as read only!
« Reply #2 on: November 25, 2016, 09:56:23 AM »
Sounds like a dns/lsp hijack.
Here is a example of it > https://blog.malwarebytes.com/cybercrime/2015/09/shopperz-alters-dnsapi-dll/

Follow the instructions in the link Pondus provided.

REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #3 on: November 25, 2016, 05:22:34 PM »
Files as requested

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37533
  • Not a avast user
Re: Avast will not delete file as read only!
« Reply #4 on: November 25, 2016, 05:25:44 PM »
Since the malware analyst is located in Canada he may not be online for many hours, check back tomorrow


REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #5 on: November 25, 2016, 05:38:43 PM »
Ok, thanks for that, UK time here!

Offline dbrisendine

  • Malware Fighter
  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1258
Re: Avast will not delete file as read only!
« Reply #6 on: November 27, 2016, 08:54:09 AM »
Sorry about the delay in replying; the bad news is that you posted the same file twice; once as FRST.txt and then as Addition.txt.  Because of that, this may not be a complete fix right now but it should fix the DNS hijacking.


Fix with Farbar Recovery Scan Tool
This fix was created for this user for use on that particular machine.
Running it on another one may cause damage and render the system unstable.
Download attached fixlist.txt file and save it to the Desktop:

Both files, FRST and fixlist.txt have to be in the same location or the fix will not work!

  • Right-click on icon and select Run as Administrator to start the tool.
    (XP users click run after receipt of Windows Security Warning - Open File).
  • Press the Fix button just once and wait.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  • When finished FRST will generate a log on the Desktop, called Fixlog.txt.
Please attach it to your reply.
Win7 x32 Ult. SP1, Brain 2.0 / Win10 x64, Brain2.5
My help is always free but if you would like to help encourage me or show your thanks -----> DONATE

REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #7 on: November 27, 2016, 01:35:15 PM »
HI,
Many thanks for your reply.
Have done what you asked, but still unable to log onto the internet without avast being disabled.

Offline dbrisendine

  • Malware Fighter
  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1258
Re: Avast will not delete file as read only!
« Reply #8 on: November 28, 2016, 07:49:09 AM »
Just curious but what other AntiVirus have you had installed on this machine before Avast?


We need to get a fresh scan from FRST.
  • If you still have the Addition.txt file on your desktop, please delete it now.
  • Right click the FRST file on your desktop and select "Run as Administrator..." (XP users click run after receipt of Windows Security Warning - Open File). When the tool opens click Yes to disclaimer.
  • If an update is available, the program will inform you and download the update.  Allow it do this please.  Otherwise, just wait for the "The tool is ready to use." message.
  • Please check the Addition.txt in the Option Scan section of FRST.
  • Press the Scan button.
  • It will produce a log called FRST.txt in the same directory the tool is run from.
  • Please copy and paste log back here.
  • The tool will generate will another log (Addition.txt - also located in the same directory as FRST.exe/FRST64.exe). Please also paste that along with the FRST.txt into your reply.
Win7 x32 Ult. SP1, Brain 2.0 / Win10 x64, Brain2.5
My help is always free but if you would like to help encourage me or show your thanks -----> DONATE

REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #9 on: November 28, 2016, 10:43:40 PM »
Always used avast, have done for a long time over numerous computers.

Here are the files you have asked for, thanks again!

Offline dbrisendine

  • Malware Fighter
  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 1258
Re: Avast will not delete file as read only!
« Reply #10 on: November 29, 2016, 08:28:04 AM »
Just wondering about the other AVs as there appeared to be some McAfee files on the system.


Open notepad by pressing the Windows Key + R Key, typing in Notepad in the Run dialog and then pressing Enter.  Please copy the contents of the Code box below.  To do this highlight the contents of the box by clicking [Select] next to Code: , then right click on any of the highlighted text and select copy.  Paste this into the open notepad. Save it to your desktop as fixlist.txt
 
Code: [Select]

Start
CreateRestorePoint:
CloseProcesses:
SearchScopes: HKLM -> DefaultScope {0633EE93-D776-472f-A0FF-E1416B8B2E3A} URL =
SearchScopes: HKLM-x32 -> DefaultScope {0633EE93-D776-472f-A0FF-E1416B8B2E3A} URL =
CHR Extension: (Google Slides) - C:\Users\Williams PC\AppData\Local\Google\Chrome\User Data\Default\Extensions\aapocclcgogkmnckokdopfmhonfmgoek [2016-11-27]
cmd: sfc /scanfile=C:\Windows\SysWOW64\dnsapi.dll
Task: {BF37869C-9632-4488-8A68-DEE072729C24} - \Cawlez -> No File <==== ATTENTION
FirewallRules: [TCP Query User{578B0195-2AD0-4A5D-9447-06508A3814FB}C:\program files (x86)\google\chrome\application\chrome.exe] => (Block) C:\program files (x86)\google\chrome\application\chrome.exe
FirewallRules: [UDP Query User{77535AEA-B45E-4FB8-BAD2-3BC4D255CD6A}C:\program files (x86)\google\chrome\application\chrome.exe] => (Block) C:\program files (x86)\google\chrome\application\chrome.exe
cmd: ipconfig /flushdns
cmd: netsh advfirewall reset
cmd: netsh advfirewall set allprofiles state on
Reg: reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local /f
Reg: reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local /f
CMD: bitsadmin /reset /allusers
RemoveProxy:
EmptyTemp:
Reboot:
end


NOTE. It's important that both files, FRST64 and fixlist.txt are in the same location or the fix will not work.

NOTICE: This script was written specifically for this user, for use on that particular machine. Running this on another machine may cause damage to your operating system

Run FRST64 by right clicking on the FRST64.exe file, selecting "Run as Administrator..".  The User Account Control may open up; if it does, select Yes to continue to let FRST open and load. 

The tool will check for an updated version of itself every time it loads; please allow it to do this and the program will either inform you it is downloading an updated copy (and to wait until it is safe to continue) or show nothing (meaning there is no update found) and you can continue on.  Press the Fix button just once and wait.  The tool will create a restore point, process the script and ask for a restart of your system.



If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.

When finished FRST will generate a log on the Desktop (Fixlog.txt). Please attach it to your reply post.  Also, tell me how your system is running now.
Win7 x32 Ult. SP1, Brain 2.0 / Win10 x64, Brain2.5
My help is always free but if you would like to help encourage me or show your thanks -----> DONATE

REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #11 on: November 29, 2016, 11:06:23 AM »
The McAfee came with the Sony laptop but I have never used it.

Will try later when I get home.

Thanks again!

REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #12 on: November 29, 2016, 08:18:12 PM »
I have just logged on the internet again with avast still running, you sir are a genius!

Please could you tell me what the infected file was and is there anything I can do to stop it happening again?

Log enclosed as requested.

Thank you!!!
« Last Edit: November 30, 2016, 07:50:38 AM by jdwjunior1963 »

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37533
  • Not a avast user
Re: Avast will not delete file as read only!
« Reply #13 on: November 29, 2016, 08:25:46 PM »
You find removal tool / instructions for McAfee here > https://www.avast.com/faq.php?article=AVKB11#artTitle


REDACTED

  • Guest
Re: Avast will not delete file as read only!
« Reply #14 on: November 29, 2016, 08:44:02 PM »
Many thanks, McAfee now removed!