Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/02/2024, 23:09

General

  • Target
    93402f4cb4804617b4f4b0353f031385.exe
  • Size 3.7MB
  • Sample240205-25e8kaadd8
  • SHA256 835335cc775273eb1ef0fa656121ea73c9db41b239353fba768254714b2e6a92
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • omaprilcode.duckdns.org:8090

Mutex
  • f8dffc54-5ec5-4013-9de8-d8d853682f44

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    omaprilcode.duckdns.org

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2021-01-26T15:04:24.913843336Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    8090

  • default_group

    CODEDBASE

  • 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

    f8dffc54-5ec5-4013-9de8-d8d853682f44

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    omaprilcode.duckdns.org

  • primary_dns_server

    8.8.8.8

  • request_elevation

    true

  • restart_delay

    5000

  • run_delay

    0

  • run_on_startup

    true

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

  • Windows security bypass 2 TTPs 3 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Windows security modification 2 TTPs 4 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 13 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).

  • Program crash 1 IoCs
  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 12 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\93402f4cb4804617b4f4b0353f031385.exe
    "C:\Users\Admin\AppData\Local\Temp\93402f4cb4804617b4f4b0353f031385.exe"
    1⤵
    • Windows security bypass
    • Checks computer location settings
    • Windows security modification
    • Adds Run key to start application
    • Suspicious use of NtSetInformationThreadHideFromDebugger
    • Suspicious use of SetThreadContext
    • Drops file in Program Files directory
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3016
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Program Files\Common Files\System\0RcQa6c28ccvR10scqneX6tab09830e3f64lUc29f2817Ha\svchost.exe" -Force
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3676
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Program Files\Common Files\System\0RcQa6c28ccvR10scqneX6tab09830e3f64lUc29f2817Ha\svchost.exe" -Force
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2736
    • 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\93402f4cb4804617b4f4b0353f031385.exe" -Force
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c timeout 1
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1664
      • C:\Windows\SysWOW64\timeout.exe
        timeout 1
        3⤵
        • Delays execution with timeout.exe
        PID:3620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3016 -s 1636
      2⤵
      • Program crash
      PID:4344
    • C:\Users\Admin\AppData\Local\Temp\93402f4cb4804617b4f4b0353f031385.exe
      "C:\Users\Admin\AppData\Local\Temp\93402f4cb4804617b4f4b0353f031385.exe"
      2⤵
      • Checks whether UAC is enabled
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:4832
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 3016 -ip 3016
    1⤵
      PID:4492

    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 16KB
          • SHA256 3a4347d822d1b30082a18503180d84697d70d3077ce6a249dffd4a9a6616c037
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_zdtnkzsv.j5p.ps1

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

          memory/644-83-0x0000000007750000-0x0000000007DCA000-memory.dmp

          memory/644-20-0x00000000056F0000-0x0000000005756000-memory.dmp

          memory/644-13-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/644-103-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/644-66-0x000000007FA80000-0x000000007FA90000-memory.dmp

          memory/644-51-0x0000000005E20000-0x0000000005E6C000-memory.dmp

          memory/644-14-0x0000000002510000-0x0000000002520000-memory.dmp

          memory/644-15-0x0000000002510000-0x0000000002520000-memory.dmp

          memory/644-79-0x0000000002510000-0x0000000002520000-memory.dmp

          memory/644-93-0x0000000007180000-0x000000000718A000-memory.dmp

          memory/644-17-0x0000000005550000-0x0000000005572000-memory.dmp

          memory/644-36-0x0000000005840000-0x0000000005B94000-memory.dmp

          memory/644-78-0x0000000002510000-0x0000000002520000-memory.dmp

          memory/644-65-0x00000000702F0000-0x000000007033C000-memory.dmp

          memory/2736-35-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/2736-18-0x0000000002700000-0x0000000002710000-memory.dmp

          memory/2736-16-0x0000000002700000-0x0000000002710000-memory.dmp

          memory/2736-80-0x000000007EE90000-0x000000007EEA0000-memory.dmp

          memory/2736-81-0x00000000702F0000-0x000000007033C000-memory.dmp

          memory/2736-117-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/3016-5-0x0000000007010000-0x00000000075B4000-memory.dmp

          memory/3016-11-0x0000000005430000-0x000000000543A000-memory.dmp

          memory/3016-105-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/3016-118-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/3016-1-0x0000000000500000-0x00000000008B6000-memory.dmp

          memory/3016-4-0x00000000051F0000-0x000000000528C000-memory.dmp

          memory/3016-0-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/3016-2-0x0000000005290000-0x000000000532C000-memory.dmp

          memory/3016-3-0x00000000053D0000-0x00000000053E0000-memory.dmp

          memory/3016-8-0x00000000076C0000-0x0000000007752000-memory.dmp

          memory/3676-96-0x00000000071F0000-0x00000000071FE000-memory.dmp

          memory/3676-82-0x0000000006FC0000-0x0000000006FDA000-memory.dmp

          memory/3676-12-0x0000000004930000-0x0000000004940000-memory.dmp

          memory/3676-67-0x0000000004930000-0x0000000004940000-memory.dmp

          memory/3676-99-0x00000000072E0000-0x00000000072E8000-memory.dmp

          memory/3676-64-0x0000000006C30000-0x0000000006C4E000-memory.dmp

          memory/3676-97-0x0000000007200000-0x0000000007214000-memory.dmp

          memory/3676-98-0x0000000007300000-0x000000000731A000-memory.dmp

          memory/3676-94-0x0000000007240000-0x00000000072D6000-memory.dmp

          memory/3676-54-0x00000000702F0000-0x000000007033C000-memory.dmp

          memory/3676-53-0x0000000006BF0000-0x0000000006C22000-memory.dmp

          memory/3676-9-0x0000000004F70000-0x0000000005598000-memory.dmp

          memory/3676-52-0x000000007F930000-0x000000007F940000-memory.dmp

          memory/3676-10-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/3676-113-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/3676-25-0x0000000005680000-0x00000000056E6000-memory.dmp

          memory/3676-7-0x0000000002370000-0x00000000023A6000-memory.dmp

          memory/3676-68-0x0000000006C60000-0x0000000006D03000-memory.dmp

          memory/3676-50-0x0000000005C70000-0x0000000005C8E000-memory.dmp

          memory/3676-95-0x00000000071C0000-0x00000000071D1000-memory.dmp

          memory/4832-112-0x0000000005950000-0x000000000596E000-memory.dmp

          memory/4832-114-0x0000000006060000-0x000000000606A000-memory.dmp

          memory/4832-106-0x00000000056C0000-0x00000000056D0000-memory.dmp

          memory/4832-108-0x0000000005370000-0x000000000537A000-memory.dmp

          memory/4832-102-0x0000000000400000-0x000000000043A000-memory.dmp

          memory/4832-104-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/4832-119-0x0000000074E00000-0x00000000755B0000-memory.dmp

          memory/4832-120-0x00000000056C0000-0x00000000056D0000-memory.dmp