Analysis

  • max time kernel
    166s
  • max time network
    187s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220812-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-10-2022 19:28

General

  • Target

    tmp.exe

  • Size

    847KB

  • MD5

    e31699917d9f141413507e5f628c2454

  • SHA1

    9b7ff7f7f0a173f0851b0bcbf3de0654af52b7c9

  • SHA256

    99b799d28261cdefac2a4fcae6774324bfb9bb9aed868da301fc2292ed4b0902

  • SHA512

    018749a0782c4aed731adea492928637df2dad8db6b8813d831540bf7225c487bb3a7275f75dc797c11002cf57c7a9c9d48c453a90a7e45d8c988c81ed474f8d

  • SSDEEP

    24576:sokPPpLnS2i5JEoP9OrozsW02IsPGaUYpF:Ehndi5P9EozsWBIsP/USF

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

craigjonson91211.freedynamicdns.net:2010

Mutex

314e68fd-30e1-43f4-a3e6-582b481b1081

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    craigjonson91211.freedynamicdns.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2022-07-25T15:37:55.685681636Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

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

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    2010

  • 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

    314e68fd-30e1-43f4-a3e6-582b481b1081

  • 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 7 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\tmp.exe
    "C:\Users\Admin\AppData\Local\Temp\tmp.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4988
    • C:\Users\Admin\AppData\Local\Temp\tmp.exe
      "C:\Users\Admin\AppData\Local\Temp\tmp.exe"
      2⤵
        PID:1064
      • C:\Users\Admin\AppData\Local\Temp\tmp.exe
        "C:\Users\Admin\AppData\Local\Temp\tmp.exe"
        2⤵
          PID:1288
        • C:\Users\Admin\AppData\Local\Temp\tmp.exe
          "C:\Users\Admin\AppData\Local\Temp\tmp.exe"
          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:4172
          • C:\Windows\SysWOW64\schtasks.exe
            "schtasks.exe" /create /f /tn "DDP Host" /xml "C:\Users\Admin\AppData\Local\Temp\tmpF4FF.tmp"
            3⤵
            • Creates scheduled task(s)
            PID:896
          • C:\Windows\SysWOW64\schtasks.exe
            "schtasks.exe" /create /f /tn "DDP Host Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmpF667.tmp"
            3⤵
            • Creates scheduled task(s)
            PID:1584

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\tmp.exe.log

        Filesize

        1KB

        MD5

        e08f822522c617a40840c62e4b0fb45e

        SHA1

        ae516dca4da5234be6676d3f234c19ec55725be7

        SHA256

        bd9d5e9f7fe6fcff17d873555d4077d15f7d6cdda1183e7f7d278b735ffe1fd7

        SHA512

        894a7fb7bbc18ac6ba13378f58a7db80ad00d6080be9a66b01cae8e23e41d9d2d4cd53c1e20669356b73590c8a3ebfda4bdda3258f81240db56c4a81b7313fe4

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

        Filesize

        1KB

        MD5

        3f4dcafa44c36f23e4db2b2315fd09da

        SHA1

        8c83089d6f6c887a77af9b42ca09969f3b2f83f6

        SHA256

        b8475eb97200b8a15eaf07e0a2cddc5c95e5bc3e7a98685364c9796480de57dc

        SHA512

        e0624dd6cf0d5e014e96a323d2f7ebe13b683af71bd6ddafa3005cdc2f3c764cfca509262d442fc844b4b390d241ccf3eb36d30043d3d6f6e955a2ee9f792678

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

        Filesize

        1KB

        MD5

        2271642ca970891700e3f48439739ed8

        SHA1

        cd472df2349f7db9e1e460d0ee28acd97b8a8793

        SHA256

        7aba66abbcb0b13455609174db23aed495a9adbef0e0acd28baa9c92445eda68

        SHA512

        4669a4ef8ec28cdb852ffc1401576b1bf9a9d837797d7d92bc88c18b3097404f36854e50167b309706fef400cabc43c876569ce2797ba85eb169a2783b8fe807

      • memory/896-143-0x0000000000000000-mapping.dmp

      • memory/1064-138-0x0000000000000000-mapping.dmp

      • memory/1288-139-0x0000000000000000-mapping.dmp

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

      • memory/4172-141-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/4172-140-0x0000000000000000-mapping.dmp

      • memory/4988-132-0x0000000000400000-0x00000000004DA000-memory.dmp

        Filesize

        872KB

      • memory/4988-137-0x0000000000AD0000-0x0000000000B36000-memory.dmp

        Filesize

        408KB

      • memory/4988-136-0x0000000008A40000-0x0000000008ADC000-memory.dmp

        Filesize

        624KB

      • memory/4988-135-0x0000000004E90000-0x0000000004E9A000-memory.dmp

        Filesize

        40KB

      • memory/4988-134-0x0000000004ED0000-0x0000000004F62000-memory.dmp

        Filesize

        584KB

      • memory/4988-133-0x00000000053E0000-0x0000000005984000-memory.dmp

        Filesize

        5.6MB