r/tails • • 25d ago

Network How do Tails users safely open a potentially malicious file without risking de-anonymization?

I know Tails can boot into Offline Mode, but then I can’t download the file in that session. If I download the file first and then reboot into Offline Mode, the file is lost on reboot.

I understand that any infection is wiped when I shut down. My worry is being de-anonymized while the file is running.

I know Flatpak can run an app in a sandbox with --unshare=network, but I’m not sure how safe that is. I’d also like a physical switch to disable the Wi-Fi card, but few laptops have one anymore.

Do Tails users have techniques for increasing anonymity when opening potentially malicious files?

10 Upvotes

16 comments sorted by

16

u/one-knee-toe 25d ago

🤔 how about disconnecting your Ethernet cable / turn off wifi?

-2

u/TheWebDever 25d ago

okay, but what if I'm on a network I can't disable?

13

u/Liquid_Hate_Train 25d ago

You don’t need to disable the whole network, just disconnect the device. Removing the cable or disconnecting from the WiFi does this.

2

u/one-knee-toe 25d ago

Idk 🤷

7

u/WonderfulKey9588 25d ago

Install tails on a USB stick and add persistent storage. Start ist and download the file and save it to the persistent storage. You can then restart tails without network again and open the file.

Safest way would be to restart tails on a machine that hast no physical network devices.

6

u/entactoBob 25d ago

"If I download the file first and then reboot into Offline Mode, the file is lost on reboot."

Not if you setup a persistence folder, which TAILS facilitates. And only connect via ethernet; don't even put the credentials for WiFi into the system at all, and you can just disconnect the ethernet cable to be certain you're offline when you want to be offline.

Of course, there are still man-in-the-middle attacks if you're being targeted. Also, the video player has a bug in it that leaks data which can then be used to identify / de-anonymize you. That's been a known bug for years… It's part of a tactic L.E. uses to catch some chesters…

Sounds like you're talking about an app though?

5

u/the11dimensions 25d ago

Very carefully.

2

u/FyingfoxGaming 25d ago

What file is it exactly about?

My worry is being de-anonymized while the file is running.

Tails uses linux ubuntu debian, rarely malicious files can do too much effect for linux.

Pretty sure you can also use Tails System Monitor to completely force-close the file from running even in the background.

Also if you don't have any personal info saved in your Tails then you wouldn't get de-anonymized.

Do Tails users have techniques for increasing anonymity when opening potentially malicious files?

Turning off wifi can also be another way.

Even if opening potentially malicious files somehow goes wrong you can still install Tails again after wiping a usb drive or by just overwrite using Tails clone disk app from another usb drive.

Or you can just delete the malicious files after you use the Tails clone disk app that has malicious files to another usb drive.

1

u/mildly_perturbed31 24d ago

use a vm man, best thing

1

u/The0nlyMadMan 23d ago

Judging by OP’s comments.. Sounds like you’re asking for trouble

1

u/Mammoth_Society_8991 9d ago

don’t use wifi at all, use a cable you can physically remove

0

u/Opal-oak 15d ago

Any file transfer at all is a risk of exposure to whomever your threat model may be.
If you're worried it's going to be an issue for you, don't do it. Otherwise, learn more about computing before you go getting yourself into trouble. Safest bet? Don't engage in behaviour that may pose a risk to your health and/or safety where you can.

TL;DR: don't be a fuckwit. Know what you're doing first.

P.S. You look suss as fuck btw. Some questions you're asking don't make sense and the comments that have been left as artifacts or remnants of prior interaction got me saying:
OI! DO NOT BE A FUCKWIT! a little more forcefully.

2

u/TheWebDever 14d ago

Appreciate your feedback but you don’t gotta be jerk to people like me who getting their feet wet in the opsec ecosystem.