Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 15:49

General

  • Target

    JaffaCakes118_09a5d222f5fe09dc681c692b5b65fe9f6a19237e16def051f820fd2f1855225c.exe

  • Size

    355KB

  • MD5

    57cd9fbf026f6c5277a21f925ea52737

  • SHA1

    093857eba7ee258cdce50ae072fe363b27defad2

  • SHA256

    09a5d222f5fe09dc681c692b5b65fe9f6a19237e16def051f820fd2f1855225c

  • SHA512

    73e0bd125ca54972c1834c04eca952dcec9b3b780cdd08ee98f2ee600cfec470eb01ea4a5e0e8d9bea78988c4b225f118e39c4eabd079f23332cb502e41b8b29

  • SSDEEP

    6144:j4EuKO2UPH0UdX3cnULul9oL1GJyR5Yw2gQSyb8KsNoeNS:j3dUPH3Z3cnULI9oBGJyR5wgjybsZN

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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_09a5d222f5fe09dc681c692b5b65fe9f6a19237e16def051f820fd2f1855225c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_09a5d222f5fe09dc681c692b5b65fe9f6a19237e16def051f820fd2f1855225c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\obozhkvi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qgggvmsk.exe" C:\Windows\SysWOW64\obozhkvi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create obozhkvi binPath= "C:\Windows\SysWOW64\obozhkvi\qgggvmsk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_09a5d222f5fe09dc681c692b5b65fe9f6a19237e16def051f820fd2f1855225c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description obozhkvi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start obozhkvi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3940
    • 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:2796
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5108 -s 1032
      2⤵
      • Program crash
      PID:2584
  • C:\Windows\SysWOW64\obozhkvi\qgggvmsk.exe
    C:\Windows\SysWOW64\obozhkvi\qgggvmsk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_09a5d222f5fe09dc681c692b5b65fe9f6a19237e16def051f820fd2f1855225c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1844
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1844 -s 520
      2⤵
      • Program crash
      PID:4612
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5108 -ip 5108
    1⤵
      PID:540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 1844 -ip 1844
      1⤵
        PID:4540

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        72049f3e66aa7c42121e1e3aadcb20b2

        SHA1

        035df5604b69b30fac28c21ad108506f7ce88513

        SHA256

        0d6de571fd5402d4238d5bc046f4bfc4fbabce9b2c7acb32645cc69032819973

        SHA512

        15570e5babd41c9dbb477ff9c6e4931ec9a20bae6bcb625d94330eb5eb37847deeb78e8073826cc5ca0d90a822c48964784e01360f4be2a531811cdfbc1b9d99

      • memory/1080-13-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/1080-11-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/1080-15-0x0000000000150000-0x0000000000165000-memory.dmp

        Filesize

        84KB

      • memory/1844-14-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/1844-16-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/5108-1-0x00000000016E0000-0x00000000017E0000-memory.dmp

        Filesize

        1024KB

      • memory/5108-2-0x0000000003410000-0x0000000003423000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/5108-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5108-9-0x0000000003410000-0x0000000003423000-memory.dmp

        Filesize

        76KB

      • memory/5108-8-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB