Analysis

  • max time kernel
    139s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230220-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    12-04-2023 02:44

General

  • Target

    e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe

  • Size

    668KB

  • MD5

    7033ae8b4afbadb27abbd7b3b5bdb085

  • SHA1

    5e15fd3f589d52c0b2c6e0e20e66c6b299646a59

  • SHA256

    e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a

  • SHA512

    988da34cfd2cb7c8118d8dbf057bb65c1c895f24872443dca4b985c17dbbcae6efb974d7c76cb6db233cba393ee6e1eea35f0f056a54e6c1bfbf64832edbab97

  • SSDEEP

    12288:6BX65Pf63JHFbaDoiJqLyl173SMn0XuEaWvvcCmyL/pheNQq8:6M563Lvyl17iM0Naqc4L7eNe

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

moonandbebe.ddns.net:6324

127.0.0.1:6324

Mutex

9df60050-0f19-40b4-870c-3f0f73f35b3b

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    37.235.1.177

  • buffer_size

    65535

  • build_time

    2023-01-18T15:29:22.483592836Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    6324

  • default_group

    moonandbebe

  • 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

    9df60050-0f19-40b4-870c-3f0f73f35b3b

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    moonandbebe.ddns.net

  • primary_dns_server

    37.235.1.174

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

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Unexpected DNS network traffic destination 5 IoCs

    Network traffic to other servers than the configured DNS servers was detected on the DNS port.

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe
    "C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1168
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\XhqvcLIDz.exe"
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1280
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\XhqvcLIDz" /XML "C:\Users\Admin\AppData\Local\Temp\tmp62B1.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4800
    • C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe
      "C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe"
      2⤵
        PID:4628
      • C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe
        "C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe"
        2⤵
          PID:5092
        • C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.exe
          "C:\Users\Admin\AppData\Local\Temp\e92efa61a4ae7376c52f323abae88f5303a217b58966e4a71042fbebd0cba60a.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
          PID:836

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Execution

      Scheduled Task

      1
      T1053

      Persistence

      Registry Run Keys / Startup Folder

      1
      T1060

      Scheduled Task

      1
      T1053

      Privilege Escalation

      Scheduled Task

      1
      T1053

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      3
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_lpng1xvm.1ih.ps1
        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

        1KB

        MD5

        8e47e557363c046cfd2572e7cdd5eb66

        SHA1

        a6ecd921a41126b3309ca260d05fd864693f0f0b

        SHA256

        bcb196b8ddd366282bae167fb84e2775a88794034a023c2ec444f6a719d999e3

        SHA512

        5ab2506ada4596ba26701f09a9a0c02f548115fd33c5687666328a78698bc9fb976fa18e6cf3518dcd8f750a9602d8a140b9b4f5ca84d7414a9fa0e739d30e26

      • memory/836-150-0x0000000000400000-0x0000000000438000-memory.dmp
        Filesize

        224KB

      • memory/836-190-0x0000000005450000-0x0000000005460000-memory.dmp
        Filesize

        64KB

      • memory/836-166-0x0000000005450000-0x0000000005460000-memory.dmp
        Filesize

        64KB

      • memory/1168-134-0x0000000005760000-0x0000000005D04000-memory.dmp
        Filesize

        5.6MB

      • memory/1168-135-0x00000000051B0000-0x0000000005242000-memory.dmp
        Filesize

        584KB

      • memory/1168-136-0x0000000005380000-0x0000000005390000-memory.dmp
        Filesize

        64KB

      • memory/1168-137-0x0000000005340000-0x000000000534A000-memory.dmp
        Filesize

        40KB

      • memory/1168-138-0x0000000005380000-0x0000000005390000-memory.dmp
        Filesize

        64KB

      • memory/1168-139-0x0000000007060000-0x00000000070FC000-memory.dmp
        Filesize

        624KB

      • memory/1168-133-0x0000000000890000-0x000000000093E000-memory.dmp
        Filesize

        696KB

      • memory/1280-162-0x0000000005800000-0x0000000005866000-memory.dmp
        Filesize

        408KB

      • memory/1280-178-0x00000000062C0000-0x00000000062DE000-memory.dmp
        Filesize

        120KB

      • memory/1280-156-0x0000000005620000-0x0000000005686000-memory.dmp
        Filesize

        408KB

      • memory/1280-146-0x00000000023B0000-0x00000000023C0000-memory.dmp
        Filesize

        64KB

      • memory/1280-147-0x00000000023B0000-0x00000000023C0000-memory.dmp
        Filesize

        64KB

      • memory/1280-165-0x0000000005D10000-0x0000000005D2E000-memory.dmp
        Filesize

        120KB

      • memory/1280-148-0x0000000004E60000-0x0000000005488000-memory.dmp
        Filesize

        6.2MB

      • memory/1280-167-0x00000000062E0000-0x0000000006312000-memory.dmp
        Filesize

        200KB

      • memory/1280-168-0x0000000075570000-0x00000000755BC000-memory.dmp
        Filesize

        304KB

      • memory/1280-149-0x0000000005580000-0x00000000055A2000-memory.dmp
        Filesize

        136KB

      • memory/1280-179-0x00000000023B0000-0x00000000023C0000-memory.dmp
        Filesize

        64KB

      • memory/1280-180-0x000000007EE10000-0x000000007EE20000-memory.dmp
        Filesize

        64KB

      • memory/1280-181-0x0000000007660000-0x0000000007CDA000-memory.dmp
        Filesize

        6.5MB

      • memory/1280-182-0x0000000007020000-0x000000000703A000-memory.dmp
        Filesize

        104KB

      • memory/1280-183-0x0000000007090000-0x000000000709A000-memory.dmp
        Filesize

        40KB

      • memory/1280-184-0x00000000072A0000-0x0000000007336000-memory.dmp
        Filesize

        600KB

      • memory/1280-185-0x0000000007250000-0x000000000725E000-memory.dmp
        Filesize

        56KB

      • memory/1280-186-0x0000000007360000-0x000000000737A000-memory.dmp
        Filesize

        104KB

      • memory/1280-187-0x0000000007340000-0x0000000007348000-memory.dmp
        Filesize

        32KB

      • memory/1280-144-0x0000000002420000-0x0000000002456000-memory.dmp
        Filesize

        216KB