Analysis

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

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-06-2024 04:44

General

  • Target

    0151396c13b5bc6865551434163d108c_JaffaCakes118.exe

  • Size

    11.7MB

  • MD5

    0151396c13b5bc6865551434163d108c

  • SHA1

    662f732341113522d951ccb10e0bbe8af7719d21

  • SHA256

    0b827bbdc981c850683d5ec4fd095438f962ed6151e05537855008ff79d045c2

  • SHA512

    c94bc7bc0faa5a6ccddc0dfec21c188de3c0625a8d85162a3531e7f07de11effde1b730c8e11b60a6df9aea2a325194bffc703c5860e6e9b3f55406f17d942ff

  • SSDEEP

    12288:gZDHr9j8gEh4CFNUBCWwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:gVHrGc

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ylveaunu\
      2⤵
        PID:1524
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\coaiitiq.exe" C:\Windows\SysWOW64\ylveaunu\
        2⤵
          PID:3400
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ylveaunu binPath= "C:\Windows\SysWOW64\ylveaunu\coaiitiq.exe /d\"C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2780
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ylveaunu "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4064
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ylveaunu
          2⤵
          • Launches sc.exe
          PID:1092
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          • Event Triggered Execution: Netsh Helper DLL
          PID:1436
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 808 -s 784
          2⤵
          • Program crash
          PID:4616
      • C:\Windows\SysWOW64\ylveaunu\coaiitiq.exe
        C:\Windows\SysWOW64\ylveaunu\coaiitiq.exe /d"C:\Users\Admin\AppData\Local\Temp\0151396c13b5bc6865551434163d108c_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4208
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3284
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4208 -s 508
          2⤵
          • Program crash
          PID:1144
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 808 -ip 808
        1⤵
          PID:3464
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4208 -ip 4208
          1⤵
            PID:4468

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.7MB

            MD5

            ab09c6e4843198da2e05a172bc8349d8

            SHA1

            3fdaa3b6cc5cb4b3bbabb8b0113acccda4ad36e3

            SHA256

            a0dd570210428647823fbcaa22f5c60945ec8234bda838d6c366259f1265d445

            SHA512

            84ed8031ef42492c990001fae95ad4cb7c40a976a5317a1f00a71acf51f37c7ebafed80ab2ec12693f8b77d36a44fd1e7aa45957f86db24630ac7725b54d3c10

          • memory/808-8-0x0000000000400000-0x000000000044C000-memory.dmp

            Filesize

            304KB

          • memory/808-4-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/808-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB

          • memory/808-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB

          • memory/808-10-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/808-1-0x0000000000580000-0x0000000000680000-memory.dmp

            Filesize

            1024KB

          • memory/3284-13-0x0000000000990000-0x00000000009A5000-memory.dmp

            Filesize

            84KB

          • memory/3284-15-0x0000000000990000-0x00000000009A5000-memory.dmp

            Filesize

            84KB

          • memory/3284-16-0x0000000000990000-0x00000000009A5000-memory.dmp

            Filesize

            84KB

          • memory/4208-11-0x0000000000400000-0x000000000044C000-memory.dmp

            Filesize

            304KB

          • memory/4208-12-0x0000000000400000-0x000000000044C000-memory.dmp

            Filesize

            304KB

          • memory/4208-18-0x0000000000400000-0x000000000044C000-memory.dmp

            Filesize

            304KB