Analysis

  • max time kernel
    142s
  • max time network
    147s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/08/2024, 04:37

General

  • Target
    image.exe
  • Size 779KB
  • Sample240820-e86hlaxejl
  • SHA256 41e0b1de55bbfe30925144c498ee806aeb17422f4a1b867e1bf5f0c3685e892c
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • percolysrl2.ddns.net:50720

  • 94.156.68.149:50720

Mutex
  • 8db2e04d-fea6-4ac1-bc82-47d992a4c6e5

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    94.156.68.149

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2024-05-28T11:54:58.690784636Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    true

  • connect_delay

    4000

  • connection_port

    50720

  • default_group

    PUNK

  • 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

    8db2e04d-fea6-4ac1-bc82-47d992a4c6e5

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    percolysrl2.ddns.net

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5009

  • run_delay

    0

  • run_on_startup

    false

  • set_critical_process

    false

  • timeout_interval

    5008

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 1 IoCs

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

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

  • System Location Discovery: System Language Discovery 1 TTPs 5 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\image.exe
    "C:\Users\Admin\AppData\Local\Temp\image.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:988
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\image.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1048
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\ornywLnqHl.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2836
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\ornywLnqHl" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDFF0.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:8
    • C:\Users\Admin\AppData\Local\Temp\image.exe
      "C:\Users\Admin\AppData\Local\Temp\image.exe"
      2⤵
      • Adds Run key to start application
      • Checks whether UAC is enabled
      • Drops file in Program Files directory
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:3168

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 7e650b4637b5d4c5540c077ffd7e01475b18e906f7bb8d679fe877fc98974a34
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_xmgubutf.gex.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_xmgubutf.gex.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmpDFF0.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpDFF0.tmp
        • Size 1KB
        • SHA256 b54d852acb41019dafb684cc28c07b64be54a13119a6bc1f2684b12db16cfe3d
        • MD5 SHA1 SHA512

        memory/988-5-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/988-4-0x00000000050D0000-0x00000000050DA000-memory.dmp

        memory/988-6-0x0000000005350000-0x0000000005362000-memory.dmp

        memory/988-7-0x00000000749AE000-0x00000000749AF000-memory.dmp

        memory/988-8-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/988-9-0x00000000054F0000-0x0000000005500000-memory.dmp

        memory/988-10-0x0000000005D90000-0x0000000005E0C000-memory.dmp

        memory/988-11-0x0000000008BA0000-0x0000000008C3C000-memory.dmp

        memory/988-3-0x0000000005130000-0x00000000051C2000-memory.dmp

        memory/988-2-0x00000000056E0000-0x0000000005C84000-memory.dmp

        memory/988-0-0x00000000749AE000-0x00000000749AF000-memory.dmp

        memory/988-39-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/988-1-0x0000000000620000-0x00000000006E8000-memory.dmp

        memory/1048-82-0x0000000006E70000-0x0000000006E8A000-memory.dmp

        memory/1048-59-0x0000000070EF0000-0x0000000070F3C000-memory.dmp

        memory/1048-20-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/1048-25-0x0000000004C90000-0x0000000004CF6000-memory.dmp

        memory/1048-23-0x0000000004C20000-0x0000000004C86000-memory.dmp

        memory/1048-22-0x0000000004A80000-0x0000000004AA2000-memory.dmp

        memory/1048-16-0x0000000002210000-0x0000000002246000-memory.dmp

        memory/1048-36-0x0000000005520000-0x0000000005874000-memory.dmp

        memory/1048-95-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/1048-19-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/1048-17-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/1048-89-0x0000000007190000-0x0000000007198000-memory.dmp

        memory/1048-87-0x00000000070B0000-0x00000000070C4000-memory.dmp

        memory/1048-84-0x00000000070F0000-0x0000000007186000-memory.dmp

        memory/1048-18-0x0000000004D70000-0x0000000005398000-memory.dmp

        memory/1048-56-0x0000000005B40000-0x0000000005B5E000-memory.dmp

        memory/1048-57-0x0000000005BE0000-0x0000000005C2C000-memory.dmp

        memory/1048-80-0x0000000006D40000-0x0000000006DE3000-memory.dmp

        memory/1048-70-0x0000000006160000-0x000000000617E000-memory.dmp

        memory/1048-58-0x0000000006120000-0x0000000006152000-memory.dmp

        memory/2836-88-0x0000000007E60000-0x0000000007E7A000-memory.dmp

        memory/2836-86-0x0000000007D50000-0x0000000007D5E000-memory.dmp

        memory/2836-81-0x0000000008170000-0x00000000087EA000-memory.dmp

        memory/2836-96-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/2836-83-0x0000000007BA0000-0x0000000007BAA000-memory.dmp

        memory/2836-38-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/2836-24-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/2836-40-0x00000000749A0000-0x0000000075150000-memory.dmp

        memory/2836-85-0x0000000007D20000-0x0000000007D31000-memory.dmp

        memory/2836-69-0x0000000070EF0000-0x0000000070F3C000-memory.dmp

        memory/3168-54-0x0000000005C10000-0x0000000005C2E000-memory.dmp

        memory/3168-52-0x0000000004FA0000-0x0000000004FAA000-memory.dmp

        memory/3168-55-0x0000000005C50000-0x0000000005C5A000-memory.dmp

        memory/3168-31-0x0000000000400000-0x000000000043A000-memory.dmp

        memory/3168-53-0x0000000005C00000-0x0000000005C0C000-memory.dmp