Analysis

  • max time kernel
    54s
  • max time network
    186s
  • platform
    windows7_x64
  • resource
    win7v20210408
  • submitted
    21-07-2021 14:28

General

  • Target

    Contact00212399490.exe

  • Size

    1.2MB

  • MD5

    a6bd3de048002bee7a8d973c887227d8

  • SHA1

    90cf93d93b141654a62ff3a3b6810faef2ff3d69

  • SHA256

    1e3539b9de51134004ff4bff43ab144e748a329265decf8421442cef3109210d

  • SHA512

    6b84954f6dbe9c7d5a7580c2d917414a7875494508a3d17b4f092d270fecbe695e10f6eb27de52aac807d06a432e3902dc9a9671c7bc2b170b46afba1b6f30c6

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

hncbeyghfsbvcuabgsbncvzgaioiuyegdbhabbbw.ydns.eu:2017

Mutex

238a496b-ffb2-448a-bc1f-f27aa51697ac

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    hncbeyghfsbvcuabgsbncvzgaioiuyegdbhabbbw.ydns.eu

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-05-01T15:35:35.227430336Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTE2Ij8+DQo8VGFzayB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmRvd3MvMjAwNC8wMi9taXQvdGFzayI+DQogIDxSZWdpc3RyYXRpb25JbmZvIC8+DQogIDxUcmlnZ2VycyAvPg0KICA8UHJpbmNpcGFscz4NCiAgICA8UHJpbmNpcGFsIGlkPSJBdXRob3IiPg0KICAgICAgPExvZ29uVHlwZT5JbnRlcmFjdGl2ZVRva2VuPC9Mb2dvblR5cGU+DQogICAgICA8UnVuTGV2ZWw+SGlnaGVzdEF2YWlsYWJsZTwvUnVuTGV2ZWw+DQogICAgPC9QcmluY2lwYWw+DQogIDwvUHJpbmNpcGFscz4NCiAgPFNldHRpbmdzPg0KICAgIDxNdW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iAgICAgIDxDb21tYW5kPiIjRVhFQ1VUQUJMRVBBVEgiPC9Db21tYW5kPg0KICAgICAgPEFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+DQogICAgPC9FeGVjPg0KICA8L0FjdGlvbnM+DQo8L1Rhc2s+

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    2017

  • default_group

    Default

  • 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

    238a496b-ffb2-448a-bc1f-f27aa51697ac

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    false

  • 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.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Program Files directory 2 IoCs
  • Creates scheduled task(s) 1 TTPs 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Contact00212399490.exe
    "C:\Users\Admin\AppData\Local\Temp\Contact00212399490.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:2016
    • C:\Users\Admin\AppData\Local\Temp\Contact00212399490.exe
      "{path}"
      2⤵
      • Adds Run key to start application
      • Checks whether UAC is enabled
      • Drops file in Program Files directory
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:700
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "DPI Service" /xml "C:\Users\Admin\AppData\Local\Temp\tmp99CF.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:908
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "DPI Service Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp9C7F.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:572

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\tmp99CF.tmp

    MD5

    ebeb8ed1ee83347982221fe1fdedb735

    SHA1

    a67c62bb6efb43ce93f41952448c92920b5d91dd

    SHA256

    e71437814b04100346bedec461de661c9b3f4219e827c5d350f07f325c5e37ee

    SHA512

    9baf4c6a893d8e182f1c90049b6459c5db94d7d1aaa0023b2a14e8d74dacfc642cc11a988384f4cf028d828c47a5c71a8b2e3dcddd0e9196f7a31cf05e7df9f1

  • C:\Users\Admin\AppData\Local\Temp\tmp9C7F.tmp

    MD5

    a9af285136db016a568e4a53208f21d0

    SHA1

    e1afef2b7ee8ae945353315daa19a15574b435b7

    SHA256

    7dce876e35550f4a5b8ce8a8bbab3b0ccd7c5b8660f9db4b832466b77e3a8b7c

    SHA512

    80a1f5e463a87cddc0f66336e2dc4262daf98984c6f6c662c3615d615ebe7c58677c3d694edb3bd7816ccee969aae967c7efe8526ba423f274ac1210c0c8bd6e

  • memory/572-69-0x0000000000000000-mapping.dmp

  • memory/700-64-0x000000000041E792-mapping.dmp

  • memory/700-63-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/700-66-0x0000000000460000-0x0000000000461000-memory.dmp

    Filesize

    4KB

  • memory/908-67-0x0000000000000000-mapping.dmp

  • memory/2016-60-0x00000000754F1000-0x00000000754F3000-memory.dmp

    Filesize

    8KB

  • memory/2016-61-0x0000000000AE0000-0x0000000000AE1000-memory.dmp

    Filesize

    4KB

  • memory/2016-62-0x0000000000AE1000-0x0000000000AE2000-memory.dmp

    Filesize

    4KB