Analysis

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

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

General

  • Target

    f7337c874dc52cb9c05855846b4cc0c2_JaffaCakes118.exe

  • Size

    10.4MB

  • MD5

    f7337c874dc52cb9c05855846b4cc0c2

  • SHA1

    557ea34cad7f5de0f875220ea32f1891392362ae

  • SHA256

    8f4455c865efb65d8ff1395429873ebadb7f52e44da1398fa8ea6ee3e9cc0457

  • SHA512

    783aae33663a4db32f88ea6321a696103ba060b0776436f0aebfeff00a2672fb049dab66594a3809f7fc794d15d7e451bffb0c77f2eb2c39038ce4f808fb07fd

  • SSDEEP

    24576:DoGUbmtvDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD/:P9t

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\f7337c874dc52cb9c05855846b4cc0c2_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f7337c874dc52cb9c05855846b4cc0c2_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aoncgogu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pwzxyyoc.exe" C:\Windows\SysWOW64\aoncgogu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aoncgogu binPath= "C:\Windows\SysWOW64\aoncgogu\pwzxyyoc.exe /d\"C:\Users\Admin\AppData\Local\Temp\f7337c874dc52cb9c05855846b4cc0c2_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aoncgogu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aoncgogu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1576
    • 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:1988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4940 -s 1224
      2⤵
      • Program crash
      PID:4424
  • C:\Windows\SysWOW64\aoncgogu\pwzxyyoc.exe
    C:\Windows\SysWOW64\aoncgogu\pwzxyyoc.exe /d"C:\Users\Admin\AppData\Local\Temp\f7337c874dc52cb9c05855846b4cc0c2_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4540
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4540 -s 512
      2⤵
      • Program crash
      PID:4548
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4940 -ip 4940
    1⤵
      PID:4032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4540 -ip 4540
      1⤵
        PID:3128

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        1739a9659379fc8b717d6a068b06e120

        SHA1

        f1368cc956b1455e09ee2421728de3bf81e2da91

        SHA256

        5a8ffa3ff09aac3ba821d08f953fc91c458d55dc886f86720453b5441381f230

        SHA512

        59abe37acc13add749fa0f6cf8572322dfbe985a57201d847ae0637c942a75fd758e072c5f3c125f01513fbdb316c8657d1fef7c1bba7a59579f38cfa623ec71

      • memory/4540-13-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4744-8-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/4744-14-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/4744-15-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/4940-1-0x0000000002CB0000-0x0000000002DB0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4940-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4940-11-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4940-10-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB