Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 04:00

General

  • Target

    JaffaCakes118_f93d0887b4bea5ce3be804e193b29a151b4c533b86f83eb871ec154b5e461c7a.exe

  • Size

    187KB

  • MD5

    27b7fa84e7765abcb03f3d7b8ac3699b

  • SHA1

    eabf162f38ad7bcaa862e8d11a8ba5560fba6c61

  • SHA256

    f93d0887b4bea5ce3be804e193b29a151b4c533b86f83eb871ec154b5e461c7a

  • SHA512

    d2c3e3315f97e23af2ef2ce92687ec9e96cc0703bdb3cf0834dc2d8ab9ad18e3e15dc994923c2b52e311edc74696089fd85a3b74224a0a17ca4eb77b9fb8cc88

  • SSDEEP

    3072:Z7ojA4DTPiMhkeIlqT0bkbZsjGp23YXoI/mmBHSO/YpZa9uD6Vdyhk9:4A4DTPiMtIQT0I5+YXoI/mGR/YwVf

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_f93d0887b4bea5ce3be804e193b29a151b4c533b86f83eb871ec154b5e461c7a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f93d0887b4bea5ce3be804e193b29a151b4c533b86f83eb871ec154b5e461c7a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\boguiobs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1220
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ynstnvyr.exe" C:\Windows\SysWOW64\boguiobs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create boguiobs binPath= "C:\Windows\SysWOW64\boguiobs\ynstnvyr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f93d0887b4bea5ce3be804e193b29a151b4c533b86f83eb871ec154b5e461c7a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description boguiobs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start boguiobs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3636
    • 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:2684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3312 -s 596
      2⤵
      • Program crash
      PID:2680
  • C:\Windows\SysWOW64\boguiobs\ynstnvyr.exe
    C:\Windows\SysWOW64\boguiobs\ynstnvyr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f93d0887b4bea5ce3be804e193b29a151b4c533b86f83eb871ec154b5e461c7a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3668
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3668 -s 512
      2⤵
      • Program crash
      PID:2096
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3312 -ip 3312
    1⤵
      PID:2008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3668 -ip 3668
      1⤵
        PID:2768

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        ea20dbfa329719b579b348d5c63e0af6

        SHA1

        f332145e90e1bf91315e201b691963082c3972fa

        SHA256

        80b57cc5b23a7496ec7d73a097dbd1bc1b8acd9b7abd7f2abc1d1532d036b574

        SHA512

        587ffde2a90529267d46af33ab11b39f7e0d77979d61540cfc100f7822f1db46bc755bbf7b4c4103dd8676b68233490c7048109391c80f3631643b05cff33bb4

      • memory/3312-7-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/3312-1-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3312-8-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/3312-0-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

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

        Filesize

        224KB

      • memory/3560-15-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/3560-13-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/3560-16-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/3668-11-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

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

        Filesize

        224KB

      • memory/3668-10-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB

      • memory/3668-18-0x0000000000400000-0x0000000000438000-memory.dmp

        Filesize

        224KB