Possible Virus attack - help analysing logs requested

Discussion in 'Malware Help (A Specialist Will Reply)' started by lindamurphy, Jun 19, 2012.

  1. lindamurphy

    lindamurphy Private E-2

    Doing this on behalf of my sister Gilly. I am based in Uk, am windows 7 ie9 user. Last Thursday I closed down my system as normal. On the Friday I tried to access an excel file that I use several times a day. I went to the folder it was in and the folder was empty. It had previously lots of files in there. Discovered the files had been moved to the Video Folder but most of the files were empty. They were a mixture of pdf, docx and xlsx files. One xlsx file was renamed with an .xlsb extension which I had never heard of before. I opened it and excel message said no errors found so I renamed it back to xlsx but when I looked only some data was there. Other excel files had been renamed to .xls files and when opened excel warned that the file looked suspicious. All pdf files were empty and docx/xlsx files either modified or empty but all renamed to .xls/doc extension. That may not be extent of carnage.

    Did a scan using Security Essentials, I have then followed your procedures using hitmanpro malwarebytes etc with no viruses found. Not sure that MGTools run properly as did not get a .zip file but did get a .txt file.

    Before I restore my data backup from a month ago I wonder if you could analyse the logs produced to see if there is anything suspicious as I cant believe a virus would do its thing then disappear.

    Thanks Linda
     

    Attached Files:

  2. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Welcome to Major Geeks!

    We really need the complete ZIP file log from MGtools to continue and I will give you something to try. However I do have to say that this does not sound like malware.


    Make sure UAC is disabled and that all protection software has been stopped and then do the below.


    Now run the C:\MGtools\GetLogs.bat file by double clicking on it (Note: if using Vista or Win7, don't double click, use right click and select Run As Administrator).

    Then attach the below logs:
    • C:\MGlogs.zip
     
  3. lindamurphy

    lindamurphy Private E-2

    Hi Chaslang, thanks for the welcome and the quick response. Well still no joy. Disabled Microsoft Security Essentials which is the only protection software running and firewall just for good measure. Right clicked GetLogs.bat and run as administrator. A Dos windows briefly appears but not for long enough to see anything and nothing else happens. Searched whole system for anything ending in .zip with no joy. Can I run the reports individually. However it sounds good news that you dont think its a virus

    Cheers Linda
     
  4. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You're welcome.

    Let's try to debug this.

    Please click Start, All Program, Accessories and you will see ( among other things ) a Command Prompt entry.
    • Right click the Command Prompt entry and select Run As Administrator.
      • It is critical that you run it this way.
    • If you do this properly, a command prompt window will open with a title of Administrator Command Prompt.
    • Enter the below commands at the command prompt each followed by the enter key. The bold black are commands. The purple/brown is merely informational.
    cd \MGtools <-- this changes to the MGtools folder and the prompt should change to C:\MGtools>
    SN64 <-- this will try to run all one scan from MGtools. Tell me what error messages, if any, you see.
    nwktst <-- this will try to run all one scan from MGtools. Tell me what error messages, if any, you see.
    GRK64 <-- this will try to run all one scan from MGtools. Tell me what error messages, if any, you see.
    getnetinf<-- this will try to run all one scan from MGtools. Tell me what error messages, if any, you see.

    Now look for the C:\MGlogs.zip file and attach it no matter what happened while doing the above.
     
  5. lindamurphy

    lindamurphy Private E-2

    Hello from England, thanks again for quick response.

    Started an administrator command prompt
    changed directory to C:\MGTools and ran 'SN64' 'nwsktst' 'GRK64' and the response was the same quote 'find' is not recognised as an internal or external command, operable program or batch file unquote

    GetNetInf.bat response was 01/19/2011 version 0.1b 'find' is not recognised as an internal or external command,m operable program or batch file unquote

    and no zip file produced.

    so I am not doing very well am I - sorry

    Linda
     
  6. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Hmm! find is a built-in exe file that is part of all Windows Installations. So either the file is really missing or your PATH environment variable may be corrupted.

    Open a command prompt window again and enter the below commands. Note one > in first command and two >> signs in second command. Also there is a space after dir

    set > env.txt
    dir c:\windows\systeme32 >> env.txt


    Then attach the env.txt file which should be in the folder you saw as your prompt in the command prompt window. Typically this is C:\Users\username

    where username is your user account name.
     
  7. lindamurphy

    lindamurphy Private E-2

    Hi, The env.txt file is attached. By the way, I really appreciate your trying to help in this, very impressed, thanks Linda
     

    Attached Files:

    • env.txt
      File size:
      133.3 KB
      Views:
      3
  8. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You're welcome. Okay I was correct about your Windows Path Environment variable being messed up. The "find" program is actually on you PC but since the PATH variable is wrong, it cannot be found. Before we try to fix this, let's see if the new version of MGtools can work around this. ( I made a change to see if I can avoid Windows issues like this. ;) )



    Now download the current version of MGtools and save it to your root folder. Overwrite your previous MGtools.exe file with this one.

    Run MGtools.exe ( Note: If using Vista or Win7, make sure UAC is still disabled. Also don't double click on it, use right click and select Run As Administrator )

    Now attach the below log:
    • C:\MGlogs.zip
     
  9. lindamurphy

    lindamurphy Private E-2

    Well that seems to have worked perfectly that time. c:\MGlogs.zip now attached. Linda
     

    Attached Files:

  10. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Well not quite. Most of the logs are not in the ZIP file. Please try again and make sure you wait until it says it is finished before attaching the log. Also check again for any error messages.

    If necessary, try using the command prompt instructions I gave in message # 4 so we can see if there is some other issue. The fix I made to MGtools just attempts to work around the fact that your PATH is broken and that the find command could not be located due to this. It does not address any other issues that could be occurring due to your PATH being broken. For example, many other commands like regedit.exe and reg.exe cannot be found. I can tell this from the logs that did get made.

    Let's try fixing your path. See the below link

    http://www.computerhope.com/issues/ch000549.htm

    What you need to do is insert at the beginning of your PATH environment variable, the below text. Exactly as is written with the semicolons. The semicolon are separators.

    C:\Windows\system32;C:\Windows;

    If you do this properly, your PATH variable should then be the below. And actually, you could just overwrite what you currently have with the below by copying and pasting it into the PATH line once you select it for editing.

    C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\System32\Wbem;C:\Program Files (x86)\Windows


    You have to reboot after saving this in order to get it to take effect.
     
    Last edited: Jun 22, 2012
  11. lindamurphy

    lindamurphy Private E-2

    Now its getting scary! Am having to do this remotely now has I was only at my sisters for a few days.

    Ran MGTools before I changed Path environment and after and both zips have been attached and called 'MGLogsbefore and 'MGLogsafter'. I had to put the path back the way it was once done as my sister could not log into windows live messenger, did not have time to test if anything else was different.

    before path change
    SN64 - 'sc' is not recognised etc reported twice
    64 bit windows os found
    'calcs' is not recognised etc
    the process tried to write to a non existant pipe

    nwktst - none of the pings were recognised etc
    no error given when checking 'testing DNS servers with 'nslookup' and 'routers'
    'route', 'ipconfig' and 'sc' not recognised

    GRK64 'regedit' not recognised

    after path change
    SN64 - 64 bit windows os found
    the system cannot find the path specified
    path not found c:\windows\sysnative\drives (cud have been drivers!)
    then a list of files found
    com files not found in c:\windows
    dll and exe found
    sys files not found c:\windows

    nwktst and GRK64 no errors reported

    not great is it. Linda
     
  12. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You forgot to attach them.


    Also please repeat what I had you do back in message # 6 with

    set > env.txt
    dir c:\windows\systeme32 >> env.txt


    And attach the new env.txt file
     
  13. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    In fact.... skip my previous message and let's try a newer version of MGtools updated tonight. ;)

    Now download the current version of MGtools and save it to your root folder. Overwrite your previous MGtools.exe file with this one.

    Run MGtools.exe ( Note: If using Vista or Win7, make sure UAC is still disabled. Also don't double click on it, use right click and select Run As Administrator )

    Now attach the below log:
    • C:\MGlogs.zip
     
  14. lindamurphy

    lindamurphy Private E-2

    Sorry about yesterdays attachments certainly went thru motions so guess I pressed wrong submit button.

    Ran MGlogs.exe as per ur instructions and MGlogsSunday1.zip is the file.

    Noticed errors so then did instructions in message # 2 so I could log errors and MGlogsSunday2.zip is the file.

    They are different file sizes!

    Errors were
    SN64 - 'attrib' and 'sort' not recognised
    com files not found c:\windows
    sys files not found c:\windows

    nwktst
    all the 'pings' not recognised
    'netstat' not recognised

    GRK44
    'netstat' not recognised
    'tasklist' not recognised

    getnetinf - no errors
     

    Attached Files:

  15. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Okay, each new verson of MGtools has been helping; however, now I can see that you never properly fixed your PATH environment variable as requestedbin message # 10. $id you have a problem copying and pasting that last full line into the PATH edit box? Did you save the change?
     
  16. lindamurphy

    lindamurphy Private E-2

    As previously reported, I did change the path and saved it but then my sister could not log into Windows Live Messenger so I had to put the path back the way it was as there may have been other knock on effects too. So her existing path is as follows:
    C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Windows Live\Shared

    It does not seem all that different to the one you asked me to change it to which is
    C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\System32\Wbem;C:\Program Files (x86)\Windows

    I have now attached the MGlog zip which I ran after changing the path.

    Just to reiterate I have put the path back to the way it was originally.
     

    Attached Files:

  17. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Okay then change the path to the below instead. This should fix the issue with Windows Live and also should address the problem with the PATH to your system files. You cannot leave how it was originally as this will lead to problems like we are having. And some day you will try to run something and you will not understand why it did not work.

    C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Windows Live\Shared

    After setting the above PATH, save it and reboot after reboot. Run the below and DO NOT rename MGlogs.zip. Just attach the MGlogs.zip file that is created. Make sure you click TWICE on the Accept button for the HijackThis license agreement if you see one ( shutdown all other Windows to make sure you see the license agreement popup.

    Now run the C:\MGtools\GetLogs.bat file by double clicking on it (Note: if using Vista or Win7, don't double click, use right click and select Run As Administrator).


    Then attach the below log:
    • C:\MGlogs.zip
     
  18. lindamurphy

    lindamurphy Private E-2

    changed path and WLMessenger still okay thanks.
    right clicked run as administrator mglogs/getlogs.bat
    did not get any warning to accept license
    admin command prompt opened and ran all the tests, the most successful yet I think but were a couple errors.
    when finished supose to hit any key to close dos prompt but cud not do that as I am doing it remotely - tried various mouse clicks but whole lot closed down including my remote session restarted session and mglogs.zip attached
     

    Attached Files:

  19. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    Okay now that we have all the logs, I can say with more certainty what I suspected all along. And that is, the problem you mentioned in message #1 were not due to malware. You logs have all been clean.

    If you are not having any other malware problems, it is time to do our final steps:
    1. We recommend you keep SUPERAntiSpyware and Malwarebytes Anti-Malware for scanning/removal of malware. Unless you purchase them, they provide no protection. They do not use any significant amount of resources ( except a little disk space ) until you run a scan.
    2. If we had you use ComboFix, uninstall ComboFix (This uninstall will only work as written if you installed ComboFix on your Desktop like we requested.)
      • Press and hold the Windows key http://forums.majorgeeks.com/chaslang/images/Windows_Logo_key.gif and then press the letter R on your keyboard. This opens the Run dialog box.
      • Copy and paste the below into the Run box and then click OK. Note the quotes are required
      • "%userprofile%\Desktop\combofix" /uninstall
        • Notes: The space between the combofix" and the /uninstall, it must be there.
        • This will uninstall ComboFix and also reset hidden files and folders settings back to Windows defaults.
    3. Go back to step 6 oof the READ ME and renable your Disk Emulation software with Defogger if you had disabled it.
    4. Any other miscellaneous tools we may have had you install or download can be uninstalled and deleted.
    5. If we had you download any registry patches like fixme.reg or fixWLK.reg (or any others), you can delete these files now.
    6. If running Vista or Win 7, it is time to make sure you have reenabled UAC by double clicking on the C:\MGtools\enableUAC.reg file and allowing it to be added to the registry.
    7. Go to add/remove programs and uninstall HijackThis.
    8. Goto the C:\MGtools folder and find the MGclean.bat file. Double click on this file to run this cleanup program that will remove files and folders
      related to MGtools and some other items from our cleaning procedures.
    9. If you are running Win 7, Vista, Windows XP or Windows ME, do the below:
      • Refer to the cleaning procedures pointed to by step 7 of the READ ME
        for your Window version and see the instructions to Disable System Restore which will flush your Restore Points.
      • Then reboot and Enable System Restore to create a new clean Restore Point.
    10. After doing the above, you should work thru the below link:
     
  20. lindamurphy

    lindamurphy Private E-2

    That is great news, thank you and thanks for all the help even though I have been a bit of a pain!

    Cheers Linda
     
  21. chaslang

    chaslang MajorGeeks Admin - Master Malware Expert Staff Member

    You're welcome.
    Not at all. :) That's why we are here.;)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds