吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 7620|回复: 27
收起左侧

[Unpackers] Unlicense (dynamically unpack executables protected with Themida/WinLicense)

[复制链接]
风吹屁屁凉 发表于 2022-6-9 16:13

Unlicense CI status x64 CI status x86

A Python 3 tool to dynamically unpack executables protected with
Themida/WinLicense 2.x and 3.x.

Warning: This tool will execute the target executable. Make sure to use this
tool in a VM if you're unsure about what the target executable does.

Note: You need to use a 32-bit Python interpreter to dump 32-bit executables.

Features

  • Handles Themida/Winlicense 2.x and 3.x
  • Handles 32-bit and 64-bit PEs (EXEs and DLLs)
  • Handles 32-bit and 64-bit .NET assemblies (EXEs only)
  • Recovers the original entry point (OEP) automatically
  • Recovers the (obfuscated) import table automatically

Known Limitations

  • Doesn't handle .NET assembly DLLs
  • Doesn't automatically recover OEPs for executables with virtualized entry points
  • Doesn't produce runnable dumps in most cases
  • Resolving imports for 32-bit executables packed with Themida 2.x is pretty slow

How To

Download

You can either download the PyInstaller-generated executables from the "Releases"
section or fetch the project with git and install it with pip:

$ git clone https://github.com/ergrelet/unlicense.git
$ pip install unlicense/

Use

If you don't want to deal the command-line interface (CLI) you can simply
drag-and-drop the target binary on the appropriate (32-bit or 64-bit) unlicense
executable (which is available in the "Releases" section).

Otherwise here's what the CLI looks like:

$ unlicense --help
NAME
    unlicense - Unpack executables protected with Themida/WinLicense 2.x and 3.x

SYNOPSIS
    unlicense EXE_TO_DUMP <flags>

DESCRIPTION
    Unpack executables protected with Themida/WinLicense 2.x and 3.x

POSITIONAL ARGUMENTS
    EXE_TO_DUMP
        Type: str

FLAGS
    --verbose=VERBOSE
        Type: bool
        Default: False
    --pause_on_oep=PAUSE_ON_OEP
        Type: bool
        Default: False
    --force_oep=FORCE_OEP
        Type: Optional[typing.Optional[int]]
        Default: None
    --target_version=TARGET_VERSION
        Type: Optional[typing.Optional[int]]
        Default: None
    --timeout=TIMEOUT
        Type: int
        Default: 10

NOTES
    You can also use flags syntax for POSITIONAL ARGUMENTS


Down:
https://github.com/ergrelet/unlicense/releases

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
笙若 + 1 + 1 谢谢@Thanks!

查看全部评分

本帖被以下淘专辑推荐:

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

qqcs6 发表于 2022-6-9 21:24
Themida/WinLicense自动脱壳哦
szbloger 发表于 2023-9-27 18:02
要脱壳的是个32位的exe,系统是win10 64位,python以前装的3.10.8,运行没报错,只是最后dump很慢,得到了一个3倍大的exe,图标正常,但无法运行。用查壳工具看这个脱壳后的exe,没有壳了。

D:\P***>unlicense.exe P***.exe
INFO - Detected packer version: 2.x
frida-agent: Setting up OEP tracing for "P***.exe"
frida-agent: Exception handler registered
frida-agent: OEP found (thread #7036): 0x4012a0
INFO - OEP reached: OEP=0x4012a0 BASE=0x400000 DOTNET=False
INFO - Looking for wrapped imports ...
INFO - Potential import wrappers found: 43
INFO - Generating exports' hashes, this might take some time ...
INFO - Resolving imports ...
INFO - Imports resolved: 287
INFO - Generated the fake IAT at 0xef0000, size=0x47c
INFO - Patching call and jmp sites ...
INFO - Dumping PE with OEP=0x4012a0 ...
INFO - Fixing dump ...
INFO - Rebuilding PE ...
INFO - Output file has been saved at 'unpacked_P***.exe'
178111512233 发表于 2022-6-9 16:24
nihao3312 发表于 2022-6-9 16:28
小白求问这是啥
云烟成雨 发表于 2022-6-9 17:05
一个中文都没有,这不是考研吾友吗
kexue8 发表于 2022-6-9 17:50
英语大佬才能看懂,谢谢!
cyantea 发表于 2022-6-10 09:48
提示包版本错误,
[Shell] 纯文本查看 复制代码
ERROR: Could not find a version that satisfies the requirement pyscylla<0.12.0,>=0.11.0 (from unlicense) (from versions: 0.10.0)
ERROR: No matching distribution found for pyscylla<0.12.0,>=0.11.0

请问如何解决,谢谢!

点评

https://pypi.org/project/pyscylla/#files 这个手动装一下看看  详情 回复 发表于 2022-6-20 11:14
cyantea 发表于 2022-6-10 11:37
请问有安装成功的吗。
yasenhacker 发表于 2022-6-11 12:56
有没有成品exe????楼主把编译版本发过来吧,谢谢
黑色靓点 发表于 2022-6-11 17:01
不行啊返回这个 ERROR - Original entry point wasn't reached before timeout
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-24 08:40

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表