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.


Encryption of Read-Only File Possible??

  • Please log in to reply
3 replies to this topic

#1 skuddle


  • Members
  • 12 posts
  • Gender:Male
  • Local time:03:34 PM

Posted 17 April 2015 - 04:25 PM

In Windows Vista (SP2), if I set a file's attributes to "Read-Only" can that file then be encrypted by somebody else (so they can ask for a "ransom")?

Edited by Chris Cosgrove, 17 April 2015 - 05:49 PM.
Moved from Vista to 'General Security'

BC AdBot (Login to Remove)


#2 O.T.T.


  • Members
  • 172 posts
  • Gender:Not Telling
  • Local time:10:34 PM

Posted 17 April 2015 - 06:09 PM

I encrypted a "read only" txt-file with AxCrypt and that worked... so your answer is yes it is possible !



Please ask Google why some of my links don't work anymore !

#3 😇


  • Members
  • 2 posts
  • Local time:11:34 PM

Posted 02 June 2015 - 05:28 PM

Yes, it's not protection against a ransomware, since it can:

  • Remove the read-only flag and rewrite your file
  • Write an encrypted copy to a new file and delete the previous


You would need to have it on a read-only media sucha s a CD/DVD.

#4 Didier Stevens

Didier Stevens

  • BC Advisor
  • 2,698 posts
  • Gender:Male
  • Local time:11:34 PM

Posted 03 June 2015 - 03:52 PM

If you want to make a file read-only to protect it from cryptoware, don't use the read-only flag, but ACLs.

Didier Stevens

SANS ISC Senior Handler
Microsoft MVP 2011-2016 Consumer Security, Windows Insider MVP 2016-2019


If you send me messages, per Bleeping Computer's Forum policy, I will not engage in a conversation, but try to answer your question in the relevant forum post. If you don't want this, don't send me messages.


Stevens' law: "As an online security discussion grows longer, the probability of a reference to BadUSB approaches 1.0"

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users