Analysis

  • max time kernel
    145s
  • 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
    08-10-2024 08:11

General

  • Target

    207f80d8aecae948ddfcecd954a9f645_JaffaCakes118.exe

  • Size

    12.4MB

  • MD5

    207f80d8aecae948ddfcecd954a9f645

  • SHA1

    6805e7fa9d8dd810ba2a2e017b9a1c46fb5164e9

  • SHA256

    807c0b3795e7c29931bfdec2779743155c676500793dee9fe7412fc9f1892552

  • SHA512

    ef86d35a0b7034ceda9a32c00a68dde04ea9f53a8a3e1f26bf0a677fbb058c62b4f8dac86f24ba290a3cc34683bb4b282151e8887dc4744d8c29a109a6f834ee

  • SSDEEP

    24576:HUqa71YB5DHlommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmG:HF15

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.

  • 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\207f80d8aecae948ddfcecd954a9f645_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\207f80d8aecae948ddfcecd954a9f645_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tawaqqfm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4928
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mvlzaodj.exe" C:\Windows\SysWOW64\tawaqqfm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tawaqqfm binPath= "C:\Windows\SysWOW64\tawaqqfm\mvlzaodj.exe /d\"C:\Users\Admin\AppData\Local\Temp\207f80d8aecae948ddfcecd954a9f645_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tawaqqfm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tawaqqfm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3812
    • 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:972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5116 -s 1040
      2⤵
      • Program crash
      PID:1672
  • C:\Windows\SysWOW64\tawaqqfm\mvlzaodj.exe
    C:\Windows\SysWOW64\tawaqqfm\mvlzaodj.exe /d"C:\Users\Admin\AppData\Local\Temp\207f80d8aecae948ddfcecd954a9f645_JaffaCakes118.exe"
    1⤵
    • Sets service image path in registry
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1336
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1336 -s 516
      2⤵
      • Program crash
      PID:3208
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 5116 -ip 5116
    1⤵
      PID:4520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1336 -ip 1336
      1⤵
        PID:5096

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        db7af643b93deae26b7a165b9354537c

        SHA1

        45f31f72a213e2a66080074fad3f70742d846e0d

        SHA256

        4676190eaae85fdc71bb21c1c6af7336addd9b623d19a6505739f1254ad62fae

        SHA512

        e7b8c3fd77ef286d41bf7025616ab6c2e7187435504530c75f9c7ffdd3f990e886af912923417f6d3d1dbe9dfc14b05947f0ac69dc5ebaca57190f5e753b9ac2

      • memory/1336-13-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/1336-11-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/1336-12-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/1336-18-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/4408-14-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/4408-16-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

      • memory/4408-17-0x0000000000D70000-0x0000000000D85000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/5116-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB

      • memory/5116-9-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/5116-8-0x0000000000400000-0x0000000000468000-memory.dmp

        Filesize

        416KB

      • memory/5116-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB