Analysis

  • max time kernel
    147s
  • max time network
    145s
  • 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:38

General

  • Target

    JaffaCakes118_c3a67604df3acd172fca28b9f83e482bd2c21f217f28a545f3f6bc4ad7f30a8c.exe

  • Size

    178KB

  • MD5

    57f3a7655c60ebabced5575c5fd57e3c

  • SHA1

    200a560ed809660e113264a43b16608e5d494d2b

  • SHA256

    c3a67604df3acd172fca28b9f83e482bd2c21f217f28a545f3f6bc4ad7f30a8c

  • SHA512

    743815293bc53a22accbdcd5d22e426c594a2325aabd089de4734828e20d6c912ea25301ad7feb26ec9f659e0efd3681131859a260ea3a1cb9f5a272ceb0bd79

  • SSDEEP

    3072:J7PGcGloEehA+H1Hg6X6FmANY/0SvMF84XLlm:DGWEehA+H1AeYY//kFDm

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_c3a67604df3acd172fca28b9f83e482bd2c21f217f28a545f3f6bc4ad7f30a8c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c3a67604df3acd172fca28b9f83e482bd2c21f217f28a545f3f6bc4ad7f30a8c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lbcgzltg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wlmsfqkj.exe" C:\Windows\SysWOW64\lbcgzltg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lbcgzltg binPath= "C:\Windows\SysWOW64\lbcgzltg\wlmsfqkj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c3a67604df3acd172fca28b9f83e482bd2c21f217f28a545f3f6bc4ad7f30a8c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lbcgzltg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lbcgzltg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:388
    • 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:4908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1472 -s 1036
      2⤵
      • Program crash
      PID:1776
  • C:\Windows\SysWOW64\lbcgzltg\wlmsfqkj.exe
    C:\Windows\SysWOW64\lbcgzltg\wlmsfqkj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c3a67604df3acd172fca28b9f83e482bd2c21f217f28a545f3f6bc4ad7f30a8c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4028
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3764
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4028 -s 524
      2⤵
      • Program crash
      PID:4884
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1472 -ip 1472
    1⤵
      PID:2688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4028 -ip 4028
      1⤵
        PID:2072

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        6f8ed6b6e6ac6e81d8b2ba83fc7b919d

        SHA1

        c87c3d2fcad08b0957eecb45d326058726064e2b

        SHA256

        2bf620cd46a6124538d712608eb34e0d9ba29b11959017504bf6bdd69aaa23c5

        SHA512

        b86ab8713b8c4206a1b432fecc5f78cf172095f2a31ab195f5ca8427b67961d844a98f550e7a351b4949fe55e04af107efbed118fc4663b596ed1de3012dc3bb

      • memory/1472-1-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/1472-0-0x00000000005A0000-0x00000000005AD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/1472-15-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/1472-16-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

      • memory/1472-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3764-12-0x0000000000680000-0x0000000000695000-memory.dmp

        Filesize

        84KB

      • memory/3764-9-0x0000000000680000-0x0000000000695000-memory.dmp

        Filesize

        84KB

      • memory/3764-18-0x0000000000680000-0x0000000000695000-memory.dmp

        Filesize

        84KB

      • memory/3764-19-0x0000000000680000-0x0000000000695000-memory.dmp

        Filesize

        84KB

      • memory/3764-20-0x0000000000680000-0x0000000000695000-memory.dmp

        Filesize

        84KB

      • memory/4028-14-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/4028-8-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/4028-6-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB

      • memory/4028-7-0x0000000000400000-0x0000000000434000-memory.dmp

        Filesize

        208KB