How to defend yourself from malicious codes in seemingly legitimate Word or PDF documents

How to defend yourself from malicious codes in seemingly legitimate Word or PDF documents

A few months ago, I received an email from a friend with an attachment that looked like a Word document. It had a catchy title and I was curious to see what it was. I opened the attachment and nothing happened. Or so I thought. The next day, I noticed that my computer was acting…