Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-12-2024 18:35

General

  • Target

    JaffaCakes118_2f0b4b4819d48ff7ba4dbeb258a93189.exe

  • Size

    10.9MB

  • MD5

    2f0b4b4819d48ff7ba4dbeb258a93189

  • SHA1

    98067909fa21b0bf107449206405ac8b13e5c776

  • SHA256

    3a115fc118d5b0933c8550da6125b78d4956e27f671c00945d0ad04d5839dab4

  • SHA512

    090e957459548ed42424f07cb387664bff76d0efcc5b36943339b909290696496738c0b4586f446df4f6c0f1aa4faccb6ad66aab404a8775e7146491b4cd16e1

  • SSDEEP

    6144:HLmhaXrxJHCx7HdqAT7mvs/bNAk3B79NmVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV1:HLmhaXrxJHuHdPT1n9N

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_2f0b4b4819d48ff7ba4dbeb258a93189.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2f0b4b4819d48ff7ba4dbeb258a93189.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\amsdbugy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\amhelkky.exe" C:\Windows\SysWOW64\amsdbugy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create amsdbugy binPath= "C:\Windows\SysWOW64\amsdbugy\amhelkky.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2f0b4b4819d48ff7ba4dbeb258a93189.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description amsdbugy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:492
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start amsdbugy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2572
    • 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:1292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4292 -s 576
      2⤵
      • Program crash
      PID:1704
  • C:\Windows\SysWOW64\amsdbugy\amhelkky.exe
    C:\Windows\SysWOW64\amsdbugy\amhelkky.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2f0b4b4819d48ff7ba4dbeb258a93189.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1512
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1512 -s 556
      2⤵
      • Program crash
      PID:4780
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4292 -ip 4292
    1⤵
      PID:1180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1512 -ip 1512
      1⤵
        PID:2116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        faa8d0b70d5de3798f70bf0d42c0df67

        SHA1

        69257ef10d1f1ed474b6b5104080fb98a2597076

        SHA256

        e6bd712f709984c95a3472affbd60157e7487cbf6bb95c071aa4c0ea735e3dd8

        SHA512

        a24d82b4cc40a07facd7c7404c94c8c93b403072e133eee6c81f104f1b46801c76ad6d97b6b5c36fc429f5a3e7e192c5deaa46bb4753a5d581b2fdb615c5d129

      • memory/1076-12-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/1076-18-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/1076-14-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/1512-15-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/1512-11-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/1512-16-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/4292-9-0x0000000000CE0000-0x0000000000CF3000-memory.dmp

        Filesize

        76KB

      • memory/4292-8-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

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

        Filesize

        84KB

      • memory/4292-1-0x00000000009E0000-0x0000000000AE0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4292-2-0x0000000000CE0000-0x0000000000CF3000-memory.dmp

        Filesize

        76KB