ENNAENNA

Ruler

๐Ÿ”ฅ Offensive Ops ยท Go

Ruler is a tool for interacting with Exchange servers through the MAPI/HTTP or RPC/HTTP protocol. It exploits legitimate Exchange and Outlook features (mail rules, forms, and home pages) to achieve remote code execution on target workstations. When a user opens Outlook, malicious rules trigger command execution, or injected forms/home pages render attacker-controlled content with script execution. Ruler can also enumerate valid credentials via brute-force, perform autodiscover probing, and extract the Global Address List. It demonstrates how Exchange features become attack vectors in enterprise environments.

2.3kstars
362forks
14issues
Updated 1y ago
+I use this

Installation

$ go install github.com/sensepost/ruler@latest

Use Cases

  • Achieving RCE via malicious Outlook mail rules
  • Exploiting Exchange forms for code execution
  • Enumerating Exchange credentials and GAL extraction
  • Demonstrating email infrastructure attack paths

Tags

exchangeoutlook-abusercemail-rulesmapipentestingshells

Community Reviews

More in Offensive Ops