Analysis

  • max time kernel
    148s
  • max time network
    149s
  • 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 08:53

General

  • Target

    JaffaCakes118_9b847b83bb51c8cf825e4b2fc385dab4e0e2c518029a1cedd8575f5f581bc942.exe

  • Size

    291KB

  • MD5

    d19143b5b307f466773d78beaffdfddd

  • SHA1

    3a0c0f85cac9a9c190d1b634e4a8d1b9ce139c62

  • SHA256

    9b847b83bb51c8cf825e4b2fc385dab4e0e2c518029a1cedd8575f5f581bc942

  • SHA512

    1767680e382d3879beda7361f844e75401714f33ede60c40a23715b53174f325307b0d7ed6228af25c4fa7ee15080f2e75cac40d08bb9bc17a05ad5ab1ab9f41

  • SSDEEP

    6144:bLAYn+dp6In11uvJXgWxvRma9zxWQYeTGDMwfzh:bMWRI10vJQ+vRma9zxWQEdfzh

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_9b847b83bb51c8cf825e4b2fc385dab4e0e2c518029a1cedd8575f5f581bc942.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9b847b83bb51c8cf825e4b2fc385dab4e0e2c518029a1cedd8575f5f581bc942.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mefyhejh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\exiyjgzs.exe" C:\Windows\SysWOW64\mefyhejh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mefyhejh binPath= "C:\Windows\SysWOW64\mefyhejh\exiyjgzs.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9b847b83bb51c8cf825e4b2fc385dab4e0e2c518029a1cedd8575f5f581bc942.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mefyhejh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mefyhejh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1256
    • 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:4808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4376 -s 584
      2⤵
      • Program crash
      PID:4948
  • C:\Windows\SysWOW64\mefyhejh\exiyjgzs.exe
    C:\Windows\SysWOW64\mefyhejh\exiyjgzs.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9b847b83bb51c8cf825e4b2fc385dab4e0e2c518029a1cedd8575f5f581bc942.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3992 -s 512
      2⤵
      • Program crash
      PID:2172
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4376 -ip 4376
    1⤵
      PID:1316
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 3992 -ip 3992
      1⤵
        PID:4968

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        80f99b6a2d0eddf5a80ab154c3d824b4

        SHA1

        284c2808d48a36e55cd20e9968a7775a1e8fc96b

        SHA256

        ae9a3ec3d20e24e658e4b3583365e57b22125dea151ec63d87e69a4874670402

        SHA512

        02edf20881937c7a86797c6114303ffbbd7ceda3cf54d886e27f7fc93cbda9af9b4dc60d7442a25425012fdd4aedd7292c3f4914011732cc322909894fd255d1

      • memory/3992-15-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

      • memory/4376-1-0x0000000000B50000-0x0000000000C50000-memory.dmp

        Filesize

        1024KB

      • memory/4376-2-0x0000000000A90000-0x0000000000AA3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4376-7-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

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

        Filesize

        84KB

      • memory/4376-8-0x0000000000A90000-0x0000000000AA3000-memory.dmp

        Filesize

        76KB

      • memory/4756-11-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/4756-13-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/4756-14-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB