Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 12:56

General

  • Target

    JaffaCakes118_82939f0d515a95bd2bcff9704a3526983d1887930bd42676cb477e4566a5f9a3.exe

  • Size

    260KB

  • MD5

    e7d738f6e1345dab0f39cc246f252a51

  • SHA1

    047a32c253e10070201ddb8c42559f463279c08a

  • SHA256

    82939f0d515a95bd2bcff9704a3526983d1887930bd42676cb477e4566a5f9a3

  • SHA512

    7bcb0e1b8a39d9e36cf136c0fe7b330e0cffed1d9ef9b8746f8edf260e46e7ec658ed24ba1b810f474d661a06e8d579ebffdbc8c3d811efb23d61b2bc6fb829d

  • SSDEEP

    3072:Q4iCVSdVB63QbxnVIFgy2Vt19Itux5sVggjcGkNIVqIOM/h38RaoBIGvj7:PxSdVBAQlnVImHtItuk7ITsqx1awb7

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

ovicrush.cn

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_82939f0d515a95bd2bcff9704a3526983d1887930bd42676cb477e4566a5f9a3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82939f0d515a95bd2bcff9704a3526983d1887930bd42676cb477e4566a5f9a3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nmazvtqd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xkcykdg.exe" C:\Windows\SysWOW64\nmazvtqd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nmazvtqd binPath= "C:\Windows\SysWOW64\nmazvtqd\xkcykdg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82939f0d515a95bd2bcff9704a3526983d1887930bd42676cb477e4566a5f9a3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nmazvtqd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nmazvtqd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4604
    • 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:3816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2548 -s 1040
      2⤵
      • Program crash
      PID:4424
  • C:\Windows\SysWOW64\nmazvtqd\xkcykdg.exe
    C:\Windows\SysWOW64\nmazvtqd\xkcykdg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_82939f0d515a95bd2bcff9704a3526983d1887930bd42676cb477e4566a5f9a3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3984
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3984 -s 528
      2⤵
      • Program crash
      PID:1908
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2548 -ip 2548
    1⤵
      PID:1824
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3984 -ip 3984
      1⤵
        PID:3624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        9f77767c0efd23d856d36a86ddac4013

        SHA1

        4e95657e95ce0f30e742cf5c03d82dd7c70e2eea

        SHA256

        e9b53a107ba9cec8dbe1db2fa51b150e0fe748723a52eceac4c84b369911df24

        SHA512

        bc92d17a307d0bcc9d3f09620f69346f74acde41aa04f7d2800f5858cee33da5e492b53f3eb8b35fb9795c364f3c2367eb744589732445e0e6ef115c9a3c728b

      • memory/2548-0-0x0000000000900000-0x000000000090D000-memory.dmp

        Filesize

        52KB

      • memory/2548-1-0x00000000023B0000-0x00000000023C3000-memory.dmp

        Filesize

        76KB

      • memory/2548-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2548-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2548-8-0x00000000023B0000-0x00000000023C3000-memory.dmp

        Filesize

        76KB

      • memory/2548-7-0x0000000000900000-0x000000000090D000-memory.dmp

        Filesize

        52KB

      • memory/2548-6-0x0000000000400000-0x000000000065A000-memory.dmp

        Filesize

        2.4MB

      • memory/3476-10-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/3476-12-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/3476-13-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/3984-14-0x0000000000400000-0x000000000065A000-memory.dmp

        Filesize

        2.4MB