When Ransomware Run , it Search for Specific Extensions But of You Set you Data Without Extension And used "Open With " Option to open it , Most Ransomwae will ignore it and will not encrypt it , The program change The first 2 bytes too , so if Ransom detect the Extension from it , it will fail and not encrypt it