Analysis

  • max time kernel
    170s
  • max time network
    175s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    21-05-2022 02:28

General

  • Target

    DHL-#AWB130501923096PDF.exe

  • Size

    414KB

  • MD5

    1a4bf9b4501a87d22ad6bfc7abd91daf

  • SHA1

    6d9fb911e49b3c97cdb448dbb71513b119484c23

  • SHA256

    ff29de48c0798fcecbb3113c5d53229c9250b9950a1336c49c1e21434ef20203

  • SHA512

    cd1fb7ab9de8a2ed9a86fce6f51c62a6c802dd03bc3b4795962c498ad12c5aaafc31946a8745f63855b0592167b7310774f4e368b8b650935fdb62ca0afa8e90

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

185.165.153.247:5678

grace147.ddns.net:5678

Mutex

bb5979e4-6524-4144-a4bb-47ead86d7eef

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    grace147.ddns.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2020-03-07T00:51:33.782958036Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    true

  • connect_delay

    4000

  • connection_port

    5678

  • default_group

    GRACE

  • enable_debug_mode

    true

  • gc_threshold

    1.048576e+07

  • keep_alive_timeout

    30000

  • keyboard_logging

    false

  • lan_timeout

    2500

  • max_packet_size

    1.048576e+07

  • mutex

    bb5979e4-6524-4144-a4bb-47ead86d7eef

  • mutex_timeout

    5000

  • prevent_system_sleep

    true

  • primary_connection_host

    185.165.153.247

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    true

  • set_critical_process

    true

  • timeout_interval

    5000

  • use_custom_dns_server

    false

  • version

    1.2.2.0

  • wan_timeout

    8000

Signatures

  • NanoCore

    NanoCore is a remote access tool (RAT) with a variety of capabilities.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 11 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\DHL-#AWB130501923096PDF.exe
    "C:\Users\Admin\AppData\Local\Temp\DHL-#AWB130501923096PDF.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3060
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XJcamAcfEc" /XML "C:\Users\Admin\AppData\Local\Temp\tmpC161.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:2688
    • C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
      "{path}"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:3800

Network

MITRE ATT&CK Matrix ATT&CK v6

Execution

Scheduled Task

1
T1053

Persistence

Scheduled Task

1
T1053

Privilege Escalation

Scheduled Task

1
T1053

Discovery

Query Registry

1
T1012

System Information Discovery

2
T1082

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\tmpC161.tmp
    Filesize

    1KB

    MD5

    64f5c1dbea453b8d1decf35016680e6b

    SHA1

    04101253b4bb02334270917cb41076bf091837bd

    SHA256

    7b0340c9cac60af7c48b82ce769f99b09fad370c34044bbe67ea7016ba9ebbfd

    SHA512

    7b7c0d21b18b5c1471f05518a864cb2ec4a1b80c265a87ade76cdceee897a3ca2a8c07d2c83f0acd1e95c47b0ab48fe4502907479fe0679cd4e82992a048bc45

  • memory/2688-131-0x0000000000000000-mapping.dmp
  • memory/3060-130-0x00000000752A0000-0x0000000075851000-memory.dmp
    Filesize

    5.7MB

  • memory/3800-133-0x0000000000000000-mapping.dmp
  • memory/3800-134-0x0000000000400000-0x0000000000438000-memory.dmp
    Filesize

    224KB

  • memory/3800-135-0x00000000752A0000-0x0000000075851000-memory.dmp
    Filesize

    5.7MB