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
    22-12-2024 02:25

General

  • Target

    JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe

  • Size

    243KB

  • MD5

    3252bf56b75b465acbb31cc4dba7daa0

  • SHA1

    bb5e8c04d3f135e529777ea59afa9733dcdb9ae1

  • SHA256

    162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7

  • SHA512

    622d44a2429945a5c0820581654c9eeb2b41960f6c9f560dee3f86f6599be997ef58a946e90ac2427a691b6de6f45c77d8b404b3d507276867bec18c5ba7d56e

  • SSDEEP

    6144:XaZQFbqbPXvUCL7qa97wA5yao5ZYnuV8cKi3ZfM:qZxbPXcCLWVA57rk8Ct

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_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mgveifaf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hkdljltd.exe" C:\Windows\SysWOW64\mgveifaf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mgveifaf binPath= "C:\Windows\SysWOW64\mgveifaf\hkdljltd.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mgveifaf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mgveifaf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4896
    • 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:3500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4044 -s 1036
      2⤵
      • Program crash
      PID:4604
  • C:\Windows\SysWOW64\mgveifaf\hkdljltd.exe
    C:\Windows\SysWOW64\mgveifaf\hkdljltd.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_162dc8ca7cc9e517969a977e2860b6648602b6006491787d5d80001bc1518fa7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2780
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2780 -s 560
      2⤵
      • Program crash
      PID:1512
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4044 -ip 4044
    1⤵
      PID:3988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 2780 -ip 2780
      1⤵
        PID:2812

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        7f5cfdbaf80ca03b1667e337cc49350d

        SHA1

        fdb08d8da0bea41a5ee8bdff8c9102e0ff17f373

        SHA256

        2857e6f3f86a5db571bd80bba9658721d05b7536b1810390baa1e0a156424716

        SHA512

        c1e89c17a1faeb816f448986df1181c6c24ca1b89c0430fb140b99a3936c0f9dd1c36d90315d719553e69404edd5648f1d14a9a013b85e054b8fec7878cc541d

      • memory/2780-13-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2780-11-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2780-12-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/2780-19-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/3436-14-0x00000000012D0000-0x00000000012E5000-memory.dmp

        Filesize

        84KB

      • memory/3436-16-0x00000000012D0000-0x00000000012E5000-memory.dmp

        Filesize

        84KB

      • memory/3436-17-0x00000000012D0000-0x00000000012E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4044-2-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

      • memory/4044-9-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4044-8-0x0000000000400000-0x000000000044D000-memory.dmp

        Filesize

        308KB

      • memory/4044-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB