Analysis

  • max time kernel
    150s
  • max time network
    151s
  • 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 11:29

General

  • Target

    JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe

  • Size

    184KB

  • MD5

    3053973d0d187f27f6154532ea00ee17

  • SHA1

    c15d2971bed0e89f52193e09a94971d455d757cf

  • SHA256

    83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef

  • SHA512

    eb5058b97a67b2b2ddd1f36e25d9f3a67e5115dab0ea520ab574261a12feab6541a38ec63ee7e9b0ef38e9f6a68677573fe4e690443ddb7230b8ac039d69d504

  • SSDEEP

    3072:7SmyTMOQe1NOvLqfbsjUivt2QejgkNXSfMtcaJK3jPZPw8XehgC:7UTMHeajUQKBNXSkWaITP7m

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_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hznmpdje\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bgcusvh.exe" C:\Windows\SysWOW64\hznmpdje\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hznmpdje binPath= "C:\Windows\SysWOW64\hznmpdje\bgcusvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hznmpdje "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hznmpdje
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3320
    • 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:1032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3252 -s 648
      2⤵
      • Program crash
      PID:804
  • C:\Windows\SysWOW64\hznmpdje\bgcusvh.exe
    C:\Windows\SysWOW64\hznmpdje\bgcusvh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_83f38a0bf26c992a4f4afe92229bbb7e77f80748c881d0ba39a3e1648483e6ef.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1076
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1076 -s 512
      2⤵
      • Program crash
      PID:3176
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3252 -ip 3252
    1⤵
      PID:2740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1076 -ip 1076
      1⤵
        PID:4920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        5255220e7a48d0bc4feedec9b2b3f9a7

        SHA1

        2c52879c9d31e35d819e9bbb1ed7e605d9c78f01

        SHA256

        fbc829a80b9aaf497f77cfc00c854d790a19a1069e081144aff4ff612006003f

        SHA512

        a69b62fbd671ded1f8c17e5e1be7baf93d02e52c5b49d6064922515119f6e95177bc8928ccad4d7c7d618aa5a89eab37cb32014a1f302c52d9f799efe8d137f2

      • memory/1076-13-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/1076-12-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/1076-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/1076-18-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2800-14-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/2800-16-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/2800-17-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3252-1-0x0000000000690000-0x0000000000790000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3252-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3252-8-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3252-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB