---
id: 8268
title: "Using Powershell and Reflection API to invoke methods from .NET Assemblies"
source_domain: netspi.com
source_url: "https://www.netspi.com/blog/technical-blog/network-pentesting/using-powershell-and-reflection-api-to-invoke-methods-from-net-assemblies/"
published_at: "2013-10-14T00:00:00Z"
tags: ["powershell", "penetration-testing", "reflection", "dotnet", "password-decryption", "assembly"]
phying_url: "https://phying.com/item/8268"
lang: en
---

# Using Powershell and Reflection API to invoke methods from .NET Assemblies

## Summary

PowerShell plus the .NET Reflection API can invoke methods from .NET assemblies without an IDE or recompilation, e.g. to decrypt database passwords whose encryption routine lives in the code.

## Intelligence Metadata

- **Sources:** netspi.com
- **Published:** 2013-10-14T00:00:00Z
- **Original:** https://www.netspi.com/blog/technical-blog/network-pentesting/using-powershell-and-reflection-api-to-invoke-methods-from-net-assemblies/
- **Phying News:** https://phying.com/item/8268
