Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 00:06

General

  • Target

    JaffaCakes118_1078eb65f6461d85120c9d42fb09b04c88f11254bacb55c0735ce1125d4e2743.exe

  • Size

    179KB

  • MD5

    37caa50c2b1a0f550713ad0ce57ed4c3

  • SHA1

    fde0402254f3c57b10d6789d3b537761999db2c3

  • SHA256

    1078eb65f6461d85120c9d42fb09b04c88f11254bacb55c0735ce1125d4e2743

  • SHA512

    9b468657c7d7b40092784a3ab8f29ebcd2261d23bcebc97cdbda7eb31ade40ad6c74120b3c9bb54ebea6d01e1afe295d252dfcc0a4b0eaa6759514bd9e6f1278

  • SSDEEP

    3072:I744SpmfTOqHl4KkmSVtDzuzWcGZQ6bna6lBYS8jesCq2q5py:HmfTO0gmSVlnxPBQdn2W

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_1078eb65f6461d85120c9d42fb09b04c88f11254bacb55c0735ce1125d4e2743.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1078eb65f6461d85120c9d42fb09b04c88f11254bacb55c0735ce1125d4e2743.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kbltskrc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wyshdzvm.exe" C:\Windows\SysWOW64\kbltskrc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kbltskrc binPath= "C:\Windows\SysWOW64\kbltskrc\wyshdzvm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1078eb65f6461d85120c9d42fb09b04c88f11254bacb55c0735ce1125d4e2743.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kbltskrc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kbltskrc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1304
    • 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:2804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1320 -s 680
      2⤵
      • Program crash
      PID:1572
  • C:\Windows\SysWOW64\kbltskrc\wyshdzvm.exe
    C:\Windows\SysWOW64\kbltskrc\wyshdzvm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1078eb65f6461d85120c9d42fb09b04c88f11254bacb55c0735ce1125d4e2743.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2728
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2728 -s 552
      2⤵
      • Program crash
      PID:964
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1320 -ip 1320
    1⤵
      PID:4516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2728 -ip 2728
      1⤵
        PID:2516

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        1c8fea3dc402864a222ef3ee1294e851

        SHA1

        103e017ba96c871202137b4a0c6ddedd02769cc2

        SHA256

        cb18e43d61b6cce6989903cc8ff96647b6c6c0636ffc56380e8d328fee845dc2

        SHA512

        5cedb3060c8115e31cbae5d976578deb87c90244cce7f0c9529919c333f787afa1325f35448682f286852117a019af68c865ec21c94626f7563ad4c3f90f66b4

      • memory/1320-14-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1320-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1320-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/1320-16-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/1320-15-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/1320-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2728-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/2728-13-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/2728-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/4664-11-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4664-8-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4664-18-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4664-19-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/4664-20-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB