conand / dissecting-malware-101

Malware Analysis Workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dissecting Malware 101

Practical workshop on malware analysis.

How to analyze malware? Let's create one first... and then analyze it!

Build a Custom Zeus Botnet

  • Download and import VBox VMs
  • Run scripts/enable-network.sh to allow bot VM to access Internet
  • Download Zeus Builder
  • Configure sample (config.txt & webinject.txt)
  • Build sample
  • Upload bot.exe and config.bin to C&C server (/var/www/ccserver)
  • Infect the VM

Static Analysis

  • file, strings
  • Disassemble bot.exe
  • Look for code injection techniques:
    • (Hint) CreateRemoteThread

More on code injection: injectopi

Dynamic Analysis

  • Install and set-up Cuckoo
  • Analyze bot.exe
  • Inspect cuckoo's report
  • Dump the memory
  • Inspect the memory dump
  • Analyze Network Traffic

Extracting WebInject Targets

Automate the extraction of the WebInject targets given a sample.

  • Develop a cuckoo package
  • Execute the sample
  • Open the browser
    • Interesting info are allocated into the browser's address space!
  • Dump the memory
  • Look for interesting stuff! ;-)
  • Automate extraction, volatility plugin?

About

Malware Analysis Workshop

License:GNU General Public License v3.0


Languages

Language:PHP 96.4%Language:Python 1.9%Language:CSS 0.8%Language:HTML 0.4%Language:JavaScript 0.3%Language:Shell 0.2%