| FazBrowse Wikipedia Viewer | Main Page | | |
| Viewing: https://en.wikipedia.org/wiki/Visual_Basic_for_Applications |
| Contents |
|---|
| Macro virus mutators |
| Parasitic macro viruses |
| Suboptimal anti-virus |
| Version history |
| Development |
| In MS Office |
| Third-party integration |
| See also |
| References |
| Visual Basic for Applications | |
|---|---|
| Paradigm | Multi-paradigm |
| Developer | Microsoft |
| First appeared | 1993;33 years ago (1993) |
| – one that provides a core operation "Mating" macro virusesedit
Macro viruses can, in some cases, interact between themselves. If two viruses are executed at the same time, both of them can modify the source code of each other. Macro virus mutatorseditMacros can be designed to modify existing Macros, such a tool would allow one to create a new virus by modifying an existing one. This is difficult to do with executable files. But it is very simple for macro viruses, since the source code of macros are always available. In a similar manner to polymorphic macros, a macro can perform modifications to all macros present in the document. Considering this, just a few modifications could create a macro virus mutator, and thereby quickly create several thousands of known viruses. Parasitic macro viruseseditMost macros viruses are stand-alone; they do not depend on other macros (for the infectious part of the virus, not for the replication for some viruses), but some macros viruses do. They are called parasitic macros. When launched, they check other macros (viruses or not), and append their contents to them. In this way, all of the macros became viruses. But, this type of macro cannot be spread as quickly as stand-alone macros. Indeed, it depends on other macros, so, without them, the virus cannot be spread. So, parasitic macros often are hybrid: they are stand alone and they can infect other macros. This kind of macro virus poses real problems to the virus-specific anti-virus; in fact, they change the content of other viruses, so that accurate detection is not possible. Suboptimal anti-viruseditThere are different types of anti-virus (or scanners), one is the heuristic analysis anti-virus which interprets or emulates macros. Another type of anti-virus, the integrity checker anti-virus, in some cases, does not work: it only checks documents with extensions DOT or DOC (indeed, some anti-virus producers suggest to their users), but Word documents can reside in others extensions than those two, and the content of the document tends to change often. The last type of anti-virus seen will be the virus-specific scanner. It searches the signature of viruses, so, the type of anti-virus is weaker than the previous ones. Additional to the responsibility of the anti-virus is the user's responsibility: if a potential macro virus is detected, the user can choose what to do with it: ignore it, quarantine it or destroy it, but the last option is the most dangerous. Version historyedit
DevelopmenteditIn MS OfficeeditMicrosoft dropped VBA support for Microsoft Office 2008 for Mac. VBA was restored in Microsoft Office for Mac 2011. Microsoft stated in 2008 that it had no plan to remove VBA from the Windows version of Office. With Office 2010, Microsoft introduced VBA7, which contains a true pointer data type: LongPtr. This allows referencing 64-bit address space. The 64-bit install of Office 2010 does not support common controls of MSComCtl (TabStrip, Toolbar, StatusBar, ProgressBar, TreeView, ListViews, ImageList, Slider, ImageComboBox) or MSComCt2 (Animation, UpDown, MonthView, DateTimePicker, FlatScrollBar), so legacy 32-bit code ported to 64-bit VBA code that depends on these common controls will not function. This did not affect the 32-bit version Office 2010. Microsoft eventually released a 64-bit version of MSComCtl with the July 27th, 2017 update to Office 2016. Third-party integrationeditMicrosoft intended to add .NET-based languages to the current version of VBA ever since the release of the .NET Framework, of which versions 1.0 and 1.1 included a scripting runtime technology named Script for the .NET Framework. Visual Studio .NET 2002 and 2003 SDK contained a separate scripting IDE called Visual Studio for Applications (VSA) that supported VB.NET. One of its significant features was that the interfaces to the technology were available via Active Scripting (VBScript and JScript), allowing even .NET-unaware applications to be scripted via .NET languages. However, VSA was deprecated in version 2.0 of the .NET Framework, leaving no clear upgrade path for applications desiring Active Scripting support (although "scripts" can be created in C#, VBScript, and other .NET languages, which can be compiled and executed at run-time via libraries installed as part of the standard .NET runtime). As of July 1, 2007, Microsoft no longer offers VBA distribution licenses to new customers. See alsoeditWikiversity has learning resources about Visual Basic for Applications
Wikibooks has more on the topic of: Visual Basic for Applications
Referencesedit | |
| Microsoft Office | |
| Applications | |
| Technologies | |
| Related | |
| |
| Other | |
| View original on Wikipedia | Back | FazBrowse Home |