Atlantiraptor Docs

MacOS.System.Wifi

Type: Client · Author: Wes Lambert - @therealwlambert

Parses the macOS airport preferences to enumerate previously joined WiFi networks.

This can be useful in determining where a machine has been, or if a user has joined an illegitimate or unauthorized wireless network.

Precondition: SELECT OS From info() where OS = 'darwin'

Parameters

Name Type Default Description
WifiGlob string /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist

Source

Defined in artifacts/definitions/MacOS/System/Wifi.yaml.

name: MacOS.System.Wifi
description: |
  Parses the macOS airport preferences to enumerate previously joined
  WiFi networks.
 
  This can be useful in determining where a machine has been, or if a
  user has joined an illegitimate or unauthorized wireless network.

type: CLIENT

author: Wes Lambert - @therealwlambert

parameters:
  - name: WifiGlob
    default: /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist

precondition:
      SELECT OS From info() where OS = 'darwin'

sources:
  - query: |
      LET WifiPlist = SELECT OSPath from glob(globs=WifiGlob)
      LET KnownNetworksQuery = SELECT get(member="KnownNetworks") as KN
         FROM plist(file=WifiPlist.OSPath)
         WHERE KN

      LET EachNetwork = SELECT * from foreach(
         row=KnownNetworksQuery,
         query={
            SELECT _key AS Network, _value AS Value
            FROM items(item=KN)
         })
      SELECT Network,
             Value.SSIDString AS SSID,
             Value.SecurityType AS SecurityType,
             Value.HiddenNetwork AS HiddenNetwork,
             Value.PersonalHotspot AS PersonalHotspot,
             Value.AddedAt AS AddedAt,
             Value.LastAutoJoinAt AS LastAutoJoinAt,
             Value.LastManualJoinAt AS LastManualJoinAt,
             Value AS _Data
      FROM EachNetwork

Edit this page on GitHub

© 2026 Atlant Security EOOD. Atlantiraptor is free software under the GNU Affero General Public License v3. It is based on Velociraptor by Velocidex, and keeps its copyright notices. Velociraptor is a trademark of its owner; Atlantiraptor is not affiliated with or endorsed by it.