Untrusted File Risks

This cluster focuses on the security dangers of opening files from untrusted sources, such as embedded malware in documents, zips, images, and other formats, with debates comparing risks to direct executable downloads and calls for safer practices like sandboxing or avoiding proprietary software.

➡️ Stable 0.5x Security
2,640
Comments
20
Years Active
5
Top Authors
#1105
Topic ID

Activity Over Time

2007
2
2008
6
2009
22
2010
26
2011
73
2012
77
2013
121
2014
134
2015
149
2016
169
2017
172
2018
147
2019
162
2020
198
2021
255
2022
164
2023
269
2024
263
2025
204
2026
27

Keywords

MSE IT US ANTIVIRUS NFS PC ADS ZOD RunMe pdf.exe file files zip malicious open text file image executable formats code

Sample Comments

tlrobinson Apr 9, 2011 View on HN

Remind me why it's more "insecure" than downloading a zip from a website and blindly running an executable inside it?

ryanburk Oct 24, 2014 View on HN

exactly. the lesson could even be "don't open * from anyone, especially strangers."you can get code to execute in all sorts of presumably innocuous file types.

piqufoh Nov 22, 2016 View on HN

That sounds like a terrible idea - especially if you don't know if you can trust the source of the file.

ryandrake Apr 3, 2021 View on HN

This is a neat hack, but is there a practical use case here for everyday software developers? I sincerely hope that even novice users have better sense than to download a text file from a web site, find a sketchy ZIP file inside the text file, and then follow directions in the text file. It's like downloading a movie from a sketchy web site and in the package you see a RunMe.exe file. The whole thing reeks of red flags that should tell even moderately sophisticated users "This is malwa

jcun4128 Jul 18, 2020 View on HN

If you opened it in LibreOffice still same vulnerability? I usually at least try vm's if dealing with something potentially unsafe ha.

bob1029 Apr 8, 2021 View on HN

How is this any less secure than handing the customer a zip file containing arbitrary binary files and asking them to execute them with admin privileges?

cnvogel Sep 2, 2015 View on HN

Yes, but on the other hand it's a good reminder for everyone processing user provided files to sanity check or convert them to a canonical format in a sandboxes and resource limited process.

justcommenting Oct 25, 2014 View on HN

or: don't open proprietary formats from strangers in proprietary operating systems, especially outside of virtual machines/containers

ryanpetrich Mar 24, 2010 View on HN

He's worried about embedded viruses in .doc files but has no qualms about adding tracking code to .html!?

tobyhinloopen Dec 9, 2020 View on HN

No. It’s safer to download the file, inspect it manually, and then run it.