A File From a Friend Still Needs a Second Look
A friend can forward a bad file without knowing. Trust the person, and still check the file name, the type, and whether you expected it.
A file from a friend feels safe because the friend is safe. People are not files. A friend can forward a costume, click a bad link, or have an account that someone else is using this afternoon. You can trust the person and still look at the attachment before you open it.
Expectation is the first check
Did they say they were sending something? A sudden invoice, a sudden zip of photos you did not ask for, or a voice note that is actually an installer is a mismatch. Real friends will answer a one-line question: did you mean to send this? Criminals counting on politeness hope you will not ask.
Ask in the same conversation you already use with them, or by calling. Do not use a phone number that arrived inside the suspicious message. Red flags in an invoice attached email overlap here, because the message may not be from your friend at all. The display name is cheap to copy.
Look at the type before the contents
Photos are photos. A shared album link you recognize is ordinary. A file that wants macros, a disk image you did not expect, or a program ending hidden after a picture name is not how friends usually send vacation shots. Read a file's properties before you run it and you will see the type without opening it.
Compressed archives are normal for a pile of photos and also normal for hiding a program. If you were not expecting a zip, ask before you unpack it. ZIP, 7z, and RAR explains the wrapper. The wrapper is not the danger by itself. The surprise is.
Their account can be having a bad day
Compromised mail and chat accounts send files to every contact, often with a short weird message. The writing may not sound like them. Even if it does, an unexpected attachment is enough reason to confirm. You are not accusing your friend of anything. You are checking whether their account is being borrowed.
If they say they did not send it, do not open the file, and tell them plainly so they can recover the account. Delete your copy. Do not forward it to a third person to ask what it is. Forwarding spreads the file.
What you owe them in return
When you send files, send the kind you promised. Do not pass along an installer you found, a codec a website demanded, or a document that asks for macros, just because a group chat seems friendly. Do not turn off antivirus to finish a download applies to favors too. A friend who asks you to disable protection so their file will open is repeating bad instructions, not giving you a technical requirement.
If you share often, agree on a method: a shared folder you both already use, or photos through the service you already trust. Random attachments are the weakest channel you have.
If you already opened it
Stop opening anything else that arrived with it. If the computer starts installing software or the browser changes homepage, you are past a simple mistake. What to do after opening a suspicious file is the next page. Tell your friend, because they may have sent it to others.
Most of the time the file is a real photo and the check takes ten seconds. The habit is for the one time it is not.
Frequently asked questions
They confirmed they sent it. Can I relax? You can open the kind of file you both described. If they confirmed a PDF and the file is an application, stop and ask again. Confirmation of the wrong object is not confirmation.
Is a link safer than an attachment? A link can be worse, because it can change after they send it. Open links you expected, and look at the address before you sign in. Do not type a password into a page that arrived as a surprise.
Should I stop accepting files from people entirely? No. Accept files you expected, check the type, and ask when the message is odd. That is ordinary care, not a closed door.