Analysis

  • max time kernel
    150s
  • 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
    22-12-2024 02:19

General

  • Target

    JaffaCakes118_27ef0d08d288bc7b44dc6676837bf79d4b75a8515e427c58510c51adf141660f.exe

  • Size

    272KB

  • MD5

    5926f552991160621e453a9a61fcac49

  • SHA1

    3d19c882fb19d936519e936da722b62aea6959eb

  • SHA256

    27ef0d08d288bc7b44dc6676837bf79d4b75a8515e427c58510c51adf141660f

  • SHA512

    44cab2bf4126e8224ce88906bfc565f59449da8e802e3000b60e991f21d694a3c9b1e4483c5b6b24ea13e1e910ad274d31af5f9b8390ffdc5d23ba283c6fae2b

  • SSDEEP

    6144:wkjwNM3Y+ilFxjBGcdCMcXPxuzbgwu6L7ITsqSigaTwVf:xwNMoFXNGcdCMcXPxunnn7s

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_27ef0d08d288bc7b44dc6676837bf79d4b75a8515e427c58510c51adf141660f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_27ef0d08d288bc7b44dc6676837bf79d4b75a8515e427c58510c51adf141660f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxwbncwo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pzerytsh.exe" C:\Windows\SysWOW64\sxwbncwo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sxwbncwo binPath= "C:\Windows\SysWOW64\sxwbncwo\pzerytsh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_27ef0d08d288bc7b44dc6676837bf79d4b75a8515e427c58510c51adf141660f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sxwbncwo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sxwbncwo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3932
    • 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:1124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3672 -s 1036
      2⤵
      • Program crash
      PID:2928
  • C:\Windows\SysWOW64\sxwbncwo\pzerytsh.exe
    C:\Windows\SysWOW64\sxwbncwo\pzerytsh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_27ef0d08d288bc7b44dc6676837bf79d4b75a8515e427c58510c51adf141660f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4400
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4400 -s 560
      2⤵
      • Program crash
      PID:852
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3672 -ip 3672
    1⤵
      PID:3312
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 4400 -ip 4400
      1⤵
        PID:3976

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        4801f88b957388cb83d74e0631c65dc7

        SHA1

        9ce223d710e249dd1ef70e44c289cd66925e8dd3

        SHA256

        a022d61f79442e26a5a70bc20cdda0ef5130378fd4df55fe4cf64de7b6e61600

        SHA512

        9dfdb638a0cde6d73433e3aef9e4e5d043cd9e39f508f218225449c8d7f9c1ac687c60506334fbd26bd6c9fc72d1b9c3f5c0fd7981b6c7dbc1fe3eca40ada51b

      • memory/808-8-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/808-20-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/808-11-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/808-19-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/3672-16-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3672-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3672-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/3672-12-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/3672-13-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4400-7-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4400-15-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4400-6-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB