Skip to content

Grat2 C2 JARM - Detect

ID: grat-c2-jarm

Severity: info

Author: pussycat0x

Tags: c2,jarm,network,ir,osint,cti,shad0w,tcp

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

id: grat-c2-jarm
info:
name: Grat2 C2 JARM - Detect
author: pussycat0x
severity: info
description: |
GRAT2 is a Command and Control (C2) tool written in python3 and the client in .NET 4.5. The main idea came from Georgios Koumettou who initiated the project.
reference:
- https://github.com/cedowens/C2-JARM
- https://github.com/r3nhat/GRAT2
metadata:
max-request: 1
tags: c2,jarm,network,ir,osint,cti,shad0w,tcp
tcp:
- inputs:
- data: 2E
type: hex
host:
- "{{Hostname}}"
matchers:
- type: dsl
dsl:
- "jarm(Hostname) == '2ad2ad0002ad2ad00042d42d000000ad9bf51cc3f5a1e29eecb81d0c7b06eb'"
# digest: 4a0a00473045022100bab9ffac615381975ce8df1f5227cb127836a9cf837f0d03aa42b9ab0a88d5e502201bbc0ff6208951fcdfe83494cd657aa578f4bb0cb1bb8b4a225e9b6f5135ca0f:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "network/jarm/c2/grat2-c2-jarm.yaml"

View on Github