f0wl / huan_unpack

Unpacking script for the Huan PE Crypter

Home Page:https://dissectingmalwa.re

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go Report Card

huan_unpack

A simple unpacking script for the Huan PE Crypter by Furkan Göksel. Since this Crypter will likely be used for malicious purposes sooner rather than later I chose to write this unpacking script and a matching Yara rule to detect the usage of Huan.

Usage

go run huan_unpack.go path/to/sample.exe

Screenshot

Tool Screenshot

How does it work?

The payload is encrypted (orange) with AES-CBC and Key (green) and IV (blue) (along with the length of the plain- (red) and ciphertext (yellow)) are stored in the .huan section of the Loader binary.

Hex Editor, POC executable

About

Unpacking script for the Huan PE Crypter

https://dissectingmalwa.re

License:GNU General Public License v3.0


Languages

Language:Go 100.0%