Analysis

  • max time kernel
    149s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    19-12-2024 00:35

General

  • Target

    fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe

  • Size

    2.3MB

  • MD5

    fdbaf1cf150f8ce9892cd77f8f57ee3a

  • SHA1

    30b9e7f9fd621887cc3c0d386e8f39e2d5c82229

  • SHA256

    2d68a08146c225053c8314282aca4053408e85ff77a9bbd302efe44f1db4739e

  • SHA512

    1c9b52214898992d138da884da8c360eb8a40aabb3fa8b9027bcc93686d4f1df2a77f00ecc75944eec063e896b65bc70d1e0c865c6a51e03f1894a4838a75caa

  • SSDEEP

    49152:qAoTSV3SSpwtb9rRbipPihj+dPGyFUJ8pg:qnu3nERmpPiF+9GyFUJ8K

Malware Config

Extracted

Family

nanocore

Version

1.2.2.2

C2

swagkhalifa.ddns.net:1338

Mutex

e113746a-962b-4f99-ad1e-17a39d3fb1d8

Attributes
  • activate_away_mode

    true

  • backup_connection_host

    swagkhalifa.ddns.net

  • backup_dns_server

    8.8.4.4

  • buffer_size

    65535

  • build_time

    2015-06-25T17:24:03.224329436Z

  • bypass_user_account_control

    true

  • bypass_user_account_control_data

  • clear_access_control

    false

  • clear_zone_identifier

    false

  • connect_delay

    4000

  • connection_port

    1338

  • default_group

    Agar

  • 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

    e113746a-962b-4f99-ad1e-17a39d3fb1d8

  • mutex_timeout

    5000

  • prevent_system_sleep

    false

  • primary_connection_host

    swagkhalifa.ddns.net

  • primary_dns_server

    8.8.8.8

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

  • wan_timeout

    8000

Signatures

  • NanoCore

    NanoCore is a remote access tool (RAT) with a variety of capabilities.

  • Nanocore family
  • Deletes itself 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 14 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Program Files directory 3 IoCs
  • Subvert Trust Controls: Mark-of-the-Web Bypass 1 TTPs 1 IoCs

    When files are downloaded from the Internet, they are tagged with a hidden NTFS Alternate Data Stream (ADS) named Zone.Identifier with a specific value known as the MOTW.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

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

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

  • Modifies system certificate store 2 TTPs 3 IoCs
  • NTFS ADS 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 17 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2700
    • C:\Users\Admin\AppData\Local\Temp\Raga.exe
      "C:\Users\Admin\AppData\Local\Temp\Raga.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • System Location Discovery: System Language Discovery
      • Modifies system certificate store
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      PID:2268
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /c echo [zoneTransfer]ZoneID = 2 > "C:\Users\Admin\AppData\Local\Temp\fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe":ZONE.identifier & exit
      2⤵
      • Subvert Trust Controls: Mark-of-the-Web Bypass
      • System Location Discovery: System Language Discovery
      • NTFS ADS
      PID:2848
    • C:\Users\Admin\AppData\Local\Temp\fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe
      "C:\Users\Admin\AppData\Local\Temp\fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe"
      2⤵
      • Deletes itself
      • Executes dropped EXE
      • Adds Run key to start application
      • Checks whether UAC is enabled
      • Drops file in Program Files directory
      • System Location Discovery: System Language Discovery
      • NTFS ADS
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious behavior: GetForegroundWindowSpam
      • Suspicious use of AdjustPrivilegeToken
      PID:2528

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    70KB

    MD5

    49aebf8cbd62d92ac215b2923fb1b9f5

    SHA1

    1723be06719828dda65ad804298d0431f6aff976

    SHA256

    b33efcb95235b98b48508e019afa4b7655e80cf071defabd8b2123fc8b29307f

    SHA512

    bf86116b015fb56709516d686e168e7c9c68365136231cc51d0b6542ae95323a71d2c7acec84aad7dcecc2e410843f6d82a0a6d51b9acfc721a9c84fdd877b5b

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

    Filesize

    181KB

    MD5

    4ea6026cf93ec6338144661bf1202cd1

    SHA1

    a1dec9044f750ad887935a01430bf49322fbdcb7

    SHA256

    8efbc21559ef8b1bcf526800d8070baad42474ce7198e26fa771dbb41a76b1d8

    SHA512

    6c7e0980e39aacf4c3689802353f464a08cd17753bd210ee997e5f2a455deb4f287a9ef74d84579dbde49bc96213cd2b8b247723919c412ea980aa6e6bfe218b

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

    Filesize

    1KB

    MD5

    152fd83c71248d63d3d291501ef59898

    SHA1

    a44017c0c31ec38ad1770a6540ca33e339de12ed

    SHA256

    61e38537744bbc4826d0cea5d922dd686fe78292444f096993de693195824434

    SHA512

    5f5be90c2f7bc2d02258c090b2f66b195f1dfc9fc58dfe4c5c8ed1a4394dee9086adbf97a4ae50b5058c5156c319799c2dd27745560e622e34d2074fe81d42a5

  • C:\Users\Admin\AppData\Local\Temp\fdbaf1cf150f8ce9892cd77f8f57ee3a_JaffaCakes118.exe

    Filesize

    2.3MB

    MD5

    fdbaf1cf150f8ce9892cd77f8f57ee3a

    SHA1

    30b9e7f9fd621887cc3c0d386e8f39e2d5c82229

    SHA256

    2d68a08146c225053c8314282aca4053408e85ff77a9bbd302efe44f1db4739e

    SHA512

    1c9b52214898992d138da884da8c360eb8a40aabb3fa8b9027bcc93686d4f1df2a77f00ecc75944eec063e896b65bc70d1e0c865c6a51e03f1894a4838a75caa

  • \Users\Admin\AppData\Local\Temp\Raga.exe

    Filesize

    1.6MB

    MD5

    7028b8bcff9aa7fae47d5c29481d4eb9

    SHA1

    1c9deb7b3dcb44fec1f6be6dab46f158d7eb768e

    SHA256

    ed7fddc0861e1ba103554f9f8f65cc412ca4cb06d1ed371c9b380e6e8bc0f805

    SHA512

    4352e95ebed2f1617db5032a2ac35c06af1ee89cd22e9506e3d5f663a59efafa6462b0a1aed5fc2ac477666afa38bcf03462ff2b4033c3cc7e0a5641e2ddd91f

  • memory/2268-11-0x0000000000F50000-0x00000000012DA000-memory.dmp

    Filesize

    3.5MB

  • memory/2268-38-0x0000000010000000-0x0000000010068000-memory.dmp

    Filesize

    416KB

  • memory/2268-113-0x0000000010000000-0x0000000010068000-memory.dmp

    Filesize

    416KB

  • memory/2268-114-0x0000000000F50000-0x00000000012DA000-memory.dmp

    Filesize

    3.5MB

  • memory/2268-15-0x0000000077D10000-0x0000000077D11000-memory.dmp

    Filesize

    4KB

  • memory/2268-115-0x0000000010000000-0x0000000010068000-memory.dmp

    Filesize

    416KB

  • memory/2268-34-0x0000000000F10000-0x0000000000F50000-memory.dmp

    Filesize

    256KB

  • memory/2268-41-0x0000000002E00000-0x0000000002E64000-memory.dmp

    Filesize

    400KB

  • memory/2268-43-0x00000000004F0000-0x00000000004F4000-memory.dmp

    Filesize

    16KB

  • memory/2528-30-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2528-31-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2528-27-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2528-25-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2528-23-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2528-21-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2528-19-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2528-28-0x0000000000400000-0x0000000000438000-memory.dmp

    Filesize

    224KB

  • memory/2700-0-0x0000000074E71000-0x0000000074E72000-memory.dmp

    Filesize

    4KB

  • memory/2700-33-0x0000000074E70000-0x000000007541B000-memory.dmp

    Filesize

    5.7MB

  • memory/2700-14-0x0000000074E70000-0x000000007541B000-memory.dmp

    Filesize

    5.7MB

  • memory/2700-13-0x0000000074E70000-0x000000007541B000-memory.dmp

    Filesize

    5.7MB

  • memory/2700-8-0x00000000056B0000-0x0000000005A3A000-memory.dmp

    Filesize

    3.5MB

  • memory/2700-3-0x0000000074E70000-0x000000007541B000-memory.dmp

    Filesize

    5.7MB

  • memory/2700-2-0x0000000074E70000-0x000000007541B000-memory.dmp

    Filesize

    5.7MB

  • memory/2700-1-0x0000000074E70000-0x000000007541B000-memory.dmp

    Filesize

    5.7MB