• Aucun résultat trouvé

Basic Analysis

N/A
N/A
Protected

Academic year: 2022

Partager "Basic Analysis"

Copied!
15
0
0

Texte intégral

(1)

Basic Analysis

Malware Analysis CSCI 4976 - Fall 2015

Branden Clark

(2)

Meeting Title

Overview

• Your malware analysis VM

• Static Analysis

• Dynamic Analysis

RPISEC - 08/29/2014 2

(3)

Virtual Machines

• What is a virtual machine?

–Simply, a computer in your computer –Really, a (usually) segregated virtual

environment that emulates real hardware

•There are different types/methods that we’ll discuss later

(4)

Meeting Title

Virtual Machines

• Why are we using a virtual machine?

–Safety, reliability, consistency, it’s easy

–Keep the malware in a contained environment –Snapshots

•Completely 100% revert the VM to an earlier state

•If things go bad, no one cares

RPISEC - 08/29/2014 4

(5)

Virtual Machines

• What’s in mine?

–Free Microsoft IE testing VM license

– Lots of free tools all pre-setup for you (C:\tools)

•Common ones are linked on the desktop

•symlinks to desktop and tools directory in cygwin home dir

•debuggers, disassemblers, analyzers, unpackers, compilers… the list goes on

•You’ll know them all soon enough!

(6)

Meeting Title

Overview

• Your malware analysis VM

• Static Analysis

• Dynamic Analysis

RPISEC - 08/29/2014 6

(7)

Static Analysis

• Analyzing a sample without executing any code

• Safe(r)

•Infer functionality

• Provides good pointers to guide dynamic and advanced analysis

• Lots of tools involved!

(8)

Meeting Title

Static Analysis

• Can be an easy way to find signatures –URLs, filenames, registry keys

•But it’s not always so easy!

RPISEC - 08/29/2014 8

(9)

Hands on

• VM time!

If your VM isn’t working, don’t worry.

Just jot down the tools and the process.

We’ll resolve any issues and review at office hours!

(10)

Meeting Title

Overview

• Your malware analysis VM

• Static Analysis

• Dynamic Analysis

RPISEC - 08/29/2014 10

(11)

Dynamic Analysis

• Analyze what happens when the sample is executed

• Are files made, processes created,

websites contacted, files downloaded/

executed, etc

• Shows you the effect the malware has on the system/network

(12)

Meeting Title

Hands on

• VM time!

If your VM isn’t working, don’t worry.

Just jot down the tools and the process.

We’ll resolve any issues and review at office hours!

RPISEC - 08/29/2014 12

(13)

Lab

• Friday 09/04, same place same time

• Problems will be similar to those you saw today

• Must answer a few questions about each sample

–See the PMA Chapter Labs for examples

(14)

Introduction Malware - 09/01/2015

Additional Material

• Related Readings:

– Practical Malware Analysis

• Chapter 1. Basic Static Analysis

• Chapter 2. Malware Analysis in Virtual Machines

• Chapter 3. Basic Dynamic Analysis

The chapter outlines make a great reference

14

(15)

References

1. Sikorski, Michael, and Andrew Honig. Practical Malware Analysis the Hands-on Guide to Dissecting Malicious Software. San Francisco: No Starch, 2012. Print.

Références

Documents relatifs

Dynamic analysis means that you are analyzing software during its execution on a computer or in an virtual machine.. • “Black

(a) trained staff with the necessary equipment and supplies are available; (b) at least two skilled persons are available to carry out the resuscitation; (c) there are

Executable as code / readable / writeable / contains executable code / contains unitialized data Les droits de la section et le fait que la première section d'un exécutable soit

Chapter 2 introduces malware types, file infection strategies by viruses, malware analysis, antivirus detection, and the countermeasures to malware analysis and detection

ž  If the parameter is TRUE and the thread that called this function is the same thread that called the extended I/O function (ReadFileEx or WriteFileEx), the function returns

ž  Generate clean state (normal state) data flow graphs and use them as policies. —  How user name and password data propagates in

•  Malpimp – based on pydbg (pure python debugger).. •  API tracing, using configuration file you can configure the tool according to

Reversing and Malware Analysis Training [2012] Page 32 For interested users, here are simple instructions on how to fix Import Table using ImpRec..  When you are at the OEP of