TheManticoreProject: Building Offensive & Defensive Security Tools in Go

Listen to this Post

Featured Image
TheManticoreProject is a long-term initiative aimed at developing a robust ecosystem for offensive and defensive security tools using the Go programming language. The first major release, Manticore, is a feature-rich Go library designed for crafting, parsing, and interacting with network protocols.

🔗 Project Repository: TheManticoreProject/Manticore

Key Features of Manticore:

  • Protocol Crafting & Parsing: Supports various network protocols (SMB in progress).
  • Cross-Platform: Works on multiple operating systems.
  • Offensive & Defensive Capabilities: Designed for both red and blue team operations.
  • Community-Driven: Open-source and encourages contributions.

You Should Know:

1. Installing Manticore in Go

To get started, clone the repository and install dependencies:

git clone https://github.com/TheManticoreProject/Manticore.git 
cd Manticore 
go mod download 
go build 

2. Basic Usage: Crafting a TCP Packet

package main

import ( 
"github.com/TheManticoreProject/Manticore/network" 
)

func main() { 
pkt := network.NewTCPPacket("192.168.1.1", "192.168.1.2", 8080, 80) 
pkt.Send() 
} 

3. Parsing Network Traffic

sniffer := network.NewPacketSniffer("eth0") 
packets := sniffer.Capture(10) // Capture 10 packets 
for _, pkt := range packets { 
fmt.Println(pkt.String()) 
} 

4. Contributing to Manticore

  • Fork the repository.
  • Make changes and submit a pull request.
  • Follow the project’s contribution guidelines.

5. Testing SMB Protocol (Upcoming Feature)

smbClient := smb.NewClient("192.168.1.100", "user", "pass") 
err := smbClient.Connect() 
if err != nil { 
log.Fatal(err) 
} 
files, err := smbClient.ListShares() 

What Undercode Say:

TheManticoreProject is a promising addition to the cybersecurity toolkit, leveraging Go’s performance and simplicity for security automation. Here are some related Linux/Windows commands for security testing:

Linux Commands:

 Network Scanning 
nmap -sV 192.168.1.1

Packet Capture 
tcpdump -i eth0 -w capture.pcap

Exploit Compilation 
gcc exploit.c -o exploit -m32 -fno-stack-protector -z execstack 

Windows Commands:

 Port Scanning 
Test-NetConnection -ComputerName 192.168.1.1 -Port 80

SMB Enumeration 
Get-SmbShare -ComputerName TARGET

Process Injection 
Invoke-ReflectivePEInjection -PEBytes $bytes -ProcessID 1234 

The project’s roadmap includes more protocol support, making it a valuable resource for penetration testers and defenders alike.

Prediction:

As Manticore evolves, expect more contributions from the infosec community, leading to rapid adoption in red team operations and defensive automation.

Expected Output:

A fully functional Go-based security library with extensive protocol support, enabling faster development of offensive and defensive security tools.

References:

Reported By: Remigascou Github – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 Telegram