Reference Library for macOS workstation Falco Threat Detection Rules

Sysdig Secure enables you to create and customize Threat Detection Rules to secure your environment. This topic provides all the fields and events that apply to Falco rules for macOS workstations.

Fields

Field Class: macOS Workstation

NameTypeDescription
proc.pidUINT64Process ID
proc.exepathCHARBUFExecutable path
proc.nameCHARBUFExecutable basename
proc.argsCHARBUFCommand line arguments
proc.cmdlineCHARBUFProcess command line (name + args)
proc.ppidUINT64Parent process ID
mac.uidUINT64User ID
mac.gidUINT64Group ID
evt.typeCHARBUFEvent type name
evt.categoryCHARBUFEvent category
mac.evt.numUINT64Event counter
mac.evt.rawtimeUINT64Raw epoch nanoseconds
fd.nameCHARBUFFile path or network tuple
fd.directoryCHARBUFParent directory
fd.filenameCHARBUFFile basename
fd.sipCHARBUFServer IP address
fd.cipCHARBUFClient IP address
fd.sportUINT64Server port
fd.cportUINT64Client port
fd.ripCHARBUFRemote IP address
fd.lipCHARBUFLocal IP address
fd.rportUINT64Remote port
fd.lportUINT64Local port
fd.l4protoCHARBUFLayer 4 protocol
mac.signalUINT64Signal number
mac.target.pidUINT64Target PID
mac.target.exeCHARBUFTarget executable
mac.dns.nameCHARBUFDNS query name
mac.dns.rcodeUINT64DNS response code
mac.dns.answersCHARBUFDNS resolved addresses
proc.cwdCHARBUFProcess current working directory
proc.pnameCHARBUFParent process name
proc.pexeCHARBUFParent executable path
proc.pcmdlineCHARBUFParent command line
proc.durationUINT64Process duration in nanoseconds
proc.nthreadsUINT64Number of threads
proc.fdopencountUINT64Number of open files
proc.pid.tsUINT64Process start time (epoch ns)
user.uidUINT64Real user ID
user.nameCHARBUFUsername
group.gidUINT64Real group ID
group.nameCHARBUFGroup name
proc.sidUINT64Audit session ID
proc.apidUINT64Ancestor PID
proc.anameCHARBUFAncestor name chain (child::parent::grandparent::… up to init or 16 levels)
proc.aexeCHARBUFAncestor exe chain (child::parent::grandparent::… up to init or 16 levels)
evt.countUINT64Event count (always 1)
evt.argsCHARBUFAll event arguments
evt.argCHARBUFSingle event argument by name (use evt.args for all)
proc.exelineCHARBUFProcess exe path and arguments
fd.typeCHARBUFFile descriptor type
fd.typecharCHARBUFFile descriptor type character
fd.sockfamilyCHARBUFSocket family
mac.exepathCHARBUFProcess executable path (alias of proc.exepath)
evt.is_ioUINT64True for I/O events
evt.is_io_readUINT64True for read I/O events
evt.is_io_writeUINT64True for write I/O events
evt.resCHARBUFEvent result as string
evt.rawresUINT64Event result as number
evt.failedUINT64True if event failed
fd.is_serverUINT64True for server connections
user.homedirCHARBUFUser home directory
user.shellCHARBUFUser login shell
user.loginnameCHARBUFUser login name
mac.fd.domainCHARBUFDomain name from DNS resolution for network connections
mac.lineCHARBUFFull sysdig-style output line: evtnum time procname (pid.tid) evtname args
thread.tidUINT64Thread ID
mac.btm.executable_pathCHARBUFPath to the executable for a registered Background Task Manager item (LaunchAgent, LaunchDaemon, or login item). Available on btm_launch_item_add / btm_launch_item_remove events.
mac.btm.item_typeUINT64BTM item kind: 0=USER_ITEM, 1=APP, 2=LOGIN_ITEM, 3=AGENT (LaunchAgent), 4=DAEMON (LaunchDaemon).
mac.btm.legacyUINT641 if the item was registered via a legacy plist drop (vs SMAppService), 0 otherwise.
mac.btm.managedUINT641 if the item was installed by an MDM / configuration profile, 0 otherwise.
mac.btm.uidUINT64Owning user uid for the BTM item (0 = system-wide LaunchDaemon).
mac.profile.identifierCHARBUFConfiguration profile identifier on profile_add / profile_remove events.