How do I hide files and folders? (two questions in one post)

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
James_Smith
Level 4
Level 4
Posts: 335
Joined: Wed Feb 18, 2015 6:41 pm

How do I hide files and folders? (two questions in one post)

Post by James_Smith » Tue Feb 13, 2018 6:30 am

1. I know how to view hidden files and folders, but I need to know how to hide them. How do I do this?

2. Ok, so question number 1 deals with just hiding folders or files so I don't have to look at them (for example, a folder called .comments or $RECYCLE.BIN). Question number 2 deals with something slightly shady. Well, not too shady. First, let me give you some background before I ask it:

I am an American working in the Middle East. My religious beliefs are not the same as the national religion in the country I work in (or the countries I visit from time-to-time). The governments of these countries, as you probably have heard, are quite authoritarian. Legally, they could come into my room, take my laptop, and look at everything on it without a warrant, and they could arrest me for some of the things I have on my hard drive and in my internet history.

That said, they've never done it and I have never heard of them doing it to anyone. None of the locals have ever heard of them doing it to a Westerner and it's even rare for them to do it to an Arab.

So, the question is (and you've probably guessed): how do I super-hide things? How do I hide things so that a superficial perusal won't reveal anything suspicious?
sudo apt-get --purge remove macOS

User avatar
catweazel
Level 12
Level 12
Posts: 4204
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How do I hide files and folders? (two questions in one post)

Post by catweazel » Tue Feb 13, 2018 6:32 am

James_Smith wrote:
Tue Feb 13, 2018 6:30 am
So, the question is (and you've probably guessed): how do I super-hide things? How do I hide things so that a superficial perusal won't reveal anything suspicious?
VeraCrypt. Don't use the default extension and name the file something innocuous.
There is no spoon.

User avatar
absque fenestris
Level 4
Level 4
Posts: 258
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: How do I hide files and folders? (two questions in one post)

Post by absque fenestris » Tue Feb 13, 2018 6:52 am

Since 6 pm on 22 October 4004 BC there is an excellent device to store data... unfortunately still version 1.0
Linux Mint 18.3 Sylvia (Mate) 32-bit - Acer D250 Netbook (Intel Atom N270, 2 GB RAM, 120 GB SSD)

Cosmo.
Level 22
Level 22
Posts: 16692
Joined: Sat Dec 06, 2014 7:34 am

Re: How do I hide files and folders? (two questions in one post)

Post by Cosmo. » Tue Feb 13, 2018 7:06 am

Take a look at gnome-encfs-manager; you need this PPA: ppa:gencfsm/ppa

encfs allows you to encrypt single folders, where you can store sensible data.

User avatar
Faust
Level 4
Level 4
Posts: 269
Joined: Thu Jul 14, 2016 3:40 am

Re: How do I hide files and folders? (two questions in one post)

Post by Faust » Tue Feb 13, 2018 7:18 am

catweazel wrote:
Tue Feb 13, 2018 6:32 am

VeraCrypt. Don't use the default extension and name the file something innocuous.
And for additional " plausible deniability " , create a hidden volume .
" And so it goes " - Kurt Vonnegut
The modern reality and the satirical parody are rapidly converging .

jglen490
Level 3
Level 3
Posts: 150
Joined: Sat Jul 15, 2017 9:57 pm

Re: How do I hide files and folders? (two questions in one post)

Post by jglen490 » Tue Feb 13, 2018 7:47 am

These are all useful ideas, but remember this: a sufficiently motivated cyber forensics investigator will be able to find anything.

You already know this, but stay respectful of your host. That's all they want from you, and that's all you want from them.
I feel more like I do than I did when I got here.
Toshiba A135-S2386, Intel T2080, ATI Radeon® Xpress 200M Chipset, 2GB RAM, 500GB

User avatar
catweazel
Level 12
Level 12
Posts: 4204
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: How do I hide files and folders? (two questions in one post)

Post by catweazel » Wed Feb 14, 2018 12:34 am

jglen490 wrote:
Tue Feb 13, 2018 7:47 am
These are all useful ideas, but remember this: a sufficiently motivated cyber forensics investigator will be able to find anything.
Please read the OP's requirements.
How do I hide things so that a superficial perusal won't reveal anything suspicious?
There is no spoon.

Anoep
Level 1
Level 1
Posts: 15
Joined: Sat Jan 13, 2018 7:56 am

Re: How do I hide files and folders? (two questions in one post)

Post by Anoep » Wed Feb 14, 2018 3:42 am

Hello,

I don't know if this can done on Linux but when i am using Windows and i have files or maps i want to hide, i do a cut/pate of the file and maps i want to hide and pasting it in the windows system map (c:\Windows) making it look like it is a windows system map. i found this tip many years ago on internet. i did this with important files to me so nobody see them. can this also be done in linux? cuase when people try to look on your computer they always look at familiar places not in system maps.

Cosmo.
Level 22
Level 22
Posts: 16692
Joined: Sat Dec 06, 2014 7:34 am

Re: How do I hide files and folders? (two questions in one post)

Post by Cosmo. » Wed Feb 14, 2018 6:40 am

A bad attempt. Alone the fact, that you are able in Windows to write in a system folder (folder = map) reveals, that your usage of Windows is wrong and its security has big holes.

Besides that: Security by obscurity is only an illusion.

jglen490
Level 3
Level 3
Posts: 150
Joined: Sat Jul 15, 2017 9:57 pm

Re: How do I hide files and folders? (two questions in one post)

Post by jglen490 » Wed Feb 14, 2018 7:39 am

catweazel wrote:
Wed Feb 14, 2018 12:34 am
jglen490 wrote:
Tue Feb 13, 2018 7:47 am
These are all useful ideas, but remember this: a sufficiently motivated cyber forensics investigator will be able to find anything.
Please read the OP's requirements.
How do I hide things so that a superficial perusal won't reveal anything suspicious?
I have no problem with his requirements - he needs to keep certain things from casual view. Also, in his situation, he could be subject to deeper inspection. And, again, as I said all the previous suggestion were useful.
I feel more like I do than I did when I got here.
Toshiba A135-S2386, Intel T2080, ATI Radeon® Xpress 200M Chipset, 2GB RAM, 500GB

User avatar
Joe2Shoe
Level 3
Level 3
Posts: 155
Joined: Wed Oct 18, 2017 8:12 pm
Location: Ozone

Re: How do I hide files and folders? (two questions in one post)

Post by Joe2Shoe » Wed Feb 14, 2018 10:22 am

Personally, I use LUKS with an encrypted container (hidden volume) on a separate partition, with a 24-digit password, then that volume is encrypted within yet another LUKS container, with a different 24-digit password. Out of sight, out of mind. Motivated forensic sleuths may be able to find it, but breaking those two 24-digit passwords will take a devastating toll on their great grandchildren's grandchildren's sanity. All that is done on a laptop that is NEVER connected to the internet via wifi or lan.

New 25-GPU Monster Devours Strong Passwords In Minutes
https://it.slashdot.org/story/12/12/05/ ... in-minutes
"Tolerance is the refuge of men without conviction."
"Common sense is not so common" - Voltaire

Mattyboy
Level 5
Level 5
Posts: 607
Joined: Thu Mar 26, 2015 2:17 pm

Re: How do I hide files and folders? (two questions in one post)

Post by Mattyboy » Wed Feb 14, 2018 12:22 pm

When I go abroad I 'hide' personal files, banking details, travel documents etc, in 'plain sight' There's nothing more suspicious than a double encrypted hard drive containing a bunch of hidden folders containing a bunch of encrypted files... the more you try to hide the more determined 'they' will be the find it AND question what it is you're hiding.

Some countries can legally lock you up for not handing over passwords anyway, under obstruction laws.

I simply place a veracrypt file on my walkman, change the extension to MP3 or FLAC, give it an actual consistent track name and drop it in with an album. Of course I consider the size... a 3GB mp3 is gonna look a bit iffy ain't it.

Obviously I wouldn't have veracrypt installed on any devices, oh? whats that for? but its freeware and not OS agnostic so its a simple download if I need it. ( consider the format of the file container... can't read ext4 on a Windows machine )

Banking and personal details is one thing, not respecting the laws and customs of another country is another thing entirely, maybe you should just leave these things at home, one suspects you'll only have yourself to blame.

User avatar
Joe2Shoe
Level 3
Level 3
Posts: 155
Joined: Wed Oct 18, 2017 8:12 pm
Location: Ozone

Re: How do I hide files and folders? (two questions in one post)

Post by Joe2Shoe » Wed Feb 14, 2018 12:46 pm

In my case, the hard drive is not double-encrypted, or encrypted at all. All you see is the partition that contains the encrypted data and several folders within, but you do not see the LUKS-encrypted hidden folders beyond that.
I used TrueCrypt before the NSA backdoored it. Since VeraCrypt is a knock-off of TrueCrypt, is the NSA backdoor applicable to it, also? Who knows.
I don't trust ANY free or retail encryption software, as it probably has complied with the NSA's wishes. IMO, only LUKS gives you total control and privacy.
I think it's a good policy to encrypt data with one encryption program with an insane 24-digit password, then encrypt that encrypted data again with another encryption program with a different insane 24-digit password, and then stored in a hidden LUKS folder on a separate partition or drive.
And anyone who travels abroad with encrypted data...well, good luck.
"Tolerance is the refuge of men without conviction."
"Common sense is not so common" - Voltaire

User avatar
Flemur
Level 14
Level 14
Posts: 5012
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How do I hide files and folders? (two questions in one post)

Post by Flemur » Wed Feb 14, 2018 12:58 pm

James_Smith wrote:
Tue Feb 13, 2018 6:30 am
...and in my internet history.
Browser set to delete the history when you exit?

There might be more places they hide information about you, but doing the below doesn't hurt anything.
This is for firefox, obviously, but I'd expect google's product to be even sneakier:

Code: Select all

rm -rf ~/.macromedia
rm -rf ~/.cache/mozilla/*
rm -rf ~/.mozilla/firefox/cache/firefox/*
rm -rf ~/.mozilla/firefox/profile-name/datareporting/*
rm -rf ~/.mozilla/firefox/profile-name/saved-telemetry-pings
rm -rf ~/.mozilla/firefox/profile-name/storage/default
rm -rf ~/.mozilla/firefox/profile-name/storage/temporary
Edit: an easy way to sorta-hide other files is put them in a password-ed zip file and start it's name with a ".".
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Mattyboy
Level 5
Level 5
Posts: 607
Joined: Thu Mar 26, 2015 2:17 pm

Re: How do I hide files and folders? (two questions in one post)

Post by Mattyboy » Wed Feb 14, 2018 1:27 pm

Joe2Shoe wrote:
Wed Feb 14, 2018 12:46 pm
I don't trust ANY free or retail encryption software, as it probably has complied with the NSA's wishes. IMO, only LUKS gives you total control and privacy.
A while back I read an 'official.gov' GCHQ ( British NSA ) website ( which was taken down just after 'snoopers charter' Mrs May was elected ) which spoke about 'government recommended' methods of securing your private/business data. It covered Windows, Mac and Linux. Forget the exact wording but the gist of it regarding LUKS was that it 'wasn't recommended' because there was no way its reliability and privacy could be confirmed, it was 'better' to use propriety methods.

Guessing because propriety vendors can be 'coerced' into building back doors and handing over passwords.

The very fact that one of the worlds most intrusive governments were recommending against it probably suggests LUKS is probably one of the most secure methods of encrypting data there is. ;)
Last edited by Mattyboy on Wed Feb 14, 2018 1:55 pm, edited 1 time in total.

User avatar
trytip
Level 6
Level 6
Posts: 1019
Joined: Tue Jul 05, 2016 1:20 pm

Re: How do I hide files and folders? (two questions in one post)

Post by trytip » Wed Feb 14, 2018 1:51 pm

first of all CHANGE your DNS servers to something that doesn't log you. if you are using the ISP DNS then they can see all your traffic and searches. i like using https://dns.watch/index because it will not keep any logs and is based in Germany. it is slow at times, but fearing for your religion status it will help hide things from country ISPs. https://welcome.opendns.com/ openDNS is also good it will log your DNS traffic but you have the option to DELETE it when you make an account with openDNS.

so first change your DNS
rightclick on network tray Edit Connections
select your LAN or WIFI connection and open it
click IPv4 Settings Tab
in Method dropdown select Automatic (DHCP) addresses only
and in DNS Servers paste 84.200.69.80, 84.200.70.40
hit save at bottom right then you have to restart your connection
on network tray and UNcheck Enable Networking, this will turn off lan or wifi, then enable it back

go to https://ipleak.net/ and check to see what you have in DNS Address
Last edited by trytip on Wed Feb 14, 2018 9:39 pm, edited 1 time in total.
Image

User avatar
Joe2Shoe
Level 3
Level 3
Posts: 155
Joined: Wed Oct 18, 2017 8:12 pm
Location: Ozone

Re: How do I hide files and folders? (two questions in one post)

Post by Joe2Shoe » Wed Feb 14, 2018 2:36 pm

Flemur, most people forget about those. I include those in a bash script and run it before I shutdown.
DNS servers that do not log traffic is the only way to fly.
"Tolerance is the refuge of men without conviction."
"Common sense is not so common" - Voltaire

Post Reply

Return to “Software & Applications”