Can dll files contain viruses

Closed.

You watching: Can dll files contain viruses

This question does not satisfy Stack Overcirculation guidelines. It is not currently accepting answers.
Want to enhance this question? Update the question so it's on-topic for Stack Overcirculation.

Closed 3 years back.


I"ve downloaded a Visual Studio extension DLL, from somewright here on the internet, that I suspect may not be clean.

If it"s the situation and also it does contain malicious code, will certainly that code fill right into Visual Studio and run?


*

*

Typically speaking, yes. DLL records contain executable code that (once loaded and also called) will certainly run via the privileges of the calling user, and also is not minimal to a sandbox inside the VS environment.

See more: Windows 7 With Touch Screen, How To Set Up The Touch Screen In Windows 7

There a mechanisms to mitigate the danger though. For instance, you should not run Expansions (and also Visual Studio itself) with governmental privileges.

Visual Studio itself has actually some protection built right into its extension manager:

To defend your mechanism against extensions that might contain errors or malicious code, you have the right to restrict all per-user extensions to load just once Visual Studio is run under typical user rights. <...> You deserve to disable all per-user extensions for all individuals by setting this registry key: HKEY_LOCAL_MACHINESoftwareMicrosoftVisualStudio10.0ExtensionManager "DisableUserExtensions"=0x00000001.

See more: Learn How To Fix Windows 10 Version 1703 Update Failed To Update

More here: https://msdn.microsoft.com/en-us/library/ee814429(v=vs.100).aspx

In doubt, do not count on it however sdeserve to the file(s), and examine if they have a valid publisher signature.


Share
Improve this answer
Follow
answered Sep 29 "17 at 11:34
*

Cee McSharpfaceCee McSharpface
7,50033 gold badges2929 silver badges6363 bronze badges
Add a comment |

Not the answer you're looking for? Browse other concerns tagged visual-studio virus or ask your own question.


The Overflow Blog
Featured on Meta
Related
774
How carry out I “Add Existing Item” a whole brochure structure in Visual Studio?
861
Should I add the Visual Studio .suo and also .user papers to resource control?
583
Open two instances of a record in a single Visual Studio session
1183
.gitneglect for Visual Studio Projects and Solutions
1196
Difference in between Build Systems, Rebuild Equipment, and also Clean Systems in Visual Studio?
465
How execute I run Visual Studio as an administrator by default?
536
Error 'LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt' after installing Visual Studio 2012 Release Pevaluation
1031
Can you force Visual Studio to constantly run as an Administrator in Windows 8?
523
Visual Studio debugging/loading extremely slow-moving
Hot Netjob-related Questions more warm questions
*

Stack Overcirculation
Products
Company kind of
Stack Exreadjust Netoccupational
website architecture / logo © 2021 Stack Exadjust Inc; user contributions licensed under cc by-sa. rev2021.3.30.38947


Stack Overcirculation functions ideal through JavaScript permitted
*

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can keep cookies on your tool and also discshed information in accordance with our Cookie Policy.