Volver al ranking

EgeBalci/amber

Go

Reflective PE packer.

packerpecrypterassemblystubshellcodeshellcode-loaderpayloadamber
Crecimiento de estrellas
Estrellas
1.4k
Forks
219
Crecimiento semanal
Issues
5
5001k
oct 2017sept 2020ago 2023jul 2026
ArtefactosGo Modulesgo get github.com/EgeBalci/amber
README


Inroduction

Amber is a position-independent(reflective) PE loader that enables in-memory execution of native PE files(EXE, DLL, SYS...). It enables stealthy in-memory payload deployment that can be used to bypass anti-virus, firewall, IDS, IPS products, and application white-listing mitigations. Reflective payloads generated by Amber can either be staged from a remote server or executed directly in memory much like a generic shellcode. By default, every generated payload is encoded using the new generation SGN encoder. Amber uses CRC32_API and IAT_API for inconspicuously resolving the Windows API function addresses. After the PE file is loaded and executed in memory, the reflective payload is erased for evading memory scanners.

Installation

Pre-compiled binaries can be found under releases.

Building From Source

The only dependency for building the source is the keystone engine, follow these instructions for installing the library. Once libkeystone is installed on the system, simply just go get it ツ

go install github.com/EgeBalci/amber@latest

Docker Install

Docker

docker pull egee/amber
docker run -it egee/amber

Usage

The following table lists switches supported by the amber.

Switch Type Description
-f,--file string Input PE file.
-o,--out string Output binary payload file name.
-e int Number of times to encode the generated reflective payload
--iat bool Use IAT API resolver block instead of CRC API resolver block
-l int Maximum number of bytes for obfuscation (default 5)
--sys bool Perform raw syscalls. (only x64)
--scrape bool Scrape magic byte and DOS stub from PE.

Example Usage

  • Generate reflective payload.
amber -f test.exe
  • Generate reflective payload with IAT API resolver and encode the final payload 10 times.
amber -e 10 --iat -f test.exe

Docker Usage

docker run -it -v /tmp/:/tmp/ amber -f /tmp/file.exe

Demo

Repositorios relacionados
horsicq/Detect-It-Easy

Program for determining types of files for Windows, Linux and MacOS.

JavaScriptnpmMIT Licensedebuggerdetect
ntinfo.biz
11.2k930
wbthomason/packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config

LuaMIT Licenseneovimnvim
8.1k265
gruntwork-io/terratest

Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

GoGo ModulesApache License 2.0devopstesting
terratest.gruntwork.io
7.9k1.4k
ChristianLempa/boilerplates

Create reusable templates and turn them into configurable workloads for homelabs and self-hosted infrastructure. Free and Open-Source.

PythonPyPIMIT Licenseansibledocker
getboilerplates.app
7.9k1.8k
clong/DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices

HTMLMIT Licensevagrantvagrantfile
5k1k
antonputra/tutorials

DevOps Tutorials

HCLMIT Licensekubernetesterraform
youtube.com/antonputra
4.6k3.1k
chef/bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms

HCLApache License 2.0packer-templatesvagrant
4.4k1.1k
Artemmkin/infrastructure-as-code-tutorial

Infrastructure As Code Tutorial. Covers Packer, Terraform, Ansible, Vagrant, Docker, Docker Compose, Kubernetes

Apache License 2.0infrastructure-as-codepacker
2.3k418
CYB3RMX/Qu1cksc0pe

All-in-One malware analysis tool.

YARAGNU General Public License v3.0linuxmalware-analysis
2k261
NotPrab/.NET-Obfuscator

Lists of .NET Obfuscator (Free, Freemium, Paid and Open Source )

PythonPyPIMIT Licensedotnetobfuscator
1.5k222
timsutton/osx-vm-templates

macOS templates for Packer and VeeWee.

ShellMIT Licensevirtualizationpacker
1.1k244
GoSecure/malboxes

Builds malware analysis Windows VMs so that you don't have to.

PythonPyPIGNU General Public License v3.0malware-analysismalware-research
1k138