awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
trustedsec avatar

trustedsec/unicorn

0
View on GitHub↗
3,917 stars·822 forks·Python·16 viewswww.trustedsec.com↗

Unicorn

Unicorn is a collection of utilities for generating malicious HTA files, VBA macros, encoded PowerShell commands, and memory-resident shellcode injection frameworks. It provides tools to create payloads designed to achieve remote code execution by bypassing security controls.

The project focuses on weaponizing office documents through VBA macros and formulas, generating HTA attack vectors, and creating encoded PowerShell payloads. It includes a shellcode injection framework to wrap external shellcode for direct execution in system memory.

The toolkit covers binary-to-base64 conversion for certificate-based file transfers and methods for avoiding disk-based detection. It also includes capabilities for PowerShell script encoding and version downgrade attacks to bypass execution policies and security restrictions.

Features

  • Weaponized Documents - Creates malicious macros and formulas in Office documents to trigger remote code execution.
  • PowerShell Payloads - Creates encoded PowerShell commands and memory injection payloads to bypass security controls.
  • Office Macro Payloads - Generates VBA code for spreadsheets or documents that executes commands automatically upon opening.
  • Shellcode Injection - Provides a framework for wrapping shellcode into commands for direct execution in system memory.
  • VBA Macro Embedding - Embeds malicious command strings inside Office document VBA macros to trigger automatic execution.
  • Payload Encoders - Transforms standard PowerShell scripts into encoded commands to bypass security controls when embedded in macros.
  • Shellcode Injection Wrappers - Parses formatted shellcode exports to wrap them into injection commands for direct execution in memory.
  • Memory-Resident Execution - Generates PowerShell commands that inject code directly into system memory to avoid disk-based antivirus detection.
  • PowerShell Policy Bypasses - Uses encoded commands and HTA files to circumvent execution policies and run unsigned code.
  • HTA Application Execution - Generates HTML Application (HTA) files that leverage the browser environment to execute system commands.
  • HTA Attack Vector Generators - Builds HTML and HTA files that execute commands through web browsers to establish remote shells.
  • In-Memory Payload Execution - Injects shellcode directly into volatile memory to establish remote access and evade disk-based antivirus.
  • Memory Injection Techniques - Implements methods for injecting shellcode directly into system memory to bypass disk-based security monitoring.
  • Office Macro Payload Generators - Generates VBA code and document formulas that trigger command execution when opened in office applications.
  • Macro-less Document Payloads - Creates automated formulas for documents that achieve remote code execution without using macros.
  • Binary Data Exfiltration - Converts binary data into base64 certificates to transfer tools across networks without triggering security alerts.
  • Certificate-Based Payload Delivery - Wraps binary data within certificates to sneak executable code past security filters during file transfers.
  • Covert Binary Transfers - Provides functionality to convert binary files into base64 certificates for covert transfer and local decoding.
  • HTML Application Payloads - Creates HTA files that trigger command execution through a web browser.
  • Version Downgrade Attacks - Forces target systems to use older PowerShell versions to circumvent modern security restrictions and logging.
  • Exploit Development - Generator for shellcode across various attack vectors.
  • Payload Generation - Generates PowerShell-based payloads.

Star history

Star history chart for trustedsec/unicornStar history chart for trustedsec/unicorn

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does trustedsec/unicorn do?

Unicorn is a collection of utilities for generating malicious HTA files, VBA macros, encoded PowerShell commands, and memory-resident shellcode injection frameworks. It provides tools to create payloads designed to achieve remote code execution by bypassing security controls.

What are the main features of trustedsec/unicorn?

The main features of trustedsec/unicorn are: Weaponized Documents, PowerShell Payloads, Office Macro Payloads, Shellcode Injection, VBA Macro Embedding, Payload Encoders, Shellcode Injection Wrappers, Memory-Resident Execution.

What are some open-source alternatives to trustedsec/unicorn?

Open-source alternatives to trustedsec/unicorn include: lolbas-project/lolbas — LOLBAS is a curated database and knowledge base of signed Windows binaries that can be misused to bypass security… samratashok/nishang — Nishang is a PowerShell-based offensive security framework designed for red teaming and penetration testing on Windows… oddcod3/phantom-evasion — Phantom-Evasion is a security research framework designed for generating obfuscated payloads and automating… byt3bl33d3r/offensivenim — OffensiveNim is a red teaming framework and post-exploitation toolkit developed in Nim. It provides a collection of… thewover/donut — Donut is a toolset for loading and executing payloads in memory, featuring a position-independent shellcode generator,… rapid7/metasploit-framework — The framework is a comprehensive penetration testing platform designed for the development, testing, and execution of…

Open-source alternatives to Unicorn

Similar open-source projects, ranked by how many features they share with Unicorn.
  • lolbas-project/lolbasLOLBAS-Project avatar

    LOLBAS-Project/LOLBAS

    8,323View on GitHub↗

    LOLBAS is a curated database and knowledge base of signed Windows binaries that can be misused to bypass security restrictions and execute unauthorized code. It serves as a technical registry that maps trusted system files to their functional capabilities and the offensive tactics they enable. The project distinguishes itself by providing a capability-driven indexing system and a tactics registry that relates legitimate binary functionality to known security evasion techniques. It includes an association layer that links specific system binaries to attack patterns and tactical objectives, pro

    XSLTblueteamdfirliving-off-the-land
    View on GitHub↗8,323
  • samratashok/nishangsamratashok avatar

    samratashok/nishang

    9,951View on GitHub↗

    Nishang is a PowerShell-based offensive security framework designed for red teaming and penetration testing on Windows targets. It functions as a post-exploitation toolkit and payload generator to automate attacks and manage remote targets. The project provides specialized capabilities for bypassing security controls, such as disabling the Antimalware Scan Interface and employing in-memory execution to avoid disk-based detection. It includes a variety of stealthy command and control mechanisms, utilizing non-standard channels like DNS TXT records, ICMP traffic, and webmail for communication a

    PowerShellactivedirectoryhackinginfosec
    View on GitHub↗9,951
  • oddcod3/phantom-evasionoddcod3 avatar

    oddcod3/Phantom-Evasion

    1,449View on GitHub↗

    Phantom-Evasion is a security research framework designed for generating obfuscated payloads and automating post-exploitation tasks during authorized security assessments. It provides a suite of utilities for creating custom executables and libraries intended to test the effectiveness of antivirus and endpoint security detection systems. The framework distinguishes itself through a focus on memory-resident operations, allowing for the execution of encrypted binaries and shellcode directly within system memory. By utilizing techniques such as junk code injection, payload encryption, and remote

    Pythonantivirusapkinjectiondynamic-analysis
    View on GitHub↗1,449
  • byt3bl33d3r/offensivenimbyt3bl33d3r avatar

    byt3bl33d3r/OffensiveNim

    3,033View on GitHub↗

    OffensiveNim is a red teaming framework and post-exploitation toolkit developed in Nim. It provides a collection of low-level primitives and a Windows API wrapper designed for offensive security operations, including malware development and shellcode loading. The project focuses on evasion and obfuscation through techniques such as API unhooking, direct system calls, and anti-debugging mechanisms. It features diverse payload delivery methods, including reflective binary loading, the execution of .NET assemblies via CLR hosting, and various shellcode injection techniques using fibers, COM obje

    Nim
    View on GitHub↗3,033
  • See all 30 alternatives to Unicorn→