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
    31-12-2024 23:44

General

  • Target

    JaffaCakes118_3f292c43499ee4ba98361c0f1b365a33.exe

  • Size

    11.9MB

  • MD5

    3f292c43499ee4ba98361c0f1b365a33

  • SHA1

    0d835ff79890f1269674a1c6e25ca3b926bfe726

  • SHA256

    0548cb99d5e3f66650abba816c4a0f2e175eec00a79dbf0d72ad4732f84423cb

  • SHA512

    40f35639e5fd4a398ae5a722e5731747c65293c18e103a0987af86b1bc67bdb0f7f0cba87753a490ea50cfb512afb2c89e32eeb42ab7db97e51f5e753224c2ec

  • SSDEEP

    6144:kU7GjEC3ezR7ba5Kr6zFIKBQG18IAHORqctttttttttttttttttttttttttttttH:kU7nZzRva51z2G18IAHeq

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_3f292c43499ee4ba98361c0f1b365a33.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3f292c43499ee4ba98361c0f1b365a33.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zvwhbhln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lqaqej.exe" C:\Windows\SysWOW64\zvwhbhln\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zvwhbhln binPath= "C:\Windows\SysWOW64\zvwhbhln\lqaqej.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3f292c43499ee4ba98361c0f1b365a33.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zvwhbhln "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zvwhbhln
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • 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:1212
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4560 -s 1044
      2⤵
      • Program crash
      PID:1576
  • C:\Windows\SysWOW64\zvwhbhln\lqaqej.exe
    C:\Windows\SysWOW64\zvwhbhln\lqaqej.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3f292c43499ee4ba98361c0f1b365a33.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3932
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3932 -s 516
      2⤵
      • Program crash
      PID:3100
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4560 -ip 4560
    1⤵
      PID:532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3932 -ip 3932
      1⤵
        PID:1304

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        947b7190b01c168840a9ff0b4104bffb

        SHA1

        d19376d689bcb3a9fa96495890cc47f68593ff92

        SHA256

        5cbe46549e16fea660e6e7bf81d80db3f82f88c6c025c18ab2a6bd55c9ff19d2

        SHA512

        9b741dcdc4c72b822b870b0d1b0d22b85a950dc8f3f010fec27100c2b18c83adbebf2c9b5911328146a7bc83129d6ce02f68d5f3827b70af60b4b8a7708800d0

      • memory/3932-15-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/3932-17-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/3932-14-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/4560-8-0x0000000000400000-0x00000000016BD000-memory.dmp

        Filesize

        18.7MB

      • memory/4560-9-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

      • memory/4560-1-0x00000000016C0000-0x00000000017C0000-memory.dmp

        Filesize

        1024KB

      • memory/4560-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4560-2-0x0000000003400000-0x0000000003413000-memory.dmp

        Filesize

        76KB

      • memory/4800-11-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/4800-13-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB

      • memory/4800-16-0x0000000000D90000-0x0000000000DA5000-memory.dmp

        Filesize

        84KB