Wednesday, October 17, 2018

Mount a drive from a Fedora Live CD

I had to scan a Windows drive for a Virus and needed to use a Linux Fedora live CD to prevent the virus from migrating to the machine I was using to scan it.

The first thing I needed to do was mount the drive. Click on Activities in the upper left. Open Files to browse the drives. Then click on Show Applications at the bottom of the menu. Click All at the bottom or use the search and look for Disks and Terminal. Disks will show you the location of the drive connected to the motherboard, but it may need to be mounted.

In terminal type “mount /dev/sda1” if “/dev/sda1” is the path to the drive you want to mount. Mine got mounted to the path “run/media/liveuser”.

I hope this helps someone else out there…..

Installing ClamAV on Fedora live machine to scan for viruses

In learning to clean infected computer I am learning about ClamAV using a Fedora 18 liveCD

I used this link to get Clam installed.

http://ittechnikt3.wordpress.com/2011/04/23/how-to-installuse-clamav-on-fedora-14/

First I updated my Fedora LiveCD.

yum update -y

Then I installed ClamAV.

yum install clamav clamav-update

I used VI to edit the Clam config file .

vi /etc/freshclam.conf

Edit these lines.

1-add a # in front of “Example” (to comment/disable it)

2-uncomment (remove the # in front of) the line “DNSDatabaseInfo current.cvd.clamav.net

3-Localized the virus database source to the nearest one by adding a new line “DatabaseMirror db.XY.clamav.net”, and changing XY by your 2 characters country code.

4-be sure that the following line is uncomment

DatabaseMirror database.clamav.net

Shift ZZ to save and close the file and return back to the terminal window.

Then run “freshclam” in terminal. This will take about 20 minutes.

I used the program “Files” to locate where the hard drive mounted to. In this case it was “/run/media/liveuser/OS”. “OS” was the label on the hard drive. I used Terminal to navigate to the that drive and started my clamscan.

In terminal type “clamscan -r” to scan recursively(all files and directories) and hit enter.

There are more options that just scanning. Here is link that gives some fine examples.

http://askubuntu.com/questions/250290/how-do-i-scan-for-viruses-with-clamav

sudo freshclam

Then you can scan for viruses.

 clamscan OPTIONS File/Folder 

Examples:

  • To check all files on the computer, displaying the name of each file:
    clamscan -r /
    
  • To check all files on the computer, but only display infected files and ring a bell when found:
    clamscan -r --bell -i /
    
  • To check files in the all users home directories:
    clamscan -r /home
    
  • To check files in the USER home directory and move infected files to another folder:
    clamscan -r --move=/home/USER/VIRUS /home/USER
    
  • To check files in the USER home directory and remove infected files (WARNING: Files are gone.):
    clamscan -r --remove /home/USER
    
  • To see more options:
    clamscan --help
    

 

netfilter64 or netfilter64.sys has been labeled as Malware

Had a client with a machine behaving poorly. I found a bunch of programs in the add and remove programs that were installed all on the same day and they weren’t installed by the client.

This “netfilter” showed up as an extension in one of her browsers. In doing a quick search I found the following article.

There were other adware issues on  this machine. Instead of spending hours trying to remove all the adware we choose to reload the Operating System.

http://www.herdprotect.com/netfilter64.sys-9ca71c727934861e9351af97cc28cea38811b07c.aspx

Setting up mail service in WAMP

The first time I found this article that helped me. All I needed was this line

sendmail_path = C:wampbinsendmailsendmail.exe -t

http://flowingmotion.jojordan.org/2012/04/26/how-to-set-up-email-with-wamp/

The second time I needed the sendmail.exe program and I followed this article.

http://flowingmotion.jojordan.org/2012/04/26/how-to-set-up-email-with-wamp/#sthash.7H8otwXq.dpuf

Here is another article that helped on my second install, but used Gmail. This was being blocked by my internal firewall for using port 465.

http://yogeshchaugule.com/blog/2013/configure-sendmail-wamp

The winner is this set up. It uses my Godaddy email account and port 80.

http://www.joshstauffer.com/send-test-emails-with-wampserver/

Thanks to all those other web developers out there for posting their findings.

I hope this helps someone else out there….

 

Back again and struggling with this all over again. The old ways aren’t working. I found this youtube video that seemed promising. Didn’t work either. Will try again later.

https://www.youtube.com/watch?v=qXvGKnWXH5A

 

Unable to add attachment in Outlook Web App ( OWA )

Recently got a call about unable to add attachments in Outlook Web App ( OWA ). The person was using Firefox. The first thing they were missing was they weren’t selecting “This is a private computer”, but even after checking this option they would still get a security error.

They did have Internet Explorer, and when we used this and everything worked. There were two issues that came up. One was allowing Silver Light to interact in the browser and the other was allowing “Compatibilty View Settings” in the options of Internet Explorer. It auto populated with the web address so we just needed to click “add”.

I was unable to locate the settings in Firefox, but at least they were able to add the attachments and get the job done.

I hope this helps someone else out there….