Analysis

  • max time kernel
    149s
  • 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
    30-12-2024 23:48

General

  • Target

    JaffaCakes118_1cd1580b03e556fcb57e39fbe0343cfe83bdb8295465b2c8d1fdf9bccb665c05.exe

  • Size

    238KB

  • MD5

    8c0b6a48d2729e1b9a48357010f39c82

  • SHA1

    1e91374534766030922b871cbb3bc4471002d90a

  • SHA256

    1cd1580b03e556fcb57e39fbe0343cfe83bdb8295465b2c8d1fdf9bccb665c05

  • SHA512

    06ccfe6afac060df7bc1aee64d1674940304da523905566ea4a881b6cc879244e8e033a4941dc5b3177450fd13bf76db09bfa1cac8416b0897d55f58936e03a9

  • SSDEEP

    6144:1NeWb3HTIEEEiq6EOQspL6l7ITsq7igavwVf:1N9b3HTIEmq6FbE79

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_1cd1580b03e556fcb57e39fbe0343cfe83bdb8295465b2c8d1fdf9bccb665c05.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1cd1580b03e556fcb57e39fbe0343cfe83bdb8295465b2c8d1fdf9bccb665c05.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\byqhsnf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2268
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wyshdzvm.exe" C:\Windows\SysWOW64\byqhsnf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create byqhsnf binPath= "C:\Windows\SysWOW64\byqhsnf\wyshdzvm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1cd1580b03e556fcb57e39fbe0343cfe83bdb8295465b2c8d1fdf9bccb665c05.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description byqhsnf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2176
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start byqhsnf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3304
    • 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 3348 -s 652
      2⤵
      • Program crash
      PID:2804
  • C:\Windows\SysWOW64\byqhsnf\wyshdzvm.exe
    C:\Windows\SysWOW64\byqhsnf\wyshdzvm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1cd1580b03e556fcb57e39fbe0343cfe83bdb8295465b2c8d1fdf9bccb665c05.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:228
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 228 -s 508
      2⤵
      • Program crash
      PID:2912
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3348 -ip 3348
    1⤵
      PID:2028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 228 -ip 228
      1⤵
        PID:1624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        07b137222f3aed01a54181674a6de657

        SHA1

        ee313f00f33476fa3fcd0ae0d2c7f2c478c8a958

        SHA256

        080202a65c8d768cf05307ce7346ebc6b99e5aa67bf73946ce453bc09969df1f

        SHA512

        2a0a835658bedfc4fac2488d22061c407aaeac96933275cd373699159d675c67683559776033cf12b8aebd3434c11de799bf8681acf109edce58b86a2954e891

      • memory/228-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/228-15-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/228-7-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/3348-10-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

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

        Filesize

        84KB

      • memory/3348-12-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/3348-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        52KB

      • memory/3348-11-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

      • memory/3348-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/3976-8-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/3976-16-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB

      • memory/3976-17-0x00000000001B0000-0x00000000001C5000-memory.dmp

        Filesize

        84KB