Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Can A Txt File Be Infected?


  • Please log in to reply
1 reply to this topic

#1 distroyer

distroyer

  • Members
  • 12 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:01:52 AM

Posted 01 February 2008 - 07:25 AM

Moderators/admins...plz shift this topic to appropriate category.

I was searching a txt file on google and i opened also several txt files. I also scanned them with my nod32 anti-virus...but i have read at many places that txt/document files do not or cannot contain virus. and some places i have read that it might contain virus, i.e- it can have some scripts inside them that can allow virus to download from the internet.

Is that true?? can a document file or a txt file get infected??? I am damn confused cannot find an answer to this question...Can u guys help me ??


Thanks!!

BC AdBot (Login to Remove)

 


#2 quietman7

quietman7

    Bleepin' Janitor


  • Global Moderator
  • 51,769 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:Virginia, USA
  • Local time:04:22 PM

Posted 01 February 2008 - 09:52 AM

.Txt is a file extension specially associated with plain text files. If the file is a "true plain text" file, it cannot execute a virus. However, a .txt file can be disguised as an executable (containing malicious code) designed to trick users into opening a file type which can execute that malicious code. This is done using double file extensions...adding an executable extension (.exe, .pif, .com, .vbs, etc) to the end of .txt such as anyfile.txt.exe so that it appears to be a text file. In some cases, you may not see the double extension because file extensions are hidden by default in Windows. If you have chosen the option to unhide file extensions, you still may be fooled if the malware writer named the .txt file with extra spaces before the ".exe" extension such as document.txt.................exe. An example is shown here (click Figure 1 to enlarge). The real extension is hidden because the column width is too narrow to reveal the complete name and the tiny dots in between are nearly invisible.

In some cases the malware may attach a .doc or .txt file found on a system while scanning for message body texts so it can send information back to a remote attacker. An example of this is the Email-Worm.Win32.Magistr.a. It is possible to get infected by a virus that activates when reading an email without an attachment. The Wscript.KakWorm was spread by taking advantage of a security hole in Microsoft Outlook Express. The worm was hidden in the HTML of the email itself and when the message was viewed by the recipient, the worm automatically infected the computer. The Email-Worm.Win32.Magistr.a also scans e-mail database files, obtains e-mail addresses and sends its copies there.

I have encountered "false positive" detections on some plain text files triggered by Corporate Editions of McAfee and Norton Anti-virus which uses heuristic algorithms known as Bloodhound. In these cases, I suspect the detection was triggered when the anti-virus scanned text files containing information, notes, and specfic infection names relating to various types of malware.
.
.
Windows Insider MVP 2017-2018
Microsoft MVP Reconnect 2016
Microsoft MVP Consumer Security 2007-2015 kO7xOZh.gif
Member of UNITE, Unified Network of Instructors and Trusted Eliminators

If I have been helpful & you'd like to consider a donation, click 38WxTfO.gif




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users