• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Protecting Outlook against Viruses

Slipstick Systems

› Outlook › Protecting Outlook against Viruses

Last reviewed on September 17, 2019     8 Comments

Viruses can involve current versions of Microsoft Outlook in only one way: A user open a virus-infected attachment received via an Outlook e-mail message.

Because this is the most common way viruses spread, many system administrators block certain attachments at the server or use the Outlook Email Security Update to block such attachments at the client.

In the past, viruses took advantage of Outlook's programming capability and weak security and used automation to propagate. This is no longer possible, thanks to Outlook's security features. Users need to "do something" to infect their computer by email.

Beginning with the Outlook 2000 post-SP1 security update, it's unlikely that anyone will be affected by the HTML vulnerabilities  or viruses that use the address book to propagate. While older versions of Outlook are still in use, virus writers moved on and found newer and better ways to infect computers. In most cases, they use some form of social engineering to convince users to open attachments which then install the virus.

These exploits are not limited to Outlook users - anyone who uses email is at risk from these new viruses - and any that viruses that collect addresses from your computer are more likely to get the addresses from a compromised web-based email account or social media account, not Outlook's address book.

The best way to avoid a virus infection is to think before opening attachments: if the email message doesn't make sense, don't open the attachment.

One time, long, long ago, Outlook's preview pane was insecure but it's now slightly more secure than opening a message to read it. In either case, thanks to Outlook's inability to use "active content" it's safe to read mail in either the reading pane or an opened message.

This page provides information on how to protect your computer from Outlook-related viruses. While the tips target Outlook, many of the tips apply to any email client.

Outlook Client Protection

To protect your machine from becoming infected with a virus received via Microsoft Outlook, you should:

Install the latest service packs and updates for your version of Outlook

Update Outlook, Internet Explorer, other web browsers, and other Windows components

Tighten e-mail attachment security

  • Block additional file types by adding extensions to the Level1Add key.
  • If you use both Outlook 2000 and Word 2000, install the Word 2000 SR-1 Update Mail Command Security to block possible unauthorized sending of messages through the plain text or HTML WordMail or "Office envelope" feature.
  • If you use Outlook 2000, install the Microsoft Outlook CDO Security Update to apply the same level of security to the Collaboration Data Objects programming interface.
  • If you use Outlook 98 and need to restore CDO for use by forms or applications, install the Microsoft Outlook CDO Security Update.
  • Block .eml attachments. See Outlook Does Not Restrict Access to EML Attachments.Consider installing the Outlook E-mail Security Update. We do not recommend this patch for all systems. Do not install it unless you read the documentation and understand what it will do to your add-ins. If you install the Outlook E-mail Security Update, you may also want to install these updates that depend on it:

See Scanning for File Attachments for more ideas on tightening e-mail attachment security.

Practice good anti-virus safety

  • Never open a file attachment that you did not expect to receive.
  • Install an anti-virus program, keep it updated and scan all attached files before opening them. Remember that an anti-virus program may not protect you against the very latest viruses. It may only be as good as your last update.

Other optional protection ideas

  • You may want to tighten the ability of Windows Script Host to run scripts on your system.
  • You can use VBA code in Outlook 2000 or 2002 to convert all incoming HTML messages to either rich text or plain text. See To convert incoming HTML messages to Outlook Rich Text or plain text format.
  • Configure Outlook 2003 to display all messages in plain text. Tools, Options, Preferences, E-mail Options and check the box to Read all standard mail in plain text.
  • Use the Microsoft Personal Security Advisor to check for issues with permissions, hotfixes and other possible security vulnerabilities.

Scanning for File Attachments

Instead of blocking certain file attachments, you may want to look at these methods of controlling what happens to attachments.

  • The Outlook Rules Wizard (and other automatic processing tools) can move all messages containing file attachments for a separate folder for later review.
  • With Outlook 2000, you can write code to move incoming messages containing file attachments with certain extensions (.vbs, .exe, etc.) to a separate folder for later review. See To quarantine application file attachments with Microsoft Outlook 2000 VBA for sample code.

Also, make sure you know what type of file is actually attached. Some viruses use a double file extension, such as .jpg.vbs. If Windows is set not to show the extension for known file types, the recipient will see the attachment listed as a harmless .jpg file, not a potentially dangerous .vbs file. The solution is to use Tools | Folder Options or View | Options, depending on your Windows version, to change the setting to show extensions for all files.

Confirming File Transmissions

If you are concerned about viruses that use Outlook to propagate, you may want to require confirmation of all outgoing messages that contain file attachments. For a code sample, see To require confirmation when sending file attachments (Microsoft Outlook 2000 VBA)

Another approach is to set up Outlook not to send mail automatically. For Exchange Server users, this means setting up offline folders, working offline and synchronizing periodically. For Internet mail users, the exact settings depends on your version of Outlook, mode and Internet connection type, but you'll generally find the right options in Tools | Services, Tools | Accounts or Tools | Options.

Note, however, that the latest viruses include their own SMTP engine for sending mail, so these techniques may not actually block virus propagation.

More Information

Most versions of Outlook provide a way to filter largish incoming messages.

If you want to provide protection at the server level, as well as on the client, these tools can help:

  • Anti-virus Tools
  • Content Control Tools -- attachment filtering, among other techniques

Also see:

  • How to configure Outlook to block additional attachment file name extensions
  • Description of Internet Explorer Security Zones Registry Entries
Protecting Outlook against Viruses was last modified: September 17th, 2019 by Diane Poremsky

Related Posts:

  • Anti-virus Tools for Attachment Security
  • Anti-Virus Tools for Outlook
  • Anti-virus Tools for Exchange Server
  • Up-to-date antivirus definitions on each desktop will help prevent mos
    Should you use client side antivirus scanning in Outlook?

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Subscribe
Notify of
8 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Harsh
February 20, 2023 7:53 am

How to learn to operate outlook & ics calender dekstop files on windows? Entrepreneur in search of teams, learning, resources, intrapreneurship, remote jobs, more online for startups across multiple industries, sectors. Quora com profile Harsh-Entrepreneur

0
0
Reply
Claude Taylor
July 7, 2014 11:44 pm

Thank you.

0
0
Reply
Claude Taylor
July 7, 2014 3:36 pm

They did find some malware and it has been removed. No virus. I'm using Outlook 2007. I continue to receive multiple advertisements, but only to my ATT e-mail account. Here is the header, it look like to me that ATT is allowing this junk to go through. X-Antivirus: AVG for E-mail
X-Apparently-To: cftaylor45@att.net via 98.136.215.13; Mon, 07 Jul 2014 18:24:20 +0000
X-YahooFilteredBulk: 216.71.150.216
Received-SPF: pass (domain of opportune-by-distinct.milliry.com designates 216.71.150.216 as permitted sender)
X-YMailISG: _J2ZEnYWLDu9QjNhT_1aP55Uvm5OK.woM0Y3.Wp4Mr14G0w4
MmCGkKYk2SQFXweZuGy9bRtRCYsSac38dTkin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_23U_Um5EP7CPnhOgq4gOp2bg1b_Uv.lO4xLIwZVZbzn
DVexQXlNM8Qr7p8zzhiH27IUvucdhbLpufYrMI4a9fJvS3qrjckXYHZpqZiB
o75IJz5.RXZiMKJjMDTHbmeefvw2HD.xTNWOYFwYhO63WR15jXfMJ7ml2Hkk
EaDgSYkBylPVuA8CbQDu9P.somst0kpDNjkLFdQ3.UwJxgP_zYCgIAPAxA7d
Cw6KhEMUKMDg8pgYojfp
X-Originating-IP: [216.71.150.216]
Authentication-Results: mta1091.sbc.mail.bf1.yahoo.com from=; domainkeys=neutral (no sig); from=; dkim=neutral (no sig)
Received: from 8.7.44.44 (EHLO fgateway13.isp.att.net) (204.127.217.83)
by mta1091.sbc.mail.bf1.yahoo.com with SMTP; Mon, 07 Jul 2014 18:24:20 +0000
Received: from opportune-by-distinct.milliry.com ([216.71.150.216])
by att.net (frfwmxc13) with ESMTP
id ; Mon, 7 Jul 2014 18:24:18 +0000
X-Originating-IP: [216.71.150.216]
Received: from opportune-by-distinct.milliry.com (216.71.150.216) by jetteadam.net (PowerMTA(TM) v4.0r8) id g5syZQ4O2ez for ; Mon, 07 Jul 2014 11:24:11 PDT (envelope-from )
Date: Mon, 07 Jul 2014 11:13:27 PDT
Mime-Version: 1.0
Content-Type: text/html
From: Vydox Male Supplement
To: cftaylor45@att.net
Subject: [Bulk] =?UTF-8?Q?_cftaylor45_Get__your__free__trial__of__Vydox__Today!___?=

0
0
Reply
Diane Poremsky
Reply to  Claude Taylor
July 7, 2014 11:40 pm

It gets through in part because the SP{F record reduces the change it will be labeled spam:
Received-SPF: pass (domain of opportune-by-distinct.milliry.com designates 216.71.150.216 as permitted sender)

0
0
Reply
Claude Taylor
June 4, 2014 10:15 am

I keep getting advertising e-mails that go to my junk folder. The sender is using a fake AT&T user name. My cable provider informed me that I have a virus that is causing this and wants to charge me to "fix" it. I was using Windows software to keep me safe. I have since used CCleaner to clean up my system, Malewarebytes anti-malware to clean the system and AVG 2014 to remove any virus. What am I missing?

0
0
Reply
Diane Poremsky
Reply to  Claude Taylor
June 5, 2014 8:04 pm

Did those products find anything? If the cable provider said you are infected (because of things their monitoring equipment picked up), you probably are - you are unlikely to get the mail your virus sends though, so it might be unrelated. The spam viruses have their own smtp server, they don't use outlook. If you look at the message header on the spam, the IP address in it will show if it comes from your computer or from another computer.

If you called the cable company to ask about it and they said it was coming from you, they could be clueless. :)

if you aren't sure how to read the header, you can post it here and I'll look at it. (I'll remove all personal information before approving it.)
https://www.slipstick.com/outlook/email/to-view-internet-headers/

0
0
Reply
Peter Joffe
April 1, 2012 11:56 pm

I am having trouble with email coming into me as 'returns. undeliverable. These are email that I never send out in the first place. They seem to come from mainly China. I have ruin all the virus systems that I can think of but somewhere there is a virus or worm that is generating these return. here is an example of the type of return that I get. ll the text is in Chines but this ***@126.com is the main culprit.
This morning I got 196 "returns" on emails that I never even sent.
Please help. T

1
-1
Reply
Diane Poremsky
Reply to  Peter Joffe
April 2, 2012 5:20 am

Some spammer is using your email address as the 'from' address - there is nothing you can do about it, other than create a rule to delete the mail. If any of the NDR's have the full header of the original message, triple check to verify it was not sent through your SMTP server (if so, change your password asap). You may want to consider changing your password regardless.

1
-1
Reply

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 36

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • This operation has been cancelled due to restrictions
  • Disable "Always ask before opening" Dialog
  • Adjusting Outlook's Zoom Setting in Email
  • How to Hide or Delete Outlook's Default Folders
  • Removing Suggested Accounts in New Outlook
  • Remove a password from an Outlook *.pst File
  • Syncing Outlook with an Android smartphone
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment