Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ GRAT2 - Command And Control (C2) Project For Learning Purpose

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š GRAT2 - Command And Control (C2) Project For Learning Purpose


๐Ÿ’ก Newskategorie: IT Security Nachrichten
๐Ÿ”— Quelle: feedproxy.google.com


GRAT2 is a Command and Control (C2) tool written in python3 and the client in .NET 4.0. The main idea came from Georgios Koumettou who initiated the project.


Why we developed GRAT2 ?

We are aware that there are numerous C2 tools out there but, we developed this tool due to curiosity of how C2 and other evasion techniques work. That's all! ;-)


Current Features:

Evasion Techniques:

  • Sandbox (Check whether the machine is in the domain, if not exit).
  • Patch Event Tracing for Windows (ETW) Logging.
  • Patch Antimalware Scan Interface (AMSI).
  • caretrun - Execute command via cmd.exe in a caret format (^i^p^c^o^n^f^i^g) using explorer.exe as Parent PID (Evade some AV/EDRs).

Communication:

  • Encoded HTTP Communication using XOR and base64.
  • Proxy Aware.

Modules:

  • uac - Attempt to bypass UAC using silent disk clean-up with Parent PID Spoofing technique.
  • maketoken - Remove the current token and create a new one using the given credentials (Domain or Local).
  • revtoself - Remove the current token.
  • stealtoken - Attempt to steal a token from a running process and impersonate user (Administrator rights is required).
  • rportfwd - Attempt to create a reverse port forward.
  • whoami - Display the current user.
  • hostname - Display the machine hostname.
  • domain - Display the domain FQDN.
  • screenshot - Take a screenshot.
  • download - Download a file.
  • upload - Upload File.
  • cd - Change Directory.
  • run - Execute command via cmd.exe using explorer.exe as Parent PID.
  • caretrun - Execute command via cmd.exe in a caret format (^i^p^c^o^n^f^i^g) using explorer.exe as Parent PID (Evade some AV/EDRs).
  • sleep - Set new sleep time.
  • exit - Exit.
  • shell - Execute command via cmd.exe.
  • powershell - Execute powershell command using Unmanaged PowerShell.
  • powerscript - Execute powershell scripts using Unmanaged PowerShell.
  • executeassembly - Attempt to execute .NET assemblies in memory.
  • ps - Print the current processes.
  • pwd - Print the current directory.
  • ls - Directory Listing.
  • pid - Print the current Process ID.

Process Injection Techniques:

  • dynamic_injectcrt - Attempt to inject a shellcode into a process using Dynamic Invoke.
  • ppid_processhollow - Attempt to inject a shellcode into a process using Process Hollowing and Parent PID Spoofing (explorer.exe) technique.
  • processhollow - Attempt to inject a shellcode into a process using Process Hollowing technique.
  • injectppidapc - Attempt to inject a shellcode into a process using QueueUserAPC and Parent PID Spoofing (explorer.exe) technique.
  • injectapc - Attempt to inject a shellcode into a process using QueueUserAPC technique.
  • injectcrt - Attempt to inject a shellcode into a remote process using Create Remote Thread technique.

Refer to GRAT2_Shellcodes in order to generate position-independent shellcode using Donut.

TODO:

  • HTTPS Communication Channel.
  • Implement SOCKS5.
  • Fix known issues.

Configure your profile:


  • c2 - Your GRAT2 Server IP Address (Required).
  • sandboxEvasion - If enabled (1), GRAT2 will be executed only on a domain join computer otherwise, GRAT2 will be terminated. If disabled (0), GRAT2 will be executed only on a non domain join computer otherwise, will be terminated (Default: Disabled).
  • patchEtw - If enabled (1), Event Tracing for Windows will be patched (Default: Enabled).
  • patchAmsi - if enabled (1), Antimalware Scan Interface will be patched (Default: Enabled).
  • sleep - Set sleep time (Default: 3 seconds).
  • UserAgent - Set UserAgent (Default: "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; yie11; rv:11.0) like Gecko").
  • initialUrl - Initial GRAT2 HTTP GET request (Default: jquery.js).
  • sendResults - GRAT2 HTTP POST results request (Default: login.aspx).

    NOTE if you change either initialUrl or sendResults string, you have to update the string under GRAT2_Server/handlers.py on line 42 and 78 respectively.


Usage:
  • Open GRAT2 Client (GRAT2_Client.sln) project using Visual Studio, change the solution configuration from Debug to Release and then Build Solution.
  • Start GRAT2 Server:
  • Run GRAT2 Client executable - GRAT2_Client\bin\Release\GRAT2_Client.exe
  • Interact with the agent:

Credits:

Also, acknowledgment for each author and the reference link is highlighted in the source code.


Disclaimer:

This project can only be used for authorized testing or educational purposes. Using this software against target systems without prior permission is illegal, and any damages from misuse of this software will not be the responsibility of the author.



...



๐Ÿ“Œ GRAT2 - Command And Control (C2) Project For Learning Purpose


๐Ÿ“ˆ 28.39 Punkte

๐Ÿ“Œ Low CVE-2018-6866: Learning and examination management system script project Learning and examination management system script


๐Ÿ“ˆ 23.44 Punkte

๐Ÿ“Œ Is learning Linux the same as learning Bash? And if not, what does learning Linux consist of?


๐Ÿ“ˆ 22.6 Punkte

๐Ÿ“Œ DeepMind Cofounder : The Frontier in Artificial Intelligence (AI): General-purpose Learning AGI


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ Which linux OS do you recommend learning for career purpose?


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ SecureTea Project - The Purpose Of This Application Is To Warn The User (Via Various Communication Mechanisms) Whenever Their Laptop Accessed


๐Ÿ“ˆ 21.45 Punkte

๐Ÿ“Œ SecureTea Project - The Purpose Of This Application Is To Warn The User (Via Various Communication Mechanisms) Whenever Their Laptop Accessed


๐Ÿ“ˆ 21.45 Punkte

๐Ÿ“Œ Aws-Waf-Header-Analyzer - The Purpose Of The Project Is To Create Rate Limit In AWS WaF Based On HTTP Headers


๐Ÿ“ˆ 21.45 Punkte

๐Ÿ“Œ Purpose-based access control: Putting data access requests into context


๐Ÿ“ˆ 20.93 Punkte

๐Ÿ“Œ Latest Minecraft updates give decorative pots and purpose and make bats look more Minecraft-y (and cute)


๐Ÿ“ˆ 20.82 Punkte

๐Ÿ“Œ Medium CVE-2017-17599: Advance online learning management script project Advance online learning management script


๐Ÿ“ˆ 19.87 Punkte

๐Ÿ“Œ Medium CVE-2022-31525: Deep learning studio project Deep learning studio


๐Ÿ“ˆ 19.87 Punkte

๐Ÿ“Œ VT Code Insight: Updates and Q&A on Purpose, Challenges, and Evolution


๐Ÿ“ˆ 19.03 Punkte

๐Ÿ“Œ 7 Common Machine Learning and Deep Learning Mistakes and Limitations to Avoid


๐Ÿ“ˆ 17.45 Punkte

๐Ÿ“Œ Do you use AWS Amazon non-professionally and if so for what purpose?


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ bcal v2.1 storage and general purpose calculator released


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ bcal - storage expression and general-purpose calculator


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ DNSx - A Fast And Multi-Purpose DNS Toolkit Allow To Run Multiple DNS Queries Of Your Choice With A List Of User-Supplied Resolvers


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ Linktree: No validation to Image upload user can upload ( php APK zip files and can be used as storage purpose)


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ Multi-Purpose Botnet and Infostealer 'Aurora' Rising to Fame


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ How Canadian Tire CIO & CTO balances lessons learned and leading with purpose


๐Ÿ“ˆ 17.25 Punkte

๐Ÿ“Œ Amazon Textractโ€™s new Layout feature introduces efficiencies in general purpose and generative AI document processing tasks


๐Ÿ“ˆ 17.25 Punkte











matomo