Analysis

  • max time kernel
    150s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/12/2024, 12:03

General

  • Target

    JaffaCakes118_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe

  • Size

    285KB

  • MD5

    020b25befc4912d8e055a74e89795964

  • SHA1

    8b51f165c506a3c002345828a6fdf6458a20ad00

  • SHA256

    86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385

  • SHA512

    738ab2c84b1071de84983f896e26d6754cc052fec96580cc21af96fb2452d8f053a3d60cb4572f3208dee683031f58803c770e22901f467cee9b6b888bd3551d

  • SSDEEP

    6144:qBL5PZaxPmyPhDh8vICUCe02DuMY0Et6Hdz:GxaxPZh1iICUCe02HFEwHdz

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dfyqmtss\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\haoasmob.exe" C:\Windows\SysWOW64\dfyqmtss\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dfyqmtss binPath= "C:\Windows\SysWOW64\dfyqmtss\haoasmob.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dfyqmtss "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dfyqmtss
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • 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:1952
  • C:\Windows\SysWOW64\dfyqmtss\haoasmob.exe
    C:\Windows\SysWOW64\dfyqmtss\haoasmob.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2604
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2964

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          10.3MB

          MD5

          b6979f4e03117a724f55e903f66e0171

          SHA1

          c6db688e557c511d9e510ef23e2aee641618e7e6

          SHA256

          926dc76914723b380c1046432503bf092fceb3f036993c503f04707d3e2b6444

          SHA512

          3f9132cff971a055bc36ea3727421efe4c94a49f13d331471ea34945c01740ee9c87f9601f37f976ac5e6228b44908c432c890d9ac93e9e079d05d7100729903

        • memory/2604-17-0x0000000000400000-0x0000000002B40000-memory.dmp

          Filesize

          39.2MB

        • memory/2648-1-0x0000000002C70000-0x0000000002D70000-memory.dmp

          Filesize

          1024KB

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

          Filesize

          84KB

        • memory/2648-4-0x0000000000400000-0x0000000002B40000-memory.dmp

          Filesize

          39.2MB

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

          Filesize

          84KB

        • memory/2648-8-0x0000000000400000-0x0000000002B40000-memory.dmp

          Filesize

          39.2MB

        • memory/2964-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

          Filesize

          84KB

        • memory/2964-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

          Filesize

          84KB

        • memory/2964-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

          Filesize

          84KB

        • memory/2964-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

          Filesize

          4KB

        • memory/2964-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

          Filesize

          84KB