35
Visual Analysis of Malware Behavior October 11th, 2009

Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Visual Analysis of Malware Behavior

October 11th, 2009

Page 2: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

About Us

• University of Mannheim, Germany

• Laboratory for Dependable Distributed Systems• Security research:

• Analysis of malware and spam• Honeypots / IT-Forensics

Page 3: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Motivation

• Sandbox Service - CWSandbox.org

• Dynamic malware analysis • API-Hooking• Monitors 121 API-Calls out of 20 sections• Detailed Behavior Report (XML)

• Up to 4000 new samples per day• Manual processing not possible

Page 4: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Motivation

• What are the main Operations?• Network activities?• Registry access?• Filesystem operations? • ...

• Which operations do not occur?•

Page 5: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Motivation

• What are the main Operations?• Network activities?• Registry access?• Filesystem operations? • ...

• Which operations do not occur?•

Which samples are of interest?

Page 6: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 7: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 8: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 9: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 10: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Visualization

• CWSandbox report is “too” detailed• Use visualization for abstraction• Simple to create• Comprehensible

• Treemaps and Threadgraphs

• Static version (Python, matplotlib)• Dynamic version using JavaScript (flot, Jit)

Page 11: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Treemaps

• Quick overview• Displays the distribution of all operations• No information about the sequence of operations

• Use case: Malware clustering

Page 12: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 13: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 14: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 15: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 16: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 17: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 18: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 19: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 20: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 21: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Threadgraph

• Detailed view of the monitored behavior• Every monitored operation of all executed threads• Sequential order preserved

• Truncated Reports only (static version)• Zoom necessary (JavaScript)

Page 22: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 23: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 24: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 25: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 26: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 27: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 28: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Analysis of malicious PDFs

• Monitor Adobe Acrobat Reader within CWSandbox• Autoupdate disabled

• Short experiment:• 200 benign PDFs• 17 malicious PDFs

• Two different Treemaps• Malicious operations are observable at once

Page 29: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 30: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 31: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 32: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 33: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls
Page 34: Visual Analysis of Malware Behavior - VizSec · 2020-06-03 · Motivation • Sandbox Service - CWSandbox.org • Dynamic malware analysis • API-Hooking • Monitors 121 API-Calls

Conclusion

• First attempt on visualization - need Feedback• Plots are accessible on CWSandbox.org

• Static + JavaScript version

• Study on image clustering and classification• Development of further visualization types