Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-10-2024 10:59

General

  • Target

    3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe

  • Size

    542KB

  • MD5

    3f7796b18d43116c3d6d7f4de0308a78

  • SHA1

    f4ac30bca8efb3824aa1a3cd32c9d81ac63d0832

  • SHA256

    244bdfbb8ab05f2b10783b17617c16e0d37aa39f66a1d248f4d4a127a3f9db9f

  • SHA512

    bfd6b7b4d55547a6fbf73e0d93511ded9bf3a0f42e4c5a5eb1d324f91f3e771a80f6e77b6b3813e75898d4ed1b3f2503ba83d84248abb141abb7dc67430cc1f2

  • SSDEEP

    12288:sbsaEuPjbITYEqJ5X1yyLZUzHxedJaOoMPP1StOA/:s5PjZvXKMsPftOA/

Malware Config

Extracted

Family

nanocore

Version

1.2.2.0

C2

cloudhost.myfirewall.org:5654

Mutex

9845a945-f2ff-4e93-b909-aece664ddb48

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    cloudhost.myfirewall.org

  • backup_dns_server

    cloudhost.myfirewall.org

  • buffer_size

    65535

  • build_time

    2021-06-20T04:14:27.248073436Z

  • bypass_user_account_control

    false

  • bypass_user_account_control_data

    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTE2Ij8+DQo8VGFzayB2ZXJzaW9uPSIxLjIiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dpbmRvd3MvMjAwNC8wMi9taXQvdGFzayI+DQogIDxSZWdpc3RyYXRpb25JbmZvIC8+DQogIDxUcmlnZ2VycyAvPg0KICA8UHJpbmNpcGFscz4NCiAgICA8UHJpbmNpcGFsIGlkPSJBdXRob3IiPg0KICAgICAgPExvZ29uVHlwZT5JbnRlcmFjdGl2ZVRva2VuPC9Mb2dvblR5cGU+DQogICA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uVGltZUxpbWl0Pg0KICAgIDxQcmlvcml0eT40PC9Qcmlvcml0eT4NCiAgPC9TZXR0aW5ncz4NCiAgPEFjdGlvbnMgQ29udGV4dD0iQXV0aG9yIj4NCiAgICA8RXhlYz4NCiAgICAgIDxDb21tYW5kPiIjRVhFQ1VUQUJMRVBBVEgiPC9Db21tYW5kPg0KICAgICAgPEFyZ3VtZW50cz4kKEFyZzApPC9Bcmd1bWVudHM+DQogICAgPC9FeGVjPg0KICA8L0FjdGlvbnM+DQo8L1Rhc2s+

  • clear_access_control

    true

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    5654

  • default_group

    J

  • 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

    9845a945-f2ff-4e93-b909-aece664ddb48

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    cloudhost.myfirewall.org

  • primary_dns_server

    cloudhost.myfirewall.org

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

  • 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 7 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 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 11 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\3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_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:4156
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4324
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2828
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Start-Sleep -s 5
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2476
    • C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_JaffaCakes118.exe
      C:\Users\Admin\AppData\Local\Temp\3f7796b18d43116c3d6d7f4de0308a78_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
      • Suspicious use of WriteProcessMemory
      PID:936
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "SMTP Subsystem" /xml "C:\Users\Admin\AppData\Local\Temp\tmp8567.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:2144
      • C:\Windows\SysWOW64\schtasks.exe
        "schtasks.exe" /create /f /tn "SMTP Subsystem Task" /xml "C:\Users\Admin\AppData\Local\Temp\tmp85A7.tmp"
        3⤵
        • System Location Discovery: System Language Discovery
        • Scheduled Task/Job: Scheduled Task
        PID:2112

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    425B

    MD5

    4eaca4566b22b01cd3bc115b9b0b2196

    SHA1

    e743e0792c19f71740416e7b3c061d9f1336bf94

    SHA256

    34ba0ab8d1850e7825763f413142a333ccbc05fa2b5499a28a7d27b8a1c5b4bb

    SHA512

    bc2b1bf45203e3bb3009a7d37617b8f0f7ffa613680b32de2b963e39d2cf1650614d7035a0cf78f35a4f5cb17a2a439e2e07deaefd2a4275a62efd0a5c0184a1

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

    Filesize

    1KB

    MD5

    4280e36a29fa31c01e4d8b2ba726a0d8

    SHA1

    c485c2c9ce0a99747b18d899b71dfa9a64dabe32

    SHA256

    e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359

    SHA512

    494fe5f0ade03669e5830bed93c964d69b86629440148d7b0881cf53203fd89443ebff9b4d1ee9d96244f62af6edede622d9eacba37f80f389a0d522e4ad4ea4

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    16KB

    MD5

    251245deec5a8f87f9b6d848b62d12d3

    SHA1

    5ea113109ad8c04355a9d80160e17c166df2bdfe

    SHA256

    cac3a55b2935208e6da2004db68829e5def28c83651981538d6d9a33c5f1c179

    SHA512

    b21588b98967903855d44551c06052324a189d03a986aa3c449ce8a16d7b6d26353a22216cfe067f2cd243b0e469290792095a926fabd589d9e5af078c173d5f

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    16KB

    MD5

    ff63c6c7e23350b6b5c659b46ebe0d6b

    SHA1

    05a510023b5421f8b942015136cff9b7fa419e32

    SHA256

    f1a98de33085c54c542e8b8a5d5e2a1533dd8a6faff22293f2f765968ec231f0

    SHA512

    1f7fbdd51a6377adc332641acf04778e337c4b21f5ba633b42170a7919a70c2d746a8e600db1e6630d1ea01e2c1f2c561e33c8ad057c3b1f835b4631f238037a

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_qsyqq4fv.ncv.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    1KB

    MD5

    66d0f7b9d6221e039b49f097a77cbd03

    SHA1

    106793afa1c3d65aafc018982127be3561a91573

    SHA256

    49e1af7004b3e37295c54e7a6cf0fae9f137ca2109a1b555ca1f53445c312f3c

    SHA512

    644dc4b16cda90dd8d3334b8775149044795757f8c5e90999dadc92771a7787d5be806f7ea3ddf6fc9bc652fdfda76ae1720772313c0fe69fd9308585ee2e842

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

    Filesize

    1KB

    MD5

    0339b45ef206f4becc88be0d65e24b9e

    SHA1

    6503a1851f4ccd8c80a31f96bd7ae40d962c9fad

    SHA256

    3d568a47a8944a47f4aed6982755ac7ff7dda469cc1c81c213ecaa5d89de1f83

    SHA512

    c98f4513db34d50510dd986e0d812545c442bd5bef26932032b165759627fab4e00c95fe907ab3416a8a1042bfa77aa516c479f1ff7d1ec2f21ae66df8f72551

  • memory/936-63-0x0000000005940000-0x0000000005EE4000-memory.dmp

    Filesize

    5.6MB

  • memory/936-65-0x0000000005430000-0x00000000054CC000-memory.dmp

    Filesize

    624KB

  • memory/936-76-0x0000000005930000-0x000000000593A000-memory.dmp

    Filesize

    40KB

  • memory/936-59-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/936-75-0x0000000006460000-0x000000000647E000-memory.dmp

    Filesize

    120KB

  • memory/936-64-0x00000000052C0000-0x0000000005352000-memory.dmp

    Filesize

    584KB

  • memory/936-74-0x0000000005410000-0x000000000541A000-memory.dmp

    Filesize

    40KB

  • memory/936-66-0x0000000005390000-0x000000000539A000-memory.dmp

    Filesize

    40KB

  • memory/2828-30-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/2828-45-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/2828-33-0x0000000005680000-0x00000000059D4000-memory.dmp

    Filesize

    3.3MB

  • memory/2828-32-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/2828-31-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4156-58-0x0000000000F90000-0x0000000000FC8000-memory.dmp

    Filesize

    224KB

  • memory/4156-29-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4156-27-0x00000000743CE000-0x00000000743CF000-memory.dmp

    Filesize

    4KB

  • memory/4156-62-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4156-1-0x0000000000E40000-0x0000000000ECC000-memory.dmp

    Filesize

    560KB

  • memory/4156-0-0x00000000743CE000-0x00000000743CF000-memory.dmp

    Filesize

    4KB

  • memory/4156-2-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4156-57-0x0000000005760000-0x00000000057B4000-memory.dmp

    Filesize

    336KB

  • memory/4324-22-0x0000000007F60000-0x00000000085DA000-memory.dmp

    Filesize

    6.5MB

  • memory/4324-26-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4324-8-0x00000000057E0000-0x0000000005846000-memory.dmp

    Filesize

    408KB

  • memory/4324-19-0x0000000006130000-0x0000000006484000-memory.dmp

    Filesize

    3.3MB

  • memory/4324-5-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4324-7-0x0000000005740000-0x0000000005762000-memory.dmp

    Filesize

    136KB

  • memory/4324-3-0x0000000005110000-0x0000000005146000-memory.dmp

    Filesize

    216KB

  • memory/4324-4-0x00000000743C0000-0x0000000074B70000-memory.dmp

    Filesize

    7.7MB

  • memory/4324-23-0x0000000007590000-0x00000000075AA000-memory.dmp

    Filesize

    104KB

  • memory/4324-6-0x00000000058E0000-0x0000000005F08000-memory.dmp

    Filesize

    6.2MB

  • memory/4324-21-0x0000000006720000-0x000000000676C000-memory.dmp

    Filesize

    304KB

  • memory/4324-20-0x00000000066E0000-0x00000000066FE000-memory.dmp

    Filesize

    120KB

  • memory/4324-9-0x00000000060C0000-0x0000000006126000-memory.dmp

    Filesize

    408KB