Skip to content

The project is designed as a file resource cloner. Metadata, including digital signature, is extracted from one file and injected into another.

Notifications You must be signed in to change notification settings

sucof/metatwin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

META TWIN

=================================================================
 ___ ___    ___ ______   ____      ______  __    __  ____  ____
|   |   |  /  _]      | /    |    |      ||  |__|  ||    ||    \
| _   _ | /  [_|      ||  o  |    |      ||  |  |  | |  | |  _  |
|  \_/  ||    _]_|  |_||     | -- |_|  |_||  |  |  | |  | |  |  |
|   |   ||   [_  |  |  |  _  | --   |  |  |        | |  | |  |  |
|   |   ||     | |  |  |  |  |      |  |   \      /  |  | |  |  |
|___|___||_____| |__|  |__|__|      |__|    \_/\_/  |____||__|__|
=================================================================
Author: @joevest
=================================================================

The project is designed as a file resource cloner. Metadata, including digital signature, is extracted from one file and injected into another. Note: The signature is added, but not valid.

This project is based on a techique I've used for a few years. This has been updated and modified to include copying digital signatures (thanks @subtee)

Resources

Install

Description

A version of this project has existed for several years to help a binary blend into a target environment by modifying it's metadata. A binary's metadata can be replaced with the metadata of a source. This includes values such as Product Name, Product Version, File Version, Copyright, etc. In addition to standard metadata, sigthief is used to add the digital signature.

Usage

SYNOPSIS
    Meta-Twin copies metadata from one file ane inject into another.

SYNTAX
    Meta-Twin [-Source] <Object> [-Target] <Object> [-Sign] 

    Source     Source binary containing metadata and signature
    
    Target     Target binary that will be updated

    Sign       Optional setting that will add the source's digital signature   

Example

c:> powershell -ep bypass
PS Import-Module .\meta_twin.ps1
PS Meta-Twin -Source c:\windows\system32\netcfgx.dll -Target .\beacon.exe -Sign

About

The project is designed as a file resource cloner. Metadata, including digital signature, is extracted from one file and injected into another.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 73.9%
  • TeX 17.4%
  • Python 5.0%
  • PowerShell 3.7%