YARA · Volexity threat-intel
VOLEXITY_Hacktool_Golang_Reversessh_Fahrj
Detects a reverse SSH utility available on GitHub. Attackers may use this tool or similar tools in post-exploitation activity.
- Author
- threatintel@volexity.com
- Date
- 2024-04-10
- Modified
- 2024-04-12
- Score / Quality
- 75 / 80
What this rule detects
Detects a reverse SSH utility available on GitHub. Attackers may use this tool or similar tools in post-exploitation activity.
It defines 10 patterns (10 text, 0 hex, 0 regex).
YARA-X says: warning[duplicate_pattern_value]: duplicate pattern value
Summary generated from the rule's metadata and condition.
Rule source
rule VOLEXITY_Hacktool_Golang_Reversessh_Fahrj : FILE MEMORY
{
meta:
= "Detects a reverse SSH utility available on GitHub. Attackers may use this tool or similar tools in post-exploitation activity."
= "threatintel@volexity.com"
= "332e323f-cb16-5aa2-8b66-f3d6d50d94f2"
= "2024-04-10"
= "2024-04-12"
= "TIB-20240412"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-04-12 Palo Alto Networks GlobalProtect/indicators/rules.yar#L82-L116"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "161fd76c83e557269bee39a57baa2ccbbac679f59d9adff1e1b73b0f4bb277a6"
= "38b40cc7fc1e601da2c7a825f1c2eff209093875a5829ddd2f4c5ad438d660f8"
= 75
= 80
= "FILE, MEMORY"
= "all"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 10423
= 5
strings:
$fun_1 = "createLocalPortForwardingCallback"
$fun_2 = "createReversePortForwardingCallback"
$fun_3 = "createPasswordHandler"
$fun_4 = "createPublicKeyHandler"
$fun_5 = "createSFTPHandler"
$fun_6 = "dialHomeAndListen"
$fun_7 = "createExtraInfoHandler"
$fun_8 = "createSSHSessionHandler"
$fun_9 = "createReversePortForwardingCallback"
$proj_1 = "github.com/Fahrj/reverse-ssh"
condition:
any of ( $proj_* ) or 4 of ( $fun_* )
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $fun_1 | text | "createLocalPortForwardingCallback" | |
| $fun_2 | text | "createReversePortForwardingCallback" | |
| $fun_3 | text | "createPasswordHandler" | |
| $fun_4 | text | "createPublicKeyHandler" | |
| $fun_5 | text | "createSFTPHandler" | |
| $fun_6 | text | "dialHomeAndListen" | |
| $fun_7 | text | "createExtraInfoHandler" | |
| $fun_8 | text | "createSSHSessionHandler" | |
| $fun_9 | text | "createReversePortForwardingCallback" | |
| $proj_1 | text | "github.com/Fahrj/reverse-ssh" |
Condition
any of ( $proj_* ) or 4 of ( $fun_* )In plain words (Heuristic)
- At least one pattern in ( $proj_* ) must match.
- At least 4 patterns in ( $fun_* ) must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 161fd76c83e557269bee39a57baa2ccbbac679f59d9adff1e1b73b0f4bb277a6
Licence & attribution
Author: threatintel@volexity.com
Source repository: Volexity threat-intel @ 3a9d0b5245
Licence: BSD 2-Clause License (stated in the rule's own meta)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright notice: Copyright 2022 by Volexity, Inc.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 332e323f-cb16-5aa2-8b66-f3d6d50d94f2
Metadata
| os | all |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 10423 |
| version | 5 |
Related rules
- Hack toolVolexity threat-intel· threatintel@volexity.com· 2024-01-09
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-02
- APT / threat actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03