macOS enumeration

Get information from:

  • Settings: Users and usernames

  • Applications: some run on defaults, or there may be null or blank passwords

  • Permissions on key directories and files

  • Shares if macOS shares resources over the network

  • Samba, the linux equivalent to smb, may give information about the windows network and its shares

  • NFS information can give information on permissions and the network services

  • Network services such as DNS, LDAP, SMTP, etc

  • Various built-in commands and utilities

Tools

SwiftBelt is a macOS enumerator inspired by @harmjoy’s Windows-based Seatbelt enumeration tool. SwiftBelt does not use any command line utilities and instead uses Swift code (leveraging the Cocoa Framework, Foundation libraries, OSAKit libraries, etc.) to perform system enumeration. This can be leveraged on the offensive side to perform enumeration once you gain access to a macOS host.

Remediation

  • Minimize the attack surface by removing any unnecessary or unused service.

  • Ensure IPTables is configured to restrict the access.


Last update: 2025-05-19 17:27