Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-08-2024 08:16

General

  • Target

    fe336762e80da2b170280a2b1b836d90N.exe

  • Size

    640KB

  • MD5

    fe336762e80da2b170280a2b1b836d90

  • SHA1

    55a234638622e0e67d380cc7f827e71a88ffcba8

  • SHA256

    73faac219e34398e37026d1bebc1bb198a833ce5a97de2b56dd2a723d27456f6

  • SHA512

    052966fccf969a883f8a12a0681d089d3c137dc444ff4df8d3b4dca1f8fce1196fb7ff411f0577ae1faea9b07284e9edd49226124c9cb22e4701829e7337d44b

  • SSDEEP

    12288:b7WYyKnpG9iNdeK0xrhslCO3hF/+iX11Cj0hxIB6XTyG:b7WY1mrmh3Dn0ghxMcTyG

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

mattwems38.ddns.net:57268

94.156.65.159:57268

Mutex

5c44c87f-5c9e-45b6-af06-33037a7e5217

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    94.156.65.159

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2024-05-06T13:32:33.415272936Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    true

  • connect_delay

    4000

  • connection_port

    57268

  • default_group

    Cbembalyne

  • 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

    5c44c87f-5c9e-45b6-af06-33037a7e5217

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    mattwems38.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
  • 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 10 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fe336762e80da2b170280a2b1b836d90N.exe
    "C:\Users\Admin\AppData\Local\Temp\fe336762e80da2b170280a2b1b836d90N.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3676
    • 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\fe336762e80da2b170280a2b1b836d90N.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1032
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\gRHaoROCUiNvbS.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3324
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\gRHaoROCUiNvbS" /XML "C:\Users\Admin\AppData\Local\Temp\tmpDAEF.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:1680
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
      "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"
      2⤵
      • Adds Run key to start application
      • Drops file in Program Files directory
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:3828

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    2KB

    MD5

    968cb9309758126772781b83adb8a28f

    SHA1

    8da30e71accf186b2ba11da1797cf67f8f78b47c

    SHA256

    92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a

    SHA512

    4bd50732f8af4d688d95999bddfd296115d7033ddc38f86c9fb1f47fde202bffa27e9088bebcaa3064ca946af2f5c1ca6cbde49d0907f0005c7ab42874515dd3

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_w1pqd2mi.2p3.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    1KB

    MD5

    a8ff93d9017047a47cbcd5d7136ddaad

    SHA1

    a2f0ffd101ee3c4d2eb215fefa857b8ac217ff78

    SHA256

    47436afdb0982b21010a04369bbca0f725dd1cbc41d92b03f77b5ab776d3406a

    SHA512

    beb5800c79f49033ecc485fce6efc641630f198eab1773c7728428c702a6c4d0c92b124312b89cc2c8352995355a2ae950c6497e8aa429435c98f4b2f4d2e150

  • memory/1032-73-0x0000000007B80000-0x0000000007B9A000-memory.dmp

    Filesize

    104KB

  • memory/1032-72-0x00000000081C0000-0x000000000883A000-memory.dmp

    Filesize

    6.5MB

  • memory/1032-95-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/1032-88-0x0000000007DC0000-0x0000000007DD4000-memory.dmp

    Filesize

    80KB

  • memory/1032-85-0x0000000007E00000-0x0000000007E96000-memory.dmp

    Filesize

    600KB

  • memory/1032-75-0x0000000007BF0000-0x0000000007BFA000-memory.dmp

    Filesize

    40KB

  • memory/1032-60-0x0000000075160000-0x00000000751AC000-memory.dmp

    Filesize

    304KB

  • memory/1032-71-0x0000000007880000-0x0000000007923000-memory.dmp

    Filesize

    652KB

  • memory/1032-70-0x0000000006E50000-0x0000000006E6E000-memory.dmp

    Filesize

    120KB

  • memory/1032-59-0x0000000007840000-0x0000000007872000-memory.dmp

    Filesize

    200KB

  • memory/1032-18-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/1032-51-0x0000000006850000-0x000000000686E000-memory.dmp

    Filesize

    120KB

  • memory/1032-19-0x0000000005A80000-0x00000000060A8000-memory.dmp

    Filesize

    6.2MB

  • memory/1032-20-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/1032-52-0x0000000006D00000-0x0000000006D4C000-memory.dmp

    Filesize

    304KB

  • memory/1032-17-0x0000000002F40000-0x0000000002F76000-memory.dmp

    Filesize

    216KB

  • memory/1032-42-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3324-23-0x0000000005480000-0x00000000054E6000-memory.dmp

    Filesize

    408KB

  • memory/3324-96-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3324-90-0x00000000071F0000-0x00000000071F8000-memory.dmp

    Filesize

    32KB

  • memory/3324-47-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3324-21-0x0000000004BD0000-0x0000000004BF2000-memory.dmp

    Filesize

    136KB

  • memory/3324-32-0x00000000055B0000-0x0000000005904000-memory.dmp

    Filesize

    3.3MB

  • memory/3324-89-0x0000000007210000-0x000000000722A000-memory.dmp

    Filesize

    104KB

  • memory/3324-22-0x0000000004C70000-0x0000000004CD6000-memory.dmp

    Filesize

    408KB

  • memory/3324-31-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3324-87-0x0000000007100000-0x000000000710E000-memory.dmp

    Filesize

    56KB

  • memory/3324-24-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3324-86-0x00000000070D0000-0x00000000070E1000-memory.dmp

    Filesize

    68KB

  • memory/3324-74-0x0000000075160000-0x00000000751AC000-memory.dmp

    Filesize

    304KB

  • memory/3676-9-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3676-8-0x00000000748BE000-0x00000000748BF000-memory.dmp

    Filesize

    4KB

  • memory/3676-5-0x0000000005320000-0x000000000532A000-memory.dmp

    Filesize

    40KB

  • memory/3676-2-0x0000000005910000-0x0000000005EB4000-memory.dmp

    Filesize

    5.6MB

  • memory/3676-1-0x0000000000870000-0x0000000000916000-memory.dmp

    Filesize

    664KB

  • memory/3676-50-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3676-0-0x00000000748BE000-0x00000000748BF000-memory.dmp

    Filesize

    4KB

  • memory/3676-4-0x00000000748B0000-0x0000000075060000-memory.dmp

    Filesize

    7.7MB

  • memory/3676-10-0x00000000057C0000-0x00000000057D6000-memory.dmp

    Filesize

    88KB

  • memory/3676-12-0x000000000C010000-0x000000000C0AC000-memory.dmp

    Filesize

    624KB

  • memory/3676-7-0x00000000057A0000-0x00000000057BE000-memory.dmp

    Filesize

    120KB

  • memory/3676-11-0x0000000008EF0000-0x0000000008F6C000-memory.dmp

    Filesize

    496KB

  • memory/3676-3-0x0000000005360000-0x00000000053F2000-memory.dmp

    Filesize

    584KB

  • memory/3676-6-0x00000000055F0000-0x000000000568E000-memory.dmp

    Filesize

    632KB

  • memory/3828-55-0x0000000005480000-0x000000000548A000-memory.dmp

    Filesize

    40KB

  • memory/3828-56-0x0000000005490000-0x000000000549C000-memory.dmp

    Filesize

    48KB

  • memory/3828-57-0x00000000061D0000-0x00000000061EE000-memory.dmp

    Filesize

    120KB

  • memory/3828-48-0x0000000000400000-0x000000000043A000-memory.dmp

    Filesize

    232KB

  • memory/3828-58-0x00000000061F0000-0x00000000061FA000-memory.dmp

    Filesize

    40KB