~/talk

Nothing but Net: Leveraging macOS's Networking Frameworks to Heuristically Detect Malware

Talkat Black Hat USA 2023 · 2023-08-05..08-10· [security]
slides:none on file

Shows concrete macOS techniques to detect malware by observing host network activity: enumerates sockets via proc_pid APIs, extracts remote endpoints and bytes, and uses a private NetworkStatistics framework (nettop → netbottom → the UI tool dut) to get per-connection byte counts. Demonstrates a working DNS proxy (proxying, parsing with libresolv, identifying processes via audit tokens) and a full filter-based firewall (Lulu) that can block flows; details entitlements, limitations, and successful detections (e.g., 3CX/3cx supply-chain indicators).

AI-written summary · about

  1. 0:00Introduction to the topic
  2. 2:29Network monitoring overview
  3. 7:25Malware analysis examples
  4. 13:07File descriptor enumeration
  5. 17:29Network statistics framework
  6. 22:17DNS monitoring techniques
  7. 35:40Firewall development
  8. 37:52Detecting malicious activity
  9. 42:02Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.