Analysis

  • max time kernel
    152s
  • max time network
    157s
  • platform
    windows7_x64
  • resource
    win7-20220414-en
  • submitted
    20-05-2022 22:19

General

  • Target

    8faf173504f963edc3bf79873db39d9b8be858b8f39adeadda7ed54f618a6719.exe

  • Size

    508KB

  • MD5

    92dee88250716a1b84069e41c47d342e

  • SHA1

    b16fbfb6a7338d546abcd1e4215d611ac7d148fe

  • SHA256

    8faf173504f963edc3bf79873db39d9b8be858b8f39adeadda7ed54f618a6719

  • SHA512

    94f7e3f4cb003822f4144df6fc59da4fc5aa087111c00157f26b5a061c07655d5adb82e708807fc32fb8d7c2703e4ad5d94d6d00c02bff6b56cc6c06984cf148

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

zouina1.ddnsfree.com:9191

Mutex

b2ae6bf7-ff72-4f89-86db-259e08f05aeb

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    zouina1.ddnsfree.com

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2020-05-10T15:55:47.848866436Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

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

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    9191

  • default_group

    Room1

  • enable_debug_mode

    true

  • gc_threshold

    1.0485748e+07

  • keep_alive_timeout

    30000

  • keyboard_logging

    false

  • lan_timeout

    2500

  • max_packet_size

    1.048576e+07

  • mutex

    b2ae6bf7-ff72-4f89-86db-259e08f05aeb

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    zouina1.ddnsfree.com

  • primary_dns_server

    8.8.8.8

  • request_elevation

    false

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    false

  • set_critical_process

    false

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

  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 2 IoCs
  • 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
  • Program crash 1 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 6 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 24 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8faf173504f963edc3bf79873db39d9b8be858b8f39adeadda7ed54f618a6719.exe
    "C:\Users\Admin\AppData\Local\Temp\8faf173504f963edc3bf79873db39d9b8be858b8f39adeadda7ed54f618a6719.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1948
    • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe
      "C:\Users\Admin\AppData\Local\Temp\RegAsm.exe"
      2⤵
      • Executes dropped EXE
      • Loads dropped DLL
      • 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:828
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "WPA Subsystem" /xml "C:\Users\Admin\AppData\Local\Temp\tmpBECE.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:1388
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "WPA Subsystem Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmpC093.tmp"
        3⤵
        • Creates scheduled task(s)
        PID:1584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1948 -s 772
      2⤵
      • Program crash
      PID:364

Network

MITRE ATT&CK Enterprise v6

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

    Filesize

    63KB

    MD5

    b58b926c3574d28d5b7fdd2ca3ec30d5

    SHA1

    d260c4ffd603a9cfc057fcb83d678b1cecdf86f9

    SHA256

    6e70b56d748c4ccab13cc8a055d3795ea0dd95fe3b70568d7d3ac0c6621140a3

    SHA512

    b13cb998822b716b695013bcd6dec62a2290567d0d1743b2d982ca084235cf69c6ea1fc91c9d4e62657c6f9e102c7c60e81296ab055ffe43b887c5f8ec8958ab

  • C:\Users\Admin\AppData\Local\Temp\RegAsm.exe

    Filesize

    63KB

    MD5

    b58b926c3574d28d5b7fdd2ca3ec30d5

    SHA1

    d260c4ffd603a9cfc057fcb83d678b1cecdf86f9

    SHA256

    6e70b56d748c4ccab13cc8a055d3795ea0dd95fe3b70568d7d3ac0c6621140a3

    SHA512

    b13cb998822b716b695013bcd6dec62a2290567d0d1743b2d982ca084235cf69c6ea1fc91c9d4e62657c6f9e102c7c60e81296ab055ffe43b887c5f8ec8958ab

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

    Filesize

    1KB

    MD5

    4cd7da0133ff64f40216341d95fe30bb

    SHA1

    88146cfd7754b988f50e929d876f33dc9916758f

    SHA256

    37cce77e24a3c3d5ab28c16f726ef6a62c553acd972e256927f69064c4e1cfde

    SHA512

    fa5b84f207fd9f20b2eace6cda9124e9d718fc80dc0a5fab31507f372d15ba69e1098a26e2e7036ba559ca52a99cfd804ca99ba68bda0a60386a33197722df8f

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

    Filesize

    1KB

    MD5

    4365cd1ae65923a319ef2683a45891fe

    SHA1

    85dde233112660e31c53884aedfbad52e4547e09

    SHA256

    84b6ce4ba26fa6fb57fa70b9ad191f7c42c71e259897955b5d514385bcd91b58

    SHA512

    d1bd24f504c5c2ecaa3ae98268ccc2e400ea3e16980c6caf394eadf7738225e4d5578fbe62bbe2de3fe0cb56a0d76bb3fc84cef3b9cd2f3d8be6d0becefdc035

  • \Users\Admin\AppData\Local\Temp\RegAsm.exe

    Filesize

    63KB

    MD5

    b58b926c3574d28d5b7fdd2ca3ec30d5

    SHA1

    d260c4ffd603a9cfc057fcb83d678b1cecdf86f9

    SHA256

    6e70b56d748c4ccab13cc8a055d3795ea0dd95fe3b70568d7d3ac0c6621140a3

    SHA512

    b13cb998822b716b695013bcd6dec62a2290567d0d1743b2d982ca084235cf69c6ea1fc91c9d4e62657c6f9e102c7c60e81296ab055ffe43b887c5f8ec8958ab

  • \Users\Admin\AppData\Local\Temp\RegAsm.exe

    Filesize

    63KB

    MD5

    b58b926c3574d28d5b7fdd2ca3ec30d5

    SHA1

    d260c4ffd603a9cfc057fcb83d678b1cecdf86f9

    SHA256

    6e70b56d748c4ccab13cc8a055d3795ea0dd95fe3b70568d7d3ac0c6621140a3

    SHA512

    b13cb998822b716b695013bcd6dec62a2290567d0d1743b2d982ca084235cf69c6ea1fc91c9d4e62657c6f9e102c7c60e81296ab055ffe43b887c5f8ec8958ab

  • memory/364-76-0x0000000000000000-mapping.dmp

  • memory/828-60-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

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

    Filesize

    224KB

  • memory/828-64-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/828-66-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/828-67-0x000000000041E792-mapping.dmp

  • memory/828-61-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/828-70-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/828-72-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/828-83-0x0000000000670000-0x000000000067A000-memory.dmp

    Filesize

    40KB

  • memory/828-82-0x0000000000650000-0x000000000066E000-memory.dmp

    Filesize

    120KB

  • memory/828-81-0x0000000000640000-0x000000000064A000-memory.dmp

    Filesize

    40KB

  • memory/1388-77-0x0000000000000000-mapping.dmp

  • memory/1584-79-0x0000000000000000-mapping.dmp

  • memory/1948-56-0x00000000002A0000-0x00000000002C0000-memory.dmp

    Filesize

    128KB

  • memory/1948-55-0x0000000076191000-0x0000000076193000-memory.dmp

    Filesize

    8KB

  • memory/1948-57-0x00000000009E0000-0x00000000009EA000-memory.dmp

    Filesize

    40KB

  • memory/1948-58-0x0000000000A40000-0x0000000000A4A000-memory.dmp

    Filesize

    40KB

  • memory/1948-54-0x00000000000E0000-0x0000000000166000-memory.dmp

    Filesize

    536KB