Analysis

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

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

General

  • Target

    JaffaCakes118_6cf2fd59eac608a1f22414a2c20a21c5564c7b829375b5cab3944bb9374e8f0b.exe

  • Size

    292KB

  • MD5

    67d7083f1734915ca4ef5a14820eed9e

  • SHA1

    cf2436918acea33f6e66731e30dfcb4c21e6d423

  • SHA256

    6cf2fd59eac608a1f22414a2c20a21c5564c7b829375b5cab3944bb9374e8f0b

  • SHA512

    34ec6dcf5fdd43ec0fd3302f61bd34067fb4f343cee245d708fc1739f845bdff4a238a4ba4a8510a23579c72192d6706a0a537bdc41c955b19129ccbe657d252

  • SSDEEP

    6144:V2UaFUQRExHq9JEABei1SXuZet0ySbTHe7d1pMNA:IrExHcyABR1SXuZet0ySbTc1pMy

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_6cf2fd59eac608a1f22414a2c20a21c5564c7b829375b5cab3944bb9374e8f0b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6cf2fd59eac608a1f22414a2c20a21c5564c7b829375b5cab3944bb9374e8f0b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tkrmvjnk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xztieawn.exe" C:\Windows\SysWOW64\tkrmvjnk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tkrmvjnk binPath= "C:\Windows\SysWOW64\tkrmvjnk\xztieawn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6cf2fd59eac608a1f22414a2c20a21c5564c7b829375b5cab3944bb9374e8f0b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tkrmvjnk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tkrmvjnk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4056
    • 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:3592
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4588 -s 1036
      2⤵
      • Program crash
      PID:3156
  • C:\Windows\SysWOW64\tkrmvjnk\xztieawn.exe
    C:\Windows\SysWOW64\tkrmvjnk\xztieawn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6cf2fd59eac608a1f22414a2c20a21c5564c7b829375b5cab3944bb9374e8f0b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1932
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1932 -s 512
      2⤵
      • Program crash
      PID:1528
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4588 -ip 4588
    1⤵
      PID:100
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1932 -ip 1932
      1⤵
        PID:4024

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        5966b6112ef6640dc38032a099887bfc

        SHA1

        48f982f7dc891ab7499b4b5e372378b49a3cbaeb

        SHA256

        3a7d1401925b3dbd90c056aa71aa3ecad810d563c8282fc50305562b2054ce95

        SHA512

        2407dc0963d44e1bd96da527caaa6138d1799bbca0e6db3cd0ceb07eff920a5528f5578a3fbc178a5641e17b670a70c3e8b5b02f5abfd86fc0c91c4ed506ea23

      • memory/1052-11-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1052-13-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1052-14-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/1932-15-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB

      • memory/4588-1-0x0000000002C80000-0x0000000002D80000-memory.dmp

        Filesize

        1024KB

      • memory/4588-2-0x00000000048B0000-0x00000000048C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4588-8-0x00000000048B0000-0x00000000048C3000-memory.dmp

        Filesize

        76KB

      • memory/4588-7-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB