Analysis

  • max time kernel
    148s
  • 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
    30-12-2024 21:37

General

  • Target

    JaffaCakes118_ae2f76e83ece5b39129921f8e40b8e860822c07f6bc9bcb950243ff642f1836c.exe

  • Size

    239KB

  • MD5

    fb89b14c589d0cb97cc349d6a9002b7a

  • SHA1

    5d347475e2737d740061979ecd788a0979defa4a

  • SHA256

    ae2f76e83ece5b39129921f8e40b8e860822c07f6bc9bcb950243ff642f1836c

  • SHA512

    805d48657b5b76dc0b322965be359c24a3a8a98b7e71fa9977275641fd157b4ca35157ed4dbe041af81dbcc0a754217b8c3a57443678357f423cdbd4589c8977

  • SSDEEP

    3072:r8/qMLtEomgzIQ2UChf60a777yx5ZI8iJQjNcxmy6gwH7pgyuwdt:r8CHoLztEhfDI8KGNcFwH4wX

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_ae2f76e83ece5b39129921f8e40b8e860822c07f6bc9bcb950243ff642f1836c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ae2f76e83ece5b39129921f8e40b8e860822c07f6bc9bcb950243ff642f1836c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yvbqaccu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kavhbnrj.exe" C:\Windows\SysWOW64\yvbqaccu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yvbqaccu binPath= "C:\Windows\SysWOW64\yvbqaccu\kavhbnrj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ae2f76e83ece5b39129921f8e40b8e860822c07f6bc9bcb950243ff642f1836c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yvbqaccu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yvbqaccu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2420
    • 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:3268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 540 -s 652
      2⤵
      • Program crash
      PID:2344
  • C:\Windows\SysWOW64\yvbqaccu\kavhbnrj.exe
    C:\Windows\SysWOW64\yvbqaccu\kavhbnrj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ae2f76e83ece5b39129921f8e40b8e860822c07f6bc9bcb950243ff642f1836c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2404
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2404 -s 532
      2⤵
      • Program crash
      PID:676
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 540 -ip 540
    1⤵
      PID:3632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 2404 -ip 2404
      1⤵
        PID:1544

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        c7fdcc2d12b8864e0219f4305a43e446

        SHA1

        957c2afe6ebcbdfe3502dfa2bcab9d4d7d83e61d

        SHA256

        61d527e629dadbe857d92c12789845c5ba2cd7403f5a647c6403744622e905ee

        SHA512

        2445d19fccd7df9a8b567ebaf82303ba36af5b33112555884182eee99c38a301def162f485d83ad7bf749a48eeb1985115a6e172cee6321ac7acc92a93accac1

      • memory/540-1-0x0000000000AB0000-0x0000000000BB0000-memory.dmp

        Filesize

        1024KB

      • memory/540-2-0x0000000000A00000-0x0000000000A13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/540-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/540-13-0x0000000000A00000-0x0000000000A13000-memory.dmp

        Filesize

        76KB

      • memory/540-12-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2376-8-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/2376-16-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/2376-17-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/2404-10-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB

      • memory/2404-11-0x0000000000400000-0x000000000086C000-memory.dmp

        Filesize

        4.4MB