THREAT INTEL / APT

APT Threat Intelligence — C2 Infrastructure Attribution (Lazarus / APT38 overlap)

Full Threat Intel cycle: IOC collection from the incident → passive DNS / SSL / WHOIS enrichment → infrastructure clustering → attribution to Lazarus Group / APT38 → YARA + Sigma rules for the SOC. 200+ IOCs, 47 C2 servers, 12 first-level domains.

200+IOC
47C2 Servers
12TLD Domains
84%Attribution Confidence

1. Initial IOCs and surface expansion

After the incident we have: 3 loader hashes (SHA256), 2 C2 IPs, 1 domain. We launched automated enrichment via PassiveTotal API + Censys + VirusTotal v3:

python
# IOC Enrichment Pipeline
import requests, json
from passive_total import PassiveTotal

pt = PassiveTotal(api_key=os.getenv('PT_KEY'))

# 1. Passive DNS for IP
for ip in initial_ips:
    pdns = pt.dns.passive(ip)
    for record in pdns['results']:
        iocs.add(record['hostname'])

# 2. SSL Cert enrichment
for ip in initial_ips:
    certs = pt.ssl.certificate_history(ip)
    for c in certs:
        # Extract CN, SAN, Issuer, Serial
        iocs.update(extract_cert_iocs(c))

# 3. WHOIS + Registrar clustering
for domain in domains:
    whois = pt.whois.domain(domain)
    cluster_by_registrar(whois)
    cluster_by_nameservers(whois)

# 4. VT Behavioral
for hash in hashes:
    beh = vt.behaviour(hash)
    iocs.update(extract_network_iocs(beh))

Result: 200+ IOCs (IPs, domains, hashes, URLs, registrar emails, SSL serial numbers).

2. Infrastructure clustering (Maltego Graph)

We built a relationship graph: IP ↔ Domains ↔ SSL Certificates ↔ WHOIS Registrars ↔ Name Servers. Key clusters:

🔗

Cluster A: Historical Lazarus

IPs overlap with Lazarus Group (APT38) infrastructure from 2021-2023 (SWIFT attacks, crypto exchange hacks). Same ASNs (CHOPA, Hostpalace), same registrars (NameCheap, PDR), similar naming patterns (cdn-*, api-*, static-*).

🔐

Cluster B: SSL Certificate Reuse

47 certificates — 12 unique serial numbers. The same private key was used on 14 C2 servers over 2 years. Self-signed, 10-year validity, CN=*.example.com — a typical Lazarus pattern.

📧

Cluster C: Registrar/Email Overlap

3 domains registered to one email (admin@blockchain-services[.]xyz), which appears in Mandiant APT38 reports from 2022. One registrar (NameSilo), identical NS (ns1/ns2.dnsowl.com).

3. Attribution: Lazarus Group / APT38 (High Confidence)

Attribution matrix (Diamond Model + MITRE ATT&CK):

T1566.001 Spearphishing Attachment (LNK/ISO)T1059.005 Visual Basic (Loader)T1573.001 Symmetric Cryptography (Custom C2 Protocol)T1071.001 Web Protocols (HTTPS Beaconing)T1008 Fallback Channels (DNS Tunneling)T1041 Exfiltration Over C2 ChannelInfrastructure Overlap: 84% with known Lazarus C2 (2021-2023)Code Overlap: Custom Loader = 92% similarity to "VSingle" (Lazarus)Targeting: Financial Sector (SWIFT, ATM, Crypto)Language Artifacts: Korean locale strings in the loader

Verdict: Lazarus Group / APT38 with 84% confidence (High). Infrastructure, TTP, code, and targeting overlap — everything points to a North Korean state-sponsored actor.

4. Detections for the SOC (YARA + Sigma)

yara
rule Lazarus_Loader_VSingle_Variant {
    meta:
        author = "FZ-Control"
        date = "2024-11-05"
        attribution = "Lazarus Group / APT38"
        confidence = "high"
        reference = "Internal Case 2024-047"
    strings:
        $mz = { 4D 5A }
        $korean1 = "한글" ascii wide
        $korean2 = "조선" ascii wide
        $c2_pattern = /https?:\/\/[a-z0-9\-\.]+\/(api|cdn|static|data)\/[a-z0-9]{32}/ 
        $loader_str = "VSingle" ascii
        $xor_key = { 5A 5A 5A 5A 5A 5A 5A 5A } // XOR key pattern
    condition:
        $mz at 0 and
        (any of ($korean*)) and
        ($c2_pattern or $loader_str) and
        $xor_key
}

Sigma rules for Splunk/Elastic/Sentinel — detect beaconing (reg interval 60s ± 10%), User-Agent strings, DNS tunneling (high entropy subdomains).

5. Results for the client

Full report (45 pp.) — attack timeline, IOC tables, infrastructure graph, attribution, recommendations
IOC Feed (STIX/JSON/CSV) — ready to ingest into SIEM/TIP (MISP, OpenCTI, TIP)
12 YARA + 8 Sigma rules — tested against client logs, 0 FP in 30 days
Proxy/firewall blocklist — 47 IPs, 12 domains, 8 ASNs
Threat Hunting Queries — KQL/Splunk/Elastic queries for 90 days of retro-hunting

Suspect an APT? Need Threat Hunting / IOC Enrichment / Attribution?

We'll find their infrastructure, attribute it, and deliver ready-made detections for your SOC. We work with MISP, OpenCTI, Elastic, Splunk, Sentinel.

Order Threat Intelligence