Portex

Java library to analyse portable executable files with a special focus on malware analysis.

This project is maintained by katjahahn

Welcome to PortEx

PortEx is a Java library for static malware analysis of portable executable files. Its focus is on PE malformation robustness and anomaly detection. PortEx is written in Java and Scala, and targeted at Java applications.

Features

For more information have a look at PortEx Wiki and the Documentation

Using Portex

Including PortEx to a Maven Project

You can include PortEx to your project by adding the following Maven dependency:

<dependency>
        <groupId>com.github.katjahahn</groupId>
        <artifactId>portex_2.10</artifactId>
        <version>2.0.8</version>
</dependency>

Building Portex

Requirements

PortEx is build with sbt

Compile and Build with sbt

To simply compile the project invoke:

$ sbt compile

To create a jar:

$ sbt package

For a fat jar (not recommended):

$ sbt assembly

Create Eclipse Project

You can create an eclipse project by using the sbteclipse plugin. Add the following line to project/plugins.sbt:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")

Generate the project files for Eclipse:

$ sbt eclipse

Import the project to Eclipse via the Import Wizard.

Authors and Contact

Katja Hahn

E-Mail: portx (at) gmx (dot) de

License

Apache License, Version 2.0