Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 13:39

General

  • Target

    JaffaCakes118_04ef826d7d0601ffd19f2a1fd76b6431570e6577ab67ffbbfe2f2a9305a9518f.exe

  • Size

    285KB

  • MD5

    6034f6a8acb2a90178de54274fa1544a

  • SHA1

    09328269dfc3b4b2765f1e246505f575693bcb47

  • SHA256

    04ef826d7d0601ffd19f2a1fd76b6431570e6577ab67ffbbfe2f2a9305a9518f

  • SHA512

    7ead9d7cbb2358f0bba6f4f1e20da2b3d6199ae73fddf3d9f3a7c1352a4bf4ca268c175e58a7bd1fa938d8b00eef7a492999425cb02219f77e66b0c26e09ea63

  • SSDEEP

    6144:QKFbjnHEkmOZQgxVpuzbgwu6L7ITsqSigaTwVf:DbjkMxVpunnn7s

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_04ef826d7d0601ffd19f2a1fd76b6431570e6577ab67ffbbfe2f2a9305a9518f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_04ef826d7d0601ffd19f2a1fd76b6431570e6577ab67ffbbfe2f2a9305a9518f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\erwfbpoy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mnlvyrwh.exe" C:\Windows\SysWOW64\erwfbpoy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create erwfbpoy binPath= "C:\Windows\SysWOW64\erwfbpoy\mnlvyrwh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_04ef826d7d0601ffd19f2a1fd76b6431570e6577ab67ffbbfe2f2a9305a9518f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description erwfbpoy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start erwfbpoy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5084
    • 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:748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5004 -s 1036
      2⤵
      • Program crash
      PID:4464
  • C:\Windows\SysWOW64\erwfbpoy\mnlvyrwh.exe
    C:\Windows\SysWOW64\erwfbpoy\mnlvyrwh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_04ef826d7d0601ffd19f2a1fd76b6431570e6577ab67ffbbfe2f2a9305a9518f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1008
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1008 -s 512
      2⤵
      • Program crash
      PID:4468
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 5004 -ip 5004
    1⤵
      PID:2944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1008 -ip 1008
      1⤵
        PID:3208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        b0d0cbdad9b407faf865ffb1435ee1d9

        SHA1

        c422e3b7f800c46e6fb27a51e43731ed6067a30b

        SHA256

        56417afde9c49ffa2193a5ac8d4d43eb962d0f7e4eba11cf9a52f9c2dc57eb02

        SHA512

        bd74e794bacdace9af3f756570271b444d98adcbac7e89352116f72dd3c25a73f9721c4b759ca16df147fc47a6c3adcd9603468b08a5fedd61119e135c594d15

      • memory/1008-10-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/1008-11-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/1008-17-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/1008-12-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/4832-13-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/4832-15-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/4832-16-0x00000000007E0000-0x00000000007F5000-memory.dmp

        Filesize

        84KB

      • memory/5004-7-0x0000000000530000-0x000000000053D000-memory.dmp

        Filesize

        52KB

      • memory/5004-6-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/5004-8-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB

      • memory/5004-0-0x0000000000530000-0x000000000053D000-memory.dmp

        Filesize

        52KB

      • memory/5004-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/5004-1-0x0000000000540000-0x0000000000553000-memory.dmp

        Filesize

        76KB