Analysis

  • max time kernel
    147s
  • 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
    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
  • 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_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_86054a9f4dc9fc201137e9dabab67b47541cad795c5f9c307aebb95a74032385.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxzvhgzt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gcrrwdja.exe" C:\Windows\SysWOW64\gxzvhgzt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gxzvhgzt binPath= "C:\Windows\SysWOW64\gxzvhgzt\gcrrwdja.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:3804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gxzvhgzt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gxzvhgzt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4764
    • 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:868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 1032
      2⤵
      • Program crash
      PID:1584
  • C:\Windows\SysWOW64\gxzvhgzt\gcrrwdja.exe
    C:\Windows\SysWOW64\gxzvhgzt\gcrrwdja.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:1440
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4176
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1440 -s 508
      2⤵
      • Program crash
      PID:2084
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 360 -p 4812 -ip 4812
    1⤵
      PID:2344
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1440 -ip 1440
      1⤵
        PID:4936

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        9d56803e190ec8e936b2fe6797439b90

        SHA1

        9f501d089b4138a29e3e4623ad3c9814283a7ac0

        SHA256

        289db312a712447bef91840a1f500429e2c6d8fff8eef65ea05bd97a4804aba8

        SHA512

        f8fa585956f8300c081008994963384bd8a47def522b624f4834c1e00d25c55766f48bc2ebb063542575b7350363c88951a8fe320e403bdb651ecae8af446bde

      • memory/1440-15-0x0000000000400000-0x0000000002B40000-memory.dmp

        Filesize

        39.2MB

      • memory/4176-11-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/4176-13-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/4176-14-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/4812-1-0x0000000002DD0000-0x0000000002ED0000-memory.dmp

        Filesize

        1024KB

      • memory/4812-2-0x0000000002DA0000-0x0000000002DB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4812-8-0x0000000002DA0000-0x0000000002DB3000-memory.dmp

        Filesize

        76KB

      • memory/4812-7-0x0000000000400000-0x0000000002B40000-memory.dmp

        Filesize

        39.2MB