Analysis

  • max time kernel
    144s
  • 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
    22-12-2024 07:36

General

  • Target

    JaffaCakes118_53e44288e55e4f096aa45b2dbab426984680aa13844fc22a66ca8cea9fc239e0.exe

  • Size

    246KB

  • MD5

    e030c51b0ced4c62a924f9e7bbadc75b

  • SHA1

    f265f8063c3ddd2d173b88e7be57bffe59e97dae

  • SHA256

    53e44288e55e4f096aa45b2dbab426984680aa13844fc22a66ca8cea9fc239e0

  • SHA512

    432b0116d1eaf25cca1c1f7317d0ec845e7b948789fd7ba97808a986bbb6bf0396153bff0f4a53ade7e49b6bba13936d296ca374f34fd7ce5f9828c0483a7cb9

  • SSDEEP

    3072:/7OwU3TAyXWuXNWZ6ufWKbzTASuqbgdgsF54VggjcGkNIVqIpEVE:MTAyxX+6ueKbzTAIIdM7ITsqUEK

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_53e44288e55e4f096aa45b2dbab426984680aa13844fc22a66ca8cea9fc239e0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_53e44288e55e4f096aa45b2dbab426984680aa13844fc22a66ca8cea9fc239e0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wemxpxbs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kjdyymzg.exe" C:\Windows\SysWOW64\wemxpxbs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wemxpxbs binPath= "C:\Windows\SysWOW64\wemxpxbs\kjdyymzg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_53e44288e55e4f096aa45b2dbab426984680aa13844fc22a66ca8cea9fc239e0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wemxpxbs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wemxpxbs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5004
    • 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:3820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1804 -s 812
      2⤵
      • Program crash
      PID:1448
  • C:\Windows\SysWOW64\wemxpxbs\kjdyymzg.exe
    C:\Windows\SysWOW64\wemxpxbs\kjdyymzg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_53e44288e55e4f096aa45b2dbab426984680aa13844fc22a66ca8cea9fc239e0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2804
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2804 -s 516
      2⤵
      • Program crash
      PID:3744
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 188 -p 1804 -ip 1804
    1⤵
      PID:2472
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2804 -ip 2804
      1⤵
        PID:4920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        35b1acc9f90f719a9ea53585b9010113

        SHA1

        3d68837441aa3b59109a9335e585fb782103988e

        SHA256

        e7d790b5b0b65521acb3f56835acd9795ca43b9125a71b8cae24607b2237bf6f

        SHA512

        1ca77933925a29083177ddf6c572d6fad04934954ada039d23210a668f08de490ec1908aa0fbdeffcc660295c5ca6147c1883a8be86794f02bb1c2ff16f23410

      • memory/1036-14-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/1036-16-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/1036-12-0x0000000000B40000-0x0000000000B55000-memory.dmp

        Filesize

        84KB

      • memory/1804-7-0x0000000002270000-0x000000000227D000-memory.dmp

        Filesize

        52KB

      • memory/1804-8-0x0000000002280000-0x0000000002293000-memory.dmp

        Filesize

        76KB

      • memory/1804-0-0x0000000002270000-0x000000000227D000-memory.dmp

        Filesize

        52KB

      • memory/1804-6-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1804-1-0x0000000002280000-0x0000000002293000-memory.dmp

        Filesize

        76KB

      • memory/2804-10-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB

      • memory/2804-11-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB

      • memory/2804-15-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB

      • memory/2804-17-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB