Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
Herramientas/GitHubGitHub/ceramicskate0/sharpexchange
Herramientas de PhishingExfiltración de DatosRecopilación de InformaciónPost-ExplotaciónPruebas de PenetraciónAprendizaje y EducaciónRed Teaming
GitHubceramicskate0/sharpexchange

SharpExchange

Herramienta en C# para interactuar con MS Exchange basada en la documentación de MS

Ver Repositorio
10210hace 3 añosRevisado por Kitploit

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

SharpExchange

Este POC de línea de comandos demuestra cómo se puede usar C# para interactuar con Microsoft Exchange (EWS), mostrando que puede hacerse con otras herramientas además de PowerShell. Sí, es un POC simple para mostrar cómo podría hacerse. No es 100%. Si quieres lucir tus habilidades l33t de codificador C# o de red teamer, abre un pull request, por favor :) Esto es solo con fines educativos. No lo uses para cosas malvadas o ilegales.

MS Documentation:

  • https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.exchangeservice?view=exchange-ews-api
  • https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/get-started-with-ews-managed-api-client-applications
  • https://learn.microsoft.com/en-us/dotnet/api/microsoft.exchange.webservices.data.mailbox?view=exchange-ews-api
  • Busca en Google «Microsoft.Exchange.WebServices» ;)

¿Te gusta el trabajo? No olvides darle al botón de estrella

root@kitploit:~
            
            Required Inputs (Must be in order shown):

            ReadEmailExchange.exe WEBDomain DomainName Password InternalDomainName DUMPItem
                Example WEBDomain: webmail.domain.com
                Example DomainName: User1
                Example Password: SecretPassword
                Example InternalDomainName: domain
                
                Options for DUMPItem:
                    Inbox
                    Sent
                    Drafts
                    Deleted
                    Skype
                    Attachments (Will Download Atatchments from the Inbox, DeletedItems, and Sent Items folders)
                    SendEmail ToEmailAddress~Subject~Body(Body can be file path)~AttachmentLocalFilePath(optional)
                    All (All == will try to dump all the items above)(I would default to this if unsure)

            Optional Inputs:

            ReadEmailExchange.exe WEBDomain DomainName Password InternalDomainName DUMPItem NumberOfSearchResultsToReturn
                            Example NumberOfSearchResultsToReturn (will return a maximum of the number,default 10): 10
                            Note: NumberOfSearchResultsToReturn must be a int/whole number

            Optional Inputs:

            ReadEmailExchange.exe WEBDomain DomainName Password InternalDomainName DUMPItem NumberOfSearchResultsToReturn OutputFileNameOrPath
                Example OutputFileNameOrPath: C:\file.csv
                Note: Program needs permission to write to location
                

No lo uses para el mal ni si no estás autorizado. Esto es solo con fines educativos. No es un exploit.

Dependencias de terceros:

  • https://github.com/zzzprojects/html-agility-pack

  • Microsoft.Exchange.WebServices

Si alguien decide usar esto (ya está marcado por algunos A/V en disco), aquí tienes algunas ideas para IOC:

  • Es C#, por lo que AMSI probablemente esté activo en sistemas modernos donde esté habilitado

  • Puede escribir archivos de texto en el disco

  • Usa la cadena de user agent predeterminada de .NET (Por ejemplo: ... .NET CLR ...)

  • Al ejecutarse, el exe de .NET podría crear el archivo temporal en la estructura de carpetas de la cuenta del usuario con su nombre.

  • GUID de la aplicación

  • Existen muchas más oportunidades si se revisa el código

Créditos:

  • Stackover flow
  • MS Docs
Descargar herramienta