Quantcast
Channel: VeraCrypt
Viewing all 7620 articles
Browse latest View live

Edited Unassigned: Hyper-V can't access files on VeraCrypt volumes mounted as removable. [321]

$
0
0
When I mount a VeraCrypt volume as a removable drive and attempt to attach ISO files from the drive to my Hyper-V virtual machine, I receive the following error:

"Hyper-V Virtual Machine Management service Account does not have permission to open attachment <PATH TO FILE>. Error: ‘General access denied error’"

The permissions on the file seem to be OK, and Hyper-V is successfully adding its own permissions to the file that should work. I attempted to reset the ownership and permissions of the drive with no success.

I experimented and noticed the following:
- The permissions on the drive and file do not seem to matter.
- I do not see anything in the Windows Event Viewer relating to this error.
- If I disable Windows security auditing for removable drives using Group Policy, the error still occurs.
- It doesn't matter what file I use, as long as it comes from a VeraCrypt-mounted volume.
- If I copy the file to a non-VeraCrypt volume, removable or fixed, there is no problem.
- If I mount the volume as non-removable within VeraCrypt, there is no problem.
- It doesn't matter if the VeraCrypt volume I mount is a hidden or regular volume.
- It doesn't matter if the VeraCrypt volume is a device volume or a volume mounted from a .hc file.

I am running Windows 10 TH2 x64 Professional, using VeraCrypt 1.16 x64. Let me know if you need more information about my PC configuration, or want me to test with different versions of VeraCrypt or TrueCrypt.

Reproduction steps:
- Make sure Hyper-V is enabled in the Windows Features control panel in Programs and Features.
- Create a new VeraCrypt volume, non-hidden volume in a .hc file. All settings should be defaults unless otherwise specified. AES encryption with SHA-512 hash (this is what I used, not sure if it matters). Use normal password authentication and NTFS file system.
- Mount the new volume. Before entering the password, go to "Mount Options" and be sure to mount it as a removable volume.
- To be extra sure this should work right click the drive in explorer, go to Security, hit Edit, and add the Everyone group at Full Control. There should be no security issues.
- Copy an ISO file (any one should do) to the volume. For reproduction's sake I used the latest Ubuntu stable release: ubuntu-15.10-desktop-amd64.iso
- Open the Hyper-V Manager and create a new virtual machine. I created it on a non-VeraCrypt volume and did not test if creating it on a VeraCrypt volume mattered.
- Choose to create a Generation 1 Virtual Machine (not sure if any of these settings matter but they are here in case they do).
- Assign some memory (I did 1024mb) and disable dynamic memory.
- Set networking to Not Connected.
- Create a virtual hard disk (so you can also configure DVD settings). I created one in the default folder (non-VeraCrypt volume) at 50gb.
- Choose to install an OS from a DVD. Select the image file off of the VeraCrypt volume we created.
- Click Finish.
- Observe the following error message:

[Window Title]
New Virtual Machine Wizard

[Main Instruction]
The server encountered an error while configuring the devices on New Virtual Machine.

[Content]
Failed to add device 'Virtual CD/DVD Disk'.

Hyper-V Virtual Machine Management service Account does not have permission to open attachment.

[Expanded Information]
'New Virtual Machine' failed to add device 'Virtual CD/DVD Disk'. (Virtual machine ID BCD59B4E-F9B7-4413-90AE-8EF671EB2EE7)

'New Virtual Machine': Hyper-V Virtual Machine Management service account does not have permission required to open attachment 'X:\ubuntu-15.10-desktop-amd64.iso'. Error: 'General access denied error' (0x80070005). (Virtual machine ID BCD59B4E-F9B7-4413-90AE-8EF671EB2EE7)

[^] Hide details [Close]


- Change OS install option to "install later". Click Finish and observe no error this time.
- You can also try accessing the VM settings to observe you cannot attach the ISO there, either. You can also use powershell with the command "set-vmdvddrive "<VM Name>" -Path "<Path to ISO>"" and observe the same error occurs here too.
- Dismount the VeraCrypt volume and remount, this time as a fixed drive.
- Go back to the Hyper-V Manager and the VM settings, and observe you can now attach the ISO image.

Edited Unassigned: Hyper-V can't access files on VeraCrypt volumes mounted as removable. [321]

$
0
0
When I mount a VeraCrypt volume as a removable drive and attempt to attach ISO files from the drive to my Hyper-V virtual machine, I receive the following error:

"Hyper-V Virtual Machine Management service Account does not have permission to open attachment <PATH TO FILE>. Error: ‘General access denied error’"

The permissions on the file seem to be OK, and Hyper-V is successfully adding its own permissions to the file that should work. I attempted to reset the ownership and permissions of the drive with no success.

I experimented and noticed the following:
- The permissions on the drive and file do not seem to matter.
- I do not see anything in the Windows Event Viewer relating to this error.
- If I disable Windows security auditing for removable drives using Group Policy, the error still occurs.
- It doesn't matter what file I use, as long as it comes from a VeraCrypt-mounted volume.
- If I copy the file to a non-VeraCrypt volume, removable or fixed, there is no problem.
- __If I mount the volume as non-removable within VeraCrypt, there is no problem.__
- It doesn't matter if the VeraCrypt volume I mount is a hidden or regular volume.
- It doesn't matter if the VeraCrypt volume is a device volume or a volume mounted from a .hc file.

I am running Windows 10 TH2 x64 Professional, using VeraCrypt 1.16 x64. Let me know if you need more information about my PC configuration, or want me to test with different versions of VeraCrypt or TrueCrypt.

Reproduction steps:
- Make sure Hyper-V is enabled in the Windows Features control panel in Programs and Features.
- Create a new VeraCrypt volume, non-hidden volume in a .hc file. All settings should be defaults unless otherwise specified. AES encryption with SHA-512 hash (this is what I used, not sure if it matters). Use normal password authentication and NTFS file system.
- Mount the new volume. Before entering the password, go to "Mount Options" and be sure to mount it as a removable volume.
- To be extra sure this should work right click the drive in explorer, go to Security, hit Edit, and add the Everyone group at Full Control. There should be no security issues.
- Copy an ISO file (any one should do) to the volume. For reproduction's sake I used the latest Ubuntu stable release: ubuntu-15.10-desktop-amd64.iso
- Open the Hyper-V Manager and create a new virtual machine. I created it on a non-VeraCrypt volume and did not test if creating it on a VeraCrypt volume mattered.
- Choose to create a Generation 1 Virtual Machine (not sure if any of these settings matter but they are here in case they do).
- Assign some memory (I did 1024mb) and disable dynamic memory.
- Set networking to Not Connected.
- Create a virtual hard disk (so you can also configure DVD settings). I created one in the default folder (non-VeraCrypt volume) at 50gb.
- Choose to install an OS from a DVD. Select the image file off of the VeraCrypt volume we created.
- Click Finish.
- Observe the following error message:

[Window Title]
New Virtual Machine Wizard

[Main Instruction]
The server encountered an error while configuring the devices on New Virtual Machine.

[Content]
Failed to add device 'Virtual CD/DVD Disk'.

Hyper-V Virtual Machine Management service Account does not have permission to open attachment.

[Expanded Information]
'New Virtual Machine' failed to add device 'Virtual CD/DVD Disk'. (Virtual machine ID BCD59B4E-F9B7-4413-90AE-8EF671EB2EE7)

'New Virtual Machine': Hyper-V Virtual Machine Management service account does not have permission required to open attachment 'X:\ubuntu-15.10-desktop-amd64.iso'. Error: 'General access denied error' (0x80070005). (Virtual machine ID BCD59B4E-F9B7-4413-90AE-8EF671EB2EE7)

[^] Hide details [Close]


- Change OS install option to "install later". Click Finish and observe no error this time.
- You can also try accessing the VM settings to observe you cannot attach the ISO there, either. You can also use powershell with the command "set-vmdvddrive "<VM Name>" -Path "<Path to ISO>"" and observe the same error occurs here too.
- Dismount the VeraCrypt volume and remount, this time as a fixed drive.
- Go back to the Hyper-V Manager and the VM settings, and observe you can now attach the ISO image.

New Post: VeraCrypt easily DEcrypted?

$
0
0
I'm curious about your views on the claims made by Elcomsoft that their Forensic Disk Decryptor will mount and decrypt TrueCrypt volumes, files, etc. on the fly and if/how it would apply to VeraCrypt as well?
Their blurb says, "Perform the complete forensic analysis of encrypted disks and volumes protected with desktop and portable versions of BitLocker, PGP and TrueCrypt. Elcomsoft Forensic Disk Decryptor allows decrypting data from encrypted containers or mounting encrypted volumes, providing full forensic access to protected information stored in the three most popular types of crypto containers. Access to encrypted information is provided in real-time."

Thanks.

Commented Unassigned: Can't install VeraCrypt Setup stuck forever [137]

$
0
0
Hi,

I currently have TC 7.1a running.

I tried it quite some times now but i simply cannot install VeraCrypt on my Windows 8.1.
"VeraCrypt Setup" hangs "forever" without ever showing a setup screen. Looking at the TaskManager it is stuck using about 15% of the cpu (im on an i7 3770), even for half an hour without anything changing.

If anyone needs more Information or has a hint how I may find out the reason for my issue that would be great.

Here's some Information about my System:

OS: Windows 8.1 (patched up-to date on 2015-03-05)
CPU: Intel Core i7 3770
RAM: 24GB
System Drive: Crucial M500 480GB (CT480M500S)
Comments: hello, same issue for me, Windows 7 and My downloads folder was on the F: partition. Launch Install, UAC prompt but after without ever showing a setup screen. Looking at the TaskManager it is stuck using about 25% of the cpu (quad core). Thanks to reichi for the tip. I have put the install File on C:\temp and it works fine. Idrassi peut-être à mettre dans les trucs et astuces si le problème ne peut pas être résolu. En tout cas merci pour ton excellent travail. Ami calmant, J.P

New Post: VeraCrypt easily DEcrypted?

New Post: Copying NTFS VeraCrypt file container to exFAT USB flash drive

$
0
0
I have about twenty 4.3GB VeraCrypt file containers on my Win 7 NTFS hard drives to which I add and delete files on a daily basis. These containers are easy to burn to DVD+RW for backup.

What about USB flash drives formatted with exFAT? Is it possible to just drag and drop an unmounted VC file container to a USB flash drive for backup purposes? Or is it absolutely necessary to create a new container on the USB flash drive? Do I need to format my flash drive to exFAT or NTFS?

New Post: VeraCrypt easily DEcrypted?

$
0
0
I don't know anything about them. Just ran across their website and find it interesting how they make it seem so very simple to open any Truecrypt files.

New Post: Copying NTFS VeraCrypt file container to exFAT USB flash drive

$
0
0
Hi Cassandra,

CassandraC wrote:
What about USB flash drives formatted with exFAT? Is it possible to just drag and drop an unmounted VC file container to a USB flash drive for backup purposes?
Sure can. You can even mount the containers while they are on the USB drive.
Or is it absolutely necessary to create a new container on the USB flash drive?
You don't need to create a container on your USB drive to hold the container you're backing up. You can just copy it over.

Now, there is a catch with USB. Because of the way flash drives work, it's a bit harder to ensure that old copies of old files aren't lingering around on them. This means that if you ever change the password on your containers because you feel your old password has been compromised, and if you then put the container on a USB drive that once held the old password, it's possible that the old header encrypted with the old password could be lingering on the USB drive.

So, to sum up, a USB stick is a great way to store a container. But if you ever feel the password has been compromised, then the safest thing to do is destroy the USB drives and use new ones.

If you're interested in all the technical reasons for this, let me know and I'll expand on this.
Do I need to format my flash drive to exFAT or NTFS?
That's mostly a matter of preference. I, myself, am not a huge fan of exFAT. It's too proprietary - Microsoft has tried to burden it with patents to slow its adoption outside of Microsoft unless you "license" the technology.

New Post: Cloning encrypted hard disk

$
0
0
Hi Jalexm,

To answer your question, you can definitely clone a drive with system encryption on it. Both drives will have identical encryption on them.

As far as software, I tend to boot my computer into Linux using a live DVD and then use "dd" from the command line. That way the hard drive isn't in use by the OS and it's safe to clone. That's about the most versatile method, though it's not really user friendly. Once you learn dd, though, you'll never want to go back.

Another option, and one I have grown fond of, is a hardware cloner. These used to be used primarily by IT shops to clone drives for deploying large numbers of users. Nowadays you can buy a two-drive docking cloner for $20 on eBay or AliExpress. Drop both drives in and press a button. But my laptop is fairly easy to get the drive out of, so this may be more or less easy for you.

New Post: Cloning encrypted hard disk

$
0
0
1 TB for the system? wow.

You did not mention what your OS ist - Online-Backups (The backup of the system that is currently running) depend on the OS, obviously.

dd is nice, but always be sure to double-check source and destination :)

New Post: VeraCrypt easily DEcrypted?

$
0
0
It is - if you choose a simple password.
I bet this is just a dictionary attack trying to guess the users password.
If anyone could actually break TC/VC with a publicly available tool, you would know that in no-time.

New Post: Encrypted partition on USB device

$
0
0
  1. Copy the file as it is now (unmounted)! VERY IMPORTANT!
  2. Let Windows chkdsk check and repair the (mounted)file system.
  3. If you can (dont know about how many files are stored on the volume) check what is missing.
I think you did not dismount the VC volume and safely disconnect the USB drive, did you?

Of course you can use journal-analysing tools or something else, but this is the easiest way to get your drive back to work and have most (or all) of your data at hand.

Commented Unassigned: Long delay in mounting volume before password prompt [268]

$
0
0
When I try to mount a volume in the VeraCrypt UI it first pops up the "Please wait... This process may take a long time dialog" before asking me for the password. I assume it's trying to mount the volume using a cached password. I know this is inherited from TrueCrypt, but in TrueCrypt there was no noticeable delay. In VeraCrypt the delay is very noticeable and very annoying. Can it show the mount dialog immediately and then only try cached passwords if the user clicks OK, leaving the password field blank? I think the annoyance of having to click an extra button would be much less than the annoyance of this delay.
Comments: If you cache the hash value, you are opening the potential of an attacker getting the value from memory or if flushed to paging/swap file, hibernation file that allows then to unlock the volume(s) by then retrieving the encryption key from the header key. Correct?

New Post: Encrypted partition on USB device

$
0
0
Hi RandomNameforCode,

Many thanks for this, I was able to re-gain access to my partition.

I am very careful to never disconnect the USB when I have my encrypted partition mounted.

Last week was unusual in that on Friday my computer sat idle for 6hrs with the partition mounted, perhaps my computer put the USB into some sort of power save mode and that caused this?

Created Unassigned: Can not mount the Volume [322]

$
0
0
Hi all;

With no apparent reason, my drive can not be mounted on any OS (Linux, Windows, MAC OS).
I'm sure about the password, and I already tried on different machines.

Someone with a hint?

New Post: Funding exFAT support?

$
0
0
There's actually a working workaround even for exfat and even on windows ;-)
  1. create volume, select none filesystem
  2. settings-preferences-check mount as removable media
  3. mount the newly created volume
  4. open the unformatted veracrypt letter, windows format prompt appears, you just select exfat, quick format and voila ;-)
  5. settings-preferences-uncheck mount as removable media (optional)
Reformat existing fat/ntfs should work too.

Btw. NTFS has much better support under linux than exfat and patent sucks, I'd stay away form it as far as possible. I know Aplle is evil and bad, but is that really that bad it does not even support ntfs? My openwrt router works with ntfs fine (write too), however exfat is not supported, because of the patent.

New Post: codeplex vs sourceforge - which forum to choose (ping Mounir)

$
0
0
Hello, there are two VC forums, one @sourceforge, other in here. Where should we rather post? I.e. what is more cosy for you? ;-)

New Post: VeraCrypt easily DEcrypted?

$
0
0
RandomNameforCode wrote:
If anyone could actually break TC/VC with a publicly available tool, you would know that in no-time.
I don't think so. If I'd discover hole into some crypto thing (without bruteforce attack), I'd sell it to NSA for a big bag of money and keep the mouth shut ;-)

Commented Unassigned: Mount volume to NTFS folder [299]

$
0
0
Today on Windows it is not possbile to mount a volume as a NTFS folder. but this would really help. Mounting drives is legacy.
Comments: I'm using a link (x is your veracrypt mounted drive) #mklink /j c:\temp\ntfslink x:\ Btw. mounting drives was legacy when windows were born, linux had it from the beginning, but drive letters, they are how windows work :-)

Commented Unassigned: Long delay in mounting volume before password prompt [268]

$
0
0
When I try to mount a volume in the VeraCrypt UI it first pops up the "Please wait... This process may take a long time dialog" before asking me for the password. I assume it's trying to mount the volume using a cached password. I know this is inherited from TrueCrypt, but in TrueCrypt there was no noticeable delay. In VeraCrypt the delay is very noticeable and very annoying. Can it show the mount dialog immediately and then only try cached passwords if the user clicks OK, leaving the password field blank? I think the annoyance of having to click an extra button would be much less than the annoyance of this delay.
Comments: Right, but how is that different to caching the password? If anything, the impact of having the hash stolen by an attacker is less (as already pointed out by RandomNameForCode), since the hash can only be used with VC, while the password could potentially be used elsewhere as well.
Viewing all 7620 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>