PE Maker(仮) 公開場【BM】

PE 形式の実行ファイルのエクスポートテーブルと再配置テーブルを書き換えるができるツールPEMaker(仮)を作ってみました。

ダウンロード (PEMKR021.zip v0.21 / 2011/1/28)
ダウンロード (PEMKR031.zip v0.31 / 2011/2/7)
ダウンロード (PEMKR040.zip v0.40 / 2011/2/10)
ダウンロード (PEMKR059.zip v0.59 / 2012/3/20)
ダウンロード (PEMKR060.zip v0.60 / 2012/3/29)
ダウンロード (PEMKR082.zip v0.82 / 2012/11/14)
ダウンロード (PEMKR083.cab v0.83 / 2023/8/15)

*致命的な問題があったバージョンは削除してあります。


pem
実行して、ロードするとファイルの基本情報が表示されます。
これはよくあるツールにも実装された機能です。

pem2
DataDirのセクションがどこに属しているか表示することができます。
また、再配置テーブルをロードした後、書き換えて保存することができます。

pem3
セクションテーブルの情報を表示します。
これもよくある機能。

pem4
こちらが、目玉のエクスポートテーブル書き換えツール。
関数を追加したり、削除したりできます。
ただしセクションに空きがないと実装できませんが。

pem5
こちらは、インポートテーブルを表示する機能。

今後実装したい機能
・基本情報の充実。
・基本情報の書き換え。
・インポートテーブルの書き換え機能。
・セクションテーブルの拡張。

似たようなのに、海外で、PE Tool なるものがあるんですが、バグがあって、全然直らないので、業を煮やして作ってみたわけです。

おすすめ

33件のフィードバック

  1. yoka より:

    xpsp2res.dllのimagebaseを書き換えようとすると0x40ae99で0x00000000に対する読み込み違反というエラーが出ます。
    exportテーブルの無いdllの様ですがこういったものは未対応なのでしょうか?

  2. yoka より:

    xpsp2res.dllのimagebaseを書き換えようとすると0x40ae99で0x00000000に対する読み込み違反というエラーが出ます。
    exportテーブルの無いdllの様ですがこういったものは未対応なのでしょうか?

  3. Dibya より:

    I love it . I wanna know ever you wish to enhance this tool . You are my life savvier.

  4. Dibya より:

    I love it . I wanna know ever you wish to enhance this tool . You are my life savvier.

  5. Dibya より:

    any chance to add feature for adding section easilY?

  6. Dibya より:

    any chance to add feature for adding section easilY?

  7. piotrhn より:

    How add import to dll using PE MAKER ?
    I want add new import to KERNEL32->NTDLL=RtlRunOnceExecuteOnce.
    I tried with CFF EXplorer, PE MAKER but always crash STOP.
    I can’t add any import doesn’t existed before in a library.
    Please write me step-by-step how add import properly.
    Thanks.

  8. piotrhn より:

    How add import to dll using PE MAKER ?
    I want add new import to KERNEL32->NTDLL=RtlRunOnceExecuteOnce.
    I tried with CFF EXplorer, PE MAKER but always crash STOP.
    I can’t add any import doesn’t existed before in a library.
    Please write me step-by-step how add import properly.
    Thanks.

  9. 黒翼猫 より:

    Set Function name:RtlRunOnceExecuteOnce.
    set Hint : any number.(not dupulicated and ordered)
    set runtime ntdll.dll(set from pull down menu)
    And press Add2.
    And save
    note: it should requires enough import table.

  10. 黒翼猫 より:

    Set Function name:RtlRunOnceExecuteOnce.
    set Hint : any number.(not dupulicated and ordered)
    set runtime ntdll.dll(set from pull down menu)
    And press Add2.
    And save
    note: it should requires enough import table.

  11. piotrhn より:

    I successfully added import to kernel32.
    When try add to user32/gdi32/crypt32->advapi32->SystemFunction040. He adds some functions from kernel32. Please check this. XP SP3.
    When try add any import on NT4 files EXPORT table is corrupted.
    thanks

  12. piotrhn より:

    I successfully added import to kernel32.
    When try add to user32/gdi32/crypt32->advapi32->SystemFunction040. He adds some functions from kernel32. Please check this. XP SP3.
    When try add any import on NT4 files EXPORT table is corrupted.
    thanks

  13. Dibya より:

    Blackwingcat can you tell me how to add import to ws2_32.dll of xp?

  14. Dibya より:

    Blackwingcat can you tell me how to add import to ws2_32.dll of xp?

  15. 黒翼猫 より:

    I think we should not add import.
    Plz try it export. (ex: ntdll -> kernel32 )

  16. 黒翼猫 より:

    I think we should not add import.
    Plz try it export. (ex: ntdll -> kernel32 )

  17. Dibya より:

    Some export code require some ntdll function in ws2_32 I do not know how to do .
    May be we need some update in pemaker

  18. Dibya より:

    Some export code require some ntdll function in ws2_32 I do not know how to do .
    May be we need some update in pemaker

  19. Dibya より:

    Please can you add PE64 support.I want to patch ACPI sys of Windows Vista for XP64

  20. Dibya より:

    Please can you add PE64 support.I want to patch ACPI sys of Windows Vista for XP64

  21. Gian Luca より:

    The Latest versión download is down with a bad gatebay!

  22. Gian Luca より:

    The Latest versión download is down with a bad gatebay!

  23. 黒翼猫 より:

    >>12
    You should release to block browser referrer(ex security soft)
    It does not allow direct link.

  24. 黒翼猫 より:

    >>12
    You should release to block browser referrer(ex security soft)
    It does not allow direct link.

  25. idk より:

    Hi, how to use export table properly in ntoskrnl? i wanted to add missing imports, I tried and system prevents to boot
    can you explain a detailed step by step? i want to do same with DLLs
    thank you

  26. idk より:

    Hi, how to use export table properly in ntoskrnl? i wanted to add missing imports, I tried and system prevents to boot
    can you explain a detailed step by step? i want to do same with DLLs
    thank you

  27. 黒翼猫 より:

    >>14
    1. Create New Section Table
    2. Move Export Table ( after it ,check ntoskrnel.exe valid data)
    3. Add Function
    4. insert new code to space which you find or create.

  28. 黒翼猫 より:

    >>14
    1. Create New Section Table
    2. Move Export Table ( after it ,check ntoskrnel.exe valid data)
    3. Add Function
    4. insert new code to space which you find or create.

  29. Windows 2000 Warrior より:

    hi , i think you have upload the 0.82 one not 0.83 , because the two are same date of modification and same size and name.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です