YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_RAR_Ntdsdit
Detects suspicious RAR file that contains ntds.dit or SAM export
Suspicious / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
- Author
- Florian Roth (Nextron Systems)
- Date
- 2019-12-16
- Modified
- 2022-11-15
- Score / Quality
- 70 / 85
What this rule detects
Detects suspicious RAR file that contains ntds.dit or SAM export
It defines 3 patterns (1 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
susp-rar-ntdsdit.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_RAR_Ntdsdit : FILE
{
meta:
= "Detects suspicious RAR file that contains ntds.dit or SAM export"
= "Florian Roth (Nextron Systems)"
= "da9e160f-3213-5027-bb0f-bf80ab3d5318"
= "2019-12-16"
= "2022-11-15"
= "https://www.cybereason.com/blog/operation-soft-cell-a-worldwide-campaign-against-telecommunications-providers"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_rar_exfil.yar#L2-L18"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "12e527b040e02f573f2a6e0fac4ff99ec441bf189c9bb7e1f763619c079a5bfa"
= 70
= 85
= "FILE"
strings:
$x1 = "ntds.dit0" ascii fullword
$x2 = { 0? 53 41 4D 30 01 00 03 }
$x3 = { 0? 73 61 6D 30 01 00 03 }
condition:
uint32( 0 ) == 0x21726152 and 1 of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "ntds.dit0" | ascii fullword |
| $x2 | hex | { 0? 53 41 4D 30 01 00 03 } | |
| $x3 | hex | { 0? 73 61 6D 30 01 00 03 } |
Condition
uint32( 0 ) == 0x21726152 and 1 of themIn plain words (Heuristic)
- The file must start with the RAR magic.
- At least 1 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
Licence & attribution
Author: Florian Roth (Nextron Systems)
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: da9e160f-3213-5027-bb0f-bf80ab3d5318
Tags:FILE
Related rules
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-27
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-06-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- Suspicious / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10