Analysis

  • max time kernel
    145s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11/10/2024, 07:38

General

  • Target
    33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.exe
  • Size 745KB
  • Sample241011-jgqehsxfrj
  • SHA256 13fe4c9b3cf5ae9a331e296d91c684470db23be83e0a981cdfe48d5d08b197bf
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • nanocore

Version
  • 1.2.2.0

C2
  • bohemianbenz.ddns.net:6060

  • 127.0.0.1:6060

Mutex
  • 4c660600-2810-4cf6-8702-7937ab2e690a

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    127.0.0.1

  • backup_dns_server

    37.235.1.177

  • buffer_size

    65535

  • build_time

    2021-04-12T20:37:58.074750536Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    6060

  • default_group

    ODINSGATE

  • 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

    4c660600-2810-4cf6-8702-7937ab2e690a

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 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.

  • Unexpected DNS network traffic destination 7 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).

  • System Location Discovery: System Language Discovery 1 TTPs 6 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 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\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.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:3844
    • 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\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:816
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\enujwiWPdhq.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2664
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\enujwiWPdhq" /XML "C:\Users\Admin\AppData\Local\Temp\tmp72D9.tmp"
      2⤵
      • System Location Discovery: System Language Discovery
      • Scheduled Task/Job: Scheduled Task
      PID:3352
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\enujwiWPdhq.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4804
    • C:\Users\Admin\AppData\Local\Temp\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.exe"
      2⤵
        PID:2120
      • C:\Users\Admin\AppData\Local\Temp\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.exe
        "C:\Users\Admin\AppData\Local\Temp\33ea695c5aae0047ddbd1144eeba659a_JaffaCakes118.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:1920

    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 6f8fd1b8d9788ad54eaeee329232187e24b7b43393a01aeba2d6e9675231fb69
          • MD5 SHA1 SHA512

          StartupProfileData-NonInteractive

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

          StartupProfileData-NonInteractive

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

          __PSScriptPolicyTest_jk0jiyjh.vsx.ps1

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

          tmp72D9.tmp

          • Path C:\Users\Admin\AppData\Local\Temp\tmp72D9.tmp
          • Size 1KB
          • SHA256 9e3c857d2c993661e97a738854f66b3f17255433ae62c6da285574617335fd8e
          • MD5 SHA1 SHA512

          memory/816-25-0x0000000004E80000-0x0000000004EE6000-memory.dmp

          memory/816-78-0x0000000006D00000-0x0000000006D1E000-memory.dmp

          memory/816-116-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/816-108-0x00000000073E0000-0x00000000073E8000-memory.dmp

          memory/816-107-0x0000000007400000-0x000000000741A000-memory.dmp

          memory/816-106-0x0000000007300000-0x0000000007314000-memory.dmp

          memory/816-105-0x00000000072F0000-0x00000000072FE000-memory.dmp

          memory/816-104-0x00000000072C0000-0x00000000072D1000-memory.dmp

          memory/816-17-0x00000000024D0000-0x0000000002506000-memory.dmp

          memory/816-18-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/816-20-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/816-19-0x0000000004F40000-0x0000000005568000-memory.dmp

          memory/816-21-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/816-62-0x0000000005E30000-0x0000000005E7C000-memory.dmp

          memory/816-26-0x0000000005570000-0x00000000055D6000-memory.dmp

          memory/816-56-0x0000000005DA0000-0x0000000005DBE000-memory.dmp

          memory/816-30-0x00000000057C0000-0x0000000005B14000-memory.dmp

          memory/816-92-0x00000000070C0000-0x00000000070DA000-memory.dmp

          memory/816-91-0x0000000007700000-0x0000000007D7A000-memory.dmp

          memory/816-68-0x00000000711F0000-0x000000007123C000-memory.dmp

          memory/816-67-0x0000000006D20000-0x0000000006D52000-memory.dmp

          memory/816-24-0x0000000004DE0000-0x0000000004E02000-memory.dmp

          memory/1920-53-0x00000000055F0000-0x00000000055FA000-memory.dmp

          memory/1920-29-0x0000000000400000-0x0000000000438000-memory.dmp

          memory/1920-55-0x0000000005950000-0x000000000595A000-memory.dmp

          memory/1920-54-0x0000000005750000-0x000000000576E000-memory.dmp

          memory/2664-23-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/2664-102-0x0000000007580000-0x000000000758A000-memory.dmp

          memory/2664-117-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/2664-103-0x0000000007790000-0x0000000007826000-memory.dmp

          memory/2664-27-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/2664-79-0x00000000711F0000-0x000000007123C000-memory.dmp

          memory/2664-89-0x00000000071E0000-0x0000000007283000-memory.dmp

          memory/2664-28-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/3844-11-0x0000000008120000-0x00000000081C8000-memory.dmp

          memory/3844-3-0x00000000058D0000-0x0000000005E74000-memory.dmp

          memory/3844-4-0x00000000053C0000-0x0000000005452000-memory.dmp

          memory/3844-6-0x00000000055C0000-0x0000000005616000-memory.dmp

          memory/3844-0-0x0000000074CAE000-0x0000000074CAF000-memory.dmp

          memory/3844-12-0x000000000A880000-0x000000000A8BA000-memory.dmp

          memory/3844-5-0x0000000005320000-0x000000000532A000-memory.dmp

          memory/3844-9-0x0000000074CAE000-0x0000000074CAF000-memory.dmp

          memory/3844-41-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/3844-8-0x0000000007FE0000-0x0000000007FF6000-memory.dmp

          memory/3844-10-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/3844-2-0x0000000005280000-0x000000000531C000-memory.dmp

          memory/3844-7-0x0000000074CA0000-0x0000000075450000-memory.dmp

          memory/3844-1-0x0000000000810000-0x00000000008D0000-memory.dmp

          memory/4804-90-0x00000000711F0000-0x000000007123C000-memory.dmp