Is it safe to use Shared Folders whilst malware testing?

M

MalwareBlockerYT

Thread author
Hi all,

I have just setup a Shared Folder:

upload_2016-11-27_20-54-26.png

And am wondering if it is actually safe to use if I am testing malware in my VM? I am keeping my new samples in this Partition from one of my HDDs & I have all the samples as .vir files so no one who comes around can click on the .exe files and infect my system :)

The real question is: should I leave it On or Off whilst actually executing these samples? I think that I will turn it Off but I want to know other people's opinions...

Thanks,
Malware Blocker
 
  • Like
Reactions: aragornnnn

Venustus

Level 59
Verified
Honorary Member
Top Poster
Content Creator
Well-known
Dec 30, 2012
4,809
Hi all,

I have just setup a Shared Folder:

View attachment 124783
And am wondering if it is actually safe to use if I am testing malware in my VM? I am keeping my new samples in this Partition from one of my HDDs & I have all the samples as .vir files so no one who comes around can click on the .exe files and infect my system :)

The real question is: should I leave it On or Off whilst actually executing these samples? I think that I will turn it Off but I want to know other people's opinions...

Thanks,
Malware Blocker
As a precaution I would turn that shared folder off!!
You can never be too carefull,even in a VM!!
 

RoboMan

Level 35
Verified
Top Poster
Content Creator
Well-known
Jun 24, 2016
2,400
As a security measure, when i do Malware Testing or Analysys i turn every sharing option between the VM and my host system off. Anything that actually links both systems is a danger area. I'd stay away from it.
 
M

MalwareBlockerYT

Thread author
As a security measure, when i do Malware Testing or Analysys i turn every sharing option between the VM and my host system off. Anything that actually links both systems is a danger area. I'd stay away from it.
Ok thanks, I will be disabling it this evening.
 
W

Wave

Thread author
When you are actually performing dynamic analysis then disable the shared folders since this can be an open gap to be exploited for guest -> host access. You should also disable features like the shared clipboard/drag and drop (from host -> guest file share), since this are also additions an attacker can attempt to exploit.

As well as this, malware can infect the files on this shared folder if it has access to modify the files, or copy files across to the shared folder depending on the configuration.

Regardless, it's good security practise to disable the shared folders before performing any testing just to be on the safe side. Better be safe than sorry.
 

Exterminator

Community Manager
Verified
Staff Member
Well-known
Oct 23, 2012
12,527
I do not have anything shared between gust and host when testing malware.There is always a chance of infecting the host when these are enabled.
Although as @BoraMurdar pointed out you would be fine with read only I just prefer to not have anything shared.
If you are unsure then disabling sharing is probably a wise decision.
 
M

MalwareBlockerYT

Thread author
Thanks for all of the replies. I have now disabled Shared Folders but will probably continue to use them occasionally just not whilst executing any samples.
 
  • Like
Reactions: Wave and Venustus
W

Wave

Thread author
Thanks for all of the replies. I have now disabled Shared Folders but will probably continue to use them occasionally just not whilst executing any samples.
You can use them without a problem, I just recommend disabling them before you perform any dynamic testing involving malicious software since it can be an open attack vector.
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top