Analysis

  • max time kernel
    150s
  • max time network
    150s
  • 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 07:18

General

  • Target

    JaffaCakes118_b2d49955cd044928d499e29bb44d312e307c40c0d6915827b7adb5f1a6baf24a.exe

  • Size

    187KB

  • MD5

    be6f567dda80049643af2663e424738a

  • SHA1

    9edb7aadb0c618f47a9a41ea08fc3e84be85969b

  • SHA256

    b2d49955cd044928d499e29bb44d312e307c40c0d6915827b7adb5f1a6baf24a

  • SHA512

    67ab92315ef0aae0903027c272c5c50418a15cd747de49a599444120ad86366ba4e870098a4d1a1f35f41b9a7897f3d6986ae85e965eb0d3514fc71dd58b740c

  • SSDEEP

    3072:j7GjEiHnGPtAA/7Lc5nXn7I9bfBopMTcDcCgjopZa9uD6Vdyhkp:oEiHnGPTzLcVOBgKVcwVf

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_b2d49955cd044928d499e29bb44d312e307c40c0d6915827b7adb5f1a6baf24a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b2d49955cd044928d499e29bb44d312e307c40c0d6915827b7adb5f1a6baf24a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wtiluwnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vnfmlcnu.exe" C:\Windows\SysWOW64\wtiluwnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wtiluwnn binPath= "C:\Windows\SysWOW64\wtiluwnn\vnfmlcnu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b2d49955cd044928d499e29bb44d312e307c40c0d6915827b7adb5f1a6baf24a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wtiluwnn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wtiluwnn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3688
    • 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:1396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2292 -s 1244
      2⤵
      • Program crash
      PID:2652
  • C:\Windows\SysWOW64\wtiluwnn\vnfmlcnu.exe
    C:\Windows\SysWOW64\wtiluwnn\vnfmlcnu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b2d49955cd044928d499e29bb44d312e307c40c0d6915827b7adb5f1a6baf24a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1688
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1688 -s 516
      2⤵
      • Program crash
      PID:3188
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2292 -ip 2292
    1⤵
      PID:3432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 552 -p 1688 -ip 1688
      1⤵
        PID:4872

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        a703c960edcd52bc7e6876b82f45b7c2

        SHA1

        f928f46f004272154a75dd8dcd6730070dd62aab

        SHA256

        47561608f65c0f6817ff432a78ea49064561e42844eb32f47d1a888ee5f26999

        SHA512

        8a8c22a0e5db5c5c545b8e8ec93024746728dfc9d8682323a80b1e2ce7ca9767bd30e1fb8ed412ac4055a0e21823cf888f3554fb41f86c0840ac1bf926526b17

      • memory/1688-16-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/1688-7-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/1688-6-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/2292-15-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/2292-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2292-13-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/2292-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2292-12-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/2292-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/2376-8-0x0000000000210000-0x0000000000225000-memory.dmp

        Filesize

        84KB

      • memory/2376-11-0x0000000000210000-0x0000000000225000-memory.dmp

        Filesize

        84KB

      • memory/2376-17-0x0000000000210000-0x0000000000225000-memory.dmp

        Filesize

        84KB

      • memory/2376-18-0x0000000000210000-0x0000000000225000-memory.dmp

        Filesize

        84KB

      • memory/2376-19-0x0000000000210000-0x0000000000225000-memory.dmp

        Filesize

        84KB