Skip to content

How to Prevent Malware Installed via Fake DMG Files

Issue Description 

Fake DMG installers disguise malware as popular apps, updates, or utilities. 

Common Causes 

  • Downloading software from ads or pop-ups 
  • Fake “Flash/Player/Codec” updates 
  • Pirated software 

Step-by-Step Solution 

Step 1: Verify App Source 

  • Download apps only from: 
  • Mac App Store 
  • Official developer websites 

 

Step 2: Inspect DMG Contents 

  • Legitimate apps usually contain only: 
  • App icon → Applications folder shortcut 
  • Be suspicious of installers asking for passwords 

 

Step 3: Block Unknown Installers 

  • System Settings → Privacy & Security 
  • Ensure Allow apps from App Store and identified developers 

 

Step 4: Delete Suspicious DMGs Immediately 

  • Empty Trash 
  • Restart Mac 

Explore Further 

  • Review Gatekeeper logs 

Prevention & Best Practices 

If a DMG asks for admin access unexpectedly – stop.