• Open suspicious file in Notepad?

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » Open suspicious file in Notepad?

    Author
    Topic
    #507198

    A friend received a .doc file that she is suspicious of, but wants to check the contents. I’ve uploaded it to virustotal and it came back clean, but I am still not trusting it because it is .doc which I’ve read is not as safe as .docx, so is a common way to infect spam messages.

    Would you agree it would be safe to open the file in Notepad? I guess I could also boot to a linux cd and open it there, but I think Notepad should be safe. What do you say?

    Thanks

    Viewing 6 reply threads
    Author
    Replies
    • #1580907

      I suggest using LibreOffice to open the file in Writer. This will open .DOC (and .DOCX) files without allowing any embedded code (macros).

      (Having said that, unless your friend has changed MS Office’s default setings, .DOC/.DOCX files from external sources should not allow any embedded code [macros] anyway, due to the default settings of Office’s ‘Trust Center’.)

      Hope this helps…

    • #1580908

      Upload it here for analysis. It will check for embedded malware.

      https://vicheck.ca/

    • #1580951

      DOCX is not safer than DOC. Any file from an external source should be treated with suspicion.

      cheers, Paul

      • #1580966

        DOCX is not safer than DOC.

        Even though DOCX cannot contain embedded code whereas DOC can?

        • #1581207

          Even though DOCX cannot contain embedded code whereas DOC can?

          From the perspective of a user an attachment is an attachment and therefore should be opened. Calling DOCX files safer relies on users recognising the difference – not a common scenario IME – so I prefer to call every attachment potentially dangerous.
          Sorry for any confusion and thanks for the clarification.

          cheers, Paul

          • #1581308

            Calling DOCX files safer relies on users recognising the difference

            I’m fairly sure MS’s security setup takes the safety question out of users hands–in the sense of preventing external macro DOCMs from opening–via the whole Trust Center restrictions.

            Lugh.
            ~
            Alienware Aurora R6; Win10 Home x64 1803; Office 365 x32
            i7-7700; GeForce GTX 1060; 16GB DDR4 2400; 1TB SSD, 256GB SSD, 4TB HD

      • #1580967

        DOCX is not safer than DOC.

        DOCX is smaller than DOC. That’s the only difference I’m aware of.

        Group "L" (Linux Mint)
        with Windows 10 running in a remote session on my file server
        • #1580987

          DOCX is smaller than DOC. That’s the only difference I’m aware of.

          … and macros:

          Since Office 2007, Macros are also much easier to detect. By default, standard Office documents are saved with the “x” suffix. For example, .docx, .xlsx, and .pptx for Word, Excel, and PowerPoint documents. Documents with these file extensions are not allowed to contain macros.
          Macros Explained: Why Microsoft Office Files Can Be Dangerous

          • #1580989

            … and macros:

            Since Office 2007, Macros are also much easier to detect. By default, standard Office documents are saved with the “x” suffix. For example, .docx, .xlsx, and .pptx for Word, Excel, and PowerPoint documents. Documents with these file extensions are not allowed to contain macros.
            Macros Explained: Why Microsoft Office Files Can Be Dangerous

            I had no idea that a .docx file couldn’t contain macros. Yet another good reason to move from .doc to .docx, in case you haven’t yet made the move.

            Group "L" (Linux Mint)
            with Windows 10 running in a remote session on my file server
        • #1581061

          DOCX is smaller than DOC. That’s the only difference I’m aware of.

          There are a few more differences. Some notes I made a few years ago:

          DocX v Doc

          Docx differences:

          * Standards based.
          DOC is a proprietary format, DOCX is based on a key web standard XML, which makes it a lot more widely usable going forward.

          * Better for future.
          Already DOCX is better than DOC as a source for producing a wide range of output like various web and ebook formats. This difference will become more important in the future as document reading and viewing devices become more diverse.
          Also, it is far less likely that DOCX files will be obsolete or unreadable later this century.

          * Split up into component files.
          Like an EPUB file, if you rename a DOCX to ZIP, you can open it like a zip file and see it contains a bunch of folders and files.

          * Compressed.
          DOCX is compressed and therefore can be a lot smaller than a corresponding DOC.

          * Much more reliable.
          There is much less file corruption danger with a DOCX, doesn’t need the old cottage industry for DOC recovery.

          * Images aren’t modified.
          DOCX doesn’t do any of the image manipulations DOC could do, images are stored as original copies in their own folder.

          * Can’t have macro viruses.
          Since DOCX can’t have macros, there’s much less danger of infection. Macros now require a DOCM extension.

          Lugh.
          ~
          Alienware Aurora R6; Win10 Home x64 1803; Office 365 x32
          i7-7700; GeForce GTX 1060; 16GB DDR4 2400; 1TB SSD, 256GB SSD, 4TB HD

    • #1580985

      …Would you agree it would be safe to open the file in Notepad? I guess I could also boot to a linux cd and open it there, but I think Notepad should be safe. What do you say?…

      Yes, it is safe to open such .doc or .docx files in Notepad. Notepad is a simple text-editor that does not have any capability to execute any code apart from what is necessary to display the actual text content of the file; but if you open such .doc or .docx files in M$ Word you risk running code that might have unwanted results.

      But if you open such a .doc or .docx file w/ Notepad expect to see a significant number of sections of code that you probably won’t understand apart from the actual text contained in the document.

      You could always copy/paste the content you want from Notepad into some other document of your choice, and discard the rest???

    • #1581005

      Thanks for the replies. I am trying to give my friend some safe way to see if the suspicious documents she sometimes receives are legitimate. Since she is not real computer savvy, Notepad is an easy way.

      Thanks

    • #1581023

      I delete suspicious files/emails. I never open them. I’m not that curious.

      Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
      We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
      We were all once "Average Users".

      • This reply was modified 5 years, 7 months ago by bbearren.
      • #1581078

        I delete suspicious files/emails. I never open them. I’m not that curious.

        X2. Just delete the file. Scammers depend on curiosity.

    • #1581073

      Thanks for that information. I just saved your post into a DOCX file for future reference!

      I stayed with DOC for a long time after adopting Word 2007, for backward compatibility reasons. Then, when I noticed that DOCX took about half the space that DOC took (I was dealing with huge files), I switched to DOCX.

      Group "L" (Linux Mint)
      with Windows 10 running in a remote session on my file server
    Viewing 6 reply threads
    Reply To: Open suspicious file in Notepad?

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: