~/talk

DnD: Decompiling Deep Neural Network Compiled Binary

Talkat Black Hat Europe 2022 · 2022-12-05..12-08· [security, machine-learning]
links:none on file
links:none on file
links:none on file
name:Ruoyu Wu
links:none on file
links:none on file
slides:none on file

DnD claims a recoverable high level ONNX model from CPU compiled DNN binaries by locating operator functions, doing loop analysis and symbolic execution, generating operator AST summaries and matching against a reference DB. Implemented in Python on top of Angr, it handles operator fusion and loop rerolling, supports 59 operators, evaluates on 370 collected models recovering roughly 85% of models, and decompiles 15 binaries from two compilers on x86/x86_64 with 100% accuracy on 10,000 test inputs. A real extraction from an NXP i.MX RT1050 yields a working ResNet and enables stronger white box attacks.

AI-written summary · about

  1. 0:00Introduction to edge AI
  2. 3:01The need for decompilation
  3. 5:35Limitations of existing tools
  4. 8:03Background on DNN deployment
  5. 12:35Decompilation methodology
  6. 16:02Semantic extraction
  7. 18:48Model reconstruction
  8. 21:08Handling compiler optimizations
  9. 24:48Composite operator handling
  10. 26:45Evaluation and results
  11. 30:01Real-world case study
~/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.