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

General

  • Target

    JaffaCakes118_ac0b7246c66b3e4fdb6da832de6c418de78ee28e696d4bb8882031d9164cfba8.exe

  • Size

    342KB

  • MD5

    aabe3e7233157be95fab7d9295545d76

  • SHA1

    b48ff5343235e704de19f11fbb69703cb8add3d7

  • SHA256

    ac0b7246c66b3e4fdb6da832de6c418de78ee28e696d4bb8882031d9164cfba8

  • SHA512

    2aedc5cfa0fa21c78d9e44961a40c2fb3c8503ab2e3b8dade135832e58dc72f0fdd782109a7a0d0212c77359adf7ede9caeaaf620e8c89a6bad1160bbf8d13de

  • SSDEEP

    6144:DGw0hF+kAn2aj+qBqLpklFGodlzsPSa3MDUk4B+H90C:DhhdvBqLKlFGodlzsPSaq4Bu

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_ac0b7246c66b3e4fdb6da832de6c418de78ee28e696d4bb8882031d9164cfba8.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac0b7246c66b3e4fdb6da832de6c418de78ee28e696d4bb8882031d9164cfba8.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xphmdkep\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\umelkbmt.exe" C:\Windows\SysWOW64\xphmdkep\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xphmdkep binPath= "C:\Windows\SysWOW64\xphmdkep\umelkbmt.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac0b7246c66b3e4fdb6da832de6c418de78ee28e696d4bb8882031d9164cfba8.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xphmdkep "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xphmdkep
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • 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:3900
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3320 -s 1208
      2⤵
      • Program crash
      PID:864
  • C:\Windows\SysWOW64\xphmdkep\umelkbmt.exe
    C:\Windows\SysWOW64\xphmdkep\umelkbmt.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ac0b7246c66b3e4fdb6da832de6c418de78ee28e696d4bb8882031d9164cfba8.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:224
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3328
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 224 -s 520
      2⤵
      • Program crash
      PID:4000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3320 -ip 3320
    1⤵
      PID:3060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 224 -ip 224
      1⤵
        PID:4396

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        57e026a815641bd06d7e5a5a2cac4ce9

        SHA1

        e1cea9c66c89a7e6eb306fd23d882e41f15af01b

        SHA256

        15f13d70db79416a6186be4a7a8094014c44a0228b1c82726470417f41d76c0c

        SHA512

        b081efc45807968c4201c133d0087098c01d063cf0c3e088eb4713b2a0f67b1ebce13709b33049a7e1e20a7c6fcf504b901265fd98c7647eb3472cdea5a08332

      • memory/224-15-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/3320-1-0x0000000000BF0000-0x0000000000CF0000-memory.dmp

        Filesize

        1024KB

      • memory/3320-2-0x0000000000A50000-0x0000000000A63000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3320-8-0x0000000000A50000-0x0000000000A63000-memory.dmp

        Filesize

        76KB

      • memory/3320-7-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/3328-11-0x00000000006D0000-0x00000000006E5000-memory.dmp

        Filesize

        84KB

      • memory/3328-13-0x00000000006D0000-0x00000000006E5000-memory.dmp

        Filesize

        84KB

      • memory/3328-14-0x00000000006D0000-0x00000000006E5000-memory.dmp

        Filesize

        84KB