Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mr3830849

macrumors newbie
Original poster
Oct 20, 2021
3
0
If I record some very private information in a text file, the path is /Users/<username>/untitled-text.txt. How to prevent spyware from scanning my files in the background and protect private files on macOs.

Another question is, can bookmarks and browsing history in the browser be stolen by spyware and uploaded to the server?

macOs 14.4.1
 
You're on a network, and there are others not in your household on the network too?

You can erase browser history after every use.
 
How to prevent spyware from scanning my files in the background and protect private files on macOs.
If you have malware on your Mac, it can potentially look at (and modify) anything. Your documents, browsing history, etc.

Best solution: Keep spyware (and other malware off your Mac). Apple's inbuilt protections (along with sensible practices by yourself) may be enough. Otherwise, assess your risk and, if you are a likely target, look at greater protection.

There are other routes to disclosure of your files. Make sure you block them off. For example, other members of your household, visitors, etc. Also theft.
 
So first of all, good job thinking in this way. You clearly have a good grasp on what is going on with your system and are cognizant of where your data is.

So first off, the text file. This is something you may want to encrypt with a password. You can make encrypted containers with an open source tool called Veracrypt. Just stick with default options when encrypting and choose a strong password.

For your browser history and such, what you’re worrying about there is called an info stealer. Info stealers generally do what it says on the tin, steal info. Like browser history, but also your login cookies, which enable an attacker to paste them into their browser and be logged in to all your accounts. Info stealers sometimes come as a part of a document, or as a script that it tries to trick you into running. One thing you can do is enable the option in Finder to display all file type extensions so that you can see the true nature of the files you’re about to click.

To protect against this, simply do not install sketchy browser extensions and do not disable any of the security MacOS comes with by default. It may be slightly inconvenient, but if you stick with MacOS’s default security settings you don’t need to worry much about this beyond applying common sense to what you install.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.