Analysis

  • max time kernel
    120s
  • max time network
    166s
  • platform
    windows7_x64
  • resource
    win7-en-20210920
  • submitted
    21-10-2021 17:59

General

  • Target

    Purchase order_122.doc

  • Size

    212KB

  • MD5

    37ef290042de67ceede2ee41796fd288

  • SHA1

    971ceccb966ae96811653501262562b2feb8d37f

  • SHA256

    c342f81da05b8da1b9f40413ce605e06e02590ef4d2edfd1cafa8a464bd46a59

  • SHA512

    7961f3527a0219b8d56a80e8710c06c3dcbcde78d96cb9a5e030e3aac92961b02e1ff63735f441aa820a47dab747aee1f338c3ebe5b2ec8f4f3450a3933bda3e

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

drrkingsleym001.ddns.net:1665

Mutex

70bb352e-dceb-4105-9fdd-010e83e28b1b

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    drrkingsleym001.ddns.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-07-31T04:41:53.700956836Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

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

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1665

  • default_group

    NEW LIFE

  • 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

    70bb352e-dceb-4105-9fdd-010e83e28b1b

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    drrkingsleym001.ddns.net

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

  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Program Files directory 2 IoCs
  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Office loads VBA resources, possible macro or embedded object present
  • Creates scheduled task(s) 1 TTPs 3 IoCs

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

  • Launches Equation Editor 1 TTPs 1 IoCs

    Equation Editor is an old Office component often targeted by exploits such as CVE-2017-11882.

  • Modifies Internet Explorer settings 1 TTPs 31 IoCs
  • Modifies registry class 64 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 16 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 39 IoCs

Processes

  • C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE
    "C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" /n "C:\Users\Admin\AppData\Local\Temp\Purchase order_122.doc"
    1⤵
    • Drops file in Windows directory
    • Modifies Internet Explorer settings
    • Modifies registry class
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1068
    • C:\Windows\splwow64.exe
      C:\Windows\splwow64.exe 12288
      2⤵
        PID:1908
    • C:\Program Files (x86)\Common Files\Microsoft Shared\EQUATION\EQNEDT32.EXE
      "C:\Program Files (x86)\Common Files\Microsoft Shared\EQUATION\EQNEDT32.EXE" -Embedding
      1⤵
      • Blocklisted process makes network request
      • Loads dropped DLL
      • Launches Equation Editor
      • Suspicious use of WriteProcessMemory
      PID:1644
      • C:\Users\Admin\AppData\Roaming\catjh9862.exe
        "C:\Users\Admin\AppData\Roaming\catjh9862.exe"
        2⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:1816
        • C:\Windows\SysWOW64\schtasks.exe
          "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\iGlXinw" /XML "C:\Users\Admin\AppData\Local\Temp\tmpCC73.tmp"
          3⤵
          • Creates scheduled task(s)
          PID:2004
        • C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe
          "C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"
          3⤵
            PID:644
          • C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe
            "C:\Windows\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe"
            3⤵
            • Adds Run key to start application
            • Drops file in Program Files directory
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious behavior: GetForegroundWindowSpam
            • Suspicious use of AdjustPrivilegeToken
            • Suspicious use of WriteProcessMemory
            PID:1576
            • C:\Windows\SysWOW64\schtasks.exe
              "schtasks.exe" /create /f /tn "UDP Subsystem" /xml "C:\Users\Admin\AppData\Local\Temp\tmpCFAE.tmp"
              4⤵
              • Creates scheduled task(s)
              PID:340
            • C:\Windows\SysWOW64\schtasks.exe
              "schtasks.exe" /create /f /tn "UDP Subsystem Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmpD0B8.tmp"
              4⤵
              • Creates scheduled task(s)
              PID:1764

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        MD5

        40b11ef601fb28f9b2e69d36857bf2ec

        SHA1

        b6454020ad2ceed193f4792b77001d0bd741b370

        SHA256

        c51e12d18cc664425f6711d8ae2507068884c7057092cfa11884100e1e9d49e1

        SHA512

        e3c5bcc714cbfca4b8058ddcddf231dcefa69c15881ce3f8123e59ed45cfb5da052b56e1945dcf8dc7f800d62f9a4eecb82bca69a66a1530787aeffeb15e2bd5

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

        MD5

        c4aecdef99eba873119e79616df3f4b0

        SHA1

        b1b3af52655fb633eed909dfed05b64fbbfac37c

        SHA256

        24fd0d87bea36a024449a95f808aaa174e4ed9003cb8a427b67c02411b8a2e0b

        SHA512

        e3f44b07267fccf4f5abd4efe80f2b037ddadc4cb898bdfca9d21ac5d79fcac828950065c2060d3ce125ee971fc3096183afee5287ba9951fbbda7257d8ed8d4

      • C:\Users\Admin\AppData\Roaming\catjh9862.exe

        MD5

        722745a1b594b935445310f8b4f0b9af

        SHA1

        2945a2c49a0f0978560b5272ce9ddfbf44855fc8

        SHA256

        dae8f3e0c1152d769be3a1951287cfe91c365f60c4bd772b2dec8686f52c167e

        SHA512

        f571211c33c3739cbe26ae6b694d62aebf86a169f8f22f01a19c802323ad8ce143b1c7f0d8f062d478ad976ef5277ae485619c95711c852455abef8de436e35e

      • C:\Users\Admin\AppData\Roaming\catjh9862.exe

        MD5

        722745a1b594b935445310f8b4f0b9af

        SHA1

        2945a2c49a0f0978560b5272ce9ddfbf44855fc8

        SHA256

        dae8f3e0c1152d769be3a1951287cfe91c365f60c4bd772b2dec8686f52c167e

        SHA512

        f571211c33c3739cbe26ae6b694d62aebf86a169f8f22f01a19c802323ad8ce143b1c7f0d8f062d478ad976ef5277ae485619c95711c852455abef8de436e35e

      • \Users\Admin\AppData\Roaming\catjh9862.exe

        MD5

        722745a1b594b935445310f8b4f0b9af

        SHA1

        2945a2c49a0f0978560b5272ce9ddfbf44855fc8

        SHA256

        dae8f3e0c1152d769be3a1951287cfe91c365f60c4bd772b2dec8686f52c167e

        SHA512

        f571211c33c3739cbe26ae6b694d62aebf86a169f8f22f01a19c802323ad8ce143b1c7f0d8f062d478ad976ef5277ae485619c95711c852455abef8de436e35e

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

      • memory/1068-55-0x0000000070AC1000-0x0000000070AC3000-memory.dmp

        Filesize

        8KB

      • memory/1068-56-0x000000005FFF0000-0x0000000060000000-memory.dmp

        Filesize

        64KB

      • memory/1068-57-0x00000000759B1000-0x00000000759B3000-memory.dmp

        Filesize

        8KB

      • memory/1068-54-0x0000000073041000-0x0000000073044000-memory.dmp

        Filesize

        12KB

      • memory/1068-83-0x000000005FFF0000-0x0000000060000000-memory.dmp

        Filesize

        64KB

      • memory/1576-81-0x0000000002071000-0x0000000002072000-memory.dmp

        Filesize

        4KB

      • memory/1576-80-0x0000000002070000-0x0000000002071000-memory.dmp

        Filesize

        4KB

      • memory/1576-69-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

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

        Filesize

        224KB

      • memory/1576-71-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

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

        Filesize

        224KB

      • memory/1576-73-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/1576-74-0x000000000041E792-mapping.dmp

      • memory/1576-82-0x0000000002076000-0x0000000002087000-memory.dmp

        Filesize

        68KB

      • memory/1764-78-0x0000000000000000-mapping.dmp

      • memory/1816-60-0x0000000000000000-mapping.dmp

      • memory/1816-67-0x0000000001E81000-0x0000000001E82000-memory.dmp

        Filesize

        4KB

      • memory/1816-64-0x0000000001E80000-0x0000000001E81000-memory.dmp

        Filesize

        4KB

      • memory/1908-66-0x000007FEFC4A1000-0x000007FEFC4A3000-memory.dmp

        Filesize

        8KB

      • memory/1908-65-0x0000000000000000-mapping.dmp

      • memory/2004-68-0x0000000000000000-mapping.dmp