Home > Common Problem > What file types do macro viruses infect?

What file types do macro viruses infect?

王林
Release: 2023-01-13 00:30:51
Original
66211 people have browsed it

The file type infected by macro virus is doc. A macro virus is a computer virus that resides in a macro in a document or template. Once a document infected with a macro virus is opened, the macros in it will be executed, and the macro virus will be activated, transferred to the computer, and reside on the Normal template.

What file types do macro viruses infect?

#The operating environment of this article: windows10 system, thinkpad t480 computer.

(Learning video sharing: Introduction to Programming)

Detailed introduction:

A macro virus is a macro that is stored in a document or template computer viruses in. Once such a document is opened, the macros in it will be executed, and the macro virus will be activated, transferred to the computer, and reside on the Normal template. From now on, all automatically saved documents will be "infected" with the macro virus, and if another user opens the infected document, the macro virus will be transferred to his computer.

Prevention and Cleanup

1. Preferred method: Use the latest version of anti-virus software to remove macro viruses. Using anti-virus software is a common way. Please try to use the latest version of virus detection

2. Emergency treatment method: Use WordPad or WORD 6.0 document as a bridge to remove macro viruses. If your WORD system is not infected with macro viruses, but you need to open an external document that has been found to be infected with macro viruses, and the existing anti-virus software on hand cannot kill them, then you can try the following method To check for macro viruses in the document: Open the document that contains the macro virus (of course enable the "Macro Virus Protection" function in WORD and select "Cancel Macro" when the macro warning appears), and then click on the "File" menu Select "Save As" to save this document in WordPad (RTF) format or WORD6.0 format.

In the above method, saving to Wordboard format uses the RTF document format without macros, while saving to WORD 6.0 format takes advantage of the fact that WORD97 documents will lose macros when converted to WORD6.0 format. The RTF format used by WordPad is applicable when the content in the document is limited to text and pictures. If the document content contains graphics or tables in addition to text and pictures, then saving in WORD6.0 format will generally not lose these contents.

After saving, you should check the integrity of the document. If the document content is not lost and no macro warnings appear when you reopen the document, you are done.

The above is the detailed content of What file types do macro viruses infect?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template