Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 03:21

General

  • Target

    JaffaCakes118_53a0d8df737edd824241066638b4ecc859f285e2c74e391c7c7b9dc1e1c640ce.exe

  • Size

    337KB

  • MD5

    1e438cc75c27318882e50db6524f3553

  • SHA1

    aa0ac3a45ca2fa037c81eedad6807eb480052cf7

  • SHA256

    53a0d8df737edd824241066638b4ecc859f285e2c74e391c7c7b9dc1e1c640ce

  • SHA512

    a43dc2e12593f61d69d33bf04bf9c91824fc7c98cad7d2c78bb7469139ad08232799eefa813999b2d06f32b18428801df0970d58ca8237115b5d66afbc690d9a

  • SSDEEP

    6144:Ed44FG63LsU8ITQQgb4tZqlZ1YQldwxoKbLyY:iFG63LIrQguolZWQjZiLv

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_53a0d8df737edd824241066638b4ecc859f285e2c74e391c7c7b9dc1e1c640ce.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_53a0d8df737edd824241066638b4ecc859f285e2c74e391c7c7b9dc1e1c640ce.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yknbibzv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xcbzpvet.exe" C:\Windows\SysWOW64\yknbibzv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yknbibzv binPath= "C:\Windows\SysWOW64\yknbibzv\xcbzpvet.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_53a0d8df737edd824241066638b4ecc859f285e2c74e391c7c7b9dc1e1c640ce.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yknbibzv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yknbibzv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4032
    • 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:2388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2208 -s 1044
      2⤵
      • Program crash
      PID:5108
  • C:\Windows\SysWOW64\yknbibzv\xcbzpvet.exe
    C:\Windows\SysWOW64\yknbibzv\xcbzpvet.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_53a0d8df737edd824241066638b4ecc859f285e2c74e391c7c7b9dc1e1c640ce.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2152
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2152 -s 528
      2⤵
      • Program crash
      PID:3672
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2208 -ip 2208
    1⤵
      PID:4608
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 2152 -ip 2152
      1⤵
        PID:3616

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        c1f1c0366c5c1aad594ccff6986aac35

        SHA1

        a74cdd0f4f1e9a061ca68f7f33bf7b4d3623df95

        SHA256

        5b9f6c5ed99bf14b7aed05fd3793d62e26ce2c8b7970dd10f3e9360122a71fc7

        SHA512

        f18686945e8aa56b766583fffa6e4fcabb26aa39e385ebb1f5184dcb5484dec8224ef55b616439745451b92ab1278a1512368bff6217219e909763959fab9da1

      • memory/2052-11-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2052-13-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2052-14-0x0000000001080000-0x0000000001095000-memory.dmp

        Filesize

        84KB

      • memory/2152-15-0x0000000000400000-0x00000000023AA000-memory.dmp

        Filesize

        31.7MB

      • memory/2208-1-0x0000000002710000-0x0000000002810000-memory.dmp

        Filesize

        1024KB

      • memory/2208-2-0x00000000040F0000-0x0000000004103000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2208-8-0x00000000040F0000-0x0000000004103000-memory.dmp

        Filesize

        76KB

      • memory/2208-7-0x0000000000400000-0x00000000023AA000-memory.dmp

        Filesize

        31.7MB