Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

369
Views
Is it possible to export/dump a DLL from process memory to file?

First off I am aware of 1. Is it possible to export a dll definition from my AppDomain? 2. Is it possible to save a dynamic assembly to disk? 3. How can I extract DLL file from memory dump?

but none of those seem to answer my question particularly.

Consider the following scenario: a C# application loads a DLL from a memory stream (so the DLL isn't directly exposed to the user). Is there a tool that explicitly allows dumping or exporting that particular DLL from memory to disk in its original form?

Note: I'd like someone to show me a full step-by-step procedure of extracting an intact DLL from the memory dump of a C# application.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

WinDbg with managed debugging extensions is capable of this trick. First, download WinDbg (google microsoft debugging tools for windows, they are not standalone download, but parts of other kits).

The next part is installing the psscor2 extension (from https://www.microsoft.com/en-us/download/details.aspx?id=1073) and extract it to the folder where WinDbg is located.

Next, run your program and attach WinDbg to it (its in the menu). Type the following commands:

  1. .load psscor2
  2. !SaveAllModules c:\modules\

Find the module you want and enjoy.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!