Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    16-09-2024 00:45

General

  • Target

    e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe

  • Size

    12.6MB

  • MD5

    e3b05fdf50cf2ba019181a935c1fdde5

  • SHA1

    8b5aaf25c9f5001089b7b60380e3173c5d98f8dc

  • SHA256

    16ad57aecbfa943ed105d550c94a348aa013c8dea6b3e9281b317d464d74d9f6

  • SHA512

    e5e3586be6916888237dfac294ab57c753212f270efd4f9c4c8206912fc953bcdcb21a2400797266e1e0ada4ae69bde0a1cdd274f9a52407edd077d123909e8b

  • SSDEEP

    24576:iBYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYP:i

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

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

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\chdbwtky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kaaapgme.exe" C:\Windows\SysWOW64\chdbwtky\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create chdbwtky binPath= "C:\Windows\SysWOW64\chdbwtky\kaaapgme.exe /d\"C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description chdbwtky "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start chdbwtky
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • 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
      • System Location Discovery: System Language Discovery
      PID:2772
  • C:\Windows\SysWOW64\chdbwtky\kaaapgme.exe
    C:\Windows\SysWOW64\chdbwtky\kaaapgme.exe /d"C:\Users\Admin\AppData\Local\Temp\e3b05fdf50cf2ba019181a935c1fdde5_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2796
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2732

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.7MB

    MD5

    2341b07791a31c16b424dad598dede63

    SHA1

    cfa622ab0b0bd36a5c8f9116df6c94e67d540a5c

    SHA256

    385030726bb4dac4e45f22b74a33158c4fe0c21b313f59e7a65723378eed7a76

    SHA512

    36babbf4b09151d44bf14276c11d63b3688ca66767af0d28343bb2d1b6d8ef31191961aeccabcecf26e0c6fff0aba316ede0f4bca7f9d6e30a5448accb0e570d

  • memory/2344-8-0x0000000000400000-0x00000000004B0000-memory.dmp

    Filesize

    704KB

  • memory/2344-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2344-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2344-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2344-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

  • memory/2732-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2732-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2732-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2732-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2732-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2796-16-0x0000000000400000-0x00000000004B0000-memory.dmp

    Filesize

    704KB