Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 05:10

General

  • Target

    JaffaCakes118_ed6a5352d6ae2913f1ac8a3e2304f11ab3e0422f96c8b594d89d031a8d6410d2.exe

  • Size

    160KB

  • MD5

    23372be181de07142d652d0cf68d98e8

  • SHA1

    37facb53bc41fa1cc38eef318ef4dab567a4ca2a

  • SHA256

    ed6a5352d6ae2913f1ac8a3e2304f11ab3e0422f96c8b594d89d031a8d6410d2

  • SHA512

    5e0a98d7e0330146966e03b658e9f8b24e4b3f793d71ac477ede5adc44c13498285983b5967e95ce4ec5f6979370b570cd120c6152f4ba8907f7de3d7a24d66b

  • SSDEEP

    3072:ilNGUja6RgviBlN7pZk9r+k7V6hBqeAH:KGUduol9kwvFA

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_ed6a5352d6ae2913f1ac8a3e2304f11ab3e0422f96c8b594d89d031a8d6410d2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ed6a5352d6ae2913f1ac8a3e2304f11ab3e0422f96c8b594d89d031a8d6410d2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2748
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jspjxeii\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hrwjqlkz.exe" C:\Windows\SysWOW64\jspjxeii\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jspjxeii binPath= "C:\Windows\SysWOW64\jspjxeii\hrwjqlkz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ed6a5352d6ae2913f1ac8a3e2304f11ab3e0422f96c8b594d89d031a8d6410d2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jspjxeii "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jspjxeii
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1912
    • 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:2148
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2748 -s 1028
      2⤵
      • Program crash
      PID:5000
  • C:\Windows\SysWOW64\jspjxeii\hrwjqlkz.exe
    C:\Windows\SysWOW64\jspjxeii\hrwjqlkz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ed6a5352d6ae2913f1ac8a3e2304f11ab3e0422f96c8b594d89d031a8d6410d2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1512
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1424
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1512 -s 512
      2⤵
      • Program crash
      PID:2696
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1512 -ip 1512
    1⤵
      PID:4700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 2748 -ip 2748
      1⤵
        PID:1472

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        bca895020da6356aca7686223901dd11

        SHA1

        fc4df2b2516d27cbad0ac04ea7f888cb1ba301e2

        SHA256

        6c34da9f223ab84316aeb5b4803f2740d1ee8f7a5a843fba5ea4ca2902cccb43

        SHA512

        1ea9df078062744083aba24ea2bd7298070670004638c3d60d1a84dac8488b5f53ac10a8ed37660ec0c151f8bb2d05cc2d5beb747a9c90095f5a904c473e95d0

      • memory/1424-8-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/1424-20-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/1424-19-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/1424-18-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/1424-11-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/1512-13-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1512-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1512-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/2748-0-0x0000000000500000-0x000000000050D000-memory.dmp

        Filesize

        52KB

      • memory/2748-14-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/2748-15-0x0000000000500000-0x000000000050D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/2748-16-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2748-1-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB