Analysis

  • max time kernel
    147s
  • max time network
    145s
  • 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 12:50

General

  • Target

    JaffaCakes118_ce33598db50778472c581ccba07238199d6d3473a4d3a76570225e378dd80bec.exe

  • Size

    272KB

  • MD5

    83b5776099c94810fb6f10211e135228

  • SHA1

    39847c224f60ab065f7811a9e358558162c83a20

  • SHA256

    ce33598db50778472c581ccba07238199d6d3473a4d3a76570225e378dd80bec

  • SHA512

    9a7adbfb0ffb6654d05a2f38b2daf0b0e5a2b1840205c71396058fb6ace9151c880b9e491ba931d7ce8c8364fa266ee13a91595b0bfb2756ad111f73c6eae492

  • SSDEEP

    6144:5HB/PtD4M5G0tZwk4NF/MIPNVsuzbgwu6L7ITsqSigaTwVf:X/Pl4MU+V4DZVsunnn7s

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_ce33598db50778472c581ccba07238199d6d3473a4d3a76570225e378dd80bec.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ce33598db50778472c581ccba07238199d6d3473a4d3a76570225e378dd80bec.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\syhcgjkg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\npjyuqmd.exe" C:\Windows\SysWOW64\syhcgjkg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create syhcgjkg binPath= "C:\Windows\SysWOW64\syhcgjkg\npjyuqmd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ce33598db50778472c581ccba07238199d6d3473a4d3a76570225e378dd80bec.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description syhcgjkg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start syhcgjkg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2128
    • 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:1396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4016 -s 792
      2⤵
      • Program crash
      PID:4276
  • C:\Windows\SysWOW64\syhcgjkg\npjyuqmd.exe
    C:\Windows\SysWOW64\syhcgjkg\npjyuqmd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ce33598db50778472c581ccba07238199d6d3473a4d3a76570225e378dd80bec.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3676
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3676 -s 516
      2⤵
      • Program crash
      PID:3612
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4016 -ip 4016
    1⤵
      PID:3548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3676 -ip 3676
      1⤵
        PID:3240

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        ee4f1bf2c9c2f8350a382e02707821ba

        SHA1

        0ac570af1535848b3c472238819b29777d5d7e46

        SHA256

        fad5d0bc668726f3eb968b97d0ba2ed57410e2567be3f222a1360b92f598c027

        SHA512

        097c106ef210ae5c3b86935e951ac3c565994eb43962cdf90ae23d5a75624e37d62957a404c04adfe6275ede7b608b6d243e517ef5d900cafa59d922d90cbb7b

      • memory/3604-8-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/3604-20-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/3604-19-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/3604-11-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/3676-16-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3676-6-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3676-7-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4016-12-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

      • memory/4016-13-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/4016-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4016-15-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

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

        Filesize

        84KB

      • memory/4016-0-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

      • memory/4016-1-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB