Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 03:21

General

  • Target

    JaffaCakes118_8de70b11b35097da33e0d5dd0e501ab30c1e7848bfa1339ae111208720412a2e.exe

  • Size

    169KB

  • MD5

    ae26a7d97f24de1ccb18f6e8d5c2b17e

  • SHA1

    db1699530d888798f5755c6fa49b510735ee382c

  • SHA256

    8de70b11b35097da33e0d5dd0e501ab30c1e7848bfa1339ae111208720412a2e

  • SHA512

    08c8c53f698d20167058d26b973c95fe639b7f2b7812c3b8b4ee6a89088d9917ec0ea31a3d34592400976bf2b3419993d7b5207830e396bc89701c5b69b8e723

  • SSDEEP

    3072:ZINEppMfEjnjh9fzRq6aMLsKdGtkZwA/e22:ONEppMfEhLq69ssAkZ0J

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.ru

Signatures

  • Tofsee

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

  • Tofsee family
  • 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
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8de70b11b35097da33e0d5dd0e501ab30c1e7848bfa1339ae111208720412a2e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8de70b11b35097da33e0d5dd0e501ab30c1e7848bfa1339ae111208720412a2e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eybeanxr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3212
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvpeawsj.exe" C:\Windows\SysWOW64\eybeanxr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eybeanxr binPath= "C:\Windows\SysWOW64\eybeanxr\tvpeawsj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8de70b11b35097da33e0d5dd0e501ab30c1e7848bfa1339ae111208720412a2e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eybeanxr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eybeanxr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2136
    • 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:1468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3148 -s 1040
      2⤵
      • Program crash
      PID:4592
  • C:\Windows\SysWOW64\eybeanxr\tvpeawsj.exe
    C:\Windows\SysWOW64\eybeanxr\tvpeawsj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8de70b11b35097da33e0d5dd0e501ab30c1e7848bfa1339ae111208720412a2e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3304
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3304 -s 520
      2⤵
      • Program crash
      PID:4612
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3148 -ip 3148
    1⤵
      PID:1624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3304 -ip 3304
      1⤵
        PID:3204

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        04d75304b5ea26a8518990acacbd4971

        SHA1

        6af1ff81a86b61e1253bfe5f2705788dfe954c52

        SHA256

        1965388c1e2f0daca4d82c2f777c9e8fe778a97a6b76af21f1be90438000a389

        SHA512

        25f2fbb9c867f3f3611854eba9f5f9f480b8bc0739cf92a83d3fe023e04ce8b49b4b78f30a969504cfd0d34bcf2642e062e34459f6ab737da896eaebd7923d4d

      • memory/640-10-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/640-17-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/640-19-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/640-18-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/640-7-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/3148-13-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3148-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3148-14-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

      • memory/3148-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3148-15-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/3148-0-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

      • memory/3148-1-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/3304-12-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3304-6-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB