• Stars
    star
    146
  • Rank 252,769 (Top 5 %)
  • Language
    C#
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Abusing Exchange via EWS

EWSToolkit

The EWS Toolkit is a .NET Framework Library that wraps around the EWS Managed API. It contains easy methods and overloads to abuse various EWS functionality in C# or PowerShell tooling.

Example

using Toolkit;

namespace DemoApp
{
    class Program
    {
        static void Main(string[] args)
        {
            var connection = new ExchangeConnection(ExchangeVersion.Exchange2013_SP1);
            connection.SetConnectionCredentials(args[0], args[1].ToSecureString());
            connection.SetAutodiscoverUrl(args[0]);

            var mail = new Email(connection);
            mail.AddRecipient("[email protected]");
            mail.SetSubject("Test Email");
            mail.SetBodyFromText("This is a test email");
            mail.Send();
        }
    }
}

More Repositories

1

Sherlock

PowerShell script to quickly find missing software patches for local privilege escalation vulnerabilities.
PowerShell
1,831
star
2

Watson

Enumerate missing KBs and suggest exploits for useful Privilege Escalation vulnerabilities
C#
1,491
star
3

TikiTorch

Process Injection
C#
748
star
4

SharpC2

Command and Control Framework written in C#
C#
338
star
5

MiscTools

Miscellaneous Tools
C#
259
star
6

AmsiScanBufferBypass

Bypass AMSI by patching AmsiScanBuffer
C#
235
star
7

Aggressor-Script

Collection of Aggressor Scripts for Cobalt Strike
PowerShell
172
star
8

CsWhispers

Source generator to add D/Invoke and indirect syscall methods to a C# project.
C#
147
star
9

DInvoke

Dynamically invoke arbitrary unmanaged code from managed code without P/Invoke.
C#
130
star
10

RuralBishop

D/Invoke port of UrbanBishop
C#
102
star
11

PPEnum

Simple BOF to read the protection level of a process
C
95
star
12

SCMUACBypass

C++
88
star
13

SpawnWith

C++
84
star
14

ExternalC2.NET

.NET implementation of Cobalt Strike's External C2 Spec
C#
81
star
15

Fork-n-Run

C#
69
star
16

CollectorService

C#
50
star
17

Rosplant

C#
50
star
18

AsyncNamedPipes

Send and receive messages over Named Pipes asynchronously.
C#
39
star
19

AsyncSockets

Example of async client/server sockets in .NET 5
C#
16
star
20

Mjolnir

Shell
14
star
21

offensive-defence

HTML
13
star
22

McAfeeForOutlook

Beef hook OWA / Outlook
JavaScript
11
star
23

EncryptedKeyExchange

C#
11
star
24

p0wnedLoader

XSLT
9
star
25

SignalRDemo

C#
8
star
26

KerbTestApp

C#
7
star
27

SharpC2-Docs

Python
4
star
28

PacketAlchemy

Playing with packets in C#
C#
3
star
29

rastamouse.me

HTML
3
star
30

Invoke-XMRig

PowerShell
1
star