YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_M_Hunting_Credtheft_WARPWIRE_1
This rule detects WARPWIRE, a credential stealer written in JavaScript that is embedded into a legitimate Pulse Secure file.
- Author
- Mandiant
- Date
- 2024-01-11
- Modified
- 2024-04-24
- Score / Quality
- 75 / 77
What this rule detects
This rule detects WARPWIRE, a credential stealer written in JavaScript that is embedded into a legitimate Pulse Secure file.
It defines 5 patterns (1 text, 4 hex, 0 regex).
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_M_Hunting_Credtheft_WARPWIRE_1 : FILE
{
meta:
= "This rule detects WARPWIRE, a credential stealer written in JavaScript that is embedded into a legitimate Pulse Secure file."
= "Mandiant"
= "9a6a8783-b531-560d-998d-8aa7c90158a8"
= "2024-01-11"
= "2024-04-24"
= "https://www.mandiant.com/resources/blog/suspected-apt-targets-ivanti-zero-day"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_report_ivanti_mandiant_jan24.yar#L102-L120"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "d0c7a334a4d9dcd3c6335ae13bee59ea"
= "8029df5998166ab3db3319b0dd765ef3356b4b44dc16d2d418015a0f7ffac97e"
= 75
= 77
= "FILE"
strings:
$s1 = {76 61 72 20 77 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 75 73 65 72 6e 61 6d 65 2e 76 61 6c 75 65 3b}
$s2 = {76 61 72 20 73 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 70 61 73 73 77 6f 72 64 2e 76 61 6c 75 65 3b}
$s3 = {2b 77 64 61 74 61 2b 27 26 27 2b 73 64 61 74 61 3b}
$s4 = {76 61 72 20 78 68 72 20 3d 20 6e 65 77 20 58 4d 4c 48 74 74 70 52 65 71 75 65 73 74}
$s5 = "Remember the last selected auth realm for 30 days" ascii
condition:
filesize < 8KB and all of them
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | hex | {76 61 72 20 77 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 75 73 65 72 6e 61 6d 65 2e 76 61 6c 75 65 3b} | |
| $s2 | hex | {76 61 72 20 73 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 70 61 73 73 77 6f 72 64 2e 76 61 6c 75 65 3b} | |
| $s3 | hex | {2b 77 64 61 74 61 2b 27 26 27 2b 73 64 61 74 61 3b} | |
| $s4 | hex | {76 61 72 20 78 68 72 20 3d 20 6e 65 77 20 58 4d 4c 48 74 74 70 52 65 71 75 65 73 74} | |
| $s5 | text | "Remember the last selected auth realm for 30 days" | ascii |
Condition
filesize < 8KB and all of themIn plain words (Heuristic)
- The file must be smaller than 8KB (a cheap guard that skips large files).
- All patterns in the rule 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).
- d0c7a334a4d9dcd3c6335ae13bee59ea
Licence & attribution
Author: Mandiant
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 9a6a8783-b531-560d-998d-8aa7c90158a8
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2024-01-11
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2024-01-11
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2024-01-11
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2022-04-28
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / threat actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20