YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_NET_Adcollector_Sep22_1
Detects ADCollector Tool - a lightweight tool to quickly extract valuable information from the Active Directory environment for both attacking and defending
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-09-15
- Modified
- 2026-02-23
- Score / Quality
- 75 / 85
What this rule detects
Detects ADCollector Tool - a lightweight tool to quickly extract valuable information from the Active Directory environment for both attacking and defending
Targets: Windows PE.
It defines 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_HKTL_NET_Adcollector_Sep22_1 : FILE
{
meta:
= "Detects ADCollector Tool - a lightweight tool to quickly extract valuable information from the Active Directory environment for both attacking and defending"
= "Florian Roth (Nextron Systems)"
= "48b376e4-752b-523e-b34e-65b6944c33fb"
= "2022-09-15"
= "2026-02-23"
= "https://github.com/dev-2null/ADCollector"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_names.yar#L55-L75"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "241390219a0a773463601ca68b77af97453c20af00a66492a7a78c04d481d338"
= "cc086eb7316e68661e3d547b414890d5029c5cc460134d8b628f4b0be7f27fb3"
= "66d5363e885378c442e7532f69d4c36618d7a0f5dbe67490631d1ed5078d3fba"
= 75
= 85
= "FILE"
strings:
$x1 = "ADCollector.exe --SPNs --Term key --Acls 'CN=Domain Admins,CN=Users,DC=lab,DC=local'" wide fullword
$s1 = "ADCollector.exe" wide fullword
$s2 = "ENCRYPTED_TEXT_PASSWORD_ALLOWED" ascii fullword
$s3 = "\\Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}\\MACHINE\\Microsoft\\Windows NT\\SecEdit\\GptTmpl.inf" wide
$s4 = "[-] Password Does Not Expire Accounts:" wide
$s5 = " * runAs: {0}" wide fullword
condition:
uint16( 0 ) == 0x5a4d and filesize < 300KB and ( 1 of ( $x* ) or 3 of them )
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $x1 | text | "ADCollector.exe --SPNs --Term key --Acls 'CN=Domain Admins,CN=Users,DC=lab,DC=local'" | wide fullword |
| $s1 | text | "ADCollector.exe" | wide fullword |
| $s2 | text | "ENCRYPTED_TEXT_PASSWORD_ALLOWED" | ascii fullword |
| $s3 | text | "\\Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}\\MACHINE\\Microsoft\\Windows NT\\SecEdit\\GptTmpl.inf" | wide |
| $s4 | text | "[-] Password Does Not Expire Accounts:" | wide |
| $s5 | text | " * runAs: {0}" | wide fullword |
Condition
uint16( 0 ) == 0x5a4d and filesize < 300KB and ( 1 of ( $x* ) or 3 of them )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 300KB (a cheap guard that skips large files).
- At least 1 patterns in ( $x* ) must match.
- At least 3 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 241390219a0a773463601ca68b77af97453c20af00a66492a7a78c04d481d338
- cc086eb7316e68661e3d547b414890d5029c5cc460134d8b628f4b0be7f27fb3
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: 48b376e4-752b-523e-b34e-65b6944c33fb
Tags:FILE
Related rules
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-08-09
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-08
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-27
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-03
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02
- Hack toolSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-07
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16