Huntress · Vendor blog
From Code to Coverage (Part 6): What netlogon.log Sees That Event 1644 Never Will
Published · Source: Huntress
Entities & attribution
Artifact
ntdsa.dll
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
Artifact
netlogon.dll
“LSASS / netlogon.dll”
Page 1 · Paragraph 54
Artifact
lsass.exe
“Processed by ntdsa.dll, the LDAP server stack inside LSASS.exe”
Page 1 · Paragraph 78
Artifact
get-ldappingdetection.ps1
“Figure 7: Get-LDAPPingDetection.ps1 output during a SOPRANOS lab ldapnomnom run. The script cor…”
Page 1 · Paragraph 304
MITRE ATT&CK behaviors
T1059.001 · PowerShell
Execution · PowerShell execution
“ADWS (PowerShell)”
Page 1 · Paragraph 31
T1003.001 · LSASS Memory
Credential Access · LSASS credential dumping
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
T1574.002 · DLL Side-Loading
Defense Evasion · DLL sideloading
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
T1071.001 · Web Protocols
Command and Control · C2 over HTTPS
“…rovsky, The (almost) complete LDAP guide, TROOPERS24, 2024. https://troopers.de/downloads/troopers24/TR24_The_(almost)_comple…”
Page 1 · Paragraph 406
Indicators of compromise
ipv4
6.3.1[.]3“Reference: [MS-ADTS] § 6.3.1.3 Operation Code for the value table, and § 6.3.3.2 Domain Co…”
Page 1 · Paragraph 113
ipv4
6.3.3[.]2“…S-ADTS] § 6.3.1.3 Operation Code for the value table, and § 6.3.3.2 Domain Controller Response to an LDAP Ping for the disabled…”
Page 1 · Paragraph 113
ipv4
2.2.1[.]12“…ontrolBits = 0x00000010 = USER_NORMAL_ACCOUNT per MS-SAMR § 2.2.1.12 (the SAMR account-control scheme, where a normal account is…”
Page 1 · Paragraph 156
domain
github[.]com“…a fork of the go-ldap library maintained by Lars Karlslund (github.com/lkarlslund/ldap). This library does implement true UDP cLDA…”
Page 1 · Paragraph 169
ipv4
10.0.1[.]10“// Complete execution path: ldapnomnom --server 10.0.1.10 --tlsmode NoTLS main.go: tlsmode = NoTLS → ldap.Dial("tcp",…”
Page 1 · Paragraph 177
ipv4
10.0.1[.]100“….soprano" ↓ Windows Filtering Platform: Event 5156 (source: 10.0.1.100, dest: 389, TCP, if WFP audit enabled, off by default)”
Page 1 · Paragraph 177
ipv4
10.0.1[.]0“Event 5807: did not fire. The Kali subnet (10.0.1.0/24) was deliberately mapped to an AD site in the lab to rem…”
Page 1 · Paragraph 209
domain
learn.microsoft[.]com“…Account Enumeration Reconnaissance (LDAP) external ID 2437: learn.microsoft.com/en-us/defender-for-identity/reconnaissance-discovery-alerts”
Page 1 · Paragraph 404
url
hxxps://troopers[.]de/downloads/troopers24/TR24_The_(almost“…rovsky, The (almost) complete LDAP guide, TROOPERS24, 2024. https://troopers.de/downloads/troopers24/TR24_The_(almost)_complete_LDAP_guide_KYNUWX.pdf”
Page 1 · Paragraph 406
domain
huntress[.]com“From Code to Coverage Parts 1–5B: huntress.com/blog”
Page 1 · Paragraph 409
Claims & evidence
Reported Claim
From Code to Coverage (Part 6): What netlogon.log Sees That Event 1644 Never Will exhibits PowerShell execution (T1059.001)
“ADWS (PowerShell)”
Page 1 · Paragraph 31
Reported Claim
From Code to Coverage (Part 6): What netlogon.log Sees That Event 1644 Never Will exhibits LSASS credential dumping (T1003.001)
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
Reported Claim
From Code to Coverage (Part 6): What netlogon.log Sees That Event 1644 Never Will exhibits DLL sideloading (T1574.002)
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
Reported Claim
From Code to Coverage (Part 6): What netlogon.log Sees That Event 1644 Never Will exhibits C2 over HTTPS (T1071.001)
“…rovsky, The (almost) complete LDAP guide, TROOPERS24, 2024. https://troopers.de/downloads/troopers24/TR24_The_(almost)_comple…”
Page 1 · Paragraph 406
Inferred Relationship
PowerShell execution precedes LSASS credential dumping
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
Inferred Relationship
LSASS credential dumping precedes DLL sideloading
“LSASS / ntdsa.dll”
Page 1 · Paragraph 52
Inferred Relationship
DLL sideloading precedes C2 over HTTPS
“…rovsky, The (almost) complete LDAP guide, TROOPERS24, 2024. https://troopers.de/downloads/troopers24/TR24_The_(almost)_comple…”
Page 1 · Paragraph 406
Reported Claim
6.3.1.3 used as network infrastructure
“Reference: [MS-ADTS] § 6.3.1.3 Operation Code for the value table, and § 6.3.3.2 Domain Co…”
Page 1 · Paragraph 113
Reported Claim
6.3.3.2 used as network infrastructure
“…S-ADTS] § 6.3.1.3 Operation Code for the value table, and § 6.3.3.2 Domain Controller Response to an LDAP Ping for the disabled…”
Page 1 · Paragraph 113
Reported Claim
2.2.1.12 used as network infrastructure
“…ontrolBits = 0x00000010 = USER_NORMAL_ACCOUNT per MS-SAMR § 2.2.1.12 (the SAMR account-control scheme, where a normal account is…”
Page 1 · Paragraph 156
Reported Claim
github.com used as network infrastructure
“…a fork of the go-ldap library maintained by Lars Karlslund (github.com/lkarlslund/ldap). This library does implement true UDP cLDA…”
Page 1 · Paragraph 169
Reported Claim
10.0.1.10 used as network infrastructure
“// Complete execution path: ldapnomnom --server 10.0.1.10 --tlsmode NoTLS main.go: tlsmode = NoTLS → ldap.Dial("tcp",…”
Page 1 · Paragraph 177
Reported Claim
10.0.1.100 used as network infrastructure
“….soprano" ↓ Windows Filtering Platform: Event 5156 (source: 10.0.1.100, dest: 389, TCP, if WFP audit enabled, off by default)”
Page 1 · Paragraph 177
Lore Hypothesis
Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant
“ADWS (PowerShell)”
Page 1 · Paragraph 31