Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 11:30

General

  • Target

    JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe

  • Size

    220KB

  • MD5

    5c43af858cebe82b1ad78c645061cc44

  • SHA1

    5babb64955d52797a58604a9aef14d689e90d35f

  • SHA256

    621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02

  • SHA512

    2d2c7e9483b0b13dd8cabbbc5d1218fe0acdac78f1c676c8fc302e91c3d11cf44ea5f2c3ea53bbfa125e60769f1c99b0da9e27fc05c7f2a743116915aec39c60

  • SSDEEP

    3072:IUlCE+24yRwiP95GXu0bJ/rWrxpzbgqru+sxkgaBChmx/LI03qbN:ZV+Tybjijuzbgwu7igaQk

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_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tjzglqln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1280
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ekfiraav.exe" C:\Windows\SysWOW64\tjzglqln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tjzglqln binPath= "C:\Windows\SysWOW64\tjzglqln\ekfiraav.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tjzglqln "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tjzglqln
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2296
    • 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:1400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1460 -s 1036
      2⤵
      • Program crash
      PID:2148
  • C:\Windows\SysWOW64\tjzglqln\ekfiraav.exe
    C:\Windows\SysWOW64\tjzglqln\ekfiraav.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_621af9ea3a44e4fab71237e384a0ca3808339d2d566a1b0144af74fe9d48bd02.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3116
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3116 -s 512
      2⤵
      • Program crash
      PID:2168
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 1460 -ip 1460
    1⤵
      PID:2380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3116 -ip 3116
      1⤵
        PID:2136

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        1dd48a39f81e91e4a07c508678560fb2

        SHA1

        71fde92b7f4607ae1427d46d2fa6a751fad04c3d

        SHA256

        85aaaccd6239b2518afc7ef0e58067a95ff8dd3636c3d9e975c290a0270aaa10

        SHA512

        767d875954f1e707b48ba8e75970a70f03535c09c5e1c385c294fff1e8a6988ea8533540fbadf2084dc9136175f0b1be7ce062214da62b5a71fff5d31e8fdfb0

      • memory/1460-14-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1460-0-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

      • memory/1460-15-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

      • memory/1460-16-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3116-6-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/3116-13-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/3116-7-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/4380-11-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

      • memory/4380-8-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

      • memory/4380-18-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

      • memory/4380-19-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB

      • memory/4380-20-0x0000000000C10000-0x0000000000C25000-memory.dmp

        Filesize

        84KB