Ubuntu Security :: Accessing NTFS-encrypted Files And Folders?
May 14, 2010
After trying Truecrypt, LUKS, and Ecryptfs I decided to try NTFS encryption. Now, on a dual boot computer from Ubuntu I can browse the encrypted folders but can not open the encrypted files. All attempts produce access denials yet the Unix file permissions appear to be "0777" (owner, group, and world readable-writable).
Is there someway to get Ubuntu's NTFS software to recognize and decrypt the encrypted files? Would a different NTFS package work such as NTFS-3g?
View 2 Replies
ADVERTISEMENT
May 13, 2011
I used Windows XP's encryption to encrypt some folders on an NTFS Hard Drive.Upon mounting this drive in ubuntu, I can see all folders, and all file names, but I cannot open the contents of the encrypted files, getting "Permission Denied" despite all permissions being -rwxrwxrwx.Is there a way to open these from linux? I know the Windows XP login / encryption password.
View 3 Replies
View Related
Jul 25, 2010
My main workstation incorporates a mixture of ext3, ext4, and NTFS partitions scattered across a number of hard drives. Several of the ext4 partitions are encrypted, and I intend to encrypt the rest of the Linux partitions in the near future.I run VMware workstation, with several Windows OS guests, including Win2K, WinXP and Win7. My Win7 VM is installed on a virtual hard disk, and that virtual hard disk is encrypted using VMware facilities.So this leaves me with a bunch of NTFS partitions that are not encrypted. These are physical partitions on a couple of different hard drives. The reason I have them is ancient and historical, and as I have upgraded my system over time I have maintained the architecture due to the extreme difficulty of rearranging Windows systems.I still need to maintain Win2K and WinXP support, and rearranging those virtual machines would represent a hideous nightmare for me; I really want to maintain the same hard drive partition architecture.But I want to encrypt the NTFS partitions, in a fashion that can be handled by any of the Windows operating systems, AND can be accessed for read and write from Linux.Is this possible? If not using Windows facilities (I don't think ntfs-3g handles encryption, and there are known backdoors in the Windows facilities anyway), is there any third party solution that would work? Would True Crypt do the job in a fashion that would permit access from all the various operating systems, as required? I do generally mount the NTFS partitions in whichever Windows VM is appropriate, then share them out via SMB, but there are circumstances (like when a VM is not running) where I will directly hit them from Linux. So, it is possible for me to contemplate a solution that only works from Windows, but this would cost me the ability to repair/modify those filesystems directly from Linux, which under certain circumstances (a malfunction of the VM, for instance) could be a problem.
View 2 Replies
View Related
Nov 18, 2010
how to access files and folders on alive computers on my college LAN,i hv angry ip scanner installed but it only lists the computers on lan,whereas i want to access files(e.g copying,etc) on others computers(in the same way we do in advance ip scanner in windows). i am using ubuntu 10.04 LTS
View 1 Replies
View Related
May 1, 2010
I ticked the box for this when I installed Lucid, but how can I verify that it's actually performing the encryption/decryption?
View 4 Replies
View Related
Jul 6, 2010
I recently had a Windows Vista laptop crash and burn because of some damage done to all the lovely files Windows cannot boot without. Since my computer cannot boot from USB normally I used PloP Bootmanager to get it to boot from a live Ubuntu image on a USB stick.Before I install Ubuntu, I want to recover some of my files sitting on the disk, and the partitions seem to mount in the GUI- I can see them, I can click mount or unmount and it responds. The trouble is that while I can see all of the folders on the Windows partition: Program Files, Documents and Settings, etc. I can't see any of the actual files. The disk itself is reported to have data on it- even Ubuntu recognizes it's almost full, but every folder has 0 files with the exception of /media/[A particular character string] which has three boot-related files. This is true whether I use bash as root or not. I've tried mounting to a different point and remounting via the terminal using ntfs-3g and editing the fstab file to recognize the parition with full permissions, but nothing seems to work.
View 5 Replies
View Related
May 21, 2010
First off I want to apologize for the fact that the first several paragraphs go into something seemingly unrelated to the subject of this thread. However I want to be sure that those who choose to lend me a hand understand where I'm coming from and why I'm asking that question.I just recently switched from Windows Vista to Ubuntu 10.04. So far I've been loving it mostly. But their is one oddball thing I haven't been able to get working. That is a pair of shared folders located on my NTFS external drive connected via USB2.
The drive was automatically mounted on first boot and has full read/write access for owner (which is my username) right out of the gate. For this reason I assumed I would be good to do this.I've been unable to get it working in Ubuntu. As it stands now I've manually added them to smb.conf, added them to the Samba Server Configuration and finally by right clicking the folder in nautilus and choosing Sharing Options. All with varying resultsAt best it will show the shares under the computer but not allow access. I've also cleared out all of these for those folders to try them individually or in different orders. What I found was that using Sharing Options first gives this error and sets nothing up. But either of the other two will at least show the share albeit with no access.
Quote:'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.What I've discovered is that if I use just the Sharing Options from Nautilus on any folder located on my ext4 partition or the internal NTFS partition then it will ask if applicable to adjust the permissions and though nothing appears in smb.conf that it works more or less just fine.Having played with "ls -l" I discovered that by default that ownership of the folders on the external NTFS is set to myself and that permissions are 700. On the ext4 partition ownership is set to myself and permissions on folders 711. The folders on the internal NTFS partition has an ownership of "root" and permissions set to 777
From here I tried to use "sudo chmod" via a terminal to manually change permissions for folders on all 3 partitions and I can do so for the ext4 and the internal NTFS owned by root. But no matter what I cannot for the external NTFS.The main thing is I want to know why I can't adjust those permissions on the external. I'm convinced that something to do with the way USB drives work by default must be impacting this but I could not find a single thing anywhere to confirm this much less to offer a solution.The second thing is that I installed and used mountmanager to automatically mount the internal NTFS and according to that softwares options the setup for both it and the external NTFS are the same. But if that is true then why is the external owned by me and the internal by root and the resulting permissions are completely different?
View 4 Replies
View Related
Nov 24, 2010
10.10 on a ext4 partition. I deleted a folder that sat on a NTFS partition that I use as data storage. I note that if I delete folders or files on this NTFS partition there is not the option to move to waste basket - it is just deleted. If the folder still exists on the hard drive (has not been over written) I may be able to retrieve it - but where could it be? On the NTFS partition?
View 2 Replies
View Related
May 25, 2011
I am an Ubuntu refugee. Allow me to explain what happened. I am dual booting with Windows 7 and F15 x64.
(1) I wanted to created a shortcut of my "Documents" folder in my Windows in Nautilus
(2) I opened the Windows drive by double clicking the drive under Devices, and navigated to my "Documents" folder (F15 already has ntfs-3g installed so no hassles there)
(3) I then dragged the folder to the sidebar to place it under the Trash icon--but for some reason, it would not let me do this, and accidentally got placed in the Trash bin.
(4) problem is I can't see this folder in the Trash bin (it is not even hidden)
(5) To check if the Trash bin actually captures items when we move files/folders to Trash, I tried sending a folder from my Home directory to Trash, and the folder appears in the Trash; it can even be restored to Home.
(6) Only files/folders from the NTFS formatted Windows drive do not appear in the Trash folder if sent there.
(7) I have Google searched this problem, but to no avail.
(8) I even thought that because the drive is not mounted 'officially' I would mount it using command line:
Code:
(9) But still I can't see the folders in the Trash
(10) Interestingly, when I try to unmount the Windows drive 'formally' then I get a message if I want to "empty the Trash"--I obviously chose not to--so I know there is my Windows Documents folder in there somehere.
View 2 Replies
View Related
Jul 31, 2010
I have a drive that originally was used with a Linksys Network Storage Link (NSLU2), then stopped working with it. Now I'm trying to get the files off the drive. When I USB connect the drive to Ubuntu, I can see the files, but I'm unable to open them or copy them. The error message is: "Error Opening File: Permission Denied". I did have permissions set on the NSLU2. So far I'm not able to find a way to get around the permissions issue in Ubuntu.
I have used apps like EASEUS Data Recovery and Recover My Files. It appears that they are finding the files and are able to access them, so I know it can be done. I don't mind spending some $, but these apps are taking a *long* time to run. If I could properly access the files in Ubuntu long enough to copy the files, I think I'd be all set.
View 2 Replies
View Related
Jan 25, 2010
If I enable Wi-Fi on my laptop and use a public Wi-Fi hotspot at an airport, will a firewall such as UFW be enough to stop hackers accessing my personal files which are NOT transmitted over the Wi-Fi connection?
View 9 Replies
View Related
May 22, 2010
I recently had to reinstall ubuntu, so I backed up both my ~.gnupgp and ~.gnome2 folders and copied them over in the new installation. My old keys show up just fine in the password manager, but when I attempt to open a file encrypted with one of them, I get the error: "Could not display (name of file): There is no application installed for PGP/MIME-encrypted message header files"
View 1 Replies
View Related
Sep 6, 2010
I've recently upgraded to 10.04 and have noticed that all the files or folders I've been creating recently are read only. I can manipulate the folders on my ubuntu system itself and create new entries, folderes, subfolders, and save files. IE a payment receipt in pdf format. However if I then try to move or copy any of these to my DROBO (data storage device) the file gets the LOCK Icon on it and becomes read only. If it is a subfolder I can no longer copy to it and if it's a regular file, say a pdf or flv I can't modify it. Attempting to change the file permissions on either my ubuntu desktop or any other folder works but once it goes to the drobo I lose the ability to change it off of ---. Again, this was all working fine before doing the upgrade to 10.04. Yes I did do a clean install to 10.04.
View 6 Replies
View Related
Mar 14, 2011
I have a shared partition on Ubuntu, 'dm-6', if I create a new folder in it, it has 'teocomi' as owner.If I create the folder from another (windows) PC the owner is 'nobody' and from Ubuntu I have to chmod/chown it in oredr to edit its content...Is there a way to set automatically permission and owner for newly created folders and directories?
I tryed with:
Code:
sudo chmod u+s -R /media/dm-6
View 5 Replies
View Related
Apr 1, 2010
I have been running rkhunter but how do i view the /var/log/rkhunter.log? I have tried using: sudo /var/log/rkhunter.log but all i got was "Command not found?
View 6 Replies
View Related
Mar 7, 2011
I installed Ubuntu 10.10 64 on my laptop with the entire 500gb setup as encrypted LVM. This has worked well for several months with no problems. During this time i have been backing up the data to an external usb drive (1tb) on a regular basis. The usb drive was not encrypted. So, I thought it would be a good idea to encrypt the backup drive too. I wiped out the backup drive and set it up as one large encrypted lvm and mbr. This seemed to work fine but immediately afterwards I decided to erase that and set it up as encrypted lvm guid instead of mbr. I couldn't delete it while logged into my desktop so i decided to do it from a bootable gparted usb stick. In gparted i erased the 1TB backup drive once again and planned on setting it up the way I wanted once I was logged back into my ubuntu desktop. Now I cant boot into my desktop with the following errors:
cryptsetup: evms_activate is not available b0d) does not begin with /dev/mapper/
Then after waiting for a few minutes I get an error followed by (initramfs)
When booting from a live version of ubuntu the 250MB boot patition is recognized and 500 partion is there but it is labeled as empty/unused.
Also, I did choose to use the exact same passphrase as what is used on the main bootable drive when I set up the encrypted partition on the external 1TB drive.
View 9 Replies
View Related
Feb 9, 2010
Still working on the mask of files for shared folder. I now have a shared folder with the exact behavior I expect :
Code:
sudo addgroup share_group
sudo mkdir /media/volume/shared_dir
sudo chgrp share_group /media/volume/shared_dir
sudo chmod g+s /media/volume/shared_dir
sudo chmod 770 /media/volume/shared_dir
sudo setfacl -d -m group::rwx /media/volume/shared_dir
sudo setfacl -d -m other::--- /media/volume/shared_dir
emma@box:/media/volume/shared_dir$ ls -al
total 8
drwxrws---+ 2 root share_group 4096 2010-02-09 12:53 .
drwxr-xr-x 8 root root 4096 2010-02-09 11:58 ..
-rw-rw----+ 1 emma share_group 0 2010-02-09 12:53 test
By default, user from the group can modify this file. That's perfect.
I have define the share in Samba this way :
Code:
[share]
comment = Shared Folder
path = /media/volume/shared_dir
browseable = yes
guest ok = no
read only = no
hide dot file = yes
# force group = share_group
# create mask = 0660
# directory mask = 0770
# force create mask = 0660
# force directory mask = 0770
When drag & dropping a file in this share, here is the default mask:
Code:
emma@box:/media/volume/shared_dir$ ls -al
total 192
drwxrws---+ 2 root share_group 4096 2010-02-09 12:54 .
drwxr-xr-x 8 root root 4096 2010-02-09 11:58 ..
-rw-rwx---+ 1 emma share_group 6148 2010-02-09 12:54 .DS_Store
-rw-rwxr--+ 1 emma share_group 176684 2009-12-21 23:33 IMG_7487.jpg
So the dropped file have execution rights for the group, and read access for other. I expected it to have the same rights than the file created directly using the touch command. I tried to play with the mask options, without success. The file has been dropped from my mac, which is a Unix like OS. I guess that some authorization access are inherited from the original file, for the user and other parts. But where does the group authorization come from ? Moreover, is is possible to define in samba a default mask, whatever the authorization of the original file?
View 1 Replies
View Related
May 23, 2010
restrict a user from seeing hidden files and folders?
View 8 Replies
View Related
Jan 5, 2010
I've just started using ubuntu one. However, some of the files I store on there are sensitive so I encrypt them using seahorse. Right click, encrypt etc etc. My question is, is there a way to automatically get the encrypt process to delete the un-encrypted file when it makes the new encrypted copy?
View 6 Replies
View Related
Jan 11, 2010
I'm a newbie despite using Ubuntu most of the time for nearly 3 years. There are some files which are created automatically in one of my ntfs partition. The files are khq, khp, kht, an autorun inf file and others. They seem to have been created while I was using ubuntu and even though I delete them,they appear again later. I have googled and have found few information that the files are malware. I will like to know if there is a known issue and solution. This is the first time i'm posting a thread.I hope i have post it at the right place and if not,
View 3 Replies
View Related
Jan 18, 2010
I m going to create a backup script for my files/folders...
This script creates tar.gz of the folders/files you want.
This i want is to encrypt these .tar.gz files and when i need them to decrypt them. Does anyone have an idea on how to encrypt these files ?
my script looks like this :
Code:
BACKUPDATE=$(date +%d%m%Y)
cd /home/n3t
echo "taking Backup of your home/n3t/Downloads dir"
tar -czvf /media/disk/BACKUP/home/Downloads/$BACKUPDATE.tar.gz ./Downloads
View 2 Replies
View Related
Mar 30, 2011
Recently I've been finding two strange-looking files on my Windows shared folders! Their names are 'khy' and 'qffhtx.exe', they appear as hidden, and they're hard to delete!! especially the first one because it has no extension. I use Ubuntu 10.10, but I am worried because I also dual-boot Windows XP. Today I tried to open the .exe file in nautilus to see what is inside and I received the message "Unable to open archive", 'khy' is apparently an empty text file. Then I unmounted my /home partition so my files are out of the way, and I ran the .exe file using WINE,
Now I have a strange-looking applet on my top panel!! and it says "Script paused", also it says "Exit', and also Wine command prompt says something strange about "LockWindowUpdate", don't imagine it I'll post the screenshots so you can see it for yourselves. Also --and this is weird-- the virus apparently is trying to call a Windows process named csrcs.exe!! Again, I'll post the screenshots.
If this is a virus, then it's like a fish out of the water on my Ubuntu, it's probably trying to do something but it can't find its way around, it's kinda funny, but Im worried because I also dual-boot Windows XP, I'm having a hard time trying to remember the name KHY, it's a very weird acronym, it's the acronym of a disease, according to what I googled, i'm sure it's a virus!!! Anyway it's HARD to remember!!!
what can I do about this? How can I see the "script"? can Ubuntu kick its ***?how can I clean my Windows?
View 9 Replies
View Related
Apr 25, 2011
I found this website [URL].., and am able to go all the way up to "ecryptfs-mount-private" command, but the response I get after entering my login passphrase is "mount: Operation not permitted". I am not sure why though I am guessing I have a permission issue.
View 1 Replies
View Related
Nov 27, 2010
Where exactly can i find the filesystem of netbook? the left panel contains a files and folders icon which only shows me recent documents... also how do i access my windows and files on other hard disk driveS?
View 5 Replies
View Related
Jan 2, 2010
I'm recently switched my work laptop from running winXP to runing karmic. I'm still at the stage of getting my various bits and bobs working correctly. One of these I (may) have a problem with is backup's. I've ran backuppc on a ubuntu 9.04 box in the attic for the last year or so and I've been backing up my laptop to that. But since the switch, since I have an encrypted home dir, what is being backed up is the encrypted files. First, can I recover these if needed (I kept a copy of my passphrase), or can I get backuppc to ssh in as me with my home dir mounted correctly?
Backuppc is using rsync over ssh I've been using linux on and off since about redhat 5.0, so I'm not afraid of the command line or vi
View 5 Replies
View Related
Jul 15, 2010
I just encountered a huge problem with my PC. It's a Sony VAIO VGC-RC210G with the first two HDDs in a RAID0 configuration. Windows Vista is installed on the RAID and Kubuntu on another HDD.We had a power outage yesterday and the PC was powered on. Vista wouldn't boot, something which I traced to crcdisk.sys (stupid f***ing CRC check)
View 1 Replies
View Related
Dec 6, 2010
My spare laptop refuses to load into the OS (it's running 10.10) or even give me a log-in screen - it sits there with a blinking cursor in the corner of a black screen. It's a 7 year-old laptop I mainly use as a mediacenter, which means I keep very little on it so I figured I'd just do a complete reinstall and move on.
So I threw in a livecd to grab the one folder I needed before I was going to wipe the drive, but apparently at some point this folder got permission locked, and it won't let me open it or copy it to an external through the livecd. Is there any way I can get at this folder?
View 1 Replies
View Related
Aug 14, 2009
I know it is not advisable to write to a NTFS drive with linux. Though I'm using Knoppix and Fedora 11, is it safe to access my video and music files from linux, while I am working under them or would it be best to use external media to get them.
View 2 Replies
View Related
Jun 18, 2010
I am not sure if this is the right place to ask, but I am trying to find out how I can modify forms on my Windows partion. I am running a dual boot with Win 7 and Open Suse 11.2. I can access and read the NTFS files but can not change them or add to the Win 7 Partion. How do I change ownership and permissions so that I can work on them from Open Suse 11.2
View 9 Replies
View Related
Jul 24, 2010
I have just managed to install OpenSuSE 11.3.When I try to access a NTFS partition (holding my .MP3s) I get the error message.There is no application installed that can open files of the type block device (inode/blockdevice).Do you want to install one? Attempting to install one doesn't seem to lead anywhere othe than the same sequence. I used to be able to read NTFS partitions with 11.2 - what has changed?
View 6 Replies
View Related