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
    26-12-2024 21:25

General

  • Target

    JaffaCakes118_604840fc53ccc55247e62151d8b92f17e28c7fbfc17db5750d5b0b58cb41b49c.exe

  • Size

    159KB

  • MD5

    1ab812dbbd226dae57323b8fe47bbdc7

  • SHA1

    11b1a29723a044416dfde417256868bad66add0c

  • SHA256

    604840fc53ccc55247e62151d8b92f17e28c7fbfc17db5750d5b0b58cb41b49c

  • SHA512

    cd3166963f7d6780a87faef819946b827ed844656e029886666fa602e22f975f7196d6ad1f22f2bc80c543ef3efb8ecfcf8be77686edf28a0e2445fb7ee1ff75

  • SSDEEP

    3072:s47FGXpybBYWhlcijEKINB1eazv3v3XVU/mtAuT:sHpybBYWh+iRa1Z3XmsA

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_604840fc53ccc55247e62151d8b92f17e28c7fbfc17db5750d5b0b58cb41b49c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_604840fc53ccc55247e62151d8b92f17e28c7fbfc17db5750d5b0b58cb41b49c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eheqnabs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kcubarcj.exe" C:\Windows\SysWOW64\eheqnabs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eheqnabs binPath= "C:\Windows\SysWOW64\eheqnabs\kcubarcj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_604840fc53ccc55247e62151d8b92f17e28c7fbfc17db5750d5b0b58cb41b49c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eheqnabs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eheqnabs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4044
    • 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:1708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4576 -s 1196
      2⤵
      • Program crash
      PID:2880
  • C:\Windows\SysWOW64\eheqnabs\kcubarcj.exe
    C:\Windows\SysWOW64\eheqnabs\kcubarcj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_604840fc53ccc55247e62151d8b92f17e28c7fbfc17db5750d5b0b58cb41b49c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1796
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1904
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1796 -s 532
      2⤵
      • Program crash
      PID:1748
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1796 -ip 1796
    1⤵
      PID:3356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4576 -ip 4576
      1⤵
        PID:4168

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        b15cc96dae0682f41567a52c084a85a3

        SHA1

        58ae3286e9b8b0b7da2c9ff495b643cc139d5b95

        SHA256

        5c9fd1ae4ee93a6310c0a8d64115c5d2b257c5fc7fd392736d29923466420757

        SHA512

        50048698a131c28dec1166d15217b809a9c055b6fd08a4505c6f6279bed91c224fe1804c3a47400dfab23678a7229a3ff0edaedc56092713190f567fd78d21f2

      • memory/1796-12-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/1796-6-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB

      • memory/1904-10-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/1904-7-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/1904-17-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/1904-18-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

      • memory/1904-19-0x0000000000AE0000-0x0000000000AF5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4576-0-0x0000000002030000-0x000000000203D000-memory.dmp

        Filesize

        52KB

      • memory/4576-1-0x0000000002040000-0x0000000002053000-memory.dmp

        Filesize

        76KB

      • memory/4576-14-0x0000000002030000-0x000000000203D000-memory.dmp

        Filesize

        52KB

      • memory/4576-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4576-15-0x0000000002040000-0x0000000002053000-memory.dmp

        Filesize

        76KB

      • memory/4576-13-0x0000000000400000-0x000000000042F000-memory.dmp

        Filesize

        188KB