• Services
    • Vulnerability Management
    • Pentest
    • Network Pentest
    • Website Security Check
    • Phishing Campaign
    • Mystery Guest
    • Quick scan
  • NetCaptain
  • Knowledge base
  • Partners
    • MSP
  • About us
    • Contact
    • Why CyberAnt
    • News
    • Vacancies
  • Login
  • EN
    • NL
  • Menu Menu

The risk of .DS_Store

The .DS_Store file is automatically created by MacOS when a user opens a folder with Finder, the default file manager of MacOS. The file contains information about which files are in the folder and contains options such as what icons look like.

In most cases this isn’t a big deal, but there are situations where the presence of such files becomes problematic (or an opportunity, depending on whose side you are on).

.DS_Store is not up to date
There are roughly two scenarios where a .DS_Store can cause problems. The first is that the .DS_Store is only updated by Finder. Suppose you create a file “secret-plan-to-overthrow-the-government.docx”, and save it to a USB stick. Then you decide to delete the document with a Windows computer. In that case the .DS_Store will not be updated, but if someone looks in the file, they can see that this file was present. The content may not be in the file, but the name of the deleted file is. Someone who finds the USB stick can then decide to see if he can retrieve the file.

.DS_Store is located on a web server
Another problem can arise when a folder is uploaded from an Apple computer to a website. Normally a visitor cannot see what is in that folder. If you go to www.example.com/ you cannot see which files are on that website, you only see the index file. It is a bad idea to save files with sensitive data in the web root without protecting it, but suppose you have a backup of the database in that folder, backup-05-01-2021-awesome-project.sql. There is a good chance that someone will never find that backup because of the long name. That will be a different story when this file is also reported in the .DS_Store. Then it is easy to read and you run the risk of a data breach.

Contents of the file
The .DS_Store contains binary data, which means that you cannot read the file with a standard text editor. intelx.io has a handy online tool that can read such files.

What can you do to prevent a data breach
The simplest is of course to delete the .DS_Store file. Are you a software developer using Git? Then it is wise to add the .DS_Store file to your .gitignore file.

Het .DS_store is een inhoudsopgave van je map

Search

Search Search

Recent Posts

  • Once again malware found in US Code Extensions
  • Large-scale attack on popular npm packages: millions of websites and apps potentially affected
  • Age verification on the Internet: what about privacy?
  • Magecart attack claims 8.8 million victims worldwide
  • Help! I have been hacked

CyberAnt is ISO Certified

Iso gecertificeerd

Tags

.DS Store anti-virus award broken access control clickjacking Cryptographic Failures cyberaanval CyberAnt Cybercrime cybercriminelen CyberRisk Cyber Security Datalek Entity injection Etisch Hacker Hacker ict Insecure Design ISO 9001 ISO 27001 IT Infrastructuur beschermen malware Mass Assignment aanval NetCaptain NetCat shell upgraden Netgear ProSAFE switches nominated Open web application Security project Owasp path traversal penetration test pentest Ransomeware aanval Ransomware Responsible Disclosure Secure webshop Security Audit Security audits Security Misconfiguration Server-side request forgery (SSRF) Social Engineering SQL Injection start up of the year vulnerability management web applicatie scanning
CyberAnt is ISO gecertificeerd

Services

  • Pentest
  • Network Pentest
  • Website Security Check
  • Phishing Campaign
  • Mystery Guest

Cyberant

  • Why CyberAnt
  • Partners
  • Knowledge base
  • News
  • About us

Contact

Marconiweg 1
3899 BR Zeewolde

info@cyberant.com
+31 (0)85 047 1590

© Copyright - CyberAnt 2024
  • Link to Facebook
  • Link to LinkedIn
  • Link to Mail
Link to: NetCat shell upgrade Link to: NetCat shell upgrade NetCat shell upgradereverse tcp shellCyberAnt.com Link to: How does the CyberRisk work? Link to: How does the CyberRisk work? CyberRiskCyberAnt.comHow does the CyberRisk work?
Scroll to top Scroll to top Scroll to top

Deze site maakt gebruik van cookies. Door verder te surfen op de site gaat u akkoord met ons gebruik van cookies.

Accepteer instellingenVerberg de mededeling enkelInstellingen

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy statement
Accepteer instellingenVerberg de mededeling enkel